Assert.AssertNonGenericAreEqualInterpolatedStringHandler Struct

Definition

Provides an interpolated string handler used by Assert.AreEqual overloads that only allocates and formats the message when the assertion is failing.

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public readonly struct Assert.AssertNonGenericAreEqualInterpolatedStringHandler
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct Assert.AssertNonGenericAreEqualInterpolatedStringHandler
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
[System.Diagnostics.StackTraceHidden]
public readonly struct Assert.AssertNonGenericAreEqualInterpolatedStringHandler
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
type Assert.AssertNonGenericAreEqualInterpolatedStringHandler = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type Assert.AssertNonGenericAreEqualInterpolatedStringHandler = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Diagnostics.StackTraceHidden>]
type Assert.AssertNonGenericAreEqualInterpolatedStringHandler = struct
Public Structure Assert.AssertNonGenericAreEqualInterpolatedStringHandler
Inheritance
Assert.AssertNonGenericAreEqualInterpolatedStringHandler
Attributes

Remarks

This type is intended to be used by the compiler; users should not reference it directly.

Constructors

Name Description
Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, Decimal, Decimal, Decimal, Boolean)

Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.

Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, Double, Double, Double, Boolean)

Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.

Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, Int64, Int64, Int64, Boolean)

Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.

Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, Single, Single, Single, Boolean)

Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.

Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, String, String, Boolean, Boolean)

Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.

Assert.AssertNonGenericAreEqualInterpolatedStringHandler(Int32, Int32, String, String, Boolean, CultureInfo, Boolean)

Initializes a new instance of the Assert.AssertNonGenericAreEqualInterpolatedStringHandler struct.

Methods

Name Description
AppendFormatted(Object, Int32, String)
AppendFormatted(ReadOnlySpan<Char>, Int32, String)
AppendFormatted(ReadOnlySpan<Char>)
AppendFormatted(String, Int32, String)
AppendFormatted(String)
AppendFormatted<T>(T, Int32, String)
AppendFormatted<T>(T, Int32)
AppendFormatted<T>(T, String)
AppendFormatted<T>(T)
AppendLiteral(String)

Applies to