6 types derived from RegexRunner
BuildActionTelemetryTable (1)
RegexGenerator.g.cs (1)
84private sealed class Runner : RegexRunner
Microsoft.CodeAnalysis (2)
RegexGenerator.g.cs (2)
109private sealed class Runner : RegexRunner 544private sealed class Runner : RegexRunner
System.Text.RegularExpressions (3)
System\Text\RegularExpressions\CompiledRegexRunner.cs (1)
10internal sealed class CompiledRegexRunner(CompiledRegexRunner.ScanDelegate scan, object[]? searchValues, CultureInfo? culture) : RegexRunner
System\Text\RegularExpressions\RegexInterpreter.cs (1)
27internal sealed class RegexInterpreter : RegexRunner
System\Text\RegularExpressions\Symbolic\SymbolicRegexRunnerFactory.cs (1)
58private sealed class Runner<TSet> : RegexRunner where TSet : IComparable<TSet>, IEquatable<TSet>
36 references to RegexRunner
BuildActionTelemetryTable (3)
RegexGenerator.g.cs (3)
77/// <summary>Provides a factory for creating <see cref="RegexRunner"/> instances to be used by methods on <see cref="Regex"/>.</summary> 80/// <summary>Creates an instance of a <see cref="RegexRunner"/> used by methods on <see cref="Regex"/>.</summary> 81protected override RegexRunner CreateInstance() => new Runner();
Microsoft.CodeAnalysis (7)
RegexGenerator.g.cs (7)
102/// <summary>Provides a factory for creating <see cref="RegexRunner"/> instances to be used by methods on <see cref="Regex"/>.</summary> 105/// <summary>Creates an instance of a <see cref="RegexRunner"/> used by methods on <see cref="Regex"/>.</summary> 106protected override RegexRunner CreateInstance() => new Runner(); 537/// <summary>Provides a factory for creating <see cref="RegexRunner"/> instances to be used by methods on <see cref="Regex"/>.</summary> 540/// <summary>Creates an instance of a <see cref="RegexRunner"/> used by methods on <see cref="Regex"/>.</summary> 541protected override RegexRunner CreateInstance() => new Runner(); 656while ((uint)iteration1 < (uint)slice.Length && ((ch = slice[iteration1]) < 128 ? ("\0\0怀Ͽ\ufffe蟿\ufffe߿"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0004\n-/_`\0\u0002\u0004\u0005\u0003\u0001\u0006\t\u0013\0")))
netstandard (1)
netstandard.cs (1)
2055[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.RegexRunner))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
911[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Text.RegularExpressions.RegexRunner))]
System.Text.RegularExpressions (24)
System\Text\RegularExpressions\CompiledRegexRunner.cs (1)
26internal delegate void ScanDelegate(RegexRunner runner, ReadOnlySpan<char> text);
System\Text\RegularExpressions\CompiledRegexRunnerFactory.cs (1)
19protected internal override RegexRunner CreateInstance() =>
System\Text\RegularExpressions\Match.cs (1)
87/// the correct value right after a Match gets calculated, meaning that it will return <see langword="true"/> right after <see cref="RegexRunner.Capture(int, int, int)"/>
System\Text\RegularExpressions\Regex.cs (6)
33private volatile RegexRunner? _runner; // cached runner 423RegexRunner runner = Interlocked.Exchange(ref _runner, null) ?? CreateRunner(); 468RegexRunner runner = Interlocked.Exchange(ref _runner, null) ?? CreateRunner(); 531RegexRunner runner = Interlocked.Exchange(ref _runner, null) ?? CreateRunner(); 606private static Match? ScanInternal(RegexRunnerMode mode, bool reuseMatchObject, string? input, int beginning, RegexRunner runner, ReadOnlySpan<char> span, bool returnNullIfReuseMatchObject) 646private RegexRunner CreateRunner() =>
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (2)
55TypeBuilder regexRunnerTypeBuilder = DefineType(_module, $"{name}Runner{typenumString}", isPublic: false, isSealed: true, typeof(RegexRunner)); 70_ilg = DefineMethod(regexRunnerFactoryTypeBuilder, "CreateInstance", null, typeof(RegexRunner), out _);
System\Text\RegularExpressions\RegexCompiler.cs (6)
37private static MethodInfo IsBoundaryMethod => field ??= typeof(RegexRunner).GetMethod("IsBoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!; 38private static MethodInfo IsPreWordCharBoundaryMethod => field ??= typeof(RegexRunner).GetMethod("IsPreWordCharBoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!; 39private static MethodInfo IsPostWordCharBoundaryMethod => field ??= typeof(RegexRunner).GetMethod("IsPostWordCharBoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!; 41private static MethodInfo IsECMABoundaryMethod => field ??= typeof(RegexRunner).GetMethod("IsECMABoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!; 129private static FieldInfo RegexRunnerField(string fieldname) => typeof(RegexRunner).GetField(fieldname, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static)!; 131private static MethodInfo RegexRunnerMethod(string methname) => typeof(RegexRunner).GetMethod(methname, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static)!;
System\Text\RegularExpressions\RegexInterpreter.cs (1)
21protected internal override RegexRunner CreateInstance() =>
System\Text\RegularExpressions\RegexLWCGCompiler.cs (2)
29private static readonly Type[] s_paramTypes = [typeof(RegexRunner), typeof(ReadOnlySpan<char>)]; 63DynamicMethod scanMethod = DefineDynamicMethod($"Regex{regexNum}_Scan{description}", null, typeof(CompiledRegexRunner), [typeof(RegexRunner), typeof(ReadOnlySpan<char>)]);
System\Text\RegularExpressions\RegexRunnerFactory.cs (1)
12protected internal abstract RegexRunner CreateInstance();
System\Text\RegularExpressions\RegexRunnerMode.cs (1)
6/// <summary>Represents the mode of execution for a <see cref="RegexRunner"/>.</summary>
System\Text\RegularExpressions\Symbolic\SymbolicRegexRunnerFactory.cs (2)
47/// <summary>Creates a <see cref="RegexRunner"/> object.</summary> 48protected internal override RegexRunner CreateInstance() => _matcher is SymbolicRegexMatcher<ulong> srmUInt64 ?