2 implementations of NullableAnnotation
Microsoft.CodeAnalysis.CSharp (1)
Symbols\PublicModel\PropertySymbol.cs (1)
44
CodeAnalysis.NullableAnnotation IPropertySymbol.
NullableAnnotation
=> _underlying.TypeWithAnnotations.ToPublicAnnotation();
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
604
Private ReadOnly Property
IPropertySymbol_NullableAnnotation
As NullableAnnotation Implements IPropertySymbol.NullableAnnotation
7 references to NullableAnnotation
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Symbols\Source\NullablePublicAPITests.cs (5)
219
Assert.Equal(result, member.
NullableAnnotation
);
2740
Assert.Equal(PublicNullableAnnotation.Annotated, ((IPropertySymbol)symInfo.Symbol).
NullableAnnotation
);
2745
Assert.Equal(PublicNullableAnnotation.NotAnnotated, ((IPropertySymbol)symInfo.Symbol).
NullableAnnotation
);
3273
Assert.Equal(firstAnnotation, propertySymbol.
NullableAnnotation
);
3324
Assert.Equal(annotation, propertySymbol.
NullableAnnotation
);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\PropertySymbol.vb (1)
604
Private ReadOnly Property IPropertySymbol_NullableAnnotation As NullableAnnotation Implements IPropertySymbol.
NullableAnnotation
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Parser.cs (1)
138
nullableRegex = regexPropertySymbol.
NullableAnnotation
== NullableAnnotation.Annotated;