Assert.AssertAreNotSameInterpolatedStringHandler<TArgument> Struct

Definition

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

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public readonly struct Assert.AssertAreNotSameInterpolatedStringHandler<TArgument>
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandler]
[System.Runtime.CompilerServices.IsReadOnly]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct Assert.AssertAreNotSameInterpolatedStringHandler<TArgument>
[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.AssertAreNotSameInterpolatedStringHandler<TArgument>
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
type Assert.AssertAreNotSameInterpolatedStringHandler<'Argument> = struct
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Runtime.CompilerServices.InterpolatedStringHandler>]
[<System.Runtime.CompilerServices.IsReadOnly>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type Assert.AssertAreNotSameInterpolatedStringHandler<'Argument> = 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.AssertAreNotSameInterpolatedStringHandler<'Argument> = struct
Public Structure Assert.AssertAreNotSameInterpolatedStringHandler(Of TArgument)

Type Parameters

TArgument

The type of value being asserted.

Inheritance
Assert.AssertAreNotSameInterpolatedStringHandler<TArgument>
Attributes

Remarks

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

Applies to