10 references to DoesNotReturnIf
Microsoft.CodeAnalysis.CodeStyle (10)
Contract.cs (6)
77public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, [CallerLineNumber] int lineNumber = 0) 90public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, string message, [CallerLineNumber] int lineNumber = 0) 103public static void ThrowIfFalse([DoesNotReturnIf(parameterValue: false)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfFalseInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0) 116public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, [CallerLineNumber] int lineNumber = 0) 129public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, string message, [CallerLineNumber] int lineNumber = 0) 142public static void ThrowIfTrue([DoesNotReturnIf(parameterValue: true)] bool condition, [InterpolatedStringHandlerArgument("condition")] ThrowIfTrueInterpolatedStringHandler message, [CallerLineNumber] int lineNumber = 0)
Debug.cs (3)
15public static void Assert([DoesNotReturnIf(false)] bool b) => Debug.Assert(b); 19public static void Assert([DoesNotReturnIf(false)] bool b, string message) 39internal static void AssertOrFailFast([DoesNotReturnIf(false)] bool condition, string? message = null)
FailFast.cs (1)
96internal static void Assert([DoesNotReturnIf(false)] bool condition, string? message = null)