215 references to Punctuation
Microsoft.AspNetCore.App.Analyzers.Test (2)
RouteEmbeddedLanguage\Infrastructure\FormattedClassifications.cs (2)
116=> New(text, ClassificationTypeNames.Punctuation); 159= New("_", ClassificationTypeNames.Punctuation);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
EventHookup\EventHookupSessionManager.cs (1)
63new ClassifiedTextRun(ClassificationTypeNames.Punctuation, ";", ClassifiedTextRunStyle.UseClassificationFont),
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
Classification\ClassificationHelpers.cs (3)
363return ClassificationTypeNames.Punctuation; 375return ClassificationTypeNames.Punctuation; 386return ClassificationTypeNames.Punctuation;
Classification\Worker_Preprocesser.cs (5)
131AddClassification(parenExpression.OpenParenToken, ClassificationTypeNames.Punctuation); 133AddClassification(parenExpression.CloseParenToken, ClassificationTypeNames.Punctuation); 273AddClassification(node.OpenParenToken, ClassificationTypeNames.Punctuation); 275AddClassification(node.CommaToken, ClassificationTypeNames.Punctuation); 277AddClassification(node.CloseParenToken, ClassificationTypeNames.Punctuation);
Microsoft.CodeAnalysis.EditorFeatures (1)
Classification\ClassificationTypeDefinitions.cs (1)
24[Name(ClassificationTypeNames.Punctuation)]
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Classification\FormattedClassifications.cs (2)
119=> New(text, ClassificationTypeNames.Punctuation); 162= New("_", ClassificationTypeNames.Punctuation);
Classification\FormattedClassifications.Punctuation.cs (1)
18=> new FormattedClassification(text, ClassificationTypeNames.Punctuation);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Classification\ClassificationTypeFormatDefinitions.cs (2)
41[ClassificationType(ClassificationTypeNames = ClassificationTypeNames.Punctuation)] 42[Name(ClassificationTypeNames.Punctuation)]
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (137)
IntelliSense\IntellisenseQuickInfoBuilderTests.vb (99)
81New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 83New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 87New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"), 89New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 90New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "+"), 95New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 105New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 107New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 168New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 170New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 174New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"), 176New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 177New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "+"), 182New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 190New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 192New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 269New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 271New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 275New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"), 277New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 278New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "+"), 283New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 305New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 307New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 355New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 357New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 358New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "["), 363New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "="), 366New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "]"), 367New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 428New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 430New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 431New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 475New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 477New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 478New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 534New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 536New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 537New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 591New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 594New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "{"), 597New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ";"), 599New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "}"))), 664New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 666New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 667New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 712New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 714New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 715New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 761New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 763New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 764New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 810New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 812New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 816New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 857New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 859New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 860New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")")))) 894New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 897New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "{"), 900New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ";"), 902New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "}")))) 934New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 938New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 979New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 981New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "<"), 983New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ">"), 984New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 985New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 1030New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 1032New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "<"), 1034New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ">"), 1035New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 1036New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 1081New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "<"), 1083New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ">"), 1084New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 1086New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "<"), 1088New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ">"), 1089New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 1090New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 1131New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 1133New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 1137New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ","), 1142New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")")))) 1173New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ":"), 1210New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 1212New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 1216New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ","), 1221New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")")))) 1257New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 1259New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 1263New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ","), 1268New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"), 1270New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 1271New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "+"), 1276New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")")))) 1311New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 1313New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"),
IntelliSense\IntellisenseQuickInfoBuilderTests_Code.vb (6)
49New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 51New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 52New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 98New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 100New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 101New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))),
IntelliSense\IntellisenseQuickInfoBuilderTests_Inheritdoc.vb (5)
290New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 292New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 296New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 345New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 347New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"),
IntelliSense\IntellisenseQuickInfoBuilderTests_Links.vb (9)
51New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 53New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 54New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 98New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 100New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 101New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 143New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 145New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 146New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))),
IntelliSense\IntellisenseQuickInfoBuilderTests_Lists.vb (15)
55New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 57New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 58New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 118New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 120New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 121New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 177New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 179New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 180New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 242New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 244New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 245New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))), 321New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 323New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 324New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))),
IntelliSense\IntellisenseQuickInfoBuilderTests_Styles.vb (3)
59New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "."), 61New ClassifiedTextRun(ClassificationTypeNames.Punctuation, "("), 62New ClassifiedTextRun(ClassificationTypeNames.Punctuation, ")"))),
Microsoft.CodeAnalysis.Features (2)
Common\TaggedText.cs (2)
173TextTags.Punctuation => ClassificationTypeNames.Punctuation, 205if (classificationTypeName is ClassificationTypeNames.Punctuation or
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\SemanticTokens\CustomLspSemanticTokenNames.cs (1)
92[ClassificationTypeNames.Punctuation] = Punctuation,
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (49)
SemanticTokens\SemanticTokensRangesTests.cs (4)
480, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 490, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 610, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 620, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}'
SemanticTokens\SemanticTokensRangeTests.cs (45)
520, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 530, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 650, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 660, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 1430, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';' 1580, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';' 1960, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 1970, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 2080, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 2090, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 2450, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 2490, 9, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 2590, 2, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 2630, 9, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 3041, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 3070, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '(' 3080, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')' 3091, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 3170, 6, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';' 3181, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 3191, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 3420, 6, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';' 3431, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 3441, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '}' 3890, 18, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';' 3921, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 3950, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '(' 3960, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')' 3971, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 4030, 5, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '(' 4100, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')' 4110, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';' 4121, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // } 4131, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // } 4980, 18, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';' 5011, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 5040, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '(' 5050, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')' 5061, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '{' 5120, 5, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // '(' 5210, 27, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ',' 5250, 23, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ')' 5260, 1, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // ';' 5271, 4, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // } 5281, 0, 1, tokenTypeToIndex[ClassificationTypeNames.Punctuation], 0, // }
Microsoft.CodeAnalysis.VisualBasic.Workspaces (6)
Classification\ClassificationHelpers.vb (2)
179Return ClassificationTypeNames.Punctuation 185Return ClassificationTypeNames.Punctuation
Classification\Worker.vb (2)
145AddClassification(trivia, ClassificationTypeNames.Punctuation) 147AddClassification(New TextSpan(trivia.SpanStart, 1), ClassificationTypeNames.Punctuation)
Classification\Worker.XmlClassifier.vb (2)
329AddTokenClassification(node.OpenParenToken, ClassificationTypeNames.Punctuation) 335AddTokenClassification(node.CloseParenToken, ClassificationTypeNames.Punctuation)
Microsoft.CodeAnalysis.Workspaces (2)
Classification\ClassificationTypeNames.cs (1)
34Punctuation,
Classification\Classifier.cs (1)
162ClassificationTypeNames.Punctuation => SymbolDisplayPartKind.Punctuation,
Microsoft.VisualStudio.LanguageServices (1)
HACK_ThemeColorFixer.cs (1)
162UpdateForegroundColor(ClassificationTypeNames.Punctuation, sourceFormatMap, targetFormatMap);