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