46 references to ClassifiedSpan
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (27)
Classification\SyntacticClassifierTests.cs (27)
5650
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(0, 3)),
5651
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentText, new TextSpan(3, 1)),
5652
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(4, 1)),
5653
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentName, new TextSpan(5, 5)),
5654
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentAttributeName, new TextSpan(11, 4)),
5655
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(15, 1)),
5656
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentAttributeQuotes, new TextSpan(16, 1)),
5657
new
ClassifiedSpan
(ClassificationTypeNames.Identifier, new TextSpan(17, 5)),
5658
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentAttributeQuotes, new TextSpan(22, 1)),
5659
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(23, 1)),
5660
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(24, 2)),
5661
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentName, new TextSpan(26, 5)),
5662
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(31, 1))
5678
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(2, 3)),
5679
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentText, new TextSpan(5, 1)),
5680
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(6, 1)),
5681
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentName, new TextSpan(7, 5)),
5682
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(14, 3)),
5683
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentAttributeName, new TextSpan(18, 4)),
5684
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(22, 1)),
5685
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentAttributeQuotes, new TextSpan(23, 1)),
5686
new
ClassifiedSpan
(ClassificationTypeNames.Identifier, new TextSpan(24, 5)),
5687
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentAttributeQuotes, new TextSpan(29, 1)),
5688
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(30, 1)),
5689
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(31, 2)),
5690
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentName, new TextSpan(33, 5)),
5691
new
ClassifiedSpan
(ClassificationTypeNames.XmlDocCommentDelimiter, new TextSpan(38, 1))
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Classification\ClassificationHelpers.cs (1)
554
return new
ClassifiedSpan
(
Classification\Worker.cs (1)
57
_result.Add(new
ClassifiedSpan
(type, span));
Microsoft.CodeAnalysis.EditorFeatures (1)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (1)
474
var currentClassifiedSpan = new
ClassifiedSpan
(lastClassifiedSpan.ClassificationType, currentSnapshotSpan.Span.ToTextSpan());
Microsoft.CodeAnalysis.Features (6)
ClassifiedSpansAndHighlightSpanFactory.cs (3)
97
new
ClassifiedSpan
(ClassificationTypeNames.Text, TextSpan.FromBounds(widenedSpan.Start, narrowSpan.Start)),
98
new
ClassifiedSpan
(ClassificationTypeNames.Text, narrowSpan),
99
new
ClassifiedSpan
(ClassificationTypeNames.Text, TextSpan.FromBounds(narrowSpan.End, widenedSpan.End)));
EmbeddedLanguages\Classification\EmbeddedLanguageClassifierContext.cs (1)
53
=> _result.Add(new
ClassifiedSpan
(classificationType, span));
QuickInfo\IndentationHelper.cs (2)
60
adjustedClassifiedSpans.Add(new
ClassifiedSpan
(spanClassificationType, spanBeforeDeletion));
72
adjustedClassifiedSpans.Add(new
ClassifiedSpan
(spanClassificationType, span));
Microsoft.CodeAnalysis.Remote.ServiceHub (1)
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (1)
306
classifiedSpans.Add(new
ClassifiedSpan
(classificationTypes[typeIndex], new TextSpan(start, length)));
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
Classification\SyntaxClassification\IdentifierNameSyntaxClassifier.vb (1)
26
result.Add(New
ClassifiedSpan
(ClassificationTypeNames.Keyword, identifier.Span))
Classification\Worker.vb (1)
43
_list.Add(New
ClassifiedSpan
(classificationType, textSpan))
Microsoft.CodeAnalysis.Workspaces (7)
Classification\ClassifierHelper.cs (5)
155
var newSpan = new
ClassifiedSpan
(span.ClassificationType, intersection.GetValueOrDefault());
176
result.Add(new
ClassifiedSpan
(ClassificationTypeNames.Text,
242
finalParts.Add(new
ClassifiedSpan
(syntacticPart.ClassificationType, TextSpan.FromBounds(
257
finalParts.Add(new
ClassifiedSpan
(syntacticPart.ClassificationType, TextSpan.FromBounds(
265
finalParts.Add(new
ClassifiedSpan
(syntacticPart.ClassificationType, TextSpan.FromBounds(
Classification\IRemoteSemanticClassificationService.cs (1)
99
classifiedSpans.Add(new
ClassifiedSpan
(
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (1)
81
var tuple = new
ClassifiedSpan
(type, textSpan);