6 references to ToAnnotation
Microsoft.CodeAnalysis (2)
Compilation\TypeInfo.cs (2)
43Debug.Assert(type is null || type.NullableAnnotation == nullability.FlowState.ToAnnotation()); 44Debug.Assert(convertedType is null || convertedType.NullableAnnotation == convertedNullability.FlowState.ToAnnotation());
Microsoft.CodeAnalysis.CSharp (4)
BoundTree\BoundExpression.cs (1)
125=> Type?.GetITypeSymbol(TopLevelNullability.FlowState.ToAnnotation());
Compilation\TypeInfo.cs (2)
55return new TypeInfo(info.Type?.GetITypeSymbol(info.Nullability.FlowState.ToAnnotation()), info.ConvertedType?.GetITypeSymbol(info.ConvertedNullability.FlowState.ToAnnotation()),
SymbolDisplay\SymbolDisplay.cs (1)
199return ToDisplayParts(symbol.WithNullableAnnotation(nullableFlowState.ToAnnotation()), semanticModelOpt, positionOpt, format, minimal);