// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingRoslyn.Utilities;
namespaceMicrosoft.CodeAnalysis.CSharp
{
/// <summary>
/// Instead of storing a bool to tell us if we're in a NonNullTypes context,
/// we use this interface to pull on that information lazily.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingMicrosoft.CodeAnalysis.CSharp.Symbols;
usingMicrosoft.CodeAnalysis.PooledObjects;
namespaceMicrosoft.CodeAnalysis.CSharp
{
/// <summary>
/// A lazily calculated diagnostic for constraint check nullability.
typeParameterSymbol?.ReferenceTypeConstraintIsNullable==true)// https://github.com/dotnet/roslyn/issues/26198 Switch to public API when we will have one.
switch(typeParameterSymbol?.ReferenceTypeConstraintIsNullable)// https://github.com/dotnet/roslyn/issues/26198 Switch to public API when we will have one.
// https://github.com/dotnet/roslyn/issues/30064: We should fix the callers to pass ImmutableArray<TypeSymbolWithAnnotations> instead of ImmutableArray<TypeSymbol>.
// https://github.com/dotnet/roslyn/issues/30064: We should fix the callers to pass IEnumerable<TypeSymbolWithAnnotations> instead of IEnumerable<TypeSymbol>.
// https://github.com/dotnet/roslyn/issues/30079: Should the 'object', IAsyncResult and AsyncCallback parameters be considered nullable or not nullable?