26 writes to _bits
Microsoft.CodeAnalysis.CSharp (26)
Symbols\Metadata\PE\PEMethodSymbol.cs (26)
124_bits = (_bits & ~(MethodKindMask << MethodKindOffset)) | (((int)value & MethodKindMask) << MethodKindOffset) | MethodKindIsPopulatedBit;
134public bool IsObsoleteAttributePopulated => (Volatile.Read(ref _bits) & IsObsoleteAttributePopulatedBit) != 0;
135public bool IsCustomAttributesPopulated => (Volatile.Read(ref _bits) & IsCustomAttributesPopulatedBit) != 0;
136public bool IsUseSiteDiagnosticPopulated => (Volatile.Read(ref _bits) & IsUseSiteDiagnosticPopulatedBit) != 0;
137public bool IsConditionalPopulated => (Volatile.Read(ref _bits) & IsConditionalPopulatedBit) != 0;
138public bool IsOverriddenOrHiddenMembersPopulated => (Volatile.Read(ref _bits) & IsOverriddenOrHiddenMembersPopulatedBit) != 0;
143public bool IsMemberNotNullPopulated => (Volatile.Read(ref _bits) & IsMemberNotNullPopulatedBit) != 0;
146public bool IsUnmanagedCallersOnlyAttributePopulated => (Volatile.Read(ref _bits) & IsUnmanagedCallersOnlyAttributePopulatedBit) != 0;
151public bool IsOverloadResolutionPriorityPopulated => (Volatile.Read(ref _bits) & OverloadResolutionPriorityPopulatedBit) != 0;
171ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
178ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
186ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
196ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
201ThreadSafeFlagOperations.Set(ref _bits, IsObsoleteAttributePopulatedBit);
206ThreadSafeFlagOperations.Set(ref _bits, IsCustomAttributesPopulatedBit);
211ThreadSafeFlagOperations.Set(ref _bits, IsUseSiteDiagnosticPopulatedBit);
216ThreadSafeFlagOperations.Set(ref _bits, IsConditionalPopulatedBit);
221ThreadSafeFlagOperations.Set(ref _bits, IsOverriddenOrHiddenMembersPopulatedBit);
231return ThreadSafeFlagOperations.Set(ref _bits, (((int)value.ToNullableContextFlags() & NullableContextMask) << NullableContextOffset));
239return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
244ThreadSafeFlagOperations.Set(ref _bits, IsMemberNotNullPopulatedBit);
251ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
256ThreadSafeFlagOperations.Set(ref _bits, IsUnmanagedCallersOnlyAttributePopulatedBit);
264return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
272return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
277ThreadSafeFlagOperations.Set(ref _bits, OverloadResolutionPriorityPopulatedBit);
24 references to _bits
Microsoft.CodeAnalysis.CSharp (24)