4 writes to _flags
System.Net.Http (4)
System\Net\Http\Headers\CacheControlHeaderValue.cs (4)
73
Interlocked.Or(ref Unsafe.As<Flags, int>(ref
_flags
), (int)flag);
77
Interlocked.And(ref Unsafe.As<Flags, int>(ref
_flags
), (int)~flag);
173
_flags
= source._flags;
478
cc.
_flags
|= flagsToSet;
21 references to _flags
System.Net.Http (21)
System\Net\Http\Headers\CacheControlHeaderValue.cs (21)
83
get => (
_flags
& Flags.NoCache) != 0;
91
get => (
_flags
& Flags.NoStore) != 0;
97
get => (
_flags
& Flags.MaxAgeHasValue) == 0 ? null : _maxAge;
103
get => (
_flags
& Flags.SharedMaxAgeHasValue) == 0 ? null : _sharedMaxAge;
109
get => (
_flags
& Flags.MaxStale) != 0;
115
get => (
_flags
& Flags.MaxStaleLimitHasValue) == 0 ? null : _maxStaleLimit;
121
get => (
_flags
& Flags.MinFreshHasValue) == 0 ? null : _minFresh;
127
get => (
_flags
& Flags.NoTransform) != 0;
133
get => (
_flags
& Flags.OnlyIfCached) != 0;
139
get => (
_flags
& Flags.Public) != 0;
145
get => (
_flags
& Flags.Private) != 0;
153
get => (
_flags
& Flags.MustRevalidate) != 0;
159
get => (
_flags
& Flags.ProxyRevalidate) != 0;
173
_flags = source.
_flags
;
220
if ((
_flags
& Flags.MaxAgeHasValue) != 0)
237
if ((
_flags
& Flags.SharedMaxAgeHasValue) != 0)
257
if ((
_flags
& Flags.MaxStaleLimitHasValue) != 0)
274
if ((
_flags
& Flags.MinFreshHasValue) != 0)
309
_flags
== other.
_flags
&&
320
_flags
,