6 implementations of ToDisplayParts
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
201public ImmutableArray<SymbolDisplayPart> ToDisplayParts(SymbolDisplayFormat format = null)
Microsoft.CodeAnalysis.CSharp (2)
Symbols\PublicModel\PreprocessingSymbol.cs (1)
83ImmutableArray<SymbolDisplayPart> ISymbol.ToDisplayParts(SymbolDisplayFormat? format)
Symbols\PublicModel\Symbol.cs (1)
169ImmutableArray<SymbolDisplayPart> ISymbol.ToDisplayParts(SymbolDisplayFormat format)
Microsoft.CodeAnalysis.Features (1)
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
95public ImmutableArray<SymbolDisplayPart> ToDisplayParts(SymbolDisplayFormat format = null)
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
1329Private Function ISymbol_ToDisplayParts(Optional format As SymbolDisplayFormat = Nothing) As ImmutableArray(Of SymbolDisplayPart) Implements ISymbol.ToDisplayParts
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationSymbol.cs (1)
201public ImmutableArray<SymbolDisplayPart> ToDisplayParts(SymbolDisplayFormat format = null)
73 references to ToDisplayParts
Microsoft.CodeAnalysis (1)
SymbolDisplay\SymbolDisplayPart.cs (1)
13/// <seealso cref="ISymbol.ToDisplayParts"/>
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
205var typeArgument = typeArguments.Single().ToDisplayParts().Last().ToString();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (54)
SymbolDisplay\SymbolDisplayTests.cs (54)
6444Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat), 6487Verify(localSymbol.ToDisplayParts(changeSignatureFormat), 6522Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat), 6616Verify(localSymbol.ToDisplayParts(SymbolDisplayFormat.TestFormat), 6872Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format), 6880Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format), 6910Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format), 6918Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format), 6948Verify(semanticModel.GetDeclaredSymbol(declarations[0]).ToDisplayParts(format), 6958Verify(semanticModel.GetDeclaredSymbol(declarations[1]).ToDisplayParts(format), 7006Verify(members[0].ToDisplayParts(format), "int X.P1 { }", 7017Verify(members[1].ToDisplayParts(format), "int X.P2 { }", 7028Verify(members[2].ToDisplayParts(format), "event System.Action X.E1", 7039Verify(members[3].ToDisplayParts(format), "readonly event System.Action X.E2", 7078Verify(members[0].ToDisplayParts(format), 7090Verify(members[1].ToDisplayParts(format), 7107Verify(members[2].ToDisplayParts(format), 7119Verify(members[3].ToDisplayParts(format), 7136Verify(members[4].ToDisplayParts(format), 7148Verify(members[5].ToDisplayParts(format), 7168Verify(members[6].ToDisplayParts(format), 7180Verify(members[7].ToDisplayParts(format), 7192Verify(members[8].ToDisplayParts(format), 7212Verify(members[9].ToDisplayParts(format), 7224Verify(members[10].ToDisplayParts(format), 7234Verify(members[11].ToDisplayParts(format), 7254Verify(members[12].ToDisplayParts(format), 7264Verify(members[13].ToDisplayParts(format), 7276Verify(members[14].ToDisplayParts(format), 7290Verify(members[15].ToDisplayParts(format), 7302Verify(members[16].ToDisplayParts(format), 7338Verify(members[0].ToDisplayParts(format), 7348Verify(members[1].ToDisplayParts(format), 7363Verify(members[2].ToDisplayParts(format), 7373Verify(members[3].ToDisplayParts(format), 7388Verify(members[4].ToDisplayParts(format), 7398Verify(members[5].ToDisplayParts(format), 7416Verify(members[6].ToDisplayParts(format), 7426Verify(members[7].ToDisplayParts(format), 7436Verify(members[8].ToDisplayParts(format), 7448Verify(members[9].ToDisplayParts(format), 7458Verify(members[10].ToDisplayParts(format), 7491Verify(members[0].ToDisplayParts(format), 8230Verify(type.ToDisplayParts(), "System.Func<int, string>", 8241Verify(type.ToDisplayParts(s_fullDelegateFormat), "delegate string System.Func<int, string>(int arg)", 8281Verify(type.ToDisplayParts(), "<anonymous delegate>", 8284Verify(type.ToDisplayParts(s_fullDelegateFormat), "delegate string <anonymous delegate>(ref int arg)", 8709Verify(locals[0].ToDisplayParts(formatTypeOnly), 8715Verify(locals[0].ToDisplayParts(formatTypeRefAndScoped), 8723Verify(locals[1].ToDisplayParts(formatTypeOnly), 8729Verify(locals[1].ToDisplayParts(formatTypeRefAndScoped), 8763Verify(op.ToDisplayParts(SymbolDisplayFormat.TestFormat), 8820Verify(op.ToDisplayParts(ideFormat), 8865var displayParts = preprocessingSymbol.ToDisplayParts(format);
Microsoft.CodeAnalysis.Features (12)
CodeLens\CodeLensReferencesService.cs (1)
288var parts = declaredSymbol.ToDisplayParts(MethodDisplayFormat);
FindUsages\DefinitionItemFactory.cs (1)
114var nameDisplayParts = definition.ToDisplayParts(s_namePartsFormat).ToTaggedText();
FindUsages\FindUsagesHelpers.cs (1)
83=> definition.ToDisplayParts(GetFormat(definition)).ToTaggedText();
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (7)
336symbol.ToDisplayParts(s_descriptionStyle)); 472? symbol.ToDisplayParts(style) 473: symbol.OriginalDefinition.ToDisplayParts(style); 480WrapConstraints(symbol.OriginalDefinition, symbol.OriginalDefinition.ToDisplayParts(s_descriptionStyle))); 499var underlyingTypeDisplayParts = symbol.EnumUnderlyingType.ToDisplayParts(s_descriptionStyle.WithMiscellaneousOptions(SymbolDisplayMiscellaneousOptions.UseSpecialTypes)); 529symbol.ToDisplayParts(s_globalNamespaceStyle)); 534symbol.ToDisplayParts(s_descriptionStyle));
MetadataAsSource\AbstractMetadataAsSourceService.AbstractWrappedSymbol.cs (1)
96=> _symbol.ToDisplayParts(format);
SemanticSearch\AbstractSemanticSearchService.cs (1)
245? exceptionTypeSymbol.ToDisplayParts(SymbolDisplayFormat.MinimallyQualifiedFormat).ToTaggedText()
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Symbol.vb (1)
1329Private Function ISymbol_ToDisplayParts(Optional format As SymbolDisplayFormat = Nothing) As ImmutableArray(Of SymbolDisplayPart) Implements ISymbol.ToDisplayParts
Microsoft.CodeAnalysis.Workspaces (2)
Rename\ConflictEngine\ConflictResolver.cs (1)
388return symbol.ToDisplayParts(s_metadataSymbolDisplayFormat)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SemanticModelExtensions.cs (1)
205var typeArgument = typeArguments.Single().ToDisplayParts().Last().ToString();
Microsoft.VisualStudio.LanguageServices (2)
ChangeSignature\ChangeSignatureDialogViewModel.cs (2)
74_declarationParts = symbol.ToDisplayParts(s_symbolDeclarationDisplayFormat); 367displayParts.AddRange(existingParameter.ParameterSymbol.ToDisplayParts(s_parameterDisplayFormat));