diff --git a/src/Compilers/CSharp/Portable/Symbols/MethodSymbol.cs b/src/Compilers/CSharp/Portable/Symbols/MethodSymbol.cs index e933e12113abbbdd5a5b3f533310185959719a61..ea82ce74820cc6816cb33e1b3a951810de9f2d18 100644 --- a/src/Compilers/CSharp/Portable/Symbols/MethodSymbol.cs +++ b/src/Compilers/CSharp/Portable/Symbols/MethodSymbol.cs @@ -1048,7 +1048,7 @@ ImmutableArray IMethodSymbol.TypeArguments } } - ImmutableArray IMethodSymbol.TypeArgumentsNullableAnnotations => TypeArgumentsWithAnnotations.SelectAsArray(arg => arg.NullableAnnotation.ToPublicAnnotation()); + ImmutableArray IMethodSymbol.TypeArgumentNullableAnnotations => TypeArgumentsWithAnnotations.SelectAsArray(arg => arg.NullableAnnotation.ToPublicAnnotation()); ImmutableArray IMethodSymbol.TypeParameters { diff --git a/src/Compilers/CSharp/Portable/Symbols/NamedTypeSymbol.cs b/src/Compilers/CSharp/Portable/Symbols/NamedTypeSymbol.cs index 0610eec73f00cea63f8ecff05814cbf6243cc58e..5e8c3ac9c6a10c6385f539b31922c2a863b3a46e 100644 --- a/src/Compilers/CSharp/Portable/Symbols/NamedTypeSymbol.cs +++ b/src/Compilers/CSharp/Portable/Symbols/NamedTypeSymbol.cs @@ -1583,7 +1583,7 @@ ImmutableArray INamedTypeSymbol.TypeArguments } } - ImmutableArray INamedTypeSymbol.TypeArgumentsNullableAnnotations + ImmutableArray INamedTypeSymbol.TypeArgumentNullableAnnotations { get => this.TypeArgumentsWithAnnotationsNoUseSiteDiagnostics.SelectAsArray(a => a.NullableAnnotation.ToPublicAnnotation()); } diff --git a/src/Compilers/CSharp/Test/Symbol/SymbolDisplay/SymbolDisplayTests.cs b/src/Compilers/CSharp/Test/Symbol/SymbolDisplay/SymbolDisplayTests.cs index 967bd251b68a8923b9a4e7104748f6c5b8ecebd5..8bf082150525a6f1d4fff5f6ff0fba5f9b460eb1 100644 --- a/src/Compilers/CSharp/Test/Symbol/SymbolDisplay/SymbolDisplayTests.cs +++ b/src/Compilers/CSharp/Test/Symbol/SymbolDisplay/SymbolDisplayTests.cs @@ -5174,7 +5174,7 @@ public ImmutableArray TypeArguments } } - public ImmutableArray TypeArgumentsNullableAnnotations + public ImmutableArray TypeArgumentNullableAnnotations { get { diff --git a/src/Compilers/CSharp/Test/Symbol/Symbols/Source/NullablePublicAPITests.cs b/src/Compilers/CSharp/Test/Symbol/Symbols/Source/NullablePublicAPITests.cs index a9e03eb81aed36b661d3af10afc95cda0b92d6ed..819e50e56e71fd974216225f3a7f3f22db9e0ba9 100644 --- a/src/Compilers/CSharp/Test/Symbol/Symbols/Source/NullablePublicAPITests.cs +++ b/src/Compilers/CSharp/Test/Symbol/Symbols/Source/NullablePublicAPITests.cs @@ -82,9 +82,9 @@ void M1(C? c) var invocations = root.DescendantNodes().OfType().ToList(); var expressionTypes = invocations.Select(inv => model.GetTypeInfo(inv).Type).Cast().ToList(); - Assert.Equal(PublicNullableAnnotation.NotAnnotated, expressionTypes[0].TypeArgumentsNullableAnnotations.Single()); - Assert.Equal(PublicNullableAnnotation.Annotated, expressionTypes[1].TypeArgumentsNullableAnnotations.Single()); - Assert.Equal(PublicNullableAnnotation.NotAnnotated, expressionTypes[2].TypeArgumentsNullableAnnotations.Single()); + Assert.Equal(PublicNullableAnnotation.NotAnnotated, expressionTypes[0].TypeArgumentNullableAnnotations.Single()); + Assert.Equal(PublicNullableAnnotation.Annotated, expressionTypes[1].TypeArgumentNullableAnnotations.Single()); + Assert.Equal(PublicNullableAnnotation.NotAnnotated, expressionTypes[2].TypeArgumentNullableAnnotations.Single()); } [Fact(Skip = "https://github.com/dotnet/roslyn/issues/34412")] @@ -1153,7 +1153,7 @@ void M(string? s) static void verifySymbolInfo(IMethodSymbol methodSymbol, PublicNullableAnnotation expectedAnnotation) { - Assert.Equal(expectedAnnotation, methodSymbol.TypeArgumentsNullableAnnotations.Single()); + Assert.Equal(expectedAnnotation, methodSymbol.TypeArgumentNullableAnnotations.Single()); Assert.Equal(expectedAnnotation, methodSymbol.Parameters.Single().NullableAnnotation); Assert.Equal(expectedAnnotation, methodSymbol.ReturnNullableAnnotation); } @@ -1193,9 +1193,9 @@ void M(string? s) static void verifySymbolInfo(IMethodSymbol methodSymbol, PublicNullableAnnotation expectedAnnotation) { - Assert.Equal(expectedAnnotation, methodSymbol.TypeArgumentsNullableAnnotations.Single()); + Assert.Equal(expectedAnnotation, methodSymbol.TypeArgumentNullableAnnotations.Single()); Assert.Equal(expectedAnnotation, methodSymbol.Parameters.Single().NullableAnnotation); - Assert.Equal(expectedAnnotation, ((INamedTypeSymbol)methodSymbol.ReturnType).TypeArgumentsNullableAnnotations.Single()); + Assert.Equal(expectedAnnotation, ((INamedTypeSymbol)methodSymbol.ReturnType).TypeArgumentNullableAnnotations.Single()); } } } diff --git a/src/Compilers/Core/Portable/PublicAPI.Unshipped.txt b/src/Compilers/Core/Portable/PublicAPI.Unshipped.txt index 3090d119b44191dd3a1e2a44e342c39f92a31c27..54156229d86e8fa99dc953615dc26c22ed886935 100644 --- a/src/Compilers/Core/Portable/PublicAPI.Unshipped.txt +++ b/src/Compilers/Core/Portable/PublicAPI.Unshipped.txt @@ -36,8 +36,8 @@ Microsoft.CodeAnalysis.IFieldSymbol.NullableAnnotation.get -> Microsoft.CodeAnal Microsoft.CodeAnalysis.ILocalSymbol.NullableAnnotation.get -> Microsoft.CodeAnalysis.NullableAnnotation Microsoft.CodeAnalysis.IMethodSymbol.ReceiverNullableAnnotation.get -> Microsoft.CodeAnalysis.NullableAnnotation Microsoft.CodeAnalysis.IMethodSymbol.ReturnNullableAnnotation.get -> Microsoft.CodeAnalysis.NullableAnnotation -Microsoft.CodeAnalysis.IMethodSymbol.TypeArgumentsNullableAnnotations.get -> System.Collections.Immutable.ImmutableArray -Microsoft.CodeAnalysis.INamedTypeSymbol.TypeArgumentsNullableAnnotations.get -> System.Collections.Immutable.ImmutableArray +Microsoft.CodeAnalysis.IMethodSymbol.TypeArgumentNullableAnnotations.get -> System.Collections.Immutable.ImmutableArray +Microsoft.CodeAnalysis.INamedTypeSymbol.TypeArgumentNullableAnnotations.get -> System.Collections.Immutable.ImmutableArray Microsoft.CodeAnalysis.IParameterSymbol.NullableAnnotation.get -> Microsoft.CodeAnalysis.NullableAnnotation Microsoft.CodeAnalysis.IPropertySymbol.NullableAnnotation.get -> Microsoft.CodeAnalysis.NullableAnnotation Microsoft.CodeAnalysis.ITypeParameterSymbol.ConstraintNullableAnnotations.get -> System.Collections.Immutable.ImmutableArray diff --git a/src/Compilers/Core/Portable/Symbols/IMethodSymbol.cs b/src/Compilers/Core/Portable/Symbols/IMethodSymbol.cs index 343a912cb60cafece2f3581d9c45a5024e8b35a5..229993be0ae165a453043accb3aff4b95b9e395c 100644 --- a/src/Compilers/Core/Portable/Symbols/IMethodSymbol.cs +++ b/src/Compilers/Core/Portable/Symbols/IMethodSymbol.cs @@ -107,7 +107,7 @@ public interface IMethodSymbol : ISymbol /// for the type parameters. If nothing has been substituted for a given type parameter, /// then is returned. /// - ImmutableArray TypeArgumentsNullableAnnotations { get; } + ImmutableArray TypeArgumentNullableAnnotations { get; } /// /// Get the type parameters on this method. If the method has not generic, diff --git a/src/Compilers/Core/Portable/Symbols/INamedTypeSymbol.cs b/src/Compilers/Core/Portable/Symbols/INamedTypeSymbol.cs index 1f017adcb4adbef27ff0cc2e82d36a8257add4da..f576c576e345ef290456504302bd4e5a123bf9d0 100644 --- a/src/Compilers/Core/Portable/Symbols/INamedTypeSymbol.cs +++ b/src/Compilers/Core/Portable/Symbols/INamedTypeSymbol.cs @@ -77,7 +77,7 @@ public interface INamedTypeSymbol : ITypeSymbol /// for the type parameters. If nothing has been substituted for a given type parameter, /// then is returned for that type argument. /// - ImmutableArray TypeArgumentsNullableAnnotations { get; } + ImmutableArray TypeArgumentNullableAnnotations { get; } /// /// Returns custom modifiers for the type argument that has been substituted for the type parameter. diff --git a/src/Compilers/VisualBasic/Portable/Symbols/MethodSymbol.vb b/src/Compilers/VisualBasic/Portable/Symbols/MethodSymbol.vb index 8f8876b3b6efb975b225cb1d3196920dc5d88d0c..676fd24bb0955b296cbe1c6c6439a05fe08f78ac 100644 --- a/src/Compilers/VisualBasic/Portable/Symbols/MethodSymbol.vb +++ b/src/Compilers/VisualBasic/Portable/Symbols/MethodSymbol.vb @@ -1007,7 +1007,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols End Get End Property - Private ReadOnly Property IMethodSymbol_TypeArgumentsNullableAnnotation As ImmutableArray(Of NullableAnnotation) Implements IMethodSymbol.TypeArgumentsNullableAnnotations + Private ReadOnly Property IMethodSymbol_TypeArgumentsNullableAnnotation As ImmutableArray(Of NullableAnnotation) Implements IMethodSymbol.TypeArgumentNullableAnnotations Get Return Me.TypeArguments.SelectAsArray(Function(t) NullableAnnotation.NotApplicable) End Get diff --git a/src/Compilers/VisualBasic/Portable/Symbols/NamedTypeSymbol.vb b/src/Compilers/VisualBasic/Portable/Symbols/NamedTypeSymbol.vb index 83a333676e7f751bdc0c800ca81ddb49b8248bf6..3e2a476f6295af763ae1af1bd84b69ffcd11dccf 100644 --- a/src/Compilers/VisualBasic/Portable/Symbols/NamedTypeSymbol.vb +++ b/src/Compilers/VisualBasic/Portable/Symbols/NamedTypeSymbol.vb @@ -1144,7 +1144,7 @@ Namespace Microsoft.CodeAnalysis.VisualBasic.Symbols End Get End Property - Private ReadOnly Property INamedTypeSymbol_TypeArgumentsNullableAnnotations As ImmutableArray(Of NullableAnnotation) Implements INamedTypeSymbol.TypeArgumentsNullableAnnotations + Private ReadOnly Property TypeArgumentNullableAnnotations As ImmutableArray(Of NullableAnnotation) Implements INamedTypeSymbol.TypeArgumentNullableAnnotations Get Return Me.TypeArgumentsNoUseSiteDiagnostics.SelectAsArray(Function(t) NullableAnnotation.NotApplicable) End Get diff --git a/src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedMethodSymbol.cs b/src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedMethodSymbol.cs index 16f66ab51aa0e5d3f9855bcb96b1bfb39425b149..815cfa43587a217046351e465df8cacf11b51373 100644 --- a/src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedMethodSymbol.cs +++ b/src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedMethodSymbol.cs @@ -100,7 +100,7 @@ public ImmutableArray GetReturnTypeAttributes() public ImmutableArray TypeArguments => _symbol.TypeArguments; - public ImmutableArray TypeArgumentsNullableAnnotations => _symbol.TypeArgumentsNullableAnnotations; + public ImmutableArray TypeArgumentNullableAnnotations => _symbol.TypeArgumentNullableAnnotations; public ImmutableArray TypeParameters => _symbol.TypeParameters; diff --git a/src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs b/src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs index a8ccb1b17834ffc24bfb4af28fb729bd9fa1f128..618c9fc9704912265732ac839454ee656006f60e 100644 --- a/src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs +++ b/src/Features/Core/Portable/MetadataAsSource/AbstractMetadataAsSourceService.WrappedNamedTypeSymbol.cs @@ -86,7 +86,7 @@ private static ISymbol WrapMember(ISymbol m, bool canImplementImplicitly, IDocum public ImmutableArray TypeParameters => _symbol.TypeParameters; public ImmutableArray TypeArguments => _symbol.TypeArguments; - public ImmutableArray TypeArgumentsNullableAnnotations => _symbol.TypeArgumentsNullableAnnotations; + public ImmutableArray TypeArgumentNullableAnnotations => _symbol.TypeArgumentNullableAnnotations; public ImmutableArray InstanceConstructors => _symbol.InstanceConstructors; public ImmutableArray StaticConstructors => _symbol.StaticConstructors; public ImmutableArray Constructors => _symbol.Constructors; diff --git a/src/Workspaces/CSharp/Portable/Extensions/ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs b/src/Workspaces/CSharp/Portable/Extensions/ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs index 78b007290e68f284f40c6c96e16f8b94783c8b2e..4e305db516a289b1ff1c2f87b8733fce90437945 100644 --- a/src/Workspaces/CSharp/Portable/Extensions/ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs +++ b/src/Workspaces/CSharp/Portable/Extensions/ITypeSymbolExtensions.TypeSyntaxGeneratorVisitor.cs @@ -123,7 +123,7 @@ public TypeSyntax CreateSimpleTypeSyntax(INamedTypeSymbol symbol) var typeArguments = symbol.IsUnboundGenericType ? Enumerable.Repeat((TypeSyntax)SyntaxFactory.OmittedTypeArgument(), symbol.TypeArguments.Length) - : symbol.TypeArguments.ZipAsArray(symbol.TypeArgumentsNullableAnnotations, (t, n) => t.WithNullability(n).GenerateTypeSyntax()); + : symbol.TypeArguments.ZipAsArray(symbol.TypeArgumentNullableAnnotations, (t, n) => t.WithNullability(n).GenerateTypeSyntax()); return SyntaxFactory.GenericName( symbol.Name.ToIdentifierToken(), diff --git a/src/Workspaces/CSharp/Portable/LanguageServices/CSharpTypeInferenceService.TypeInferrer.cs b/src/Workspaces/CSharp/Portable/LanguageServices/CSharpTypeInferenceService.TypeInferrer.cs index 2a456f6416a1984d9302f08fd7373729c40b9da8..4a67756fbffb423fc0b2a5bb3a47f776ad53de20 100644 --- a/src/Workspaces/CSharp/Portable/LanguageServices/CSharpTypeInferenceService.TypeInferrer.cs +++ b/src/Workspaces/CSharp/Portable/LanguageServices/CSharpTypeInferenceService.TypeInferrer.cs @@ -1902,7 +1902,7 @@ private IEnumerable InferTypeInYieldStatement(YieldStatementS // We don't care what the type is, as long as it has 1 type argument. This will work for IEnumerable, IEnumerator, // IAsyncEnumerable, IAsyncEnumerator and it's also good for error recovery in case there is a missing using. return memberType is INamedTypeSymbol namedType && namedType.TypeArguments.Length == 1 - ? SpecializedCollections.SingletonEnumerable(new TypeInferenceInfo(namedType.TypeArguments[0].WithNullability(namedType.TypeArgumentsNullableAnnotations[0]))) + ? SpecializedCollections.SingletonEnumerable(new TypeInferenceInfo(namedType.TypeArguments[0].WithNullability(namedType.TypeArgumentNullableAnnotations[0]))) : SpecializedCollections.EmptyEnumerable(); } @@ -1916,7 +1916,7 @@ private ITypeSymbol UnwrapTaskLike(ITypeSymbol type, bool isAsync) if (type.OriginalDefinition.Equals(this.Compilation.TaskOfTType())) { var namedTypeSymbol = (INamedTypeSymbol)type; - return namedTypeSymbol.TypeArguments[0].WithNullability(namedTypeSymbol.TypeArgumentsNullableAnnotations[0]); + return namedTypeSymbol.TypeArguments[0].WithNullability(namedTypeSymbol.TypeArgumentNullableAnnotations[0]); } if (type.OriginalDefinition.Equals(this.Compilation.TaskType())) @@ -2242,7 +2242,7 @@ private IEnumerable GetCollectionElementType(INamedTypeSymbol var elementType = parameters.ElementAtOrDefault(0); if (elementType != null) { - return SpecializedCollections.SingletonCollection(new TypeInferenceInfo(elementType.WithNullability(type.TypeArgumentsNullableAnnotations[0]))); + return SpecializedCollections.SingletonCollection(new TypeInferenceInfo(elementType.WithNullability(type.TypeArgumentNullableAnnotations[0]))); } } diff --git a/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationAbstractMethodSymbol.cs b/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationAbstractMethodSymbol.cs index 9e0ec1413df37d8ca5a7714f1189d3b7ef3bdd7c..6138233c2f2be193dce5bb1f93d2437b75ea4791 100644 --- a/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationAbstractMethodSymbol.cs +++ b/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationAbstractMethodSymbol.cs @@ -50,7 +50,7 @@ public virtual ImmutableArray GetReturnTypeAttributes() public NullableAnnotation ReceiverNullableAnnotation => ReceiverType.GetNullability(); public NullableAnnotation ReturnNullableAnnotation => ReturnType.GetNullability(); - public ImmutableArray TypeArgumentsNullableAnnotations => TypeArguments.SelectAsArray(a => a.GetNullability()); + public ImmutableArray TypeArgumentNullableAnnotations => TypeArguments.SelectAsArray(a => a.GetNullability()); public virtual ITypeSymbol ReceiverType { diff --git a/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationAbstractNamedTypeSymbol.cs b/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationAbstractNamedTypeSymbol.cs index e7fbc3baa540170f528bd5da3b8340edc35ed168..ee36d67836d5efc96a10e4b9114f81649e5f2b43 100644 --- a/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationAbstractNamedTypeSymbol.cs +++ b/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationAbstractNamedTypeSymbol.cs @@ -70,7 +70,7 @@ public INamedTypeSymbol Construct(params ITypeSymbol[] typeArguments) public abstract ImmutableArray StaticConstructors { get; } public abstract ImmutableArray Constructors { get; } public abstract ImmutableArray TypeArguments { get; } - public abstract ImmutableArray TypeArgumentsNullableAnnotations { get; } + public abstract ImmutableArray TypeArgumentNullableAnnotations { get; } public ImmutableArray GetTypeArgumentCustomModifiers(int ordinal) { diff --git a/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationConstructedNamedTypeSymbol.cs b/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationConstructedNamedTypeSymbol.cs index f5585c3fd9855bf9c7c63df761f811fab007dfef..f4635c964caa57532cfafeb76efbe96877468e6d 100644 --- a/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationConstructedNamedTypeSymbol.cs +++ b/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationConstructedNamedTypeSymbol.cs @@ -27,7 +27,7 @@ internal class CodeGenerationConstructedNamedTypeSymbol : CodeGenerationAbstract public override ImmutableArray TypeArguments => _typeArguments; // TODO: implement this once INamedTypeSymbol.Construct is fixed in https://github.com/dotnet/roslyn/issues/36046 - public override ImmutableArray TypeArgumentsNullableAnnotations => _typeArguments.SelectAsArray(t => NullableAnnotation.NotAnnotated); + public override ImmutableArray TypeArgumentNullableAnnotations => _typeArguments.SelectAsArray(t => NullableAnnotation.NotAnnotated); public override int Arity => _constructedFrom.Arity; diff --git a/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationNamedTypeSymbol.cs b/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationNamedTypeSymbol.cs index 27ad605f9593c9c01baac6191a387212d42f25cf..78c91c2d78ef106fc99b14f8bdd92fc88e30d2fa 100644 --- a/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationNamedTypeSymbol.cs +++ b/src/Workspaces/Core/Portable/CodeGeneration/Symbols/CodeGenerationNamedTypeSymbol.cs @@ -122,7 +122,7 @@ public override ImmutableArray TypeArguments } } - public override ImmutableArray TypeArgumentsNullableAnnotations + public override ImmutableArray TypeArgumentNullableAnnotations { get { diff --git a/src/Workspaces/Core/Portable/Shared/Extensions/ITypeSymbolExtensions.SubstituteTypesVisitor.cs b/src/Workspaces/Core/Portable/Shared/Extensions/ITypeSymbolExtensions.SubstituteTypesVisitor.cs index 2dc904467bd5cd08eeb1b57ba77e7fccf1b101fb..d552e703f71ae5b85de8dbe2ef66fdf10d7be957 100644 --- a/src/Workspaces/Core/Portable/Shared/Extensions/ITypeSymbolExtensions.SubstituteTypesVisitor.cs +++ b/src/Workspaces/Core/Portable/Shared/Extensions/ITypeSymbolExtensions.SubstituteTypesVisitor.cs @@ -80,7 +80,7 @@ public override ITypeSymbol VisitNamedType(INamedTypeSymbol symbol) symbol = updatedContainingType.GetTypeMembers(symbol.Name, symbol.Arity).First(m => m.TypeKind == symbol.TypeKind); } - var typeArgumentsWithNullability = symbol.TypeArguments.ZipAsArray(symbol.TypeArgumentsNullableAnnotations, (t, n) => t.WithNullability(n)); + var typeArgumentsWithNullability = symbol.TypeArguments.ZipAsArray(symbol.TypeArgumentNullableAnnotations, (t, n) => t.WithNullability(n)); var substitutedArguments = typeArgumentsWithNullability.Select(t => t.Accept(this)); if (typeArgumentsWithNullability.SequenceEqual(substitutedArguments)) { diff --git a/src/Workspaces/Core/Portable/Utilities/NullableHelpers/NamedTypeSymbolWithNullableAnnotation.cs b/src/Workspaces/Core/Portable/Utilities/NullableHelpers/NamedTypeSymbolWithNullableAnnotation.cs index e1d6d22e6825e831319f8f2bcfceac96ccce2ae3..39c319d964fc07e0b7487d83414b61151eb09131 100644 --- a/src/Workspaces/Core/Portable/Utilities/NullableHelpers/NamedTypeSymbolWithNullableAnnotation.cs +++ b/src/Workspaces/Core/Portable/Utilities/NullableHelpers/NamedTypeSymbolWithNullableAnnotation.cs @@ -36,7 +36,7 @@ public override TResult Accept(SymbolVisitor visitor) public IEnumerable MemberNames => WrappedSymbol.MemberNames; public ImmutableArray TypeParameters => WrappedSymbol.TypeParameters; public ImmutableArray TypeArguments => WrappedSymbol.TypeArguments; - public ImmutableArray TypeArgumentsNullableAnnotations => WrappedSymbol.TypeArgumentsNullableAnnotations; + public ImmutableArray TypeArgumentNullableAnnotations => WrappedSymbol.TypeArgumentNullableAnnotations; public IMethodSymbol DelegateInvokeMethod => WrappedSymbol.DelegateInvokeMethod; public INamedTypeSymbol EnumUnderlyingType => WrappedSymbol.EnumUnderlyingType; public INamedTypeSymbol ConstructedFrom => WrappedSymbol.ConstructedFrom;