Exemplo n.º 1
0
            public ImmutableArray <SymbolDisplayPart> ToMinimalDisplayParts(SemanticModel semanticModel, int position, SymbolDisplayFormat format = null)
            {
                // Call the right API once https://github.com/dotnet/roslyn/pull/35698 is merged
                var convertedFlowState = Nullability == NullableAnnotation.Annotated ? NullableFlowState.MaybeNull : NullableFlowState.None;

                return(WrappedSymbol.ToMinimalDisplayParts(semanticModel, convertedFlowState, position, format));
            }
Exemplo n.º 2
0
 public ImmutableArray <SymbolDisplayPart> ToMinimalDisplayParts(SemanticModel semanticModel, NullableFlowState topLevelNullability, int position, SymbolDisplayFormat format = null)
 {
     return(WrappedSymbol.ToMinimalDisplayParts(semanticModel, topLevelNullability, position, format));
 }
 public ImmutableArray <SymbolDisplayPart> ToMinimalDisplayParts(SemanticModel semanticModel, int position, SymbolDisplayFormat format = null)
 {
     return(WrappedSymbol.ToMinimalDisplayParts(semanticModel, position, format));
 }