62 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)
Microsoft.Build.Tasks.Core (26)
ErrorUtilities.cs (26)
44
internal static void VerifyThrowInternalError([
DoesNotReturnIf
(false)] bool condition, string message, params object?[]? args)
88
internal static void VerifyThrowInternalErrorUnreachable([
DoesNotReturnIf
(false)] bool condition)
189
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage)
200
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, int arg0)
211
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, object arg0)
222
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, int arg0, int arg1)
233
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, object arg0, object arg1)
244
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, object arg0, object arg1, object arg2)
255
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, object arg0, object arg1, object arg2, object arg3)
277
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName)
289
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0)
304
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1)
319
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1, object arg2)
334
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1, object arg2, object arg3)
382
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName)
390
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0)
398
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1)
406
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1, object arg2)
414
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1, object arg2, object arg3)
426
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName)
438
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName, object arg0)
451
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1)
464
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2)
477
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2, object arg3)
500
internal static void VerifyThrowArgumentOutOfRange([
DoesNotReturnIf
(false)] bool condition, [CallerArgumentExpression(nameof(condition))] string? parameterName = null)
606
internal static void VerifyThrowObjectDisposed([
DoesNotReturnIf
(false)] bool condition, string objectName)
MSBuild (26)
ErrorUtilities.cs (26)
44
internal static void VerifyThrowInternalError([
DoesNotReturnIf
(false)] bool condition, string message, params object?[]? args)
88
internal static void VerifyThrowInternalErrorUnreachable([
DoesNotReturnIf
(false)] bool condition)
189
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage)
200
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, int arg0)
211
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, object arg0)
222
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, int arg0, int arg1)
233
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, object arg0, object arg1)
244
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, object arg0, object arg1, object arg2)
255
internal static void VerifyThrow([
DoesNotReturnIf
(false)] bool condition, string unformattedMessage, object arg0, object arg1, object arg2, object arg3)
277
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName)
289
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0)
304
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1)
319
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1, object arg2)
334
internal static void VerifyThrowInvalidOperation([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1, object arg2, object arg3)
382
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName)
390
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0)
398
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1)
406
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1, object arg2)
414
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, string resourceName, object arg0, object arg1, object arg2, object arg3)
426
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName)
438
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName, object arg0)
451
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1)
464
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2)
477
internal static void VerifyThrowArgument([
DoesNotReturnIf
(false)] bool condition, Exception? innerException, string resourceName, object arg0, object arg1, object arg2, object arg3)
500
internal static void VerifyThrowArgumentOutOfRange([
DoesNotReturnIf
(false)] bool condition, [CallerArgumentExpression(nameof(condition))] string? parameterName = null)
606
internal static void VerifyThrowObjectDisposed([
DoesNotReturnIf
(false)] bool condition, string objectName)