11 references to NotNullWhen
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (11)
CharacterInfo.cs (1)
186public static bool IsValidIdentifier([NotNullWhen(true)] string? name)
GeneratedNameParser.cs (7)
89internal static bool TryParseSourceMethodNameFromGeneratedName(string generatedName, GeneratedNameKind requiredKind, [NotNullWhen(true)] out string? methodName) 116internal static bool TryParseLocalFunctionName(string generatedName, [NotNullWhen(true)] out string? localFunctionName) 164internal static bool TryParseAnonymousTypeParameterName(string typeParameterName, [NotNullWhen(true)] out string? propertyName) 177internal static bool TryParsePrimaryConstructorParameterFieldName(string fieldName, [NotNullWhen(true)] out string? parameterName) 207internal static bool TryParseFileTypeName(string generatedName, [NotNullWhen(true)] out string? displayFileName, [NotNullWhen(true)] out byte[]? checksum, [NotNullWhen(true)] out string? originalTypeName)
RoslynString.cs (2)
12public static bool IsNullOrEmpty([NotNullWhen(returnValue: false)] string? value) 16public static bool IsNullOrWhiteSpace([NotNullWhen(returnValue: false)] string? value)
UnicodeCharacterUtilities.cs (1)
91public static bool IsValidIdentifier([NotNullWhen(returnValue: true)] string? name)