31 references to ClassificationType
Microsoft.CodeAnalysis.EditorFeatures (6)
Classification\Semantic\AbstractSemanticOrEmbeddedClassificationViewTaggerProvider.cs (4)
37ClassificationType type) 41private readonly ClassificationType _type = type; 238if (_type == ClassificationType.Semantic) 243else if (_type == ClassificationType.EmbeddedLanguage)
Classification\Semantic\EmbeddedLanguageClassificationViewTaggerProvider.cs (1)
17: AbstractSemanticOrEmbeddedClassificationViewTaggerProvider(taggerHost, typeMap, ClassificationType.EmbeddedLanguage);
Classification\Semantic\SemanticClassificationViewTaggerProvider.cs (1)
16: AbstractSemanticOrEmbeddedClassificationViewTaggerProvider(taggerHost, typeMap, ClassificationType.Semantic);
Microsoft.CodeAnalysis.Remote.ServiceHub (16)
Services\SemanticClassification\RemoteSemanticClassificationService.Caching.cs (15)
49private readonly LinkedList<(DocumentId id, ClassificationType type, Checksum checksum, ImmutableArray<ClassifiedSpan> classifiedSpans)> _cachedData = new(); 56private readonly AsyncBatchingWorkQueue<(Document, ClassificationType type, ClassificationOptions)> _workQueue; 62_workQueue = new AsyncBatchingWorkQueue<(Document, ClassificationType, ClassificationOptions)>( 65EqualityComparer<(Document, ClassificationType, ClassificationOptions)>.Default, 76private static string GetPersistenceName(ClassificationType type) 79ClassificationType.Semantic => s_semanticPersistenceName, 80ClassificationType.EmbeddedLanguage => s_embeddedLanguagePersistenceName, 85DocumentKey documentKey, ImmutableArray<TextSpan> textSpans, ClassificationType type, Checksum checksum, CancellationToken cancellationToken) 105ImmutableSegmentedList<(Document document, ClassificationType type, ClassificationOptions options)> documents, 124Document document, ClassificationType type, ClassificationOptions options, CancellationToken cancellationToken) 154if (type == ClassificationType.Semantic) 158else if (type == ClassificationType.EmbeddedLanguage) 223ClassificationType type, 259ClassificationType type, 286ClassificationType type,
Services\SemanticClassification\RemoteSemanticClassificationService.cs (1)
26ClassificationType type,
Microsoft.CodeAnalysis.Workspaces (9)
Classification\AbstractClassificationService.cs (7)
36return AddClassificationsAsync(document, textSpans, options, ClassificationType.Semantic, result, cancellationToken); 42return AddClassificationsAsync(document, textSpans, options, ClassificationType.EmbeddedLanguage, result, cancellationToken); 49ClassificationType type, 109ClassificationType type, 139ClassificationType type, 144if (type == ClassificationType.Semantic) 169else if (type == ClassificationType.EmbeddedLanguage)
Classification\IRemoteSemanticClassificationService.cs (2)
34ClassificationType type, 53ClassificationType type,