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