6 implementations of ToMinimalDisplayString
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
204public string ToMinimalDisplayString(SemanticModel semanticModel, int position, SymbolDisplayFormat format = null)
Microsoft.CodeAnalysis.CSharp (2)
Symbols\PublicModel\PreprocessingSymbol.cs (1)
88string ISymbol.ToMinimalDisplayString(SemanticModel semanticModel, int position, SymbolDisplayFormat? format)
Symbols\PublicModel\Symbol.cs (1)
174string ISymbol.ToMinimalDisplayString(SemanticModel semanticModel, int position, SymbolDisplayFormat format)
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
101public string ToMinimalDisplayString(SemanticModel semanticModel, int position, SymbolDisplayFormat format = null)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
1333Private Function ISymbol_ToMinimalDisplayString(semanticModel As SemanticModel, position As Integer, Optional format As SymbolDisplayFormat = Nothing) As String Implements ISymbol.ToMinimalDisplayString
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
204public string ToMinimalDisplayString(SemanticModel semanticModel, int position, SymbolDisplayFormat format = null)
23 references to ToMinimalDisplayString
Microsoft.CodeAnalysis (2)
SymbolDisplay\SymbolDisplayFormat.cs (1)
147/// Formats a symbol description in a form that suits <see cref="ISymbol.ToMinimalDisplayString"/>.
SymbolDisplay\SymbolDisplayMiscellaneousOptions.cs (1)
49/// Has no effect outside <see cref="ISymbol.ToMinimalDisplayString"/> and only applies
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (1)
168conversionType.ToMinimalDisplayString(semanticModel, position));
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\DisambiguateSameVariable\CSharpDisambiguateSameVariableCodeFixProvider.cs (1)
122var memberContainer = matchingMember.ContainingType.ToMinimalDisplayString(semanticModel, span.Start);
Microsoft.CodeAnalysis.CSharp.Features (6)
Completion\CompletionProviders\CrefCompletionProvider.cs (1)
296builder.Append(symbol.ToMinimalDisplayString(semanticModel, token.SpanStart, unqualifiedCrefFormat));
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (1)
166: type.ToMinimalDisplayString(semanticModel, position);
Completion\CompletionProviders\ObjectCreationCompletionProvider.cs (1)
97var displayString = symbol.ToMinimalDisplayString(context.SemanticModel, context.Position);
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Conversions.cs (1)
44var targetTypeName = conversion.ReturnType.ToMinimalDisplayString(semanticModel, position);
Completion\CompletionProviders\PartialTypeCompletionProvider.cs (1)
62var displayAndInsertionText = symbol.ToMinimalDisplayString(context.SemanticModel, context.Position, _symbolFormatWithGenerics);
src\Analyzers\CSharp\CodeFixes\DisambiguateSameVariable\CSharpDisambiguateSameVariableCodeFixProvider.cs (1)
122var memberContainer = matchingMember.ContainingType.ToMinimalDisplayString(semanticModel, span.Start);
Microsoft.CodeAnalysis.Features (5)
DocumentationComments\AbstractDocumentationCommentFormattingService.cs (1)
455return (target: SymbolKey.CreateString(symbol), hint: symbol.ToMinimalDisplayString(semanticModel, position, format ?? SymbolDisplayFormat.MinimallyQualifiedFormat));
FullyQualify\AbstractFullyQualifyService.cs (1)
200var containerName = container.ToMinimalDisplayString(semanticModel, simpleName.SpanStart);
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
102=> _symbol.ToMinimalDisplayString(semanticModel, position, format);
Shared\Extensions\ISymbolExtensions_Sorting.cs (1)
136.Select(p => p.Type.ToMinimalDisplayString(semanticModel, position))
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (1)
168conversionType.ToMinimalDisplayString(semanticModel, position));
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
1333Private Function ISymbol_ToMinimalDisplayString(semanticModel As SemanticModel, position As Integer, Optional format As SymbolDisplayFormat = Nothing) As String Implements ISymbol.ToMinimalDisplayString
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
CodeCleanup\AsyncOrIteratorFunctionReturnTypeFixer.vb (2)
160Dim typeSyntax = SyntaxFactory.ParseTypeName(type.ToMinimalDisplayString(semanticModel, position)) 187Dim newTypeSyntax = SyntaxFactory.ParseTypeName(genericType.ToMinimalDisplayString(semanticModel, position))
Microsoft.Interop.ComInterfaceGenerator (2)
Analyzers\RuntimeComApiUsageWithSourceGeneratedComAnalyzer.cs (2)
123operation.TargetMethod.ToMinimalDisplayString(operation.SemanticModel, operation.Syntax.SpanStart), 124targetType.ToMinimalDisplayString(operation.SemanticModel, operation.Syntax.SpanStart)));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
3699var typeName = SyntaxFactory.ParseTypeName(typeSymbol.ToMinimalDisplayString(semanticModel, position));
Microsoft.VisualStudio.LanguageServices.VisualBasic (2)
CodeModel\VisualBasicCodeModelService.vb (2)
4272typeSymbol.ToMinimalDisplayString(semanticModel, typeBlockPosition))) 4344typeSymbol.ToMinimalDisplayString(semanticModel, typeBlockPosition)))