1 type derived from RegexRunner
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\SymbolicRegexRunnerFactory.cs (1)
58
private sealed class Runner<TSet> :
RegexRunner
where TSet : IComparable<TSet>, IEquatable<TSet>
25 references to RegexRunner
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 (23)
System\Text\RegularExpressions\CompiledRegexRunner.cs (2)
10
internal sealed class CompiledRegexRunner(CompiledRegexRunner.ScanDelegate scan, object[]? searchValues, CultureInfo? culture) :
RegexRunner
26
internal delegate void ScanDelegate(
RegexRunner
runner, ReadOnlySpan<char> text);
System\Text\RegularExpressions\CompiledRegexRunnerFactory.cs (1)
19
protected 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)
34
private volatile
RegexRunner
? _runner; // cached runner
424
RegexRunner
runner = Interlocked.Exchange(ref _runner, null) ?? CreateRunner();
469
RegexRunner
runner = Interlocked.Exchange(ref _runner, null) ?? CreateRunner();
532
RegexRunner
runner = Interlocked.Exchange(ref _runner, null) ?? CreateRunner();
607
private static Match? ScanInternal(RegexRunnerMode mode, bool reuseMatchObject, string? input, int beginning,
RegexRunner
runner, ReadOnlySpan<char> span, bool returnNullIfReuseMatchObject)
647
private
RegexRunner
CreateRunner() =>
System\Text\RegularExpressions\RegexAssemblyCompiler.cs (2)
55
TypeBuilder 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 (4)
38
private static MethodInfo IsBoundaryMethod => field ??= typeof(
RegexRunner
).GetMethod("IsBoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!;
40
private static MethodInfo IsECMABoundaryMethod => field ??= typeof(
RegexRunner
).GetMethod("IsECMABoundary", BindingFlags.NonPublic | BindingFlags.Static, [typeof(ReadOnlySpan<char>), typeof(int)])!;
129
private static FieldInfo RegexRunnerField(string fieldname) => typeof(
RegexRunner
).GetField(fieldname, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static)!;
131
private static MethodInfo RegexRunnerMethod(string methname) => typeof(
RegexRunner
).GetMethod(methname, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static)!;
System\Text\RegularExpressions\RegexInterpreter.cs (1)
21
protected internal override
RegexRunner
CreateInstance() =>
System\Text\RegularExpressions\RegexLWCGCompiler.cs (2)
28
private static readonly Type[] s_paramTypes = [typeof(
RegexRunner
), typeof(ReadOnlySpan<char>)];
63
DynamicMethod scanMethod = DefineDynamicMethod($"Regex{regexNum}_Scan{description}", null, typeof(CompiledRegexRunner), [typeof(
RegexRunner
), typeof(ReadOnlySpan<char>)]);
System\Text\RegularExpressions\RegexRunnerFactory.cs (1)
12
protected 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>
48
protected internal override
RegexRunner
CreateInstance() => _matcher is SymbolicRegexMatcher<ulong> srmUInt64 ?