Table of Contents

Class AssertionMethodAttribute

Namespace
Bunit.Asserting
Assembly
Bunit.Core.dll

Add this attribute to assertion methods to indicate to 3rd party analyzers that the method is an assertion method. See more here: https://rules.sonarsource.com/csharp/RSPEC-2699.

[AttributeUsage(AttributeTargets.Method)]
public sealed class AssertionMethodAttribute : Attribute
Inheritance
AssertionMethodAttribute
Inherited Members
Extension Methods

Constructors

AssertionMethodAttribute()

public AssertionMethodAttribute()
Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.