47 writes to m_Flags
System (47)
net\System\URI.cs (34)
324
m_Flags
= Flags.UserDrivenParsing | (m_Flags & Flags.UserEscaped);
493
m_Flags
= Flags.Zero;
542
m_Flags
= Flags.Zero;
2021
m_Flags
|= Flags.ErrorOrParsingRecursion;
2043
m_Flags
&= ~(Flags.IndexMask | Flags.UserDrivenParsing);
2084
m_Flags
|= Flags.AuthorityFound;
2099
m_Flags
|= Flags.DosPath;
2103
m_Flags
|= Flags.AuthorityFound;
2119
m_Flags
|= Flags.UncPath;
2148
m_Flags
|= Flags.AuthorityFound;
2157
m_Flags
|= Flags.AuthorityFound;
2168
m_Flags
|= ((Flags)idx | Flags.UnknownHostType);
2183
m_Flags
|= ((Flags)idx | Flags.UnknownHostType);
2194
m_Flags
|= (((m_Flags & Flags.AuthorityFound)!= 0)? Flags.BasicHostType :Flags.UnknownHostType);
2195
m_Flags
|= (Flags)idx;
2209
idx = CheckAuthorityHelper(pUriString, idx, (ushort)length, ref err, ref
m_Flags
, m_Syntax, ref newHost);
2222
m_Flags
|= (Flags)idx;
2246
m_Flags
&= ~(Flags.IndexMask);
2247
m_Flags
|= (Flags)m_String.Length;
2255
m_Flags
|= Flags.UseOrigUncdStrOffset;
2455
m_Flags
= (m_Flags & ~Flags.IndexMask) | cF;
2477
m_Flags
|= Flags.ErrorOrParsingRecursion;
2480
m_Flags
&= ~Flags.ErrorOrParsingRecursion;
2553
m_Flags
|= flags;
2650
m_Flags
= (m_Flags & ~Flags.HostTypeMask) | Flags.BasicHostType;
2657
m_Flags
|= (Flags.HostNotCanonical | Flags.E_HostNotCanonical);
2661
m_Flags
= (m_Flags & ~Flags.HostTypeMask) | (flags & Flags.HostTypeMask);
2672
m_Flags
&= ~Flags.NotDefaultPort;
2673
m_Flags
|= (Flags.PortNotCanonical|Flags.E_PortNotCanonical);
2687
m_Flags
&= ~Flags.NotDefaultPort;
2689
m_Flags
|= Flags.NotDefaultPort;
2691
m_Flags
|= (Flags.PortNotCanonical|Flags.E_PortNotCanonical);
3588
m_Flags
|= cF;
3590
m_Flags
|= Flags.RestUnicodeNormalized;
net\System\UriExt.cs (13)
43
m_Flags
|= Flags.UserEscaped;
45
ParsingError err = ParseScheme(m_String, ref
m_Flags
, ref m_Syntax);
71
m_Flags
&= Flags.UserEscaped; // the only flag that makes sense for a relative uri
84
m_Flags
&= Flags.UserEscaped; // the only flag that makes sense for a relative uri
114
m_Flags
|= Flags.HasUnicode;
131
m_Flags
&= Flags.UserEscaped; // the only flag that makes sense for a relative uri
174
m_Flags
|= Flags.UserDrivenParsing;
187
m_Flags
&= Flags.UserEscaped; // the only flag that makes sense for a relative uri
234
m_Flags
&= (Flags.UserEscaped | Flags.HasUnicode); // the only flags that makes sense for a relative uri
683
m_Flags
= flags;
999
m_Flags
= otherUri.m_Flags;
1002
m_Flags
&= ~(Flags.MinimalUriInfoSet | Flags.AllUriInfoSet | Flags.IndexMask);
1019
m_Flags
|= (Flags)portIndex; // Port or path
52 references to m_Flags
System (52)
net\System\URI.cs (46)
163
get {return (
m_Flags
& Flags.ImplicitFile) != 0;}
168
get {return (
m_Flags
& (Flags.UncPath|Flags.DosPath)) != 0;}
176
get {return (
m_Flags
& Flags.DosPath) != 0;}
184
get {return (
m_Flags
& Flags.UncPath) != 0;}
191
get {return
m_Flags
& Flags.HostTypeMask;}
318
return (
m_Flags
& Flags.UserDrivenParsing) != 0;
324
m_Flags = Flags.UserDrivenParsing | (
m_Flags
& Flags.UserEscaped);
340
return (
m_Flags
& flags) == 0;
344
return (
m_Flags
& flags) != 0;
358
Flags cF =
m_Flags
;
359
if ((
m_Flags
& Flags.MinimalUriInfoSet) == 0) {
367
if ((
m_Flags
& Flags.AllUriInfoSet) == 0) {
1252
if (AllowIdn && (((
m_Flags
& Flags.IdnHost) != 0) || ((
m_Flags
& Flags.UnicodeHost) != 0))){
2038
ushort idx = (ushort) (
m_Flags
& Flags.IndexMask);
2048
((
m_Flags
& Flags.HasUnicode)!=0) &&
2049
((
m_Flags
& Flags.HostUnicodeNormalized) == 0)) ? m_originalUnicodeString : m_String))
2129
if ((
m_Flags
& (Flags.UncPath|Flags.DosPath)) != 0) {
2163
if (m_iriParsing && (
m_Flags
& Flags.HasUnicode) != 0 && (
m_Flags
& Flags.HostUnicodeNormalized) == 0)
2178
if (m_iriParsing && (
m_Flags
& Flags.HasUnicode) != 0 && (
m_Flags
& Flags.HostUnicodeNormalized) == 0)
2194
m_Flags |= (((
m_Flags
& Flags.AuthorityFound)!= 0)? Flags.BasicHostType :Flags.UnknownHostType);
2243
if ((!m_iriParsing && AllowIdn && (((
m_Flags
& Flags.IdnHost) != 0) || ((
m_Flags
& Flags.UnicodeHost) != 0))) ||
2244
(m_iriParsing && ((
m_Flags
& Flags.HasUnicode) == 0) && AllowIdn && ((
m_Flags
& Flags.IdnHost) != 0))){
2253
if (m_iriParsing && ((
m_Flags
& Flags.HasUnicode) != 0)){
2452
if ((
m_Flags
& Flags.MinimalUriInfoSet) == 0)
2455
m_Flags = (
m_Flags
& ~Flags.IndexMask) | cF;
2485
Flags flags =
m_Flags
;
2633
Flags flags =
m_Flags
& ~Flags.HostTypeMask;
2650
m_Flags = (
m_Flags
& ~Flags.HostTypeMask) | Flags.BasicHostType;
2661
m_Flags = (
m_Flags
& ~Flags.HostTypeMask) | (flags & Flags.HostTypeMask);
2713
ushort nonCanonical = (ushort)(((ushort)
m_Flags
& ((ushort)Flags.CannotDisplayCanonical<<7)) >> 6);
2743
ushort nonCanonical = (ushort)((ushort)
m_Flags
& (ushort)Flags.CannotDisplayCanonical);
2747
if ((
m_Flags
& (Flags.ShouldBeCompressed|Flags.FirstSlashAbsent|Flags.BackslashInPath)) !=0) {
3249
bool buildIriStringFromPath = m_iriParsing && ((
m_Flags
& Flags.HasUnicode) != 0) && ((
m_Flags
& Flags.RestUnicodeNormalized) == 0);
3283
if (((
m_Flags
& Flags.AuthorityFound) != 0) && (idx + i + 3 >= length || str[idx + i + 1] != '/' ||
3292
if ((
m_Flags
& Flags.HasUserInfo) != 0){
3398
if (((
m_Flags
& Flags.AuthorityFound) != 0) && ((syntaxFlags & UriSyntaxFlags.PathIsRooted) != 0)
3407
if (IsDosPath || (((
m_Flags
& Flags.AuthorityFound) != 0) &&
3443
if (((
m_Flags
& Flags.ImplicitFile) == 0) || ((
m_Flags
& Flags.UserEscaped) != 0) ||
3451
if (((
m_Flags
& Flags.ImplicitFile) != 0) && (result & (Check.ReservedFound | Check.EscapedCanonical)) != 0){
net\System\UriExt.cs (6)
510
Flags nonCanonical = (
m_Flags
& (Flags.E_CannotDisplayCanonical | Flags.IriCanonical));
564
if ((
m_Flags
& Flags.CanonicalDnsHost) == 0 && HostType != Flags.IPv6HostType)
579
if ((
m_Flags
& (Flags.SchemeNotCanonical | Flags.AuthorityFound))
893
if (((
m_Flags
& Flags.NotDefaultPort) != 0) || (uriComponents == UriComponents.StrongPort
910
|| ((
m_Flags
& (Flags.HostNotCanonical | Flags.E_HostNotCanonical)) == 0)))
999
m_Flags = otherUri.
m_Flags
;