36 references to ClassificationType
Microsoft.CodeAnalysis.EditorFeatures (13)
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.Tagger.cs (3)
145
await ProduceTagsAsync(context, snapshotSpan, classificationService, options,
ClassificationType
.Semantic, cancellationToken).ConfigureAwait(false);
146
await ProduceTagsAsync(context, snapshotSpan, classificationService, options,
ClassificationType
.EmbeddedLanguage, cancellationToken).ConfigureAwait(false);
166
IClassificationService classificationService, ClassificationOptions options,
ClassificationType
type, CancellationToken cancellationToken)
Classification\Semantic\AbstractSemanticOrEmbeddedClassificationViewTaggerProvider.cs (2)
36
private readonly
ClassificationType
_type;
49
ClassificationType
type)
Classification\Semantic\ClassificationUtilities.cs (6)
53
ClassificationType
type,
93
ClassificationType
type,
158
ClassificationType
type,
192
ClassificationType
type,
195
if (type ==
ClassificationType
.Semantic)
200
else if (type ==
ClassificationType
.EmbeddedLanguage)
Classification\Semantic\EmbeddedLanguageClassificationViewTaggerProvider.cs (1)
33
: base(threadingContext, typeMap, globalOptions, visibilityTracker, listenerProvider,
ClassificationType
.EmbeddedLanguage)
Classification\Semantic\SemanticClassificationViewTaggerProvider.cs (1)
35
: base(threadingContext, typeMap, globalOptions, visibilityTracker, listenerProvider,
ClassificationType
.Semantic)
Microsoft.CodeAnalysis.Remote.ServiceHub (14)
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (13)
47
private readonly LinkedList<(DocumentId id,
ClassificationType
type, Checksum checksum, ImmutableArray<ClassifiedSpan> classifiedSpans)> _cachedData = new();
54
private readonly AsyncBatchingWorkQueue<(Document,
ClassificationType
type, ClassificationOptions)> _workQueue;
60
_workQueue = new AsyncBatchingWorkQueue<(Document,
ClassificationType
, ClassificationOptions)>(
63
EqualityComparer<(Document,
ClassificationType
, ClassificationOptions)>.Default,
74
private static string GetPersistenceName(
ClassificationType
type)
77
ClassificationType
.Semantic => s_semanticPersistenceName,
78
ClassificationType
.EmbeddedLanguage => s_embeddedLanguagePersistenceName,
83
DocumentKey documentKey, TextSpan textSpan,
ClassificationType
type, Checksum checksum, CancellationToken cancellationToken)
93
ImmutableSegmentedList<(Document document,
ClassificationType
type, ClassificationOptions options)> documents,
110
Document document,
ClassificationType
type, ClassificationOptions options, CancellationToken cancellationToken)
197
ClassificationType
type,
233
ClassificationType
type,
260
ClassificationType
type,
Services\SemanticClassification\RemoteSemanticClassificationService.cs (1)
27
ClassificationType
type,
Microsoft.CodeAnalysis.Workspaces (9)
Classification\AbstractClassificationService.cs (7)
29
return AddClassificationsAsync(document, textSpan, options,
ClassificationType
.Semantic, result, cancellationToken);
35
return AddClassificationsAsync(document, textSpan, options,
ClassificationType
.EmbeddedLanguage, result, cancellationToken);
42
ClassificationType
type,
114
ClassificationType
type,
144
ClassificationType
type,
149
if (type ==
ClassificationType
.Semantic)
170
else if (type ==
ClassificationType
.EmbeddedLanguage)
Classification\IRemoteSemanticClassificationService.cs (2)
25
ClassificationType
type,
39
ClassificationType
type,