10 implementations of ElementNullableAnnotation
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
65
public NullableAnnotation
ElementNullableAnnotation
=> ElementType.NullableAnnotation;
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
65
public NullableAnnotation
ElementNullableAnnotation
=> ElementType.NullableAnnotation;
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
65
public NullableAnnotation
ElementNullableAnnotation
=> ElementType.NullableAnnotation;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
65
public NullableAnnotation
ElementNullableAnnotation
=> ElementType.NullableAnnotation;
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\ArrayTypeSymbol.cs (1)
56
CodeAnalysis.NullableAnnotation IArrayTypeSymbol.
ElementNullableAnnotation
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
65
public NullableAnnotation
ElementNullableAnnotation
=> ElementType.NullableAnnotation;
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\ArrayTypeSymbol.vb (1)
412
Private ReadOnly Property
IArrayTypeSymbol_ElementNullableAnnotation
As NullableAnnotation Implements IArrayTypeSymbol.ElementNullableAnnotation
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
65
public NullableAnnotation
ElementNullableAnnotation
=> ElementType.NullableAnnotation;
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
65
public NullableAnnotation
ElementNullableAnnotation
=> ElementType.NullableAnnotation;
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationArrayTypeSymbol.cs (1)
65
public NullableAnnotation
ElementNullableAnnotation
=> ElementType.NullableAnnotation;
22 references to ElementNullableAnnotation
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (16)
Compilation\CompilationAPITests.cs (8)
2464
Assert.Equal(CodeAnalysis.NullableAnnotation.None, arrayType.
ElementNullableAnnotation
);
2472
Assert.Equal(CodeAnalysis.NullableAnnotation.None, arrayType.
ElementNullableAnnotation
);
2480
Assert.Equal(CodeAnalysis.NullableAnnotation.None, arrayType.
ElementNullableAnnotation
);
2491
Assert.Equal(CodeAnalysis.NullableAnnotation.None, comp.CreateArrayTypeSymbol(elementType).
ElementNullableAnnotation
);
2493
Assert.Equal(CodeAnalysis.NullableAnnotation.None, comp.CreateArrayTypeSymbol(elementType, elementNullableAnnotation: CodeAnalysis.NullableAnnotation.None).
ElementNullableAnnotation
);
2495
Assert.Equal(CodeAnalysis.NullableAnnotation.None, comp.CreateArrayTypeSymbol(elementType, elementNullableAnnotation: CodeAnalysis.NullableAnnotation.None).
ElementNullableAnnotation
);
2497
Assert.Equal(CodeAnalysis.NullableAnnotation.NotAnnotated, comp.CreateArrayTypeSymbol(elementType, elementNullableAnnotation: CodeAnalysis.NullableAnnotation.NotAnnotated).
ElementNullableAnnotation
);
2499
Assert.Equal(CodeAnalysis.NullableAnnotation.Annotated, comp.CreateArrayTypeSymbol(elementType, elementNullableAnnotation: CodeAnalysis.NullableAnnotation.Annotated).
ElementNullableAnnotation
);
Symbols\Source\NullablePublicAPITests.cs (8)
698
Assert.Equal(result, array.
ElementNullableAnnotation
);
5257
Assert.Equal(PublicNullableAnnotation.NotAnnotated, type.
ElementNullableAnnotation
);
5280
Assert.Equal(PublicNullableAnnotation.NotAnnotated, type.
ElementNullableAnnotation
);
5312
Assert.Equal(PublicNullableAnnotation.NotAnnotated, type.
ElementNullableAnnotation
);
5335
Assert.Equal(PublicNullableAnnotation.NotAnnotated, type.
ElementNullableAnnotation
);
5357
Assert.Equal(PublicNullableAnnotation.NotAnnotated, type.
ElementNullableAnnotation
);
5405
Assert.Equal(PublicNullableAnnotation.NotAnnotated, type.
ElementNullableAnnotation
);
5465
Assert.Equal(PublicNullableAnnotation.None, type.
ElementNullableAnnotation
);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\ArrayTypeSymbol.vb (1)
412
Private ReadOnly Property IArrayTypeSymbol_ElementNullableAnnotation As NullableAnnotation Implements IArrayTypeSymbol.
ElementNullableAnnotation
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (5)
Compilation\CompilationAPITests.vb (5)
1516
Assert.Equal(CodeAnalysis.NullableAnnotation.None, arrayType.
ElementNullableAnnotation
)
1523
Assert.Equal(CodeAnalysis.NullableAnnotation.None, arrayType.
ElementNullableAnnotation
)
1530
Assert.Equal(CodeAnalysis.NullableAnnotation.None, arrayType.
ElementNullableAnnotation
)
1539
Assert.Equal(CodeAnalysis.NullableAnnotation.None, comp.CreateArrayTypeSymbol(elementType).
ElementNullableAnnotation
)
1540
Assert.Equal(CodeAnalysis.NullableAnnotation.None, comp.CreateArrayTypeSymbol(elementType, elementNullableAnnotation:=Nothing).
ElementNullableAnnotation
)