43 references to ThreadSafeFlagOperations
Microsoft.CodeAnalysis (1)
Symbols\Attributes\CustomAttributesBag.cs (1)
160ThreadSafeFlagOperations.Set(ref _state, (int)(this.State | part));
Microsoft.CodeAnalysis.CSharp (42)
Emitter\Model\PEModuleBuilder.cs (1)
78ThreadSafeFlagOperations.Set(ref _needsGeneratedAttributes, (int)attributes);
Symbols\Compilation_WellKnownMembers.cs (1)
59ThreadSafeFlagOperations.Set(ref _needsGeneratedAttributes, (int)attributes);
Symbols\Metadata\PE\PEFieldSymbol.cs (4)
64return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 83if (isVolatile) ThreadSafeFlagOperations.Set(ref _bits, IsVolatileBit); 92if (bits != 0) ThreadSafeFlagOperations.Set(ref _bits, bits); 101return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
Symbols\Metadata\PE\PEMethodSymbol.cs (17)
172ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 179ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 187ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 197ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 202ThreadSafeFlagOperations.Set(ref _bits, IsObsoleteAttributePopulatedBit); 207ThreadSafeFlagOperations.Set(ref _bits, IsCustomAttributesPopulatedBit); 212ThreadSafeFlagOperations.Set(ref _bits, IsUseSiteDiagnosticPopulatedBit); 217ThreadSafeFlagOperations.Set(ref _bits, IsConditionalPopulatedBit); 222ThreadSafeFlagOperations.Set(ref _bits, IsOverriddenOrHiddenMembersPopulatedBit); 232return ThreadSafeFlagOperations.Set(ref _bits, (((int)value.ToNullableContextFlags() & NullableContextMask) << NullableContextOffset)); 240return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 245ThreadSafeFlagOperations.Set(ref _bits, IsMemberNotNullPopulatedBit); 252ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 257ThreadSafeFlagOperations.Set(ref _bits, IsUnmanagedCallersOnlyAttributePopulatedBit); 265return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 273return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 278ThreadSafeFlagOperations.Set(ref _bits, OverloadResolutionPriorityPopulatedBit);
Symbols\Metadata\PE\PEParameterSymbol.cs (2)
126ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 140return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
Symbols\Metadata\PE\PEPropertySymbol.cs (6)
90ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 108ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 129ThreadSafeFlagOperations.Set(ref _bits, IsUseSiteDiagnosticPopulatedBit); 136ThreadSafeFlagOperations.Set(ref _bits, IsObsoleteAttributePopulatedBit); 143ThreadSafeFlagOperations.Set(ref _bits, IsCustomAttributesPopulatedBit); 150ThreadSafeFlagOperations.Set(ref _bits, IsOverloadResolutionPriorityPopulatedBit);
Symbols\Source\SourceMemberContainerSymbol.cs (5)
130ThreadSafeFlagOperations.Set(ref _flags, FieldDefinitionsNotedBit); 135ThreadSafeFlagOperations.Set(ref _flags, (FlattenedMembersIsSortedBit)); 147ThreadSafeFlagOperations.Set(ref _flags, bitsToSet); 157return ThreadSafeFlagOperations.Set(ref _flags, (((int)value.ToNullableContextFlags() & NullableContextMask) << NullableContextOffset)); 176return ThreadSafeFlagOperations.Set(ref _flags, HasDeclaredMembersBitSet | (value ? HasDeclaredMembersBit : 0));
Symbols\Source\SourceMemberMethodSymbol.cs (4)
123ThreadSafeFlagOperations.Set(ref _flags, ReturnsVoidIsSetBit | (value ? ReturnsVoidBit : 0)); 271ThreadSafeFlagOperations.Set(ref _flags, IsMetadataVirtualLockedBit); 287ThreadSafeFlagOperations.Set(ref _flags, IsMetadataVirtualBit); 298return ThreadSafeFlagOperations.Set(ref _flags, (((int)value.ToNullableContextFlags() & NullableContextMask) << NullableContextOffset));
Symbols\Source\SourceNamespaceSymbol.cs (1)
166ThreadSafeFlagOperations.Set(ref _flags, LazyAllMembersIsSorted);
Symbols\SymbolCompletionState.cs (1)
89return ThreadSafeFlagOperations.Set(ref _completeParts, (int)part);