Assert.AssertSingleInterpolatedStringHandler<TItem> Struct

Definition

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

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

Type Parameters

TItem

The type of item in the collection.

Inheritance
Assert.AssertSingleInterpolatedStringHandler<TItem>
Attributes

Remarks

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

Applies to