Definition at line 2480 of file Uri.cs.
 2481    {
 2483        for (i = 0; 
i < 
length && UriHelper.IsLWS(uriString[i]); 
i++)
 
 2484        {
 2485        }
 2487        for (
j = i; 
j < 
length && uriString[
j] != 
':'; 
j++)
 
 2488        {
 2489        }
 2491        {
 2492        }
 2493        if (i + 2 >= 
length || 
j == i)
 
 2494        {
 2496            return 0;
 2497        }
 2498        char c;
 2499        if ((c = uriString[i + 1]) == ':' || c == '|')
 2500        {
 2501            if (UriHelper.IsAsciiLetter(uriString[i]))
 2502            {
 2503                if ((c = uriString[i + 2]) == '\\' || c == '/')
 2504                {
 2506                    syntax = UriParser.FileUri;
 
 2508                }
 2510                return 0;
 2511            }
 2512            if (c == ':')
 2513            {
 2515            }
 2516            else
 2517            {
 2519            }
 2520            return 0;
 2521        }
 2522        if ((c = uriString[i]) == '/' || c == '\\')
 2523        {
 2524            if ((c = uriString[i + 1]) == '\\' || c == '/')
 2525            {
 2527                syntax = UriParser.FileUri;
 
 2529                {
 2530                    if ((c = uriString[i]) != '/' && c != '\\')
 2531                    {
 2532                        break;
 2533                    }
 2534                }
 2536            }
 2538            return 0;
 2539        }
 2541        {
 2543            return 0;
 2544        }
 2547        {
 2548            return 0;
 2549        }
 2551    }
static unsafe ParsingError CheckSchemeSyntax(ReadOnlySpan< char > span, ref UriParser syntax)
References System.Uri.CheckSchemeSyntax(), System.Runtime.Serialization.Dictionary, System.UriParser.FileUri, System.UriHelper.IsAsciiLetter(), System.UriHelper.IsLWS(), System.length, and System.IntPtr.Size.
Referenced by System.Uri.ParseScheme().