コード例 #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));
            }
コード例 #2
0
 public ImmutableArray <SymbolDisplayPart> ToMinimalDisplayParts(SemanticModel semanticModel, NullableFlowState topLevelNullability, int position, SymbolDisplayFormat format = null)
 {
     return(WrappedSymbol.ToMinimalDisplayParts(semanticModel, topLevelNullability, position, format));
 }
コード例 #3
0
 public ImmutableArray <SymbolDisplayPart> ToMinimalDisplayParts(SemanticModel semanticModel, int position, SymbolDisplayFormat format = null)
 {
     return(WrappedSymbol.ToMinimalDisplayParts(semanticModel, position, format));
 }