28 references to Syntax
System.Private.Uri (28)
System\Uri.cs (13)
507if (baseUri.Syntax!.IsSimple) 524relativeUri = baseUri.Syntax.InternalResolve(baseUri, this, out UriFormatException? e); 553if (baseUri.Syntax!.IsSimple) 570newUriString = baseUri.Syntax.InternalResolve(baseUri, this, out UriFormatException? e); 615if (baseUri.Syntax == syntax) 1758if (!UserDrivenParsing && !other.UserDrivenParsing && Syntax!.IsSimple && other.Syntax.IsSimple) 4719if (StaticIsFile(basePart.Syntax)) 4757bool convBackSlashes = basePart.Syntax.InFact(UriSyntaxFlags.ConvertPathSlashes); 4811c1 = basePart.Syntax.InFact(UriSyntaxFlags.MayHaveQuery) ? '?' : c_DummyChar; 4814char c2 = (!basePart.IsImplicitFile && basePart.Syntax.InFact(UriSyntaxFlags.MayHaveFragment)) ? '#' : 4865Compress(path, 3, ref length, basePart.Syntax); 4883Compress(path, basePart.SecuredPathIndex, ref length, basePart.Syntax);
System\UriExt.cs (15)
331if (baseUri.Syntax.IsSimple) 339newUriString = baseUri.Syntax.InternalResolve(baseUri, relativeUri, out e); 377if (Syntax.IsSimple) 380return Syntax.InternalGetComponents(this, components, format); 415if (IsNotAbsoluteUri || Syntax.IsSimple) 418return Syntax.InternalIsWellFormedOriginalString(this); 844if (relativeStr[0] == '#' && !baseUri.IsImplicitFile && baseUri.Syntax!.InFact(UriSyntaxFlags.MayHaveFragment)) 852if (relativeStr[0] == '?' && !baseUri.IsImplicitFile && baseUri.Syntax!.InFact(UriSyntaxFlags.MayHaveQuery)) 871else if (baseUri.Syntax!.InFact(UriSyntaxFlags.AllowDOSPath)) 876prefix = baseUri.Syntax.InFact(UriSyntaxFlags.PathIsRooted) ? ":///" : "://"; 878prefix = baseUri.Syntax.InFact(UriSyntaxFlags.PathIsRooted) ? ":/" : ":"; 992if (Syntax.IsSimple) 995return Syntax.InternalIsBaseOf(this, uri); 1028if (Syntax.SchemeName != uriLink.Syntax.SchemeName)