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