4 references to NotNullWhen
System.Text.Json.SourceGeneration (4)
Helpers\RoslynExtensions.cs (1)
192public static bool IsNullableValueType(this ITypeSymbol type, [NotNullWhen(true)] out ITypeSymbol? elementType)
JsonSourceGenerator.Parser.cs (2)
169private static bool TryGetNestedTypeDeclarations(ClassDeclarationSyntax contextClassSyntax, SemanticModel semanticModel, CancellationToken cancellationToken, [NotNullWhen(true)] out List<string>? typeDeclarations) 718[NotNullWhen(true)] out ITypeSymbol? valueType,
src\libraries\System.Text.Json\Common\JsonHelpers.cs (1)
32public static bool TryDequeue<T>(this Queue<T> queue, [NotNullWhen(true)] out T? result)