From e379a8af0e7f38c099b5057cb288752eeed22c2a Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Tue, 19 Jul 2022 09:37:41 -0400 Subject: [PATCH] Add missing docs for RegexRunner.Scan --- .../src/System/Text/RegularExpressions/RegexRunner.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs b/src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs index 6995c6a27632e..fdad5fc2e0c69 100644 --- a/src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs +++ b/src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexRunner.cs @@ -70,6 +70,13 @@ public abstract class RegexRunner protected RegexRunner() { } + /// Used by a object to scan the input looking for the next match. + /// This API supports the product infrastructure and is not intended to be used directly from your code. + /// The text to scan for a pattern match. + /// + /// -based methods are not supported from -derived types + /// generated by Regex.CompileToAssembly. + /// protected internal virtual void Scan(ReadOnlySpan text) { // This base implementation is overridden by all of the built-in engines and by all source-generated