2 writes to GeneratedName
System.Text.RegularExpressions.Generator (2)
RegexGenerator.cs (2)
199regexMethod.GeneratedName = implementation.GeneratedName; 204regexMethod.GeneratedName = $"{regexMethod.MemberName}_{id++}";
6 references to GeneratedName
System.Text.RegularExpressions.Generator (6)
RegexGenerator.cs (1)
199regexMethod.GeneratedName = implementation.GeneratedName;
RegexGenerator.Emitter.cs (5)
79writer.WriteLine($" => global::{GeneratedNamespace}.{regexMethod.GeneratedName}.Instance;"); 106writer.WriteLine($"{visibility} sealed class {rm.GeneratedName} : Regex"); 133writer.WriteLine($"file sealed class {rm.GeneratedName} : Regex"); 136writer.WriteLine($" internal static readonly {rm.GeneratedName} Instance = new();"); 139writer.WriteLine($" private {rm.GeneratedName}()");