7 references to ThrowIfPrefix
Microsoft.CodeAnalysis.Features (7)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (7)
55private const string ThrowIfNullName = ThrowIfPrefix + NullSuffix; 56private const string ThrowIfNullOrEmptyName = ThrowIfPrefix + NullOrEmptySuffix; 57private const string ThrowIfNullOrWhiteSpaceName = ThrowIfPrefix + NullOrWhiteSpaceSuffix; 59private const string ThrowIfNegativeName = ThrowIfPrefix + NegativeSuffix; 60private const string ThrowIfNegativeOrZeroName = ThrowIfPrefix + NegativeOrZeroSuffix; 521return IsAnyThrowInvocation(statement, parameter, [nameof(ArgumentOutOfRangeException)], m => m.StartsWith(ThrowIfPrefix)); 761var throwMethodName = ThrowIfPrefix + methodNameSuffix;