84 instantiations of InterpolatedStringHandlerArgument
Aspire.Hosting (1)
ApplicationModel\ReferenceExpression.cs (1)
501public void Append([InterpolatedStringHandlerArgument("")] in ReferenceExpressionBuilderInterpolatedStringHandler handler)
CodeStyleConfigFileGenerator (3)
src\roslyn\src\Dependencies\Contracts\Contract.cs (3)
69public static void ThrowIfNull<T>([NotNull] T value, [InterpolatedStringHandlerArgument("value")] ThrowIfNullInterpolatedStringHandler<T> message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 108public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfFalseInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 147public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfTrueInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
dotnet (1)
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.10.0-1.26361.106\contentFiles\cs\net11.0\Debug.cs (1)
28public static void Assert([DoesNotReturnIf(false)] bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler message)
GenerateDocumentationAndConfigFiles (4)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
28public static void Assert([DoesNotReturnIf(false)] bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler message)
src\roslyn\src\Dependencies\Contracts\Contract.cs (3)
69public static void ThrowIfNull<T>([NotNull] T value, [InterpolatedStringHandlerArgument("value")] ThrowIfNullInterpolatedStringHandler<T> message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 108public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfFalseInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 147public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfTrueInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
Microsoft.AspNetCore.Razor.Utilities.Shared (5)
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\Assumed.cs (3)
30[InterpolatedStringHandlerArgument(nameof(value))] ThrowIfNullInterpolatedStringHandler<T> message, 57[InterpolatedStringHandlerArgument(nameof(value))] ThrowIfNullInterpolatedStringHandler<T> message, 82[InterpolatedStringHandlerArgument(nameof(condition))] ThrowIfFalseInterpolatedStringHandler message,
src\roslyn\src\Razor\src\Shared\Microsoft.AspNetCore.Razor.SharedUtilities\NullableExtensions.cs (2)
31[InterpolatedStringHandlerArgument(nameof(value))] Assumed.ThrowIfNullInterpolatedStringHandler<T> message, 58[InterpolatedStringHandlerArgument(nameof(value))] Assumed.ThrowIfNullInterpolatedStringHandler<T> message,
Microsoft.Build (3)
BackEnd\BuildManager\CoordinatorClient.DefaultDebugOutput.cs (1)
34public void WriteLine([InterpolatedStringHandlerArgument("")] ref ICoordinatorDebugOutput.WriteLineInterpolatedStringHandler handler)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
1513private void TraceEngine([InterpolatedStringHandlerArgument("")] ref TraceInterpolatedStringHandler handler)
BackEnd\Components\Scheduler\Scheduler.cs (1)
2695private void TraceScheduler([InterpolatedStringHandlerArgument("")] ref TraceInterpolatedStringHandler handler)
Microsoft.Build.Framework (24)
Assumed.cs (20)
54[InterpolatedStringHandlerArgument(nameof(value))] ref NullInterpolatedStringHandler<T> handler) 91[InterpolatedStringHandlerArgument(nameof(value))] ref NotNullInterpolatedStringHandler<T> handler) 126[InterpolatedStringHandlerArgument(nameof(value))] ref NotNullOrEmptyInterpolatedStringHandler handler) 163[InterpolatedStringHandlerArgument(nameof(collection))] ref NotNullOrEmptyCollectionInterpolatedStringHandler<T> handler) 200[InterpolatedStringHandlerArgument(nameof(condition))] ref TrueInterpolatedStringHandler handler) 235[InterpolatedStringHandlerArgument(nameof(condition))] ref FalseInterpolatedStringHandler handler) 276[InterpolatedStringHandlerArgument(nameof(value), nameof(other))] ref EqualInterpolatedStringHandler<T> handler) 321[InterpolatedStringHandlerArgument(nameof(value), nameof(other), nameof(comparisonType))] ref StringEqualInterpolatedStringHandler handler) 363[InterpolatedStringHandlerArgument(nameof(value), nameof(other))] ref NotEqualInterpolatedStringHandler<T> handler) 408[InterpolatedStringHandlerArgument(nameof(value), nameof(other), nameof(comparisonType))] ref StringNotEqualInterpolatedStringHandler handler) 445[InterpolatedStringHandlerArgument(nameof(value), nameof(other))] ref GreaterThanInterpolatedStringHandler<T> handler) 483[InterpolatedStringHandlerArgument(nameof(value), nameof(other))] ref GreaterThanOrEqualInterpolatedStringHandler<T> handler) 521[InterpolatedStringHandlerArgument(nameof(value), nameof(other))] ref LessThanInterpolatedStringHandler<T> handler) 559[InterpolatedStringHandlerArgument(nameof(value), nameof(other))] ref LessThanOrEqualInterpolatedStringHandler<T> handler) 591[InterpolatedStringHandlerArgument(nameof(value))] ref ZeroInterpolatedStringHandler handler) 622[InterpolatedStringHandlerArgument(nameof(value))] ref NegativeInterpolatedStringHandler handler) 653[InterpolatedStringHandlerArgument(nameof(value))] ref NegativeOrZeroInterpolatedStringHandler handler) 684[InterpolatedStringHandlerArgument(nameof(value))] ref PositiveInterpolatedStringHandler handler) 715[InterpolatedStringHandlerArgument(nameof(value))] ref PositiveOrZeroInterpolatedStringHandler handler) 757[InterpolatedStringHandlerArgument(nameof(value), nameof(low), nameof(high))] ref InRangeInterpolatedStringHandler<T> handler)
Coordinator\ICoordinatorDebugOutput.cs (1)
21void WriteLine([InterpolatedStringHandlerArgument("")] ref WriteLineInterpolatedStringHandler handler);
src\msbuild\artifacts\.packages\microsoft.codeanalysis.contracts\5.0.0-1.25277.114\contentFiles\cs\net9.0\Contract.cs (3)
69public static void ThrowIfNull<T>([NotNull] T value, [InterpolatedStringHandlerArgument("value")] ThrowIfNullInterpolatedStringHandler<T> message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 108public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfFalseInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 147public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfTrueInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
Microsoft.Build.Tasks.CodeAnalysis (4)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
28public static void Assert([DoesNotReturnIf(false)] bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler message)
src\roslyn\src\Dependencies\Contracts\Contract.cs (3)
69public static void ThrowIfNull<T>([NotNull] T value, [InterpolatedStringHandlerArgument("value")] ThrowIfNullInterpolatedStringHandler<T> message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 108public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfFalseInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 147public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfTrueInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
Microsoft.CodeAnalysis (1)
InternalUtilities\Debug.cs (1)
28public static void Assert([DoesNotReturnIf(false)] bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler message)
Microsoft.CodeAnalysis.Razor.Compiler (6)
Language\CodeGeneration\CodeWriter.cs (2)
230public CodeWriter Write([InterpolatedStringHandlerArgument("")] ref WriteInterpolatedStringHandler handler) 303public CodeWriter WriteLine([InterpolatedStringHandlerArgument("")] ref WriteInterpolatedStringHandler handler)
Language\CodeGeneration\CodeWriterExtensions.cs (4)
248[InterpolatedStringHandlerArgument(nameof(writer))] ref CodeWriter.WriteInterpolatedStringHandler left) 377[InterpolatedStringHandlerArgument(nameof(writer))] ref CodeWriter.WriteInterpolatedStringHandler methodName) 486[InterpolatedStringHandlerArgument(nameof(writer))] ref CodeWriter.WriteInterpolatedStringHandler methodName, 498[InterpolatedStringHandlerArgument(nameof(writer))] ref CodeWriter.WriteInterpolatedStringHandler methodName,
Microsoft.CodeAnalysis.Workspaces (4)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
28public static void Assert([DoesNotReturnIf(false)] bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler message)
src\roslyn\src\Dependencies\Contracts\Contract.cs (3)
69public static void ThrowIfNull<T>([NotNull] T value, [InterpolatedStringHandlerArgument("value")] ThrowIfNullInterpolatedStringHandler<T> message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 108public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfFalseInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 147public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfTrueInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\Debug.cs (1)
28public static void Assert([DoesNotReturnIf(false)] bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler message)
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (3)
src\roslyn\src\Dependencies\Contracts\Contract.cs (3)
69public static void ThrowIfNull<T>([NotNull] T value, [InterpolatedStringHandlerArgument("value")] ThrowIfNullInterpolatedStringHandler<T> message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 108public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfFalseInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null) 147public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfTrueInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
MSBuild.Coordinator (1)
CoordinatorServer.DefaultDebugOutput.cs (1)
50public void WriteLine([InterpolatedStringHandlerArgument("")] ref ICoordinatorDebugOutput.WriteLineInterpolatedStringHandler handler)
rzc (5)
Json\Assumed.cs (3)
28[InterpolatedStringHandlerArgument(nameof(value))] ThrowIfNullInterpolatedStringHandler<T> message, 55[InterpolatedStringHandlerArgument(nameof(value))] ThrowIfNullInterpolatedStringHandler<T> message, 80[InterpolatedStringHandlerArgument(nameof(condition))] ThrowIfFalseInterpolatedStringHandler message,
Json\NullableExtensions.cs (2)
31[InterpolatedStringHandlerArgument(nameof(value))] Assumed.ThrowIfNullInterpolatedStringHandler<T> message, 58[InterpolatedStringHandlerArgument(nameof(value))] Assumed.ThrowIfNullInterpolatedStringHandler<T> message,
System.Private.CoreLib (17)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Debug.cs (7)
91public static void Assert([DoesNotReturnIf(false)] bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler message) => 104public static void Assert([DoesNotReturnIf(false)] bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler message, [InterpolatedStringHandlerArgument(nameof(condition))] ref AssertInterpolatedStringHandler detailMessage) => 201public static void WriteIf(bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref WriteIfInterpolatedStringHandler message) => 223public static void WriteIf(bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref WriteIfInterpolatedStringHandler message, string? category) => 263public static void WriteLineIf(bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref WriteIfInterpolatedStringHandler message) => 276public static void WriteLineIf(bool condition, [InterpolatedStringHandlerArgument(nameof(condition))] ref WriteIfInterpolatedStringHandler message, string? category) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (2)
5684public static bool TryWrite(this Span<char> destination, [InterpolatedStringHandlerArgument(nameof(destination))] ref TryWriteInterpolatedStringHandler handler, out int charsWritten) 5704public static bool TryWrite(this Span<char> destination, IFormatProvider? provider, [InterpolatedStringHandlerArgument(nameof(destination), nameof(provider))] ref TryWriteInterpolatedStringHandler handler, out int charsWritten) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\String.cs (2)
352public static string Create(IFormatProvider? provider, [InterpolatedStringHandlerArgument(nameof(provider))] ref DefaultInterpolatedStringHandler handler) => 360public static string Create(IFormatProvider? provider, Span<char> initialBuffer, [InterpolatedStringHandlerArgument(nameof(provider), nameof(initialBuffer))] ref DefaultInterpolatedStringHandler handler) =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (4)
1167public StringBuilder Append([InterpolatedStringHandlerArgument("")] ref AppendInterpolatedStringHandler handler) => this; 1173public StringBuilder Append(IFormatProvider? provider, [InterpolatedStringHandlerArgument("", nameof(provider))] ref AppendInterpolatedStringHandler handler) => this; 1178public StringBuilder AppendLine([InterpolatedStringHandlerArgument("")] ref AppendInterpolatedStringHandler handler) => AppendLine(); 1184public StringBuilder AppendLine(IFormatProvider? provider, [InterpolatedStringHandlerArgument("", nameof(provider))] ref AppendInterpolatedStringHandler handler) => AppendLine();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8.cs (2)
322public static bool TryWrite(Span<byte> destination, [InterpolatedStringHandlerArgument(nameof(destination))] ref TryWriteInterpolatedStringHandler handler, out int bytesWritten) 342public static bool TryWrite(Span<byte> destination, IFormatProvider? provider, [InterpolatedStringHandlerArgument(nameof(destination), nameof(provider))] ref TryWriteInterpolatedStringHandler handler, out int bytesWritten) =>
System.Windows.Forms.Primitives (1)
System\Diagnostics\TraceSwitchExtensions.cs (1)
22public static void TraceVerbose(this TraceSwitch? traceSwitch, [InterpolatedStringHandlerArgument(nameof(traceSwitch))] ref TraceVerboseInterpolatedStringHandler message)
11 references to InterpolatedStringHandlerArgument
CodeStyleConfigFileGenerator (1)
src\roslyn\src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
12[assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerArgumentAttribute))]
GenerateDocumentationAndConfigFiles (1)
src\roslyn\src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
12[assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerArgumentAttribute))]
Microsoft.AspNetCore.Razor.Utilities.Shared (1)
src\roslyn\src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
12[assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerArgumentAttribute))]
Microsoft.Build.Framework (1)
src\msbuild\artifacts\.packages\microsoft.codeanalysis.contracts\5.0.0-1.25277.114\contentFiles\cs\net9.0\InterpolatedStringHandlerArgumentAttribute.cs (1)
12[assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerArgumentAttribute))]
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
12[assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerArgumentAttribute))]
Microsoft.CodeAnalysis (1)
src\roslyn\src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
12[assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerArgumentAttribute))]
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
12[assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerArgumentAttribute))]
Microsoft.CodeAnalysis.Workspaces.MSBuild.Contracts (1)
src\roslyn\src\Dependencies\Contracts\InterpolatedStringHandlerArgumentAttribute.cs (1)
12[assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerArgumentAttribute))]
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\InterpolatedStringHandlerArgumentAttribute.cs (2)
10/// <summary>Initializes a new instance of the <see cref="InterpolatedStringHandlerArgumentAttribute"/> class.</summary> 15/// <summary>Initializes a new instance of the <see cref="InterpolatedStringHandlerArgumentAttribute"/> class.</summary>
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
607[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute))]