12 references to RegexLanguageDetector
Microsoft.CodeAnalysis.Features (12)
EmbeddedLanguages\AbstractEmbeddedLanguageFeatureService.cs (2)
99if (languageIdentifiers.SetEquals(RegexLanguageDetector.LanguageIdentifiers, StringComparer.OrdinalIgnoreCase)) 100return RegexLanguageDetector.CommentDetector;
EmbeddedLanguages\RegularExpressions\LanguageServices\AbstractRegexDiagnosticAnalyzer.cs (2)
49var detector = RegexLanguageDetector.GetOrCreate(semanticModel.Compilation, _info); 79RegexLanguageDetector detector,
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexBraceMatcher.cs (1)
50var detector = RegexLanguageDetector.GetOrCreate(semanticModel.Compilation, info);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexClassifier.cs (1)
54var detector = RegexLanguageDetector.GetOrCreate(semanticModel.Compilation, info);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexDocumentHighlighter.cs (1)
42var detector = RegexLanguageDetector.GetOrCreate(semanticModel.Compilation, info);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexEmbeddedLanguage.cs (1)
40var detector = RegexLanguageDetector.GetOrCreate(semanticModel.Compilation, this.Info);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexLanguageDetector.cs (4)
27: AbstractLanguageDetector<RegexOptions, RegexTree, RegexLanguageDetector, RegexLanguageDetector.RegexInfo>( 30internal readonly struct RegexInfo : ILanguageDetectorInfo<RegexLanguageDetector> 34public RegexLanguageDetector Create(Compilation compilation, EmbeddedLanguageInfo info)