6 writes to _flags
Microsoft.CodeAnalysis.CSharp (6)
Symbols\Source\SourceMemberContainerSymbol.cs (6)
126
_flags
= specialTypeInt | typeKindInt | hasPrimaryConstructorInt;
131
ThreadSafeFlagOperations.Set(ref
_flags
, FieldDefinitionsNotedBit);
136
ThreadSafeFlagOperations.Set(ref
_flags
, (FlattenedMembersIsSortedBit));
148
ThreadSafeFlagOperations.Set(ref
_flags
, bitsToSet);
158
return ThreadSafeFlagOperations.Set(ref
_flags
, (((int)value.ToNullableContextFlags() & NullableContextMask) << NullableContextOffset));
177
return ThreadSafeFlagOperations.Set(ref
_flags
, HasDeclaredMembersBitSet | (value ? HasDeclaredMembersBit : 0));
10 references to _flags
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Source\SourceMemberContainerSymbol.cs (10)
85
get { return (ExtendedSpecialType)((
_flags
>> SpecialTypeOffset) & SpecialTypeMask); }
90
get { return (ManagedKind)((
_flags
>> ManagedKindOffset) & ManagedKindMask); }
95
get { return (
_flags
& FieldDefinitionsNotedBit) != 0; }
101
get { return (
_flags
& FlattenedMembersIsSortedBit) != 0; }
106
get { return (TypeKind)((
_flags
>> TypeKindOffset) & TypeKindMask); }
147
Debug.Assert(BitsAreUnsetOrSame(
_flags
, bitsToSet));
153
return ((NullableContextKind)((
_flags
>> NullableContextOffset) & NullableContextMask)).TryGetByte(out value);
163
if ((
_flags
& (HasDeclaredMembersBitSet)) != 0)
165
value = (
_flags
& HasDeclaredMembersBit) != 0;
180
public readonly bool HasPrimaryConstructor => (
_flags
& HasPrimaryConstructorBit) != 0;