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