11 implementations of IMethodSymbol_TypeArgumentsNullableAnnotation
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
59
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> TypeArguments.SelectAsArray(a => a.NullableAnnotation);
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
59
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> TypeArguments.SelectAsArray(a => a.NullableAnnotation);
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
59
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> TypeArguments.SelectAsArray(a => a.NullableAnnotation);
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
59
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> TypeArguments.SelectAsArray(a => a.NullableAnnotation);
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\MethodSymbol.cs (1)
111
ImmutableArray<CodeAnalysis.NullableAnnotation> IMethodSymbol.
TypeArgumentNullableAnnotations
=>
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedMethodSymbol.cs (1)
105
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> _symbol.TypeArgumentNullableAnnotations;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
59
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> TypeArguments.SelectAsArray(a => a.NullableAnnotation);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
1116
Private ReadOnly Property
IMethodSymbol_TypeArgumentsNullableAnnotation
As ImmutableArray(Of NullableAnnotation) Implements IMethodSymbol.TypeArgumentNullableAnnotations
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
59
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> TypeArguments.SelectAsArray(a => a.NullableAnnotation);
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
59
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> TypeArguments.SelectAsArray(a => a.NullableAnnotation);
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationAbstractMethodSymbol.cs (1)
59
public ImmutableArray<NullableAnnotation>
TypeArgumentNullableAnnotations
=> TypeArguments.SelectAsArray(a => a.NullableAnnotation);
17 references to IMethodSymbol_TypeArgumentsNullableAnnotation
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (13)
Compilation\CompilationAPITests.cs (2)
3073
AssertEx.Equal(new[] { CodeAnalysis.NullableAnnotation.None, CodeAnalysis.NullableAnnotation.None }, type.
TypeArgumentNullableAnnotations
);
3081
AssertEx.Equal(new[] { CodeAnalysis.NullableAnnotation.Annotated, CodeAnalysis.NullableAnnotation.NotAnnotated }, type.
TypeArgumentNullableAnnotations
);
Symbols\Source\NullablePublicAPITests.cs (11)
950
Assert.Equal(result, method.
TypeArgumentNullableAnnotations
.Single());
1860
Assert.Equal(expectedAnnotation, methodSymbol.
TypeArgumentNullableAnnotations
.Single());
1903
Assert.Equal(expectedAnnotation, methodSymbol.
TypeArgumentNullableAnnotations
.Single());
2967
Assert.Equal(expectedAnnotation, ((IMethodSymbol)symbolInfo.Symbol).
TypeArgumentNullableAnnotations
[0]);
3009
Assert.Equal(expectedAnnotation, ((IMethodSymbol)symbolInfo.Symbol).
TypeArgumentNullableAnnotations
[0]);
3051
Assert.Equal(PublicNullableAnnotation.NotAnnotated, ((IMethodSymbol)symbolInfo.Symbol).
TypeArgumentNullableAnnotations
[0]);
3053
Assert.Equal(expectedAnnotation, ((IMethodSymbol)symbolInfo.Symbol).
TypeArgumentNullableAnnotations
[1]);
3114
Assert.Equal(PublicNullableAnnotation.None, ((IMethodSymbol)symbol).
TypeArgumentNullableAnnotations
[0]);
3158
Assert.Equal(annotation1, methodSymbol.
TypeArgumentNullableAnnotations
[0]);
3160
Assert.Equal(annotation2, methodSymbol.
TypeArgumentNullableAnnotations
[1]);
3203
Assert.Equal(annotation, methodSymbol.
TypeArgumentNullableAnnotations
[0]);
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.WrappedMethodSymbol.cs (1)
105
public ImmutableArray<NullableAnnotation> TypeArgumentNullableAnnotations => _symbol.
TypeArgumentNullableAnnotations
;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\MethodSymbol.vb (1)
1116
Private ReadOnly Property IMethodSymbol_TypeArgumentsNullableAnnotation As ImmutableArray(Of NullableAnnotation) Implements IMethodSymbol.
TypeArgumentNullableAnnotations
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (2)
Compilation\CompilationAPITests.vb (2)
1982
AssertEx.Equal({CodeAnalysis.NullableAnnotation.None, CodeAnalysis.NullableAnnotation.None}, type.
TypeArgumentNullableAnnotations
)
1989
AssertEx.Equal({CodeAnalysis.NullableAnnotation.None, CodeAnalysis.NullableAnnotation.None}, type.
TypeArgumentNullableAnnotations
)