74 references to UnescapeMode
System.Private.Uri (74)
System\Uri.cs (49)
1059c_DummyChar, UnescapeMode.CopyOnly, _syntax, false);
1074UnescapeMode mode = (InFact(Flags.PathNotCanonical) && !IsImplicitFile)
1075? (UnescapeMode.Unescape | UnescapeMode.UnescapeAll) : UnescapeMode.CopyOnly;
1251UnescapeMode.Unescape | UnescapeMode.UnescapeAll,
2862InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape,
2870UnescapeMode.Unescape | UnescapeMode.UnescapeAll,
2898UnescapeMode mode;
2904? (UnescapeMode.Unescape | UnescapeMode.UnescapeAll) :
2905(InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape);
2909mode = UnescapeMode.CopyOnly;
2984UnescapeMode mode = UnescapeMode.CopyOnly;
3003V1ToStringUnescape => (InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape) | UnescapeMode.V1ToStringFlag,
3004UriFormat.Unescaped => UnescapeMode.Unescape | UnescapeMode.UnescapeAll,
3005_ => InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape
3023UnescapeMode mode = UnescapeMode.CopyOnly;
3042V1ToStringUnescape => (InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape) | UnescapeMode.V1ToStringFlag,
3043UriFormat.Unescaped => UnescapeMode.Unescape | UnescapeMode.UnescapeAll,
3044_ => InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape
4472UnescapeMode mode;
4477mode = (InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape)
4478| UnescapeMode.V1ToStringFlag;
4480mode &= ~UnescapeMode.Unescape;
4484mode = IsImplicitFile ? UnescapeMode.CopyOnly
4485: UnescapeMode.Unescape | UnescapeMode.UnescapeAll;
4490mode = InFact(Flags.UserEscaped) ? UnescapeMode.Unescape : UnescapeMode.EscapeUnescape;
4492mode &= ~UnescapeMode.Unescape;
4496if (mode != UnescapeMode.CopyOnly)
4951c_DummyChar, UnescapeMode.Unescape | UnescapeMode.UnescapeAll, null, false);
System\UriHelper.cs (20)
322ref int destPosition, char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser? syntax,
333char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser? syntax, bool isQuery)
365char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser? syntax, bool isQuery)
373char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser? syntax, bool isQuery)
381char rsvd1, char rsvd2, char rsvd3, UnescapeMode unescapeMode, UriParser? syntax, bool isQuery)
383if ((unescapeMode & UnescapeMode.EscapeUnescape) == UnescapeMode.CopyOnly)
391&& ((unescapeMode & UnescapeMode.EscapeUnescape) == UnescapeMode.EscapeUnescape);
401if ((unescapeMode & UnescapeMode.Unescape) == 0)
410if (unescapeMode >= UnescapeMode.UnescapeAll)
420if ((unescapeMode & UnescapeMode.Escape) != 0)
438else if ((unescapeMode & UnescapeMode.V1ToStringFlag) == 0 && IsNotSafeForUnescape(ch))
454else if (unescapeMode >= UnescapeMode.UnescapeAll)
466else if ((unescapeMode & (UnescapeMode.Unescape | UnescapeMode.UnescapeAll))
467== (UnescapeMode.Unescape | UnescapeMode.UnescapeAll))
471else if ((unescapeMode & UnescapeMode.Escape) != 0)
480else if ((unescapeMode & UnescapeMode.V1ToStringFlag) == 0