5 references to NotNullWhen
Microsoft.Build.Tasks.CodeAnalysis (5)
CommandLineBuilderExtension.cs (1)
175internal static bool IsParameterEmpty([NotNullWhen(false)] string? parameter, params char[] splitOn)
RoslynString.cs (2)
12public static bool IsNullOrEmpty([NotNullWhen(returnValue: false)] string? value) 16public static bool IsNullOrWhiteSpace([NotNullWhen(returnValue: false)] string? value)
RuntimeHostInfo.cs (1)
53internal static bool IsDotNetHost([NotNullWhen(true)] out string? pathToDotNet)
UnicodeCharacterUtilities.cs (1)
91public static bool IsValidIdentifier([NotNullWhen(returnValue: true)] string? name)