1 instantiation of CompilationData
System.Text.RegularExpressions.Generator (1)
RegexGenerator.Parser.cs (1)
212? new CompilationData(compilationOptions.AllowUnsafe, compilationOptions.CheckOverflow, langVersion)
9 references to CompilationData
System.Text.RegularExpressions.Generator (9)
RegexGenerator.cs (6)
110Debug.Assert(state is Diagnostic or ValueTuple<RegexMethod, string, Diagnostic, CompilationData>); 139else if (result is ValueTuple<RegexMethod, string, Diagnostic, CompilationData> limitedSupportResult) 203if (result is ValueTuple<RegexMethod, string, CompilationData> limitedSupportResult) 207else if (result is ValueTuple<RegexMethod, string, Dictionary<string, string[]>, CompilationData> regexImpl) 264if (result is ValueTuple<RegexMethod, string, CompilationData> limitedSupportResult) 272else if (result is ValueTuple<RegexMethod, string, Dictionary<string, string[]>, CompilationData> regexImpl)
RegexGenerator.Parser.cs (3)
211var compilationData = compilation is CSharpCompilation { LanguageVersion: LanguageVersion langVersion, Options: CSharpCompilationOptions compilationOptions } 253internal sealed record RegexPatternAndSyntax(RegexType DeclaringType, bool IsProperty, Location DiagnosticLocation, string MemberName, string Modifiers, bool NullableRegex, string Pattern, RegexOptions Options, int? MatchTimeout, CultureInfo Culture, CompilationData CompilationData); 256internal sealed record RegexMethod(RegexType DeclaringType, bool IsProperty, string MemberName, string Modifiers, bool NullableRegex, string Pattern, RegexOptions Options, int? MatchTimeout, RegexTree Tree, AnalysisResults Analysis, CompilationData CompilationData)