150 references to SymbolDisplayPart
Microsoft.CodeAnalysis.CodeStyle (6)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
16=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.LineBreak, null, text));
19=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.MethodName, null, text));
22=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, null, text));
25=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Space, null, text));
28=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Text, null, text));
Microsoft.CodeAnalysis.CSharp (11)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (6)
469Builder.Add(new SymbolDisplayPart(SymbolDisplayPartKind.ClassName, symbol, "<empty anonymous type>"));
474Builder.Add(new SymbolDisplayPart(SymbolDisplayPartKind.ClassName, symbol, name));
686Builder.Add(new SymbolDisplayPart(SymbolDisplayPartKind.AnonymousTypeIndicator, null, "AnonymousType"));
691Builder.Add(new SymbolDisplayPart(SymbolDisplayPartKind.AnonymousTypeIndicator, null, "Tuple"));
893Builder.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Keyword, null, "unmanaged"));
903Builder.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Keyword, null, "notnull"));
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.Features (16)
SignatureHelp\AbstractCSharpSignatureHelpProvider.cs (6)
19=> new SymbolDisplayPart(SymbolDisplayPartKind.Keyword, null, SyntaxFacts.GetText(kind));
22=> new SymbolDisplayPart(SymbolDisplayPartKind.Operator, null, SyntaxFacts.GetText(kind));
25=> new SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, null, SyntaxFacts.GetText(kind));
28=> new SymbolDisplayPart(SymbolDisplayPartKind.Text, null, text);
31=> new SymbolDisplayPart(SymbolDisplayPartKind.Space, null, " ");
34=> new SymbolDisplayPart(SymbolDisplayPartKind.LineBreak, null, "\r\n");
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Features (15)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (4)
484AddToGroup(SymbolDescriptionGroups.MainDescription, new SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, null, "?"));
789yield return new SymbolDisplayPart(SymbolDisplayPartKind.LineBreak, null, "\r\n");
801yield return new SymbolDisplayPart(SymbolDisplayPartKind.Space, null, new string(' ', count));
812yield return new SymbolDisplayPart(kind, symbol, text);
Microsoft.CodeAnalysis.VisualBasic (13)
SymbolDisplay\SymbolDisplay.vb (7)
175parts.Add(New SymbolDisplayPart(DirectCast(lastKind, SymbolDisplayPartKind), Nothing, sb.ToString()))
184parts.Add(New SymbolDisplayPart(DirectCast(lastKind, SymbolDisplayPartKind), Nothing, sb.ToString()))
193parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.FieldName, Nothing, wellKnown))
198parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.StringLiteral, Nothing, """" & c & """c"))
204parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.MethodName, Nothing, "ChrW"))
205parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, "("))
207parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, ")"))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
Microsoft.CodeAnalysis.VisualBasic.Features (8)
SignatureHelp\AbstractVisualBasicSignatureHelpProvider.vb (5)
14Return New SymbolDisplayPart(SymbolDisplayPartKind.ParameterName, Nothing, s)
18Return New SymbolDisplayPart(SymbolDisplayPartKind.Keyword, Nothing, SyntaxFacts.GetText(kind))
22Return New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, SyntaxFacts.GetText(kind))
26Return New SymbolDisplayPart(SymbolDisplayPartKind.Text, Nothing, _text)
30Return New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " ")
Microsoft.CodeAnalysis.VisualBasic.Workspaces (49)
Utilities\IntrinsicOperators\AbstractIntrinsicOperatorDocumentation.vb (7)
27Return {New SymbolDisplayPart(SymbolDisplayPartKind.ParameterName, Nothing, GetParameterName(index))}
38suffixParts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, ")"))
39suffixParts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "))
40suffixParts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Keyword, Nothing, "As"))
41suffixParts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "))
58suffixParts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Text, Nothing, ReturnTypeMetadataName))
64suffixParts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Text, Nothing, VBWorkspaceResources.result))
Utilities\IntrinsicOperators\GetXmlNamespaceExpressionDocumentation.vb (5)
13New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, "["),
14New SymbolDisplayPart(SymbolDisplayPartKind.ParameterName, Nothing, GetParameterName(index)),
15New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, "]")
55New SymbolDisplayPart(SymbolDisplayPartKind.Keyword, Nothing, "GetXmlNamespace"),
56New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, "(")
Utilities\IntrinsicOperators\MidAssignmentDocumentation.vb (8)
45Return {New SymbolDisplayPart(SymbolDisplayPartKind.ParameterName, Nothing, "[" + GetParameterName(2) + "]")}
65New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, ")"),
66New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "),
67New SymbolDisplayPart(SymbolDisplayPartKind.Operator, Nothing, "="),
68New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "),
69New SymbolDisplayPart(SymbolDisplayPartKind.Text, Nothing, VBWorkspaceResources.stringExpression)
75Return {New SymbolDisplayPart(SymbolDisplayPartKind.Keyword, Nothing, "Mid"),
76New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, "(")}
Utilities\IntrinsicOperators\TernaryConditionalExpressionDocumentation.vb (8)
17Return {New SymbolDisplayPart(SymbolDisplayPartKind.ParameterName, Nothing, GetParameterName(index)),
18New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "),
19New SymbolDisplayPart(SymbolDisplayPartKind.Keyword, Nothing, "As"),
20New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "),
21New SymbolDisplayPart(SymbolDisplayPartKind.Keyword, Nothing, "Boolean")}
23Return {New SymbolDisplayPart(SymbolDisplayPartKind.ParameterName, Nothing, GetParameterName(index))}
67Return {New SymbolDisplayPart(SymbolDisplayPartKind.Keyword, Nothing, "If"),
68New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, "(")}
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SymbolDisplayPartExtensions.cs (5)
16=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.LineBreak, null, text));
19=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.MethodName, null, text));
22=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, null, text));
25=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Space, null, text));
28=> parts.Add(new SymbolDisplayPart(SymbolDisplayPartKind.Text, null, text));
Microsoft.VisualStudio.LanguageServices (4)
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Microsoft.VisualStudio.LanguageServices.VisualBasic (6)
ChangeSignature\VisualBasicChangeSignatureViewModelFactoryService.vb (6)
24parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "))
25parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Keyword, Nothing, "As"))
26parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "))
36parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "))
37parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Punctuation, Nothing, "="))
38parts.Add(New SymbolDisplayPart(SymbolDisplayPartKind.Space, Nothing, " "))