11 writes to _attributes
Microsoft.CodeAnalysis.CSharp (11)
BoundTree\BoundNode.cs (11)
69result._attributes &= BoundNodeAttributes.AttributesPreservedInClone; 90_attributes = BoundNodeAttributes.HasErrors; 135_attributes |= BoundNodeAttributes.HasErrors; 191_attributes |= BoundNodeAttributes.CompilerGenerated; 212_attributes |= BoundNodeAttributes.CompilerGenerated; 216_attributes &= ~BoundNodeAttributes.CompilerGenerated; 243_attributes &= ~(BoundNodeAttributes.TopLevelAnnotationMask | BoundNodeAttributes.TopLevelFlowStateMaybeNull); 245_attributes |= value.Annotation switch 256_attributes |= BoundNodeAttributes.TopLevelFlowStateMaybeNull; 307_attributes |= BoundNodeAttributes.IsSuppressed; 372_attributes |= BoundNodeAttributes.ParamsArrayOrCollection;
11 references to _attributes
Microsoft.CodeAnalysis.CSharp (11)
BoundTree\BoundNode.cs (11)
129return (_attributes & BoundNodeAttributes.HasErrors) != 0; 139Debug.Assert((_attributes & BoundNodeAttributes.HasErrors) == 0, 180return (_attributes & BoundNodeAttributes.CompilerGenerated) != 0; 195Debug.Assert((_attributes & BoundNodeAttributes.CompilerGenerated) == 0, 277if ((_attributes & BoundNodeAttributes.TopLevelAnnotationMask) == 0) 282var annotation = (_attributes & BoundNodeAttributes.TopLevelAnnotationMask) switch 290var flowState = (_attributes & BoundNodeAttributes.TopLevelFlowStateMaybeNull) == 0 ? CodeAnalysis.NullableFlowState.NotNull : CodeAnalysis.NullableFlowState.MaybeNull; 300return (_attributes & BoundNodeAttributes.IsSuppressed) != 0; 304Debug.Assert((_attributes & BoundNodeAttributes.IsSuppressed) == 0, "flag should not be set twice or reset"); 355return (_attributes & BoundNodeAttributes.ParamsArrayOrCollection) != 0; 359RoslynDebug.Assert((_attributes & BoundNodeAttributes.ParamsArrayOrCollection) == 0, $"{nameof(BoundNodeAttributes.ParamsArrayOrCollection)} flag should not be set twice or reset");