Definition at line 3125 of file Uri.cs.
3126 {
3127 if (
InFact(Flags.FirstSlashAbsent))
3128 {
3130 }
3132 {
3133 return;
3134 }
3138 {
3139 if (
InFact(Flags.ShouldBeCompressed))
3140 {
3143 {
3145 {
3146 int end =
dest.Length;
3149 }
3150 }
3151 }
3152 else if (
InFact(Flags.E_PathNotCanonical) &&
NotAny(Flags.UserEscaped))
3153 {
3156 {
3160 }
3162 }
3163 else
3164 {
3166 }
3167 }
3168 else
3169 {
3172 {
3174 {
3178 }
3179 }
3180 }
3183 {
3184 dest[num - 1] =
':';
3185 }
3186 if (
InFact(Flags.ShouldBeCompressed) &&
dest.Length - num > 0)
3187 {
3190 {
3192 }
3194 {
3203 }
3204 }
3206 {
3207 return;
3208 }
3211 {
3215 {
3217 }
3218 break;
3221 break;
3222 default:
3225 {
3227 }
3228 break;
3229 }
3231 {
3237 {
3239 }
3241 }
3242 }
bool InFact(UriSyntaxFlags flags)
static unsafe void UnescapeOnly(char *pch, int start, ref int end, char ch1, char ch2, char ch3)
static void Compress(char[] dest, int start, ref int destLength, UriParser syntax)
References System.Uri._info, System.Uri._string, System.Uri._syntax, System.array, System.Uri.Compress(), System.Runtime.Serialization.Dictionary, System.UriHelper.EscapeString(), System.Uri.InFact(), System.UriParser.InFact(), System.Uri.IsImplicitFile, System.length, System.Uri.NotAny(), System.Uri.UriInfo.Offset, System.Uri.Offset.Path, System.Uri.Offset.Query, System.Uri.SecuredPathIndex, System.Uri.UnescapeOnly(), and System.UriHelper.UnescapeString().
Referenced by System.Uri.ReCreateParts().