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