11 references to ToPublicAnnotation
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (1)
402
_analyzedNullabilityMapOpt[expr] = (new NullabilityInfo(result.LValueType.
ToPublicAnnotation
(), result.RValueType.State.ToPublicFlowState()),
Symbols\NullableAnnotationExtensions.cs (1)
110
return type.Type?.GetITypeSymbol(type.
ToPublicAnnotation
());
Symbols\PublicModel\ArrayTypeSymbol.cs (1)
60
return _underlying.ElementTypeWithAnnotations.
ToPublicAnnotation
();
Symbols\PublicModel\DiscardSymbol.cs (1)
36
CodeAnalysis.NullableAnnotation IDiscardSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.
ToPublicAnnotation
();
Symbols\PublicModel\EventSymbol.cs (1)
38
CodeAnalysis.NullableAnnotation IEventSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.
ToPublicAnnotation
();
Symbols\PublicModel\FieldSymbol.cs (1)
51
CodeAnalysis.NullableAnnotation IFieldSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.
ToPublicAnnotation
();
Symbols\PublicModel\LocalSymbol.cs (1)
38
CodeAnalysis.NullableAnnotation ILocalSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.
ToPublicAnnotation
();
Symbols\PublicModel\MethodSymbol.cs (1)
96
return _underlying.ReturnTypeWithAnnotations.
ToPublicAnnotation
();
Symbols\PublicModel\ParameterSymbol.cs (1)
39
CodeAnalysis.NullableAnnotation IParameterSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.
ToPublicAnnotation
();
Symbols\PublicModel\PropertySymbol.cs (1)
44
CodeAnalysis.NullableAnnotation IPropertySymbol.NullableAnnotation => _underlying.TypeWithAnnotations.
ToPublicAnnotation
();
Symbols\ReducedExtensionMethodSymbol.cs (1)
255
_reducedFrom.Parameters[0].TypeWithAnnotations.
ToPublicAnnotation
();