1 write to _flags
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
335_flags = new PackedFlags(
23 references to _flags
Microsoft.CodeAnalysis.CSharp (23)
Symbols\Metadata\PE\PEPropertySymbol.cs (23)
157/// unfortunately, this means that we need to be careful of data races. The general pattern that we use is to check for a flag in <see cref="_flags"/>. 174/// set the backing field using an atomic operation, and then set the flag in <see cref="_flags"/>. This ensures that the field is always set before the flag is set. 215result._flags.SetUseSiteDiagnosticPopulated(); 271_flags.SetUseSiteDiagnosticPopulated(); 355if (!_flags.IsObsoleteAttributePopulated) 360if (!_flags.IsUseSiteDiagnosticPopulated) 365if (_flags.IsCustomAttributesPopulated) 425get { return _flags.IsSpecialName; } 614if (!_flags.TryGetHasRequiredMemberAttribute(out bool hasRequiredMemberAttribute)) 618_flags.SetHasRequiredMemberAttribute(hasRequiredMemberAttribute); 629if (!_flags.TryGetHasUnscopedRefAttribute(out bool hasUnscopedRefAttribute)) 633_flags.SetHasUnscopedRefAttribute(hasUnscopedRefAttribute); 732if (!_flags.IsCustomAttributesPopulated) 748_flags.SetCustomAttributesPopulated(); 749_flags.SetHasRequiredMemberAttribute(!required.IsNil); 825get { return _flags.CallMethodsDirectly; } 939if (!_flags.IsUseSiteDiagnosticPopulated) 952_flags.SetUseSiteDiagnosticPopulated(); 1006if (!_flags.IsObsoleteAttributePopulated) 1014_flags.SetObsoleteAttributePopulated(); 1037return _flags.IsRuntimeSpecialName; 1049if (!_flags.IsOverloadResolutionPriorityPopulated) 1064_flags.SetOverloadResolutionPriorityPopulated();