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)
110return type.Type?.GetITypeSymbol(type.ToPublicAnnotation());
Symbols\PublicModel\ArrayTypeSymbol.cs (1)
60return _underlying.ElementTypeWithAnnotations.ToPublicAnnotation();
Symbols\PublicModel\DiscardSymbol.cs (1)
36CodeAnalysis.NullableAnnotation IDiscardSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.ToPublicAnnotation();
Symbols\PublicModel\EventSymbol.cs (1)
38CodeAnalysis.NullableAnnotation IEventSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.ToPublicAnnotation();
Symbols\PublicModel\FieldSymbol.cs (1)
51CodeAnalysis.NullableAnnotation IFieldSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.ToPublicAnnotation();
Symbols\PublicModel\LocalSymbol.cs (1)
38CodeAnalysis.NullableAnnotation ILocalSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.ToPublicAnnotation();
Symbols\PublicModel\MethodSymbol.cs (1)
96return _underlying.ReturnTypeWithAnnotations.ToPublicAnnotation();
Symbols\PublicModel\ParameterSymbol.cs (1)
39CodeAnalysis.NullableAnnotation IParameterSymbol.NullableAnnotation => _underlying.TypeWithAnnotations.ToPublicAnnotation();
Symbols\PublicModel\PropertySymbol.cs (1)
44CodeAnalysis.NullableAnnotation IPropertySymbol.NullableAnnotation => _underlying.TypeWithAnnotations.ToPublicAnnotation();
Symbols\ReducedExtensionMethodSymbol.cs (1)
255_reducedFrom.Parameters[0].TypeWithAnnotations.ToPublicAnnotation();