12 references to JsonLanguageDetector
Microsoft.CodeAnalysis.Features (12)
EmbeddedLanguages\AbstractEmbeddedLanguageFeatureService.cs (2)
96if (languageIdentifiers.SetEquals(JsonLanguageDetector.LanguageIdentifiers, StringComparer.OrdinalIgnoreCase)) 97return JsonLanguageDetector.CommentDetector;
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDetectionAnalyzer.cs (2)
54var detector = JsonLanguageDetector.GetOrCreate(context.SemanticModel.Compilation, _info); 60JsonLanguageDetector detector,
EmbeddedLanguages\Json\LanguageServices\AbstractJsonDiagnosticAnalyzer.cs (2)
47var detector = JsonLanguageDetector.GetOrCreate(context.SemanticModel.Compilation, _info); 53JsonLanguageDetector detector,
EmbeddedLanguages\Json\LanguageServices\JsonBraceMatcher.cs (1)
47var detector = JsonLanguageDetector.GetOrCreate(semanticModel.Compilation, info);
EmbeddedLanguages\Json\LanguageServices\JsonClassifier.cs (1)
50var detector = JsonLanguageDetector.GetOrCreate(semanticModel.Compilation, info);
EmbeddedLanguages\Json\LanguageServices\JsonLanguageDetector.cs (4)
25: AbstractLanguageDetector<JsonOptions, JsonTree, JsonLanguageDetector, JsonLanguageDetector.JsonInfo>( 28internal readonly struct JsonInfo : ILanguageDetectorInfo<JsonLanguageDetector> 32public JsonLanguageDetector Create(Compilation compilation, EmbeddedLanguageInfo info)