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)
74ThreadSafeFlagOperations.Set(ref _needsGeneratedAttributes, (int)attributes);
Symbols\Compilation_WellKnownMembers.cs (1)
55ThreadSafeFlagOperations.Set(ref _needsGeneratedAttributes, (int)attributes);
Symbols\Metadata\PE\PEFieldSymbol.cs (4)
63return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 82if (isVolatile) ThreadSafeFlagOperations.Set(ref _bits, IsVolatileBit); 91if (bits != 0) ThreadSafeFlagOperations.Set(ref _bits, bits); 100return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
Symbols\Metadata\PE\PEMethodSymbol.cs (17)
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);
Symbols\Metadata\PE\PEParameterSymbol.cs (2)
125ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 139return ThreadSafeFlagOperations.Set(ref _bits, bitsToSet);
Symbols\Metadata\PE\PEPropertySymbol.cs (6)
89ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 107ThreadSafeFlagOperations.Set(ref _bits, bitsToSet); 128ThreadSafeFlagOperations.Set(ref _bits, IsUseSiteDiagnosticPopulatedBit); 135ThreadSafeFlagOperations.Set(ref _bits, IsObsoleteAttributePopulatedBit); 142ThreadSafeFlagOperations.Set(ref _bits, IsCustomAttributesPopulatedBit); 149ThreadSafeFlagOperations.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);