File: RegexGenerator.g.cs
Project: src\src\libraries\System.Data.Odbc\src\System.Data.Odbc.csproj (System.Data.Odbc)
// <auto-generated/>
#nullable enable
#pragma warning disable CS0162 // Unreachable code
#pragma warning disable CS0164 // Unreferenced label
#pragma warning disable CS0219 // Variable assigned but never used
 
namespace System.Data.Common
{
    partial class DbConnectionOptions
    {
        /// <remarks>
        /// Pattern:<br/>
        /// <code>([\\s;]*(?![\\s;])(?&lt;key&gt;([^=\\s\\p{Cc}]|\\s+[^=\\s\\p{Cc}]|\\s+==|==)+)\\s*=(?!=)\\s*(?&lt;value&gt;("([^"\0]|"")*")|('([^'\0]|'')*')|((?!["'\\s])([^;\\s\\p{Cc}]|\\s+[^;\\s\\p{Cc}])*(?&lt;!["'])))(\\s*)(;|[\0\\s]*$))*[\\s;]*[\0\\s]*</code><br/>
        /// Options:<br/>
        /// <code>RegexOptions.ExplicitCapture</code><br/>
        /// Explanation:<br/>
        /// <code>
        /// ○ Loop greedily any number of times.<br/>
        ///     ○ Match a character in the set [;\s] greedily any number of times.<br/>
        ///     ○ Zero-width negative lookahead.<br/>
        ///         ○ Match a character in the set [;\s].<br/>
        ///     ○ "key" capture group.<br/>
        ///         ○ Loop greedily at least once.<br/>
        ///             ○ Match with 4 alternative expressions.<br/>
        ///                 ○ Match a character in the set [^=\s\p{Cc}].<br/>
        ///                 ○ Match a sequence of expressions.<br/>
        ///                     ○ Match a whitespace character greedily at least once.<br/>
        ///                     ○ Match a character in the set [^=\s\p{Cc}].<br/>
        ///                 ○ Match a sequence of expressions.<br/>
        ///                     ○ Match a whitespace character atomically at least once.<br/>
        ///                     ○ Match the string "==".<br/>
        ///                 ○ Match the string "==".<br/>
        ///     ○ Match a whitespace character atomically any number of times.<br/>
        ///     ○ Match '='.<br/>
        ///     ○ Zero-width negative lookahead.<br/>
        ///         ○ Match '='.<br/>
        ///     ○ Match a whitespace character greedily any number of times.<br/>
        ///     ○ "value" capture group.<br/>
        ///         ○ Match with 3 alternative expressions.<br/>
        ///             ○ Match a sequence of expressions.<br/>
        ///                 ○ Match '"'.<br/>
        ///                 ○ Loop greedily any number of times.<br/>
        ///                     ○ Match with 2 alternative expressions.<br/>
        ///                         ○ Match a character in the set [^\0"].<br/>
        ///                         ○ Match the string "\"\"".<br/>
        ///                 ○ Match '"'.<br/>
        ///             ○ Match a sequence of expressions.<br/>
        ///                 ○ Match '\''.<br/>
        ///                 ○ Loop greedily any number of times.<br/>
        ///                     ○ Match with 2 alternative expressions.<br/>
        ///                         ○ Match a character in the set [^\0'].<br/>
        ///                         ○ Match the string "''".<br/>
        ///                 ○ Match '\''.<br/>
        ///             ○ Match a sequence of expressions.<br/>
        ///                 ○ Zero-width negative lookahead.<br/>
        ///                     ○ Match a character in the set ["'\s].<br/>
        ///                 ○ Loop greedily any number of times.<br/>
        ///                     ○ Match with 2 alternative expressions.<br/>
        ///                         ○ Match a character in the set [^;\s\p{Cc}].<br/>
        ///                         ○ Match a sequence of expressions.<br/>
        ///                             ○ Match a whitespace character greedily at least once.<br/>
        ///                             ○ Match a character in the set [^;\s\p{Cc}].<br/>
        ///                 ○ Zero-width negative lookbehind.<br/>
        ///                     ○ Match a character in the set ["'] right-to-left.<br/>
        ///     ○ Match a whitespace character greedily any number of times.<br/>
        ///     ○ Match with 2 alternative expressions.<br/>
        ///         ○ Match ';'.<br/>
        ///         ○ Match a sequence of expressions.<br/>
        ///             ○ Match a character in the set [\0\s] greedily any number of times.<br/>
        ///             ○ Match if at the end of the string or if before an ending newline.<br/>
        /// ○ Match a character in the set [;\s] greedily any number of times.<br/>
        /// ○ Match a character in the set [\0\s] atomically any number of times.<br/>
        /// </code>
        /// </remarks>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
        private static partial global::System.Text.RegularExpressions.Regex CreateConnectionStringRegex() => global::System.Text.RegularExpressions.Generated.CreateConnectionStringRegex_0.Instance;
    }
}
 
namespace System.Data.Common
{
    partial class DbConnectionOptions
    {
        /// <remarks>
        /// Pattern:<br/>
        /// <code>([\\s;]*(?![\\s;])(?&lt;key&gt;([^=\\s\\p{Cc}]|\\s+[^=\\s\\p{Cc}])+)\\s*=\\s*(?&lt;value&gt;(\\{([^\\}\0]|\\}\\})*\\})|((?![\\{\\s])([^;\\s\\p{Cc}]|\\s+[^;\\s\\p{Cc}])*))(\\s*)(;|[\0\\s]*$))*[\\s;]*[\0\\s]*</code><br/>
        /// Options:<br/>
        /// <code>RegexOptions.ExplicitCapture</code><br/>
        /// Explanation:<br/>
        /// <code>
        /// ○ Loop greedily any number of times.<br/>
        ///     ○ Match a character in the set [;\s] greedily any number of times.<br/>
        ///     ○ Zero-width negative lookahead.<br/>
        ///         ○ Match a character in the set [;\s].<br/>
        ///     ○ "key" capture group.<br/>
        ///         ○ Loop greedily at least once.<br/>
        ///             ○ Match with 2 alternative expressions.<br/>
        ///                 ○ Match a character in the set [^=\s\p{Cc}].<br/>
        ///                 ○ Match a sequence of expressions.<br/>
        ///                     ○ Match a whitespace character greedily at least once.<br/>
        ///                     ○ Match a character in the set [^=\s\p{Cc}].<br/>
        ///     ○ Match a whitespace character atomically any number of times.<br/>
        ///     ○ Match '='.<br/>
        ///     ○ Match a whitespace character greedily any number of times.<br/>
        ///     ○ "value" capture group.<br/>
        ///         ○ Match with 2 alternative expressions.<br/>
        ///             ○ Match a sequence of expressions.<br/>
        ///                 ○ Match '{'.<br/>
        ///                 ○ Loop greedily any number of times.<br/>
        ///                     ○ Match with 2 alternative expressions.<br/>
        ///                         ○ Match a character in the set [^\0}].<br/>
        ///                         ○ Match the string "}}".<br/>
        ///                 ○ Match '}'.<br/>
        ///             ○ Match a sequence of expressions.<br/>
        ///                 ○ Zero-width negative lookahead.<br/>
        ///                     ○ Match a character in the set [{\s].<br/>
        ///                 ○ Loop greedily any number of times.<br/>
        ///                     ○ Match with 2 alternative expressions.<br/>
        ///                         ○ Match a character in the set [^;\s\p{Cc}].<br/>
        ///                         ○ Match a sequence of expressions.<br/>
        ///                             ○ Match a whitespace character greedily at least once.<br/>
        ///                             ○ Match a character in the set [^;\s\p{Cc}].<br/>
        ///     ○ Match a whitespace character greedily any number of times.<br/>
        ///     ○ Match with 2 alternative expressions.<br/>
        ///         ○ Match ';'.<br/>
        ///         ○ Match a sequence of expressions.<br/>
        ///             ○ Match a character in the set [\0\s] greedily any number of times.<br/>
        ///             ○ Match if at the end of the string or if before an ending newline.<br/>
        /// ○ Match a character in the set [;\s] greedily any number of times.<br/>
        /// ○ Match a character in the set [\0\s] atomically any number of times.<br/>
        /// </code>
        /// </remarks>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
        private static partial global::System.Text.RegularExpressions.Regex CreateConnectionStringRegexOdbc() => global::System.Text.RegularExpressions.Generated.CreateConnectionStringRegexOdbc_1.Instance;
    }
}
 
namespace System.Data.Common
{
    partial class DbConnectionOptions
    {
        /// <remarks>
        /// Pattern:<br/>
        /// <code>^(?![;\\s])[^\\p{Cc}]+(?&lt;!\\s)$</code><br/>
        /// Explanation:<br/>
        /// <code>
        /// ○ Match if at the beginning of the string.<br/>
        /// ○ Zero-width negative lookahead.<br/>
        ///     ○ Match a character in the set [;\s].<br/>
        /// ○ Match any character other than a Unicode control character greedily at least once.<br/>
        /// ○ Zero-width negative lookbehind.<br/>
        ///     ○ Match a whitespace character right-to-left.<br/>
        /// ○ Match if at the end of the string or if before an ending newline.<br/>
        /// </code>
        /// </remarks>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
        private static partial global::System.Text.RegularExpressions.Regex CreateConnectionStringValidKeyRegex() => global::System.Text.RegularExpressions.Generated.CreateConnectionStringValidKeyRegex_2.Instance;
    }
}
 
namespace System.Data.Common
{
    partial class DbConnectionOptions
    {
        /// <remarks>
        /// Pattern:<br/>
        /// <code>^[^"'=;\\s\\p{Cc}]*$</code><br/>
        /// Explanation:<br/>
        /// <code>
        /// ○ Match if at the beginning of the string.<br/>
        /// ○ Match a character in the set [^"';=\s\p{Cc}] atomically any number of times.<br/>
        /// ○ Match if at the end of the string or if before an ending newline.<br/>
        /// </code>
        /// </remarks>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
        private static partial global::System.Text.RegularExpressions.Regex CreateConnectionStringQuoteValueRegex() => global::System.Text.RegularExpressions.Generated.CreateConnectionStringQuoteValueRegex_3.Instance;
    }
}
 
namespace System.Data.Common
{
    partial class DbConnectionOptions
    {
        /// <remarks>
        /// Pattern:<br/>
        /// <code>^\\{([^\\}\0]|\\}\\})*\\}$</code><br/>
        /// Options:<br/>
        /// <code>RegexOptions.ExplicitCapture</code><br/>
        /// Explanation:<br/>
        /// <code>
        /// ○ Match if at the beginning of the string.<br/>
        /// ○ Match '{'.<br/>
        /// ○ Loop greedily any number of times.<br/>
        ///     ○ Match with 2 alternative expressions.<br/>
        ///         ○ Match a character in the set [^\0}].<br/>
        ///         ○ Match the string "}}".<br/>
        /// ○ Match '}'.<br/>
        /// ○ Match if at the end of the string or if before an ending newline.<br/>
        /// </code>
        /// </remarks>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
        private static partial global::System.Text.RegularExpressions.Regex CreateConnectionStringQuoteOdbcValueRegex() => global::System.Text.RegularExpressions.Generated.CreateConnectionStringQuoteOdbcValueRegex_4.Instance;
    }
}
 
namespace System.Text.RegularExpressions.Generated
{
    using System;
    using System.Buffers;
    using System.CodeDom.Compiler;
    using System.Collections;
    using System.ComponentModel;
    using System.Globalization;
    using System.Runtime.CompilerServices;
    using System.Text.RegularExpressions;
    using System.Threading;
 
    /// <summary>Custom <see cref="Regex"/>-derived type for the CreateConnectionStringRegex method.</summary>
    [GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
    [SkipLocalsInit]
    file sealed class CreateConnectionStringRegex_0 : Regex
    {
        /// <summary>Cached, thread-safe singleton instance.</summary>
        internal static readonly CreateConnectionStringRegex_0 Instance = new();
    
        /// <summary>Initializes the instance.</summary>
        private CreateConnectionStringRegex_0()
        {
            base.pattern = "([\\s;]*(?![\\s;])(?<key>([^=\\s\\p{Cc}]|\\s+[^=\\s\\p{Cc}]|\\s+==|==)+)\\s*=(?!=)\\s*(?<value>(\"([^\"\0]|\"\")*\")|('([^'\0]|'')*')|((?![\"'\\s])([^;\\s\\p{Cc}]|\\s+[^;\\s\\p{Cc}])*(?<![\"'])))(\\s*)(;|[\0\\s]*$))*[\\s;]*[\0\\s]*";
            base.roptions = RegexOptions.ExplicitCapture;
            ValidateMatchTimeout(Utilities.s_defaultTimeout);
            base.internalMatchTimeout = Utilities.s_defaultTimeout;
            base.factory = new RunnerFactory();
            base.CapNames = new Hashtable { { "0", 0 } ,  { "key", 1 } ,  { "value", 2 }  };
            base.capslist = new string[] {"0", "key", "value" };
            base.capsize = 3;
        }
            
        /// <summary>Provides a factory for creating <see cref="RegexRunner"/> instances to be used by methods on <see cref="Regex"/>.</summary>
        private sealed class RunnerFactory : RegexRunnerFactory
        {
            /// <summary>Creates an instance of a <see cref="RegexRunner"/> used by methods on <see cref="Regex"/>.</summary>
            protected override RegexRunner CreateInstance() => new Runner();
        
            /// <summary>Provides the runner that contains the custom logic implementing the specified regular expression.</summary>
            private sealed class Runner : RegexRunner
            {
                /// <summary>Scan the <paramref name="inputSpan"/> starting from base.runtextstart for the next match.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                protected override void Scan(ReadOnlySpan<char> inputSpan)
                {
                    // Search until we can't find a valid starting position, we find a match, or we reach the end of the input.
                    while (!TryMatchAtCurrentPosition(inputSpan) &&
                           base.runtextpos != inputSpan.Length)
                    {
                        base.runtextpos++;
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                    }
                }
        
                /// <summary>Determine whether <paramref name="inputSpan"/> at base.runtextpos is a match for the regular expression.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                /// <returns>true if the regular expression matches at the current position; otherwise, false.</returns>
                private bool TryMatchAtCurrentPosition(ReadOnlySpan<char> inputSpan)
                {
                    int pos = base.runtextpos;
                    int matchStart = pos;
                    char ch;
                    int charloop_capture_pos = 0;
                    int charloop_starting_pos = 0, charloop_ending_pos = 0;
                    int charloop_starting_pos1 = 0, charloop_ending_pos1 = 0;
                    int charloop_starting_pos2 = 0, charloop_ending_pos2 = 0;
                    int charloop_starting_pos3 = 0, charloop_ending_pos3 = 0;
                    int charloop_starting_pos4 = 0, charloop_ending_pos4 = 0;
                    int charloop_starting_pos5 = 0, charloop_ending_pos5 = 0;
                    int charloop_starting_pos6 = 0, charloop_ending_pos6 = 0;
                    int loop_iteration = 0;
                    int loop_iteration1 = 0;
                    int loop_iteration2 = 0;
                    int loop_iteration3 = 0;
                    int loop_iteration4 = 0;
                    int stackpos = 0;
                    ReadOnlySpan<char> slice = inputSpan.Slice(pos);
                    
                    // Loop greedily any number of times.
                    //{
                        loop_iteration = 0;
                        
                        LoopBody:
                        Utilities.StackPush(ref base.runstack!, ref stackpos, 143337952);
                        Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                        
                        loop_iteration++;
                        
                        // Match a character in the set [;\s] greedily any number of times.
                        //{
                            charloop_starting_pos = pos;
                            
                            int iteration = 0;
                            while ((uint)iteration < (uint)slice.Length && ((ch = slice[iteration]) < 128 ? ("㸀\0\u0001ࠀ\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0002\u0001;<d")))
                            {
                                iteration++;
                            }
                            
                            slice = slice.Slice(iteration);
                            pos += iteration;
                            
                            charloop_ending_pos = pos;
                            goto CharLoopEnd;
                            
                            CharLoopBacktrack:
                            UncaptureUntil(base.runstack![--stackpos]);
                            Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos, out charloop_starting_pos);
                            Utilities.ValidateStackCookie(150666399, base.runstack![--stackpos]);
                            
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            if (charloop_starting_pos >= charloop_ending_pos)
                            {
                                goto LoopIterationNoMatch;
                            }
                            pos = --charloop_ending_pos;
                            slice = inputSpan.Slice(pos);
                            
                            CharLoopEnd:
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 150666399);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos, charloop_ending_pos, base.Crawlpos());
                        //}
                        
                        // Zero-width negative lookahead.
                        {
                            slice = inputSpan.Slice(pos);
                            int negativelookahead__starting_pos = pos;
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            // Match a character in the set [;\s].
                            if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("㸀\0\u0001ࠀ\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\0\u0002\u0001;<d")))
                            {
                                goto NegativeLookaroundMatch;
                            }
                            
                            goto CharLoopBacktrack;
                            
                            NegativeLookaroundMatch:
                            pos = negativelookahead__starting_pos;
                            slice = inputSpan.Slice(pos);
                        }
                        
                        // "key" capture group.
                        //{
                            int capture_starting_pos = pos;
                            
                            // Loop greedily at least once.
                            //{
                                loop_iteration1 = 0;
                                
                                LoopBody1:
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1097663222);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                                
                                loop_iteration1++;
                                
                                // Match with 4 alternative expressions.
                                //{
                                    int alternation_starting_pos = pos;
                                    int alternation_starting_capturepos = base.Crawlpos();
                                    
                                    // Branch 0
                                    //{
                                        // Match a character in the set [^=\s\p{Cc}].
                                        if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("\0\0\ufffe\udfff\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\u0001\u0002\u0002=>d\u000f")))
                                        {
                                            goto AlternationBranch;
                                        }
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1712597934);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos, alternation_starting_capturepos);
                                        pos++;
                                        slice = inputSpan.Slice(pos);
                                        goto AlternationMatch;
                                        
                                        AlternationBranch:
                                        pos = alternation_starting_pos;
                                        slice = inputSpan.Slice(pos);
                                        UncaptureUntil(alternation_starting_capturepos);
                                    //}
                                    
                                    // Branch 1
                                    //{
                                        // Match a whitespace character greedily at least once.
                                        //{
                                            charloop_starting_pos1 = pos;
                                            
                                            int iteration1 = 0;
                                            while ((uint)iteration1 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration1]))
                                            {
                                                iteration1++;
                                            }
                                            
                                            if (iteration1 == 0)
                                            {
                                                goto AlternationBranch1;
                                            }
                                            
                                            slice = slice.Slice(iteration1);
                                            pos += iteration1;
                                            
                                            charloop_ending_pos1 = pos;
                                            charloop_starting_pos1++;
                                            goto CharLoopEnd1;
                                            
                                            CharLoopBacktrack1:
                                            UncaptureUntil(base.runstack![--stackpos]);
                                            Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos1, out charloop_starting_pos1);
                                            Utilities.ValidateStackCookie(1776631027, base.runstack![--stackpos]);
                                            
                                            if (Utilities.s_hasTimeout)
                                            {
                                                base.CheckTimeout();
                                            }
                                            
                                            if (charloop_starting_pos1 >= charloop_ending_pos1)
                                            {
                                                goto AlternationBranch1;
                                            }
                                            pos = --charloop_ending_pos1;
                                            slice = inputSpan.Slice(pos);
                                            
                                            CharLoopEnd1:
                                            Utilities.StackPush(ref base.runstack!, ref stackpos, 1776631027);
                                            Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos1, charloop_ending_pos1, base.Crawlpos());
                                        //}
                                        
                                        // Match a character in the set [^=\s\p{Cc}].
                                        if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("\0\0\ufffe\udfff\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\u0001\u0002\u0002=>d\u000f")))
                                        {
                                            goto CharLoopBacktrack1;
                                        }
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1712597935);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos, alternation_starting_capturepos);
                                        pos++;
                                        slice = inputSpan.Slice(pos);
                                        goto AlternationMatch;
                                        
                                        AlternationBranch1:
                                        pos = alternation_starting_pos;
                                        slice = inputSpan.Slice(pos);
                                        UncaptureUntil(alternation_starting_capturepos);
                                    //}
                                    
                                    // Branch 2
                                    //{
                                        // Match a whitespace character atomically at least once.
                                        {
                                            int iteration2 = 0;
                                            while ((uint)iteration2 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration2]))
                                            {
                                                iteration2++;
                                            }
                                            
                                            if (iteration2 == 0)
                                            {
                                                goto AlternationBranch2;
                                            }
                                            
                                            slice = slice.Slice(iteration2);
                                            pos += iteration2;
                                        }
                                        
                                        // Match the string "==".
                                        if (!slice.StartsWith("=="))
                                        {
                                            goto AlternationBranch2;
                                        }
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1712597936);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 2, alternation_starting_pos, alternation_starting_capturepos);
                                        pos += 2;
                                        slice = inputSpan.Slice(pos);
                                        goto AlternationMatch;
                                        
                                        AlternationBranch2:
                                        pos = alternation_starting_pos;
                                        slice = inputSpan.Slice(pos);
                                        UncaptureUntil(alternation_starting_capturepos);
                                    //}
                                    
                                    // Branch 3
                                    //{
                                        // Match the string "==".
                                        if (!slice.StartsWith("=="))
                                        {
                                            goto LoopIterationNoMatch1;
                                        }
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1712597937);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 3, alternation_starting_pos, alternation_starting_capturepos);
                                        pos += 2;
                                        slice = inputSpan.Slice(pos);
                                        goto AlternationMatch;
                                    //}
                                    
                                    AlternationBacktrack:
                                    if (Utilities.s_hasTimeout)
                                    {
                                        base.CheckTimeout();
                                    }
                                    
                                    Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos, out alternation_starting_pos);
                                    switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 1712597934, base.runstack![--stackpos]))
                                    {
                                        case 0:
                                            goto AlternationBranch;
                                        case 1:
                                            goto CharLoopBacktrack1;
                                        case 2:
                                            goto AlternationBranch2;
                                        case 3:
                                            goto LoopIterationNoMatch1;
                                    }
                                    
                                    AlternationMatch:;
                                //}
                                
                                
                                // The loop has no upper bound. Continue iterating greedily.
                                goto LoopBody1;
                                
                                // The loop iteration failed. Put state back to the way it was before the iteration.
                                LoopIterationNoMatch1:
                                if (--loop_iteration1 < 0)
                                {
                                    // Unable to match the remainder of the expression after exhausting the loop.
                                    goto CharLoopBacktrack;
                                }
                                pos = base.runstack![--stackpos];
                                UncaptureUntil(base.runstack![--stackpos]);
                                Utilities.ValidateStackCookie(1097663222, base.runstack![--stackpos]);
                                slice = inputSpan.Slice(pos);
                                if (loop_iteration1 == 0)
                                {
                                    // No iterations have been matched to backtrack into. Fail the loop.
                                    goto CharLoopBacktrack;
                                }
                                
                                goto LoopEnd1;
                                
                                LoopBacktrack:
                                if (Utilities.s_hasTimeout)
                                {
                                    base.CheckTimeout();
                                }
                                
                                if (loop_iteration1 == 0)
                                {
                                    // No iterations of the loop remain to backtrack into. Fail the loop.
                                    goto CharLoopBacktrack;
                                }
                                goto AlternationBacktrack;
                                LoopEnd1:
                                
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 356393800);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, loop_iteration1);
                                goto LoopSkipBacktrack;
                                
                                LoopBacktrack1:
                                loop_iteration1 = base.runstack![--stackpos];
                                Utilities.ValidateStackCookie(356393800, base.runstack![--stackpos]);
                                if (Utilities.s_hasTimeout)
                                {
                                    base.CheckTimeout();
                                }
                                
                                goto LoopBacktrack;
                                
                                LoopSkipBacktrack:;
                            //}
                            
                            base.Capture(1, capture_starting_pos, pos);
                            
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 1580828477);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, capture_starting_pos);
                            goto CaptureSkipBacktrack;
                            
                            CaptureBacktrack:
                            capture_starting_pos = base.runstack![--stackpos];
                            Utilities.ValidateStackCookie(1580828477, base.runstack![--stackpos]);
                            goto LoopBacktrack1;
                            
                            CaptureSkipBacktrack:;
                        //}
                        
                        // Match a whitespace character atomically any number of times.
                        {
                            int iteration3 = 0;
                            while ((uint)iteration3 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration3]))
                            {
                                iteration3++;
                            }
                            
                            slice = slice.Slice(iteration3);
                            pos += iteration3;
                        }
                        
                        // Match '='.
                        if (slice.IsEmpty || slice[0] != '=')
                        {
                            goto CaptureBacktrack;
                        }
                        
                        // Zero-width negative lookahead.
                        {
                            pos++;
                            slice = inputSpan.Slice(pos);
                            int negativelookahead__starting_pos1 = pos;
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            // Match '='.
                            if (slice.IsEmpty || slice[0] != '=')
                            {
                                goto NegativeLookaroundMatch1;
                            }
                            
                            goto CaptureBacktrack;
                            
                            NegativeLookaroundMatch1:
                            pos = negativelookahead__starting_pos1;
                            slice = inputSpan.Slice(pos);
                        }
                        
                        // Match a whitespace character greedily any number of times.
                        //{
                            charloop_starting_pos2 = pos;
                            
                            int iteration4 = 0;
                            while ((uint)iteration4 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration4]))
                            {
                                iteration4++;
                            }
                            
                            slice = slice.Slice(iteration4);
                            pos += iteration4;
                            
                            charloop_ending_pos2 = pos;
                            goto CharLoopEnd2;
                            
                            CharLoopBacktrack2:
                            UncaptureUntil(base.runstack![--stackpos]);
                            Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos2, out charloop_starting_pos2);
                            Utilities.ValidateStackCookie(1086637144, base.runstack![--stackpos]);
                            
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            if (charloop_starting_pos2 >= charloop_ending_pos2)
                            {
                                goto CaptureBacktrack;
                            }
                            pos = --charloop_ending_pos2;
                            slice = inputSpan.Slice(pos);
                            
                            CharLoopEnd2:
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 1086637144);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos2, charloop_ending_pos2, base.Crawlpos());
                        //}
                        
                        // "value" capture group.
                        //{
                            int capture_starting_pos1 = pos;
                            
                            // Match with 3 alternative expressions.
                            //{
                                int alternation_starting_pos1 = pos;
                                int alternation_starting_capturepos1 = base.Crawlpos();
                                
                                // Branch 0
                                //{
                                    // Match '"'.
                                    if (slice.IsEmpty || slice[0] != '"')
                                    {
                                        goto AlternationBranch3;
                                    }
                                    
                                    // Loop greedily any number of times.
                                    //{
                                        pos++;
                                        slice = inputSpan.Slice(pos);
                                        loop_iteration2 = 0;
                                        
                                        LoopBody2:
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 831377772);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                                        
                                        loop_iteration2++;
                                        
                                        // Match with 2 alternative expressions.
                                        //{
                                            int alternation_starting_pos2 = pos;
                                            int alternation_starting_capturepos2 = base.Crawlpos();
                                            
                                            // Branch 0
                                            //{
                                                // Match a character in the set [^\0"].
                                                if (slice.IsEmpty || (((ch = slice[0]) == '\0') | (ch == '"')))
                                                {
                                                    goto AlternationBranch4;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 463814840);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos2, alternation_starting_capturepos2);
                                                pos++;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch2;
                                                
                                                AlternationBranch4:
                                                pos = alternation_starting_pos2;
                                                slice = inputSpan.Slice(pos);
                                                UncaptureUntil(alternation_starting_capturepos2);
                                            //}
                                            
                                            // Branch 1
                                            //{
                                                // Match the string "\"\"".
                                                if (!slice.StartsWith("\"\""))
                                                {
                                                    goto LoopIterationNoMatch2;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 463814841);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos2, alternation_starting_capturepos2);
                                                pos += 2;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch2;
                                            //}
                                            
                                            AlternationBacktrack2:
                                            if (Utilities.s_hasTimeout)
                                            {
                                                base.CheckTimeout();
                                            }
                                            
                                            Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos2, out alternation_starting_pos2);
                                            switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 463814840, base.runstack![--stackpos]))
                                            {
                                                case 0:
                                                    goto AlternationBranch4;
                                                case 1:
                                                    goto LoopIterationNoMatch2;
                                            }
                                            
                                            AlternationMatch2:;
                                        //}
                                        
                                        
                                        // The loop has no upper bound. Continue iterating greedily.
                                        goto LoopBody2;
                                        
                                        // The loop iteration failed. Put state back to the way it was before the iteration.
                                        LoopIterationNoMatch2:
                                        if (--loop_iteration2 < 0)
                                        {
                                            // Unable to match the remainder of the expression after exhausting the loop.
                                            goto AlternationBranch3;
                                        }
                                        pos = base.runstack![--stackpos];
                                        UncaptureUntil(base.runstack![--stackpos]);
                                        Utilities.ValidateStackCookie(831377772, base.runstack![--stackpos]);
                                        slice = inputSpan.Slice(pos);
                                        goto LoopEnd2;
                                        
                                        LoopBacktrack2:
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        if (loop_iteration2 == 0)
                                        {
                                            // No iterations of the loop remain to backtrack into. Fail the loop.
                                            goto AlternationBranch3;
                                        }
                                        goto AlternationBacktrack2;
                                        LoopEnd2:
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 44691036);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, loop_iteration2);
                                        goto LoopSkipBacktrack1;
                                        
                                        LoopBacktrack3:
                                        loop_iteration2 = base.runstack![--stackpos];
                                        Utilities.ValidateStackCookie(44691036, base.runstack![--stackpos]);
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        goto LoopBacktrack2;
                                        
                                        LoopSkipBacktrack1:;
                                    //}
                                    
                                    // Match '"'.
                                    if (slice.IsEmpty || slice[0] != '"')
                                    {
                                        goto LoopBacktrack3;
                                    }
                                    
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 494509054);
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos1, alternation_starting_capturepos1);
                                    pos++;
                                    slice = inputSpan.Slice(pos);
                                    goto AlternationMatch1;
                                    
                                    AlternationBranch3:
                                    pos = alternation_starting_pos1;
                                    slice = inputSpan.Slice(pos);
                                    UncaptureUntil(alternation_starting_capturepos1);
                                //}
                                
                                // Branch 1
                                //{
                                    // Match '\''.
                                    if (slice.IsEmpty || slice[0] != '\'')
                                    {
                                        goto AlternationBranch5;
                                    }
                                    
                                    // Loop greedily any number of times.
                                    //{
                                        pos++;
                                        slice = inputSpan.Slice(pos);
                                        loop_iteration3 = 0;
                                        
                                        LoopBody3:
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 289552957);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                                        
                                        loop_iteration3++;
                                        
                                        // Match with 2 alternative expressions.
                                        //{
                                            int alternation_starting_pos3 = pos;
                                            int alternation_starting_capturepos3 = base.Crawlpos();
                                            
                                            // Branch 0
                                            //{
                                                // Match a character in the set [^\0'].
                                                if (slice.IsEmpty || (((ch = slice[0]) == '\0') | (ch == '\'')))
                                                {
                                                    goto AlternationBranch6;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1590924034);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos3, alternation_starting_capturepos3);
                                                pos++;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch3;
                                                
                                                AlternationBranch6:
                                                pos = alternation_starting_pos3;
                                                slice = inputSpan.Slice(pos);
                                                UncaptureUntil(alternation_starting_capturepos3);
                                            //}
                                            
                                            // Branch 1
                                            //{
                                                // Match the string "''".
                                                if (!slice.StartsWith("''"))
                                                {
                                                    goto LoopIterationNoMatch3;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1590924035);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos3, alternation_starting_capturepos3);
                                                pos += 2;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch3;
                                            //}
                                            
                                            AlternationBacktrack3:
                                            if (Utilities.s_hasTimeout)
                                            {
                                                base.CheckTimeout();
                                            }
                                            
                                            Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos3, out alternation_starting_pos3);
                                            switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 1590924034, base.runstack![--stackpos]))
                                            {
                                                case 0:
                                                    goto AlternationBranch6;
                                                case 1:
                                                    goto LoopIterationNoMatch3;
                                            }
                                            
                                            AlternationMatch3:;
                                        //}
                                        
                                        
                                        // The loop has no upper bound. Continue iterating greedily.
                                        goto LoopBody3;
                                        
                                        // The loop iteration failed. Put state back to the way it was before the iteration.
                                        LoopIterationNoMatch3:
                                        if (--loop_iteration3 < 0)
                                        {
                                            // Unable to match the remainder of the expression after exhausting the loop.
                                            goto AlternationBranch5;
                                        }
                                        pos = base.runstack![--stackpos];
                                        UncaptureUntil(base.runstack![--stackpos]);
                                        Utilities.ValidateStackCookie(289552957, base.runstack![--stackpos]);
                                        slice = inputSpan.Slice(pos);
                                        goto LoopEnd3;
                                        
                                        LoopBacktrack4:
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        if (loop_iteration3 == 0)
                                        {
                                            // No iterations of the loop remain to backtrack into. Fail the loop.
                                            goto AlternationBranch5;
                                        }
                                        goto AlternationBacktrack3;
                                        LoopEnd3:
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 418954879);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, loop_iteration3);
                                        goto LoopSkipBacktrack2;
                                        
                                        LoopBacktrack5:
                                        loop_iteration3 = base.runstack![--stackpos];
                                        Utilities.ValidateStackCookie(418954879, base.runstack![--stackpos]);
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        goto LoopBacktrack4;
                                        
                                        LoopSkipBacktrack2:;
                                    //}
                                    
                                    // Match '\''.
                                    if (slice.IsEmpty || slice[0] != '\'')
                                    {
                                        goto LoopBacktrack5;
                                    }
                                    
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 494509055);
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos1, alternation_starting_capturepos1);
                                    pos++;
                                    slice = inputSpan.Slice(pos);
                                    goto AlternationMatch1;
                                    
                                    AlternationBranch5:
                                    pos = alternation_starting_pos1;
                                    slice = inputSpan.Slice(pos);
                                    UncaptureUntil(alternation_starting_capturepos1);
                                //}
                                
                                // Branch 2
                                //{
                                    // Zero-width negative lookahead.
                                    {
                                        slice = inputSpan.Slice(pos);
                                        int negativelookahead__starting_pos2 = pos;
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        // Match a character in the set ["'\s].
                                        if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("㸀\0\u0085\0\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\0\u0004\u0001\"#'(d")))
                                        {
                                            goto NegativeLookaroundMatch2;
                                        }
                                        
                                        goto CharLoopBacktrack2;
                                        
                                        NegativeLookaroundMatch2:
                                        pos = negativelookahead__starting_pos2;
                                        slice = inputSpan.Slice(pos);
                                    }
                                    
                                    // Loop greedily any number of times.
                                    //{
                                        loop_iteration4 = 0;
                                        
                                        LoopBody4:
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1849199487);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                                        
                                        loop_iteration4++;
                                        
                                        // Match with 2 alternative expressions.
                                        //{
                                            int alternation_starting_pos4 = pos;
                                            int alternation_starting_capturepos4 = base.Crawlpos();
                                            
                                            // Branch 0
                                            //{
                                                // Match a character in the set [^;\s\p{Cc}].
                                                if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("\0\0\ufffe\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\u0001\u0002\u0002;<d\u000f")))
                                                {
                                                    goto AlternationBranch7;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 770656857);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos4, alternation_starting_capturepos4);
                                                pos++;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch4;
                                                
                                                AlternationBranch7:
                                                pos = alternation_starting_pos4;
                                                slice = inputSpan.Slice(pos);
                                                UncaptureUntil(alternation_starting_capturepos4);
                                            //}
                                            
                                            // Branch 1
                                            //{
                                                // Match a whitespace character greedily at least once.
                                                //{
                                                    charloop_starting_pos3 = pos;
                                                    
                                                    int iteration5 = 0;
                                                    while ((uint)iteration5 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration5]))
                                                    {
                                                        iteration5++;
                                                    }
                                                    
                                                    if (iteration5 == 0)
                                                    {
                                                        goto LoopIterationNoMatch4;
                                                    }
                                                    
                                                    slice = slice.Slice(iteration5);
                                                    pos += iteration5;
                                                    
                                                    charloop_ending_pos3 = pos;
                                                    charloop_starting_pos3++;
                                                    goto CharLoopEnd3;
                                                    
                                                    CharLoopBacktrack3:
                                                    UncaptureUntil(base.runstack![--stackpos]);
                                                    Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos3, out charloop_starting_pos3);
                                                    Utilities.ValidateStackCookie(222698909, base.runstack![--stackpos]);
                                                    
                                                    if (Utilities.s_hasTimeout)
                                                    {
                                                        base.CheckTimeout();
                                                    }
                                                    
                                                    if (charloop_starting_pos3 >= charloop_ending_pos3)
                                                    {
                                                        goto LoopIterationNoMatch4;
                                                    }
                                                    pos = --charloop_ending_pos3;
                                                    slice = inputSpan.Slice(pos);
                                                    
                                                    CharLoopEnd3:
                                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 222698909);
                                                    Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos3, charloop_ending_pos3, base.Crawlpos());
                                                //}
                                                
                                                // Match a character in the set [^;\s\p{Cc}].
                                                if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("\0\0\ufffe\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\u0001\u0002\u0002;<d\u000f")))
                                                {
                                                    goto CharLoopBacktrack3;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 770656858);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos4, alternation_starting_capturepos4);
                                                pos++;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch4;
                                            //}
                                            
                                            AlternationBacktrack4:
                                            if (Utilities.s_hasTimeout)
                                            {
                                                base.CheckTimeout();
                                            }
                                            
                                            Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos4, out alternation_starting_pos4);
                                            switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 770656857, base.runstack![--stackpos]))
                                            {
                                                case 0:
                                                    goto AlternationBranch7;
                                                case 1:
                                                    goto CharLoopBacktrack3;
                                            }
                                            
                                            AlternationMatch4:;
                                        //}
                                        
                                        
                                        // The loop has no upper bound. Continue iterating greedily.
                                        goto LoopBody4;
                                        
                                        // The loop iteration failed. Put state back to the way it was before the iteration.
                                        LoopIterationNoMatch4:
                                        if (--loop_iteration4 < 0)
                                        {
                                            // Unable to match the remainder of the expression after exhausting the loop.
                                            goto CharLoopBacktrack2;
                                        }
                                        pos = base.runstack![--stackpos];
                                        UncaptureUntil(base.runstack![--stackpos]);
                                        Utilities.ValidateStackCookie(1849199487, base.runstack![--stackpos]);
                                        slice = inputSpan.Slice(pos);
                                        goto LoopEnd4;
                                        
                                        LoopBacktrack6:
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        if (loop_iteration4 == 0)
                                        {
                                            // No iterations of the loop remain to backtrack into. Fail the loop.
                                            goto CharLoopBacktrack2;
                                        }
                                        goto AlternationBacktrack4;
                                        LoopEnd4:
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1137270944);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, loop_iteration4);
                                        goto LoopSkipBacktrack3;
                                        
                                        LoopBacktrack7:
                                        loop_iteration4 = base.runstack![--stackpos];
                                        Utilities.ValidateStackCookie(1137270944, base.runstack![--stackpos]);
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        goto LoopBacktrack6;
                                        
                                        LoopSkipBacktrack3:;
                                    //}
                                    
                                    // Zero-width negative lookbehind.
                                    {
                                        slice = inputSpan.Slice(pos);
                                        int negativelookbehind__starting_pos = pos;
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        // Match a character in the set ["'] right-to-left.
                                        if ((uint)(pos - 1) >= inputSpan.Length || (((ch = inputSpan[pos - 1]) != '"') & (ch != '\'')))
                                        {
                                            goto NegativeLookaroundMatch3;
                                        }
                                        pos--;
                                        
                                        goto LoopBacktrack7;
                                        
                                        NegativeLookaroundMatch3:
                                        pos = negativelookbehind__starting_pos;
                                        slice = inputSpan.Slice(pos);
                                    }
                                    
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 494509056);
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 2, alternation_starting_pos1, alternation_starting_capturepos1);
                                    goto AlternationMatch1;
                                //}
                                
                                AlternationBacktrack1:
                                if (Utilities.s_hasTimeout)
                                {
                                    base.CheckTimeout();
                                }
                                
                                Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos1, out alternation_starting_pos1);
                                switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 494509054, base.runstack![--stackpos]))
                                {
                                    case 0:
                                        goto LoopBacktrack3;
                                    case 1:
                                        goto LoopBacktrack5;
                                    case 2:
                                        goto LoopBacktrack7;
                                }
                                
                                AlternationMatch1:;
                            //}
                            
                            base.Capture(2, capture_starting_pos1, pos);
                            
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 1519356452);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, capture_starting_pos1);
                            goto CaptureSkipBacktrack1;
                            
                            CaptureBacktrack1:
                            capture_starting_pos1 = base.runstack![--stackpos];
                            Utilities.ValidateStackCookie(1519356452, base.runstack![--stackpos]);
                            goto AlternationBacktrack1;
                            
                            CaptureSkipBacktrack1:;
                        //}
                        
                        // Match a whitespace character greedily any number of times.
                        //{
                            charloop_starting_pos4 = pos;
                            
                            int iteration6 = 0;
                            while ((uint)iteration6 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration6]))
                            {
                                iteration6++;
                            }
                            
                            slice = slice.Slice(iteration6);
                            pos += iteration6;
                            
                            charloop_ending_pos4 = pos;
                            goto CharLoopEnd4;
                            
                            CharLoopBacktrack4:
                            UncaptureUntil(base.runstack![--stackpos]);
                            Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos4, out charloop_starting_pos4);
                            Utilities.ValidateStackCookie(1246560210, base.runstack![--stackpos]);
                            
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            if (charloop_starting_pos4 >= charloop_ending_pos4)
                            {
                                goto CaptureBacktrack1;
                            }
                            pos = --charloop_ending_pos4;
                            slice = inputSpan.Slice(pos);
                            
                            CharLoopEnd4:
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 1246560210);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos4, charloop_ending_pos4, base.Crawlpos());
                        //}
                        
                        // Match with 2 alternative expressions.
                        //{
                            int alternation_starting_pos5 = pos;
                            int alternation_starting_capturepos5 = base.Crawlpos();
                            
                            // Branch 0
                            //{
                                // Match ';'.
                                if (slice.IsEmpty || slice[0] != ';')
                                {
                                    goto AlternationBranch8;
                                }
                                
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1332617376);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos5, alternation_starting_capturepos5);
                                pos++;
                                slice = inputSpan.Slice(pos);
                                goto AlternationMatch5;
                                
                                AlternationBranch8:
                                pos = alternation_starting_pos5;
                                slice = inputSpan.Slice(pos);
                                UncaptureUntil(alternation_starting_capturepos5);
                            //}
                            
                            // Branch 1
                            //{
                                // Match a character in the set [\0\s] greedily any number of times.
                                //{
                                    charloop_starting_pos5 = pos;
                                    
                                    int iteration7 = 0;
                                    while ((uint)iteration7 < (uint)slice.Length && ((ch = slice[iteration7]) < 128 ? ("㸁\0\u0001\0\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0002\u0001\0\u0001d")))
                                    {
                                        iteration7++;
                                    }
                                    
                                    slice = slice.Slice(iteration7);
                                    pos += iteration7;
                                    
                                    charloop_ending_pos5 = pos;
                                    goto CharLoopEnd5;
                                    
                                    CharLoopBacktrack5:
                                    UncaptureUntil(base.runstack![--stackpos]);
                                    Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos5, out charloop_starting_pos5);
                                    Utilities.ValidateStackCookie(1573024539, base.runstack![--stackpos]);
                                    
                                    if (Utilities.s_hasTimeout)
                                    {
                                        base.CheckTimeout();
                                    }
                                    
                                    if (charloop_starting_pos5 >= charloop_ending_pos5)
                                    {
                                        goto CharLoopBacktrack4;
                                    }
                                    pos = --charloop_ending_pos5;
                                    slice = inputSpan.Slice(pos);
                                    
                                    CharLoopEnd5:
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 1573024539);
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos5, charloop_ending_pos5, base.Crawlpos());
                                //}
                                
                                // Match if at the end of the string or if before an ending newline.
                                if (pos < inputSpan.Length - 1 || ((uint)pos < (uint)inputSpan.Length && inputSpan[pos] != '\n'))
                                {
                                    goto CharLoopBacktrack5;
                                }
                                
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1332617377);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos5, alternation_starting_capturepos5);
                                goto AlternationMatch5;
                            //}
                            
                            AlternationBacktrack5:
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos5, out alternation_starting_pos5);
                            switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 1332617376, base.runstack![--stackpos]))
                            {
                                case 0:
                                    goto AlternationBranch8;
                                case 1:
                                    goto CharLoopBacktrack5;
                            }
                            
                            AlternationMatch5:;
                        //}
                        
                        
                        // The loop has no upper bound. Continue iterating greedily.
                        goto LoopBody;
                        
                        // The loop iteration failed. Put state back to the way it was before the iteration.
                        LoopIterationNoMatch:
                        if (--loop_iteration < 0)
                        {
                            // Unable to match the remainder of the expression after exhausting the loop.
                            UncaptureUntil(0);
                            return false; // The input didn't match.
                        }
                        pos = base.runstack![--stackpos];
                        UncaptureUntil(base.runstack![--stackpos]);
                        Utilities.ValidateStackCookie(143337952, base.runstack![--stackpos]);
                        slice = inputSpan.Slice(pos);
                        goto LoopEnd;
                        
                        LoopBacktrack8:
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                        
                        if (loop_iteration == 0)
                        {
                            // No iterations of the loop remain to backtrack into. Fail the loop.
                            UncaptureUntil(0);
                            return false; // The input didn't match.
                        }
                        goto AlternationBacktrack5;
                        LoopEnd:;
                    //}
                    
                    // Match a character in the set [;\s] greedily any number of times.
                    //{
                        charloop_starting_pos6 = pos;
                        
                        int iteration8 = 0;
                        while ((uint)iteration8 < (uint)slice.Length && ((ch = slice[iteration8]) < 128 ? ("㸀\0\u0001ࠀ\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0002\u0001;<d")))
                        {
                            iteration8++;
                        }
                        
                        slice = slice.Slice(iteration8);
                        pos += iteration8;
                        
                        charloop_ending_pos6 = pos;
                        goto CharLoopEnd6;
                        
                        CharLoopBacktrack6:
                        UncaptureUntil(charloop_capture_pos);
                        
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                        
                        if (charloop_starting_pos6 >= charloop_ending_pos6)
                        {
                            goto LoopBacktrack8;
                        }
                        pos = --charloop_ending_pos6;
                        slice = inputSpan.Slice(pos);
                        
                        CharLoopEnd6:
                        charloop_capture_pos = base.Crawlpos();
                    //}
                    
                    // Match a character in the set [\0\s] atomically any number of times.
                    {
                        int iteration9 = 0;
                        while ((uint)iteration9 < (uint)slice.Length && ((ch = slice[iteration9]) < 128 ? ("㸁\0\u0001\0\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0002\u0001\0\u0001d")))
                        {
                            iteration9++;
                        }
                        
                        slice = slice.Slice(iteration9);
                        pos += iteration9;
                    }
                    
                    // The input matched.
                    base.runtextpos = pos;
                    base.Capture(0, matchStart, pos);
                    return true;
                    
                    // <summary>Undo captures until it reaches the specified capture position.</summary>
                    [MethodImpl(MethodImplOptions.AggressiveInlining)]
                    void UncaptureUntil(int capturePosition)
                    {
                        while (base.Crawlpos() > capturePosition)
                        {
                            base.Uncapture();
                        }
                    }
                }
            }
        }
 
    }
    
    /// <summary>Custom <see cref="Regex"/>-derived type for the CreateConnectionStringRegexOdbc method.</summary>
    [GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
    [SkipLocalsInit]
    file sealed class CreateConnectionStringRegexOdbc_1 : Regex
    {
        /// <summary>Cached, thread-safe singleton instance.</summary>
        internal static readonly CreateConnectionStringRegexOdbc_1 Instance = new();
    
        /// <summary>Initializes the instance.</summary>
        private CreateConnectionStringRegexOdbc_1()
        {
            base.pattern = "([\\s;]*(?![\\s;])(?<key>([^=\\s\\p{Cc}]|\\s+[^=\\s\\p{Cc}])+)\\s*=\\s*(?<value>(\\{([^\\}\0]|\\}\\})*\\})|((?![\\{\\s])([^;\\s\\p{Cc}]|\\s+[^;\\s\\p{Cc}])*))(\\s*)(;|[\0\\s]*$))*[\\s;]*[\0\\s]*";
            base.roptions = RegexOptions.ExplicitCapture;
            ValidateMatchTimeout(Utilities.s_defaultTimeout);
            base.internalMatchTimeout = Utilities.s_defaultTimeout;
            base.factory = new RunnerFactory();
            base.CapNames = new Hashtable { { "0", 0 } ,  { "key", 1 } ,  { "value", 2 }  };
            base.capslist = new string[] {"0", "key", "value" };
            base.capsize = 3;
        }
            
        /// <summary>Provides a factory for creating <see cref="RegexRunner"/> instances to be used by methods on <see cref="Regex"/>.</summary>
        private sealed class RunnerFactory : RegexRunnerFactory
        {
            /// <summary>Creates an instance of a <see cref="RegexRunner"/> used by methods on <see cref="Regex"/>.</summary>
            protected override RegexRunner CreateInstance() => new Runner();
        
            /// <summary>Provides the runner that contains the custom logic implementing the specified regular expression.</summary>
            private sealed class Runner : RegexRunner
            {
                /// <summary>Scan the <paramref name="inputSpan"/> starting from base.runtextstart for the next match.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                protected override void Scan(ReadOnlySpan<char> inputSpan)
                {
                    // Search until we can't find a valid starting position, we find a match, or we reach the end of the input.
                    while (!TryMatchAtCurrentPosition(inputSpan) &&
                           base.runtextpos != inputSpan.Length)
                    {
                        base.runtextpos++;
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                    }
                }
        
                /// <summary>Determine whether <paramref name="inputSpan"/> at base.runtextpos is a match for the regular expression.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                /// <returns>true if the regular expression matches at the current position; otherwise, false.</returns>
                private bool TryMatchAtCurrentPosition(ReadOnlySpan<char> inputSpan)
                {
                    int pos = base.runtextpos;
                    int matchStart = pos;
                    char ch;
                    int charloop_capture_pos = 0;
                    int charloop_starting_pos = 0, charloop_ending_pos = 0;
                    int charloop_starting_pos1 = 0, charloop_ending_pos1 = 0;
                    int charloop_starting_pos2 = 0, charloop_ending_pos2 = 0;
                    int charloop_starting_pos3 = 0, charloop_ending_pos3 = 0;
                    int charloop_starting_pos4 = 0, charloop_ending_pos4 = 0;
                    int charloop_starting_pos5 = 0, charloop_ending_pos5 = 0;
                    int charloop_starting_pos6 = 0, charloop_ending_pos6 = 0;
                    int loop_iteration = 0;
                    int loop_iteration1 = 0;
                    int loop_iteration2 = 0;
                    int loop_iteration3 = 0;
                    int stackpos = 0;
                    ReadOnlySpan<char> slice = inputSpan.Slice(pos);
                    
                    // Loop greedily any number of times.
                    //{
                        loop_iteration = 0;
                        
                        LoopBody:
                        Utilities.StackPush(ref base.runstack!, ref stackpos, 143337952);
                        Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                        
                        loop_iteration++;
                        
                        // Match a character in the set [;\s] greedily any number of times.
                        //{
                            charloop_starting_pos = pos;
                            
                            int iteration = 0;
                            while ((uint)iteration < (uint)slice.Length && ((ch = slice[iteration]) < 128 ? ("㸀\0\u0001ࠀ\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0002\u0001;<d")))
                            {
                                iteration++;
                            }
                            
                            slice = slice.Slice(iteration);
                            pos += iteration;
                            
                            charloop_ending_pos = pos;
                            goto CharLoopEnd;
                            
                            CharLoopBacktrack:
                            UncaptureUntil(base.runstack![--stackpos]);
                            Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos, out charloop_starting_pos);
                            Utilities.ValidateStackCookie(150666399, base.runstack![--stackpos]);
                            
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            if (charloop_starting_pos >= charloop_ending_pos)
                            {
                                goto LoopIterationNoMatch;
                            }
                            pos = --charloop_ending_pos;
                            slice = inputSpan.Slice(pos);
                            
                            CharLoopEnd:
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 150666399);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos, charloop_ending_pos, base.Crawlpos());
                        //}
                        
                        // Zero-width negative lookahead.
                        {
                            int negativelookahead__starting_pos = pos;
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            // Match a character in the set [;\s].
                            if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("㸀\0\u0001ࠀ\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\0\u0002\u0001;<d")))
                            {
                                goto NegativeLookaroundMatch;
                            }
                            
                            goto CharLoopBacktrack;
                            
                            NegativeLookaroundMatch:
                            pos = negativelookahead__starting_pos;
                            slice = inputSpan.Slice(pos);
                        }
                        
                        // "key" capture group.
                        //{
                            int capture_starting_pos = pos;
                            
                            // Loop greedily at least once.
                            //{
                                loop_iteration1 = 0;
                                
                                LoopBody1:
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1097663222);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                                
                                loop_iteration1++;
                                
                                // Match with 2 alternative expressions.
                                //{
                                    int alternation_starting_pos = pos;
                                    int alternation_starting_capturepos = base.Crawlpos();
                                    
                                    // Branch 0
                                    //{
                                        // Match a character in the set [^=\s\p{Cc}].
                                        if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("\0\0\ufffe\udfff\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\u0001\u0002\u0002=>d\u000f")))
                                        {
                                            goto AlternationBranch;
                                        }
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1712597934);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos, alternation_starting_capturepos);
                                        pos++;
                                        slice = inputSpan.Slice(pos);
                                        goto AlternationMatch;
                                        
                                        AlternationBranch:
                                        pos = alternation_starting_pos;
                                        slice = inputSpan.Slice(pos);
                                        UncaptureUntil(alternation_starting_capturepos);
                                    //}
                                    
                                    // Branch 1
                                    //{
                                        // Match a whitespace character greedily at least once.
                                        //{
                                            charloop_starting_pos1 = pos;
                                            
                                            int iteration1 = 0;
                                            while ((uint)iteration1 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration1]))
                                            {
                                                iteration1++;
                                            }
                                            
                                            if (iteration1 == 0)
                                            {
                                                goto LoopIterationNoMatch1;
                                            }
                                            
                                            slice = slice.Slice(iteration1);
                                            pos += iteration1;
                                            
                                            charloop_ending_pos1 = pos;
                                            charloop_starting_pos1++;
                                            goto CharLoopEnd1;
                                            
                                            CharLoopBacktrack1:
                                            UncaptureUntil(base.runstack![--stackpos]);
                                            Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos1, out charloop_starting_pos1);
                                            Utilities.ValidateStackCookie(1776631027, base.runstack![--stackpos]);
                                            
                                            if (Utilities.s_hasTimeout)
                                            {
                                                base.CheckTimeout();
                                            }
                                            
                                            if (charloop_starting_pos1 >= charloop_ending_pos1)
                                            {
                                                goto LoopIterationNoMatch1;
                                            }
                                            pos = --charloop_ending_pos1;
                                            slice = inputSpan.Slice(pos);
                                            
                                            CharLoopEnd1:
                                            Utilities.StackPush(ref base.runstack!, ref stackpos, 1776631027);
                                            Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos1, charloop_ending_pos1, base.Crawlpos());
                                        //}
                                        
                                        // Match a character in the set [^=\s\p{Cc}].
                                        if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("\0\0\ufffe\udfff\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\u0001\u0002\u0002=>d\u000f")))
                                        {
                                            goto CharLoopBacktrack1;
                                        }
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1712597935);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos, alternation_starting_capturepos);
                                        pos++;
                                        slice = inputSpan.Slice(pos);
                                        goto AlternationMatch;
                                    //}
                                    
                                    AlternationBacktrack:
                                    if (Utilities.s_hasTimeout)
                                    {
                                        base.CheckTimeout();
                                    }
                                    
                                    Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos, out alternation_starting_pos);
                                    switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 1712597934, base.runstack![--stackpos]))
                                    {
                                        case 0:
                                            goto AlternationBranch;
                                        case 1:
                                            goto CharLoopBacktrack1;
                                    }
                                    
                                    AlternationMatch:;
                                //}
                                
                                
                                // The loop has no upper bound. Continue iterating greedily.
                                goto LoopBody1;
                                
                                // The loop iteration failed. Put state back to the way it was before the iteration.
                                LoopIterationNoMatch1:
                                if (--loop_iteration1 < 0)
                                {
                                    // Unable to match the remainder of the expression after exhausting the loop.
                                    goto CharLoopBacktrack;
                                }
                                pos = base.runstack![--stackpos];
                                UncaptureUntil(base.runstack![--stackpos]);
                                Utilities.ValidateStackCookie(1097663222, base.runstack![--stackpos]);
                                slice = inputSpan.Slice(pos);
                                if (loop_iteration1 == 0)
                                {
                                    // No iterations have been matched to backtrack into. Fail the loop.
                                    goto CharLoopBacktrack;
                                }
                                
                                goto LoopEnd1;
                                
                                LoopBacktrack:
                                if (Utilities.s_hasTimeout)
                                {
                                    base.CheckTimeout();
                                }
                                
                                if (loop_iteration1 == 0)
                                {
                                    // No iterations of the loop remain to backtrack into. Fail the loop.
                                    goto CharLoopBacktrack;
                                }
                                goto AlternationBacktrack;
                                LoopEnd1:
                                
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 356393800);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, loop_iteration1);
                                goto LoopSkipBacktrack;
                                
                                LoopBacktrack1:
                                loop_iteration1 = base.runstack![--stackpos];
                                Utilities.ValidateStackCookie(356393800, base.runstack![--stackpos]);
                                if (Utilities.s_hasTimeout)
                                {
                                    base.CheckTimeout();
                                }
                                
                                goto LoopBacktrack;
                                
                                LoopSkipBacktrack:;
                            //}
                            
                            base.Capture(1, capture_starting_pos, pos);
                            
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 1580828477);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, capture_starting_pos);
                            goto CaptureSkipBacktrack;
                            
                            CaptureBacktrack:
                            capture_starting_pos = base.runstack![--stackpos];
                            Utilities.ValidateStackCookie(1580828477, base.runstack![--stackpos]);
                            goto LoopBacktrack1;
                            
                            CaptureSkipBacktrack:;
                        //}
                        
                        // Match a whitespace character atomically any number of times.
                        {
                            int iteration2 = 0;
                            while ((uint)iteration2 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration2]))
                            {
                                iteration2++;
                            }
                            
                            slice = slice.Slice(iteration2);
                            pos += iteration2;
                        }
                        
                        // Match '='.
                        if (slice.IsEmpty || slice[0] != '=')
                        {
                            goto CaptureBacktrack;
                        }
                        
                        // Match a whitespace character greedily any number of times.
                        //{
                            pos++;
                            slice = inputSpan.Slice(pos);
                            charloop_starting_pos2 = pos;
                            
                            int iteration3 = 0;
                            while ((uint)iteration3 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration3]))
                            {
                                iteration3++;
                            }
                            
                            slice = slice.Slice(iteration3);
                            pos += iteration3;
                            
                            charloop_ending_pos2 = pos;
                            goto CharLoopEnd2;
                            
                            CharLoopBacktrack2:
                            UncaptureUntil(base.runstack![--stackpos]);
                            Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos2, out charloop_starting_pos2);
                            Utilities.ValidateStackCookie(558810389, base.runstack![--stackpos]);
                            
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            if (charloop_starting_pos2 >= charloop_ending_pos2)
                            {
                                goto CaptureBacktrack;
                            }
                            pos = --charloop_ending_pos2;
                            slice = inputSpan.Slice(pos);
                            
                            CharLoopEnd2:
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 558810389);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos2, charloop_ending_pos2, base.Crawlpos());
                        //}
                        
                        // "value" capture group.
                        //{
                            int capture_starting_pos1 = pos;
                            
                            // Match with 2 alternative expressions.
                            //{
                                int alternation_starting_pos1 = pos;
                                int alternation_starting_capturepos1 = base.Crawlpos();
                                
                                // Branch 0
                                //{
                                    // Match '{'.
                                    if (slice.IsEmpty || slice[0] != '{')
                                    {
                                        goto AlternationBranch1;
                                    }
                                    
                                    // Loop greedily any number of times.
                                    //{
                                        pos++;
                                        slice = inputSpan.Slice(pos);
                                        loop_iteration2 = 0;
                                        
                                        LoopBody2:
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 494509054);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                                        
                                        loop_iteration2++;
                                        
                                        // Match with 2 alternative expressions.
                                        //{
                                            int alternation_starting_pos2 = pos;
                                            int alternation_starting_capturepos2 = base.Crawlpos();
                                            
                                            // Branch 0
                                            //{
                                                // Match a character in the set [^\0}].
                                                if (slice.IsEmpty || (((ch = slice[0]) == '\0') | (ch == '}')))
                                                {
                                                    goto AlternationBranch2;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 831377772);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos2, alternation_starting_capturepos2);
                                                pos++;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch2;
                                                
                                                AlternationBranch2:
                                                pos = alternation_starting_pos2;
                                                slice = inputSpan.Slice(pos);
                                                UncaptureUntil(alternation_starting_capturepos2);
                                            //}
                                            
                                            // Branch 1
                                            //{
                                                // Match the string "}}".
                                                if (!slice.StartsWith("}}"))
                                                {
                                                    goto LoopIterationNoMatch2;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 831377773);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos2, alternation_starting_capturepos2);
                                                pos += 2;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch2;
                                            //}
                                            
                                            AlternationBacktrack2:
                                            if (Utilities.s_hasTimeout)
                                            {
                                                base.CheckTimeout();
                                            }
                                            
                                            Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos2, out alternation_starting_pos2);
                                            switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 831377772, base.runstack![--stackpos]))
                                            {
                                                case 0:
                                                    goto AlternationBranch2;
                                                case 1:
                                                    goto LoopIterationNoMatch2;
                                            }
                                            
                                            AlternationMatch2:;
                                        //}
                                        
                                        
                                        // The loop has no upper bound. Continue iterating greedily.
                                        goto LoopBody2;
                                        
                                        // The loop iteration failed. Put state back to the way it was before the iteration.
                                        LoopIterationNoMatch2:
                                        if (--loop_iteration2 < 0)
                                        {
                                            // Unable to match the remainder of the expression after exhausting the loop.
                                            goto AlternationBranch1;
                                        }
                                        pos = base.runstack![--stackpos];
                                        UncaptureUntil(base.runstack![--stackpos]);
                                        Utilities.ValidateStackCookie(494509054, base.runstack![--stackpos]);
                                        slice = inputSpan.Slice(pos);
                                        goto LoopEnd2;
                                        
                                        LoopBacktrack2:
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        if (loop_iteration2 == 0)
                                        {
                                            // No iterations of the loop remain to backtrack into. Fail the loop.
                                            goto AlternationBranch1;
                                        }
                                        goto AlternationBacktrack2;
                                        LoopEnd2:
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 463814840);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, loop_iteration2);
                                        goto LoopSkipBacktrack1;
                                        
                                        LoopBacktrack3:
                                        loop_iteration2 = base.runstack![--stackpos];
                                        Utilities.ValidateStackCookie(463814840, base.runstack![--stackpos]);
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        goto LoopBacktrack2;
                                        
                                        LoopSkipBacktrack1:;
                                    //}
                                    
                                    // Match '}'.
                                    if (slice.IsEmpty || slice[0] != '}')
                                    {
                                        goto LoopBacktrack3;
                                    }
                                    
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 1086637144);
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos1, alternation_starting_capturepos1);
                                    pos++;
                                    slice = inputSpan.Slice(pos);
                                    goto AlternationMatch1;
                                    
                                    AlternationBranch1:
                                    pos = alternation_starting_pos1;
                                    slice = inputSpan.Slice(pos);
                                    UncaptureUntil(alternation_starting_capturepos1);
                                //}
                                
                                // Branch 1
                                //{
                                    // Zero-width negative lookahead.
                                    {
                                        int negativelookahead__starting_pos1 = pos;
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        // Match a character in the set [{\s].
                                        if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("㸀\0\u0001\0\0\0\0ࠀ"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\0\u0002\u0001{|d")))
                                        {
                                            goto NegativeLookaroundMatch1;
                                        }
                                        
                                        goto CharLoopBacktrack2;
                                        
                                        NegativeLookaroundMatch1:
                                        pos = negativelookahead__starting_pos1;
                                        slice = inputSpan.Slice(pos);
                                    }
                                    
                                    // Loop greedily any number of times.
                                    //{
                                        loop_iteration3 = 0;
                                        
                                        LoopBody3:
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 289552957);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, base.Crawlpos(), pos);
                                        
                                        loop_iteration3++;
                                        
                                        // Match with 2 alternative expressions.
                                        //{
                                            int alternation_starting_pos3 = pos;
                                            int alternation_starting_capturepos3 = base.Crawlpos();
                                            
                                            // Branch 0
                                            //{
                                                // Match a character in the set [^;\s\p{Cc}].
                                                if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("\0\0\ufffe\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\u0001\u0002\u0002;<d\u000f")))
                                                {
                                                    goto AlternationBranch3;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1590924034);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos3, alternation_starting_capturepos3);
                                                pos++;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch3;
                                                
                                                AlternationBranch3:
                                                pos = alternation_starting_pos3;
                                                slice = inputSpan.Slice(pos);
                                                UncaptureUntil(alternation_starting_capturepos3);
                                            //}
                                            
                                            // Branch 1
                                            //{
                                                // Match a whitespace character greedily at least once.
                                                //{
                                                    charloop_starting_pos3 = pos;
                                                    
                                                    int iteration4 = 0;
                                                    while ((uint)iteration4 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration4]))
                                                    {
                                                        iteration4++;
                                                    }
                                                    
                                                    if (iteration4 == 0)
                                                    {
                                                        goto LoopIterationNoMatch3;
                                                    }
                                                    
                                                    slice = slice.Slice(iteration4);
                                                    pos += iteration4;
                                                    
                                                    charloop_ending_pos3 = pos;
                                                    charloop_starting_pos3++;
                                                    goto CharLoopEnd3;
                                                    
                                                    CharLoopBacktrack3:
                                                    UncaptureUntil(base.runstack![--stackpos]);
                                                    Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos3, out charloop_starting_pos3);
                                                    Utilities.ValidateStackCookie(418954879, base.runstack![--stackpos]);
                                                    
                                                    if (Utilities.s_hasTimeout)
                                                    {
                                                        base.CheckTimeout();
                                                    }
                                                    
                                                    if (charloop_starting_pos3 >= charloop_ending_pos3)
                                                    {
                                                        goto LoopIterationNoMatch3;
                                                    }
                                                    pos = --charloop_ending_pos3;
                                                    slice = inputSpan.Slice(pos);
                                                    
                                                    CharLoopEnd3:
                                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 418954879);
                                                    Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos3, charloop_ending_pos3, base.Crawlpos());
                                                //}
                                                
                                                // Match a character in the set [^;\s\p{Cc}].
                                                if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("\0\0\ufffe\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\u0001\u0002\u0002;<d\u000f")))
                                                {
                                                    goto CharLoopBacktrack3;
                                                }
                                                
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1590924035);
                                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos3, alternation_starting_capturepos3);
                                                pos++;
                                                slice = inputSpan.Slice(pos);
                                                goto AlternationMatch3;
                                            //}
                                            
                                            AlternationBacktrack3:
                                            if (Utilities.s_hasTimeout)
                                            {
                                                base.CheckTimeout();
                                            }
                                            
                                            Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos3, out alternation_starting_pos3);
                                            switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 1590924034, base.runstack![--stackpos]))
                                            {
                                                case 0:
                                                    goto AlternationBranch3;
                                                case 1:
                                                    goto CharLoopBacktrack3;
                                            }
                                            
                                            AlternationMatch3:;
                                        //}
                                        
                                        
                                        // The loop has no upper bound. Continue iterating greedily.
                                        goto LoopBody3;
                                        
                                        // The loop iteration failed. Put state back to the way it was before the iteration.
                                        LoopIterationNoMatch3:
                                        if (--loop_iteration3 < 0)
                                        {
                                            // Unable to match the remainder of the expression after exhausting the loop.
                                            goto CharLoopBacktrack2;
                                        }
                                        pos = base.runstack![--stackpos];
                                        UncaptureUntil(base.runstack![--stackpos]);
                                        Utilities.ValidateStackCookie(289552957, base.runstack![--stackpos]);
                                        slice = inputSpan.Slice(pos);
                                        goto LoopEnd3;
                                        
                                        LoopBacktrack4:
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        if (loop_iteration3 == 0)
                                        {
                                            // No iterations of the loop remain to backtrack into. Fail the loop.
                                            goto CharLoopBacktrack2;
                                        }
                                        goto AlternationBacktrack3;
                                        LoopEnd3:
                                        
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, 1904902963);
                                        Utilities.StackPush(ref base.runstack!, ref stackpos, loop_iteration3);
                                        goto LoopSkipBacktrack2;
                                        
                                        LoopBacktrack5:
                                        loop_iteration3 = base.runstack![--stackpos];
                                        Utilities.ValidateStackCookie(1904902963, base.runstack![--stackpos]);
                                        if (Utilities.s_hasTimeout)
                                        {
                                            base.CheckTimeout();
                                        }
                                        
                                        goto LoopBacktrack4;
                                        
                                        LoopSkipBacktrack2:;
                                    //}
                                    
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 1086637145);
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos1, alternation_starting_capturepos1);
                                    goto AlternationMatch1;
                                //}
                                
                                AlternationBacktrack1:
                                if (Utilities.s_hasTimeout)
                                {
                                    base.CheckTimeout();
                                }
                                
                                Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos1, out alternation_starting_pos1);
                                switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 1086637144, base.runstack![--stackpos]))
                                {
                                    case 0:
                                        goto LoopBacktrack3;
                                    case 1:
                                        goto LoopBacktrack5;
                                }
                                
                                AlternationMatch1:;
                            //}
                            
                            base.Capture(2, capture_starting_pos1, pos);
                            
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 1849199487);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, capture_starting_pos1);
                            goto CaptureSkipBacktrack1;
                            
                            CaptureBacktrack1:
                            capture_starting_pos1 = base.runstack![--stackpos];
                            Utilities.ValidateStackCookie(1849199487, base.runstack![--stackpos]);
                            goto AlternationBacktrack1;
                            
                            CaptureSkipBacktrack1:;
                        //}
                        
                        // Match a whitespace character greedily any number of times.
                        //{
                            charloop_starting_pos4 = pos;
                            
                            int iteration5 = 0;
                            while ((uint)iteration5 < (uint)slice.Length && char.IsWhiteSpace(slice[iteration5]))
                            {
                                iteration5++;
                            }
                            
                            slice = slice.Slice(iteration5);
                            pos += iteration5;
                            
                            charloop_ending_pos4 = pos;
                            goto CharLoopEnd4;
                            
                            CharLoopBacktrack4:
                            UncaptureUntil(base.runstack![--stackpos]);
                            Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos4, out charloop_starting_pos4);
                            Utilities.ValidateStackCookie(770656857, base.runstack![--stackpos]);
                            
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            if (charloop_starting_pos4 >= charloop_ending_pos4)
                            {
                                goto CaptureBacktrack1;
                            }
                            pos = --charloop_ending_pos4;
                            slice = inputSpan.Slice(pos);
                            
                            CharLoopEnd4:
                            Utilities.StackPush(ref base.runstack!, ref stackpos, 770656857);
                            Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos4, charloop_ending_pos4, base.Crawlpos());
                        //}
                        
                        // Match with 2 alternative expressions.
                        //{
                            int alternation_starting_pos4 = pos;
                            int alternation_starting_capturepos4 = base.Crawlpos();
                            
                            // Branch 0
                            //{
                                // Match ';'.
                                if (slice.IsEmpty || slice[0] != ';')
                                {
                                    goto AlternationBranch4;
                                }
                                
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 222698909);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos4, alternation_starting_capturepos4);
                                pos++;
                                slice = inputSpan.Slice(pos);
                                goto AlternationMatch4;
                                
                                AlternationBranch4:
                                pos = alternation_starting_pos4;
                                slice = inputSpan.Slice(pos);
                                UncaptureUntil(alternation_starting_capturepos4);
                            //}
                            
                            // Branch 1
                            //{
                                // Match a character in the set [\0\s] greedily any number of times.
                                //{
                                    charloop_starting_pos5 = pos;
                                    
                                    int iteration6 = 0;
                                    while ((uint)iteration6 < (uint)slice.Length && ((ch = slice[iteration6]) < 128 ? ("㸁\0\u0001\0\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0002\u0001\0\u0001d")))
                                    {
                                        iteration6++;
                                    }
                                    
                                    slice = slice.Slice(iteration6);
                                    pos += iteration6;
                                    
                                    charloop_ending_pos5 = pos;
                                    goto CharLoopEnd5;
                                    
                                    CharLoopBacktrack5:
                                    UncaptureUntil(base.runstack![--stackpos]);
                                    Utilities.StackPop(base.runstack!, ref stackpos, out charloop_ending_pos5, out charloop_starting_pos5);
                                    Utilities.ValidateStackCookie(1137270944, base.runstack![--stackpos]);
                                    
                                    if (Utilities.s_hasTimeout)
                                    {
                                        base.CheckTimeout();
                                    }
                                    
                                    if (charloop_starting_pos5 >= charloop_ending_pos5)
                                    {
                                        goto CharLoopBacktrack4;
                                    }
                                    pos = --charloop_ending_pos5;
                                    slice = inputSpan.Slice(pos);
                                    
                                    CharLoopEnd5:
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, 1137270944);
                                    Utilities.StackPush(ref base.runstack!, ref stackpos, charloop_starting_pos5, charloop_ending_pos5, base.Crawlpos());
                                //}
                                
                                // Match if at the end of the string or if before an ending newline.
                                if (pos < inputSpan.Length - 1 || ((uint)pos < (uint)inputSpan.Length && inputSpan[pos] != '\n'))
                                {
                                    goto CharLoopBacktrack5;
                                }
                                
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 222698910);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos4, alternation_starting_capturepos4);
                                goto AlternationMatch4;
                            //}
                            
                            AlternationBacktrack4:
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            Utilities.StackPop(base.runstack!, ref stackpos, out alternation_starting_capturepos4, out alternation_starting_pos4);
                            switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 222698909, base.runstack![--stackpos]))
                            {
                                case 0:
                                    goto AlternationBranch4;
                                case 1:
                                    goto CharLoopBacktrack5;
                            }
                            
                            AlternationMatch4:;
                        //}
                        
                        
                        // The loop has no upper bound. Continue iterating greedily.
                        goto LoopBody;
                        
                        // The loop iteration failed. Put state back to the way it was before the iteration.
                        LoopIterationNoMatch:
                        if (--loop_iteration < 0)
                        {
                            // Unable to match the remainder of the expression after exhausting the loop.
                            UncaptureUntil(0);
                            return false; // The input didn't match.
                        }
                        pos = base.runstack![--stackpos];
                        UncaptureUntil(base.runstack![--stackpos]);
                        Utilities.ValidateStackCookie(143337952, base.runstack![--stackpos]);
                        slice = inputSpan.Slice(pos);
                        goto LoopEnd;
                        
                        LoopBacktrack6:
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                        
                        if (loop_iteration == 0)
                        {
                            // No iterations of the loop remain to backtrack into. Fail the loop.
                            UncaptureUntil(0);
                            return false; // The input didn't match.
                        }
                        goto AlternationBacktrack4;
                        LoopEnd:;
                    //}
                    
                    // Match a character in the set [;\s] greedily any number of times.
                    //{
                        charloop_starting_pos6 = pos;
                        
                        int iteration7 = 0;
                        while ((uint)iteration7 < (uint)slice.Length && ((ch = slice[iteration7]) < 128 ? ("㸀\0\u0001ࠀ\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0002\u0001;<d")))
                        {
                            iteration7++;
                        }
                        
                        slice = slice.Slice(iteration7);
                        pos += iteration7;
                        
                        charloop_ending_pos6 = pos;
                        goto CharLoopEnd6;
                        
                        CharLoopBacktrack6:
                        UncaptureUntil(charloop_capture_pos);
                        
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                        
                        if (charloop_starting_pos6 >= charloop_ending_pos6)
                        {
                            goto LoopBacktrack6;
                        }
                        pos = --charloop_ending_pos6;
                        slice = inputSpan.Slice(pos);
                        
                        CharLoopEnd6:
                        charloop_capture_pos = base.Crawlpos();
                    //}
                    
                    // Match a character in the set [\0\s] atomically any number of times.
                    {
                        int iteration8 = 0;
                        while ((uint)iteration8 < (uint)slice.Length && ((ch = slice[iteration8]) < 128 ? ("㸁\0\u0001\0\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\0\u0002\u0001\0\u0001d")))
                        {
                            iteration8++;
                        }
                        
                        slice = slice.Slice(iteration8);
                        pos += iteration8;
                    }
                    
                    // The input matched.
                    base.runtextpos = pos;
                    base.Capture(0, matchStart, pos);
                    return true;
                    
                    // <summary>Undo captures until it reaches the specified capture position.</summary>
                    [MethodImpl(MethodImplOptions.AggressiveInlining)]
                    void UncaptureUntil(int capturePosition)
                    {
                        while (base.Crawlpos() > capturePosition)
                        {
                            base.Uncapture();
                        }
                    }
                }
            }
        }
 
    }
    
    /// <summary>Custom <see cref="Regex"/>-derived type for the CreateConnectionStringValidKeyRegex method.</summary>
    [GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
    [SkipLocalsInit]
    file sealed class CreateConnectionStringValidKeyRegex_2 : Regex
    {
        /// <summary>Cached, thread-safe singleton instance.</summary>
        internal static readonly CreateConnectionStringValidKeyRegex_2 Instance = new();
    
        /// <summary>Initializes the instance.</summary>
        private CreateConnectionStringValidKeyRegex_2()
        {
            base.pattern = "^(?![;\\s])[^\\p{Cc}]+(?<!\\s)$";
            base.roptions = RegexOptions.None;
            ValidateMatchTimeout(Utilities.s_defaultTimeout);
            base.internalMatchTimeout = Utilities.s_defaultTimeout;
            base.factory = new RunnerFactory();
            base.capsize = 1;
        }
            
        /// <summary>Provides a factory for creating <see cref="RegexRunner"/> instances to be used by methods on <see cref="Regex"/>.</summary>
        private sealed class RunnerFactory : RegexRunnerFactory
        {
            /// <summary>Creates an instance of a <see cref="RegexRunner"/> used by methods on <see cref="Regex"/>.</summary>
            protected override RegexRunner CreateInstance() => new Runner();
        
            /// <summary>Provides the runner that contains the custom logic implementing the specified regular expression.</summary>
            private sealed class Runner : RegexRunner
            {
                /// <summary>Scan the <paramref name="inputSpan"/> starting from base.runtextstart for the next match.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                protected override void Scan(ReadOnlySpan<char> inputSpan)
                {
                    // The pattern is anchored.  Validate the current position and try to match at it only.
                    if (TryFindNextPossibleStartingPosition(inputSpan) && !TryMatchAtCurrentPosition(inputSpan))
                    {
                        base.runtextpos = inputSpan.Length;
                    }
                }
        
                /// <summary>Search <paramref name="inputSpan"/> starting from base.runtextpos for the next location a match could possibly start.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                /// <returns>true if a possible match was found; false if no more matches are possible.</returns>
                private bool TryFindNextPossibleStartingPosition(ReadOnlySpan<char> inputSpan)
                {
                    int pos = base.runtextpos;
                    
                    // Empty matches aren't possible.
                    if ((uint)pos < (uint)inputSpan.Length)
                    {
                        // The pattern leads with a beginning (\A) anchor.
                        if (pos == 0)
                        {
                            return true;
                        }
                    }
                    
                    // No match found.
                    base.runtextpos = inputSpan.Length;
                    return false;
                }
        
                /// <summary>Determine whether <paramref name="inputSpan"/> at base.runtextpos is a match for the regular expression.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                /// <returns>true if the regular expression matches at the current position; otherwise, false.</returns>
                private bool TryMatchAtCurrentPosition(ReadOnlySpan<char> inputSpan)
                {
                    int pos = base.runtextpos;
                    int matchStart = pos;
                    char ch;
                    int charloop_starting_pos = 0, charloop_ending_pos = 0;
                    ReadOnlySpan<char> slice = inputSpan.Slice(pos);
                    
                    // Match if at the beginning of the string.
                    if (pos != 0)
                    {
                        return false; // The input didn't match.
                    }
                    
                    // Zero-width negative lookahead.
                    {
                        slice = inputSpan.Slice(pos);
                        int negativelookahead__starting_pos = pos;
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                        
                        // Match a character in the set [;\s].
                        if (slice.IsEmpty || ((ch = slice[0]) < 128 ? ("㸀\0\u0001ࠀ\0\0\0\0"[ch >> 4] & (1 << (ch & 0xF))) == 0 : !RegexRunner.CharInClass((char)ch, "\0\u0002\u0001;<d")))
                        {
                            goto NegativeLookaroundMatch;
                        }
                        
                        return false; // The input didn't match.
                        
                        NegativeLookaroundMatch:
                        pos = negativelookahead__starting_pos;
                        slice = inputSpan.Slice(pos);
                    }
                    
                    // Match any character other than a Unicode control character greedily at least once.
                    //{
                        charloop_starting_pos = pos;
                        
                        int iteration = 0;
                        while ((uint)iteration < (uint)slice.Length && (char.GetUnicodeCategory(slice[iteration]) != UnicodeCategory.Control))
                        {
                            iteration++;
                        }
                        
                        if (iteration == 0)
                        {
                            return false; // The input didn't match.
                        }
                        
                        slice = slice.Slice(iteration);
                        pos += iteration;
                        
                        charloop_ending_pos = pos;
                        charloop_starting_pos++;
                        goto CharLoopEnd;
                        
                        CharLoopBacktrack:
                        
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                        
                        if (charloop_starting_pos >= charloop_ending_pos)
                        {
                            return false; // The input didn't match.
                        }
                        pos = --charloop_ending_pos;
                        slice = inputSpan.Slice(pos);
                        
                        CharLoopEnd:
                    //}
                    
                    // Zero-width negative lookbehind.
                    {
                        slice = inputSpan.Slice(pos);
                        int negativelookbehind__starting_pos = pos;
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                        
                        // Match a whitespace character right-to-left.
                        if ((uint)(pos - 1) >= inputSpan.Length || !char.IsWhiteSpace(inputSpan[pos - 1]))
                        {
                            goto NegativeLookaroundMatch1;
                        }
                        pos--;
                        
                        goto CharLoopBacktrack;
                        
                        NegativeLookaroundMatch1:
                        pos = negativelookbehind__starting_pos;
                        slice = inputSpan.Slice(pos);
                    }
                    
                    // Match if at the end of the string or if before an ending newline.
                    if (pos < inputSpan.Length - 1 || ((uint)pos < (uint)inputSpan.Length && inputSpan[pos] != '\n'))
                    {
                        goto CharLoopBacktrack;
                    }
                    
                    // The input matched.
                    base.runtextpos = pos;
                    base.Capture(0, matchStart, pos);
                    return true;
                }
            }
        }
 
    }
    
    /// <summary>Custom <see cref="Regex"/>-derived type for the CreateConnectionStringQuoteValueRegex method.</summary>
    [GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
    [SkipLocalsInit]
    file sealed class CreateConnectionStringQuoteValueRegex_3 : Regex
    {
        /// <summary>Cached, thread-safe singleton instance.</summary>
        internal static readonly CreateConnectionStringQuoteValueRegex_3 Instance = new();
    
        /// <summary>Initializes the instance.</summary>
        private CreateConnectionStringQuoteValueRegex_3()
        {
            base.pattern = "^[^\"'=;\\s\\p{Cc}]*$";
            base.roptions = RegexOptions.None;
            ValidateMatchTimeout(Utilities.s_defaultTimeout);
            base.internalMatchTimeout = Utilities.s_defaultTimeout;
            base.factory = new RunnerFactory();
            base.capsize = 1;
        }
            
        /// <summary>Provides a factory for creating <see cref="RegexRunner"/> instances to be used by methods on <see cref="Regex"/>.</summary>
        private sealed class RunnerFactory : RegexRunnerFactory
        {
            /// <summary>Creates an instance of a <see cref="RegexRunner"/> used by methods on <see cref="Regex"/>.</summary>
            protected override RegexRunner CreateInstance() => new Runner();
        
            /// <summary>Provides the runner that contains the custom logic implementing the specified regular expression.</summary>
            private sealed class Runner : RegexRunner
            {
                /// <summary>Scan the <paramref name="inputSpan"/> starting from base.runtextstart for the next match.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                protected override void Scan(ReadOnlySpan<char> inputSpan)
                {
                    // The pattern is anchored.  Validate the current position and try to match at it only.
                    if (TryFindNextPossibleStartingPosition(inputSpan) && !TryMatchAtCurrentPosition(inputSpan))
                    {
                        base.runtextpos = inputSpan.Length;
                    }
                }
        
                /// <summary>Search <paramref name="inputSpan"/> starting from base.runtextpos for the next location a match could possibly start.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                /// <returns>true if a possible match was found; false if no more matches are possible.</returns>
                private bool TryFindNextPossibleStartingPosition(ReadOnlySpan<char> inputSpan)
                {
                    int pos = base.runtextpos;
                    
                    // The pattern leads with a beginning (\A) anchor.
                    if (pos == 0)
                    {
                        return true;
                    }
                    
                    // No match found.
                    base.runtextpos = inputSpan.Length;
                    return false;
                }
        
                /// <summary>Determine whether <paramref name="inputSpan"/> at base.runtextpos is a match for the regular expression.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                /// <returns>true if the regular expression matches at the current position; otherwise, false.</returns>
                private bool TryMatchAtCurrentPosition(ReadOnlySpan<char> inputSpan)
                {
                    int pos = base.runtextpos;
                    int matchStart = pos;
                    char ch;
                    ReadOnlySpan<char> slice = inputSpan.Slice(pos);
                    
                    // Match if at the beginning of the string.
                    if (pos != 0)
                    {
                        return false; // The input didn't match.
                    }
                    
                    // Match a character in the set [^"';=\s\p{Cc}] atomically any number of times.
                    {
                        int iteration = 0;
                        while ((uint)iteration < (uint)slice.Length && ((ch = slice[iteration]) < 128 ? ("\0\0コ\ud7ff\uffff\uffff\uffff翿"[ch >> 4] & (1 << (ch & 0xF))) != 0 : RegexRunner.CharInClass((char)ch, "\u0001\b\u0002\"#'(;<=>d\u000f")))
                        {
                            iteration++;
                        }
                        
                        slice = slice.Slice(iteration);
                        pos += iteration;
                    }
                    
                    // Match if at the end of the string or if before an ending newline.
                    if (pos < inputSpan.Length - 1 || ((uint)pos < (uint)inputSpan.Length && inputSpan[pos] != '\n'))
                    {
                        return false; // The input didn't match.
                    }
                    
                    // The input matched.
                    base.runtextpos = pos;
                    base.Capture(0, matchStart, pos);
                    return true;
                }
            }
        }
 
    }
    
    /// <summary>Custom <see cref="Regex"/>-derived type for the CreateConnectionStringQuoteOdbcValueRegex method.</summary>
    [GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
    [SkipLocalsInit]
    file sealed class CreateConnectionStringQuoteOdbcValueRegex_4 : Regex
    {
        /// <summary>Cached, thread-safe singleton instance.</summary>
        internal static readonly CreateConnectionStringQuoteOdbcValueRegex_4 Instance = new();
    
        /// <summary>Initializes the instance.</summary>
        private CreateConnectionStringQuoteOdbcValueRegex_4()
        {
            base.pattern = "^\\{([^\\}\0]|\\}\\})*\\}$";
            base.roptions = RegexOptions.ExplicitCapture;
            ValidateMatchTimeout(Utilities.s_defaultTimeout);
            base.internalMatchTimeout = Utilities.s_defaultTimeout;
            base.factory = new RunnerFactory();
            base.capsize = 1;
        }
            
        /// <summary>Provides a factory for creating <see cref="RegexRunner"/> instances to be used by methods on <see cref="Regex"/>.</summary>
        private sealed class RunnerFactory : RegexRunnerFactory
        {
            /// <summary>Creates an instance of a <see cref="RegexRunner"/> used by methods on <see cref="Regex"/>.</summary>
            protected override RegexRunner CreateInstance() => new Runner();
        
            /// <summary>Provides the runner that contains the custom logic implementing the specified regular expression.</summary>
            private sealed class Runner : RegexRunner
            {
                /// <summary>Scan the <paramref name="inputSpan"/> starting from base.runtextstart for the next match.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                protected override void Scan(ReadOnlySpan<char> inputSpan)
                {
                    // The pattern is anchored.  Validate the current position and try to match at it only.
                    if (TryFindNextPossibleStartingPosition(inputSpan) && !TryMatchAtCurrentPosition(inputSpan))
                    {
                        base.runtextpos = inputSpan.Length;
                    }
                }
        
                /// <summary>Search <paramref name="inputSpan"/> starting from base.runtextpos for the next location a match could possibly start.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                /// <returns>true if a possible match was found; false if no more matches are possible.</returns>
                private bool TryFindNextPossibleStartingPosition(ReadOnlySpan<char> inputSpan)
                {
                    int pos = base.runtextpos;
                    
                    // Any possible match is at least 2 characters.
                    if (pos <= inputSpan.Length - 2)
                    {
                        // The pattern leads with a beginning (\A) anchor.
                        if (pos == 0)
                        {
                            return true;
                        }
                    }
                    
                    // No match found.
                    base.runtextpos = inputSpan.Length;
                    return false;
                }
        
                /// <summary>Determine whether <paramref name="inputSpan"/> at base.runtextpos is a match for the regular expression.</summary>
                /// <param name="inputSpan">The text being scanned by the regular expression.</param>
                /// <returns>true if the regular expression matches at the current position; otherwise, false.</returns>
                private bool TryMatchAtCurrentPosition(ReadOnlySpan<char> inputSpan)
                {
                    int pos = base.runtextpos;
                    int matchStart = pos;
                    char ch;
                    int loop_iteration = 0;
                    int stackpos = 0;
                    ReadOnlySpan<char> slice = inputSpan.Slice(pos);
                    
                    // Match if at the beginning of the string.
                    if (pos != 0)
                    {
                        return false; // The input didn't match.
                    }
                    
                    // Match '{'.
                    if (slice.IsEmpty || slice[0] != '{')
                    {
                        return false; // The input didn't match.
                    }
                    
                    // Loop greedily any number of times.
                    //{
                        pos++;
                        slice = inputSpan.Slice(pos);
                        loop_iteration = 0;
                        
                        LoopBody:
                        Utilities.StackPush(ref base.runstack!, ref stackpos, 143337952);
                        Utilities.StackPush(ref base.runstack!, ref stackpos, pos);
                        
                        loop_iteration++;
                        
                        // Match with 2 alternative expressions.
                        //{
                            int alternation_starting_pos = pos;
                            
                            // Branch 0
                            //{
                                // Match a character in the set [^\0}].
                                if (slice.IsEmpty || (((ch = slice[0]) == '\0') | (ch == '}')))
                                {
                                    goto AlternationBranch;
                                }
                                
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 150666399);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 0, alternation_starting_pos);
                                pos++;
                                slice = inputSpan.Slice(pos);
                                goto AlternationMatch;
                                
                                AlternationBranch:
                                pos = alternation_starting_pos;
                                slice = inputSpan.Slice(pos);
                            //}
                            
                            // Branch 1
                            //{
                                // Match the string "}}".
                                if (!slice.StartsWith("}}"))
                                {
                                    goto LoopIterationNoMatch;
                                }
                                
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 150666400);
                                Utilities.StackPush(ref base.runstack!, ref stackpos, 1, alternation_starting_pos);
                                pos += 2;
                                slice = inputSpan.Slice(pos);
                                goto AlternationMatch;
                            //}
                            
                            AlternationBacktrack:
                            if (Utilities.s_hasTimeout)
                            {
                                base.CheckTimeout();
                            }
                            
                            alternation_starting_pos = base.runstack![--stackpos];
                            switch (Utilities.ValidateStackCookieWithAdditionAndReturnPoppedStack(base.runstack![--stackpos], 150666399, base.runstack![--stackpos]))
                            {
                                case 0:
                                    goto AlternationBranch;
                                case 1:
                                    goto LoopIterationNoMatch;
                            }
                            
                            AlternationMatch:;
                        //}
                        
                        
                        // The loop has no upper bound. Continue iterating greedily.
                        goto LoopBody;
                        
                        // The loop iteration failed. Put state back to the way it was before the iteration.
                        LoopIterationNoMatch:
                        if (--loop_iteration < 0)
                        {
                            // Unable to match the remainder of the expression after exhausting the loop.
                            return false; // The input didn't match.
                        }
                        pos = base.runstack![--stackpos];
                        Utilities.ValidateStackCookie(143337952, base.runstack![--stackpos]);
                        slice = inputSpan.Slice(pos);
                        goto LoopEnd;
                        
                        LoopBacktrack:
                        if (Utilities.s_hasTimeout)
                        {
                            base.CheckTimeout();
                        }
                        
                        if (loop_iteration == 0)
                        {
                            // No iterations of the loop remain to backtrack into. Fail the loop.
                            return false; // The input didn't match.
                        }
                        goto AlternationBacktrack;
                        LoopEnd:;
                    //}
                    
                    // Match '}'.
                    if (slice.IsEmpty || slice[0] != '}')
                    {
                        goto LoopBacktrack;
                    }
                    
                    // Match if at the end of the string or if before an ending newline.
                    if (2 < slice.Length || (1 < slice.Length && slice[1] != '\n'))
                    {
                        goto LoopBacktrack;
                    }
                    
                    // The input matched.
                    pos++;
                    base.runtextpos = pos;
                    base.Capture(0, matchStart, pos);
                    return true;
                }
            }
        }
 
    }
    
    /// <summary>Helper methods used by generated <see cref="Regex"/>-derived implementations.</summary>
    [GeneratedCodeAttribute("System.Text.RegularExpressions.Generator", "42.42.42.42")]
    file static class Utilities
    {
        /// <summary>Default timeout value set in <see cref="AppContext"/>, or <see cref="Regex.InfiniteMatchTimeout"/> if none was set.</summary>
        internal static readonly TimeSpan s_defaultTimeout = AppContext.GetData("REGEX_DEFAULT_MATCH_TIMEOUT") is TimeSpan timeout ? timeout : Regex.InfiniteMatchTimeout;
        
        /// <summary>Whether <see cref="s_defaultTimeout"/> is non-infinite.</summary>
        internal static readonly bool s_hasTimeout = s_defaultTimeout != Regex.InfiniteMatchTimeout;
        
        /// <summary>Pops 2 values from the backtracking stack.</summary>
        [MethodImpl(MethodImplOptions.AggressiveInlining)]
        internal static void StackPop(int[] stack, ref int pos, out int arg0, out int arg1)
        {
            arg0 = stack[--pos];
            arg1 = stack[--pos];
        }
        
        /// <summary>Pushes 1 value onto the backtracking stack.</summary>
        [MethodImpl(MethodImplOptions.AggressiveInlining)]
        internal static void StackPush(ref int[] stack, ref int pos, int arg0)
        {
            // If there's space available for the value, store it.
            int[] s = stack;
            int p = pos;
            if ((uint)p < (uint)s.Length)
            {
                s[p] = arg0;
                pos++;
                return;
            }
        
            // Otherwise, resize the stack to make room and try again.
            WithResize(ref stack, ref pos, arg0);
        
            // <summary>Resize the backtracking stack array and push 1 value onto the stack.</summary>
            [MethodImpl(MethodImplOptions.NoInlining)]
            static void WithResize(ref int[] stack, ref int pos, int arg0)
            {
                Array.Resize(ref stack, (pos + 0) * 2);
                StackPush(ref stack, ref pos, arg0);
            }
        }
        
        /// <summary>Pushes 2 values onto the backtracking stack.</summary>
        [MethodImpl(MethodImplOptions.AggressiveInlining)]
        internal static void StackPush(ref int[] stack, ref int pos, int arg0, int arg1)
        {
            // If there's space available for all 2 values, store them.
            int[] s = stack;
            int p = pos;
            if ((uint)(p + 1) < (uint)s.Length)
            {
                s[p] = arg0;
                s[p + 1] = arg1;
                pos += 2;
                return;
            }
        
            // Otherwise, resize the stack to make room and try again.
            WithResize(ref stack, ref pos, arg0, arg1);
        
            // <summary>Resize the backtracking stack array and push 2 values onto the stack.</summary>
            [MethodImpl(MethodImplOptions.NoInlining)]
            static void WithResize(ref int[] stack, ref int pos, int arg0, int arg1)
            {
                Array.Resize(ref stack, (pos + 1) * 2);
                StackPush(ref stack, ref pos, arg0, arg1);
            }
        }
        
        /// <summary>Pushes 3 values onto the backtracking stack.</summary>
        [MethodImpl(MethodImplOptions.AggressiveInlining)]
        internal static void StackPush(ref int[] stack, ref int pos, int arg0, int arg1, int arg2)
        {
            // If there's space available for all 3 values, store them.
            int[] s = stack;
            int p = pos;
            if ((uint)(p + 2) < (uint)s.Length)
            {
                s[p] = arg0;
                s[p + 1] = arg1;
                s[p + 2] = arg2;
                pos += 3;
                return;
            }
        
            // Otherwise, resize the stack to make room and try again.
            WithResize(ref stack, ref pos, arg0, arg1, arg2);
        
            // <summary>Resize the backtracking stack array and push 3 values onto the stack.</summary>
            [MethodImpl(MethodImplOptions.NoInlining)]
            static void WithResize(ref int[] stack, ref int pos, int arg0, int arg1, int arg2)
            {
                Array.Resize(ref stack, (pos + 2) * 2);
                StackPush(ref stack, ref pos, arg0, arg1, arg2);
            }
        }
        
        /// <summary>Validates that a stack cookie popped off the backtracking stack holds the expected value. Debug only.</summary>
        internal static int ValidateStackCookie(int expected, int actual)
        {
            if (expected != actual)
            {
                throw new Exception($"Backtracking stack imbalance detected. Expected {expected}. Actual {actual}.");
            }
            return actual;
        }
        
        /// <summary>Validates that a stack cookie popped off the backtracking stack holds the expected value. Debug only.</summary>
        internal static int ValidateStackCookieWithAdditionAndReturnPoppedStack(int poppedStack, int expectedCookie, int actualCookie)
        {
            expectedCookie += poppedStack;
            if (expectedCookie != actualCookie)
            {
                  throw new Exception($"Backtracking stack imbalance detected. Expected {expectedCookie}. Actual {actualCookie}.");
            }
            return poppedStack;
        }
    }
}