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