13 writes to _attributes
Microsoft.CodeAnalysis.CSharp (13)
BoundTree\BoundNode.cs (13)
62result._attributes &= BoundNodeAttributes.AttributesPreservedInClone; 83_attributes = BoundNodeAttributes.HasErrors; 128_attributes |= BoundNodeAttributes.HasErrors; 165_attributes |= BoundNodeAttributes.WasCompilerGeneratedIsChecked; 178_attributes |= BoundNodeAttributes.CompilerGenerated; 199_attributes |= BoundNodeAttributes.CompilerGenerated; 203_attributes &= ~BoundNodeAttributes.CompilerGenerated; 216_attributes |= BoundNodeAttributes.WasTopLevelNullabilityChecked; 230_attributes &= ~(BoundNodeAttributes.TopLevelAnnotationMask | BoundNodeAttributes.TopLevelFlowStateMaybeNull); 232_attributes |= value.Annotation switch 243_attributes |= BoundNodeAttributes.TopLevelFlowStateMaybeNull; 294_attributes |= BoundNodeAttributes.IsSuppressed; 316_attributes |= BoundNodeAttributes.WasConverted;
14 references to _attributes
Microsoft.CodeAnalysis.CSharp (14)
BoundTree\BoundNode.cs (14)
122return (_attributes & BoundNodeAttributes.HasErrors) != 0; 132Debug.Assert((_attributes & BoundNodeAttributes.HasErrors) == 0, 167return (_attributes & BoundNodeAttributes.CompilerGenerated) != 0; 172Debug.Assert((_attributes & BoundNodeAttributes.WasCompilerGeneratedIsChecked) == 0, 182Debug.Assert((_attributes & BoundNodeAttributes.CompilerGenerated) == 0, 194Debug.Assert((_attributes & BoundNodeAttributes.WasCompilerGeneratedIsChecked) == 0, 227Debug.Assert((_attributes & BoundNodeAttributes.WasTopLevelNullabilityChecked) == 0, 264if ((_attributes & BoundNodeAttributes.TopLevelAnnotationMask) == 0) 269var annotation = (_attributes & BoundNodeAttributes.TopLevelAnnotationMask) switch 277var flowState = (_attributes & BoundNodeAttributes.TopLevelFlowStateMaybeNull) == 0 ? CodeAnalysis.NullableFlowState.NotNull : CodeAnalysis.NullableFlowState.MaybeNull; 287return (_attributes & BoundNodeAttributes.IsSuppressed) != 0; 291Debug.Assert((_attributes & BoundNodeAttributes.IsSuppressed) == 0, "flag should not be set twice or reset"); 309return (_attributes & BoundNodeAttributes.WasConverted) != 0; 313Debug.Assert((_attributes & BoundNodeAttributes.WasConverted) == 0, "WasConverted flag should not be set twice or reset");