10 instantiations of DoesNotReturnIf
Microsoft.Build.Framework (10)
Contract.cs (6)
82
public static void ThrowIfFalse([
DoesNotReturnIf
(parameterValue: false)] bool condition, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
95
public static void ThrowIfFalse([
DoesNotReturnIf
(parameterValue: false)] bool condition, string message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
108
public static void ThrowIfFalse([
DoesNotReturnIf
(parameterValue: false)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfFalseInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
121
public static void ThrowIfTrue([
DoesNotReturnIf
(parameterValue: true)] bool condition, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
134
public static void ThrowIfTrue([
DoesNotReturnIf
(parameterValue: true)] bool condition, string message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
147
public static void ThrowIfTrue([
DoesNotReturnIf
(parameterValue: true)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfTrueInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0, [CallerFilePath] string? filePath = null)
ErrorUtilities.cs (1)
25
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage)
FailFast.cs (1)
98
internal static void Assert([
DoesNotReturnIf
(false)] bool condition, string? message = null)
Polyfills\ArgumentExceptionExtensions.cs (2)
316
public static void ThrowIf([
DoesNotReturnIf
(true)] bool condition, object instance)
336
public static void ThrowIf([
DoesNotReturnIf
(true)] bool condition, Type type)