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.
215
result.
_flags
.SetUseSiteDiagnosticPopulated();
271
_flags
.SetUseSiteDiagnosticPopulated();
355
if (!
_flags
.IsObsoleteAttributePopulated)
360
if (!
_flags
.IsUseSiteDiagnosticPopulated)
365
if (
_flags
.IsCustomAttributesPopulated)
425
get { return
_flags
.IsSpecialName; }
614
if (!
_flags
.TryGetHasRequiredMemberAttribute(out bool hasRequiredMemberAttribute))
618
_flags
.SetHasRequiredMemberAttribute(hasRequiredMemberAttribute);
629
if (!
_flags
.TryGetHasUnscopedRefAttribute(out bool hasUnscopedRefAttribute))
633
_flags
.SetHasUnscopedRefAttribute(hasUnscopedRefAttribute);
732
if (!
_flags
.IsCustomAttributesPopulated)
748
_flags
.SetCustomAttributesPopulated();
749
_flags
.SetHasRequiredMemberAttribute(!required.IsNil);
825
get { return
_flags
.CallMethodsDirectly; }
939
if (!
_flags
.IsUseSiteDiagnosticPopulated)
952
_flags
.SetUseSiteDiagnosticPopulated();
1006
if (!
_flags
.IsObsoleteAttributePopulated)
1014
_flags
.SetObsoleteAttributePopulated();
1037
return
_flags
.IsRuntimeSpecialName;
1049
if (!
_flags
.IsOverloadResolutionPriorityPopulated)
1064
_flags
.SetOverloadResolutionPriorityPopulated();