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