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