15 writes to _attributes
Microsoft.CodeAnalysis.CSharp (15)
BoundTree\BoundNode.cs (15)
69result._attributes &= BoundNodeAttributes.AttributesPreservedInClone; 90_attributes = BoundNodeAttributes.HasErrors; 135_attributes |= BoundNodeAttributes.HasErrors; 178_attributes |= BoundNodeAttributes.WasCompilerGeneratedIsChecked; 191_attributes |= BoundNodeAttributes.CompilerGenerated; 212_attributes |= BoundNodeAttributes.CompilerGenerated; 216_attributes &= ~BoundNodeAttributes.CompilerGenerated; 229_attributes |= BoundNodeAttributes.WasTopLevelNullabilityChecked; 243_attributes &= ~(BoundNodeAttributes.TopLevelAnnotationMask | BoundNodeAttributes.TopLevelFlowStateMaybeNull); 245_attributes |= value.Annotation switch 256_attributes |= BoundNodeAttributes.TopLevelFlowStateMaybeNull; 307_attributes |= BoundNodeAttributes.IsSuppressed; 329_attributes |= BoundNodeAttributes.WasConverted; 345_attributes |= BoundNodeAttributes.WasPropertyBackingFieldAccessChecked; 372_attributes |= BoundNodeAttributes.ParamsArrayOrCollection;
18 references to _attributes
Microsoft.CodeAnalysis.CSharp (18)
BoundTree\BoundNode.cs (18)
129return (_attributes & BoundNodeAttributes.HasErrors) != 0; 139Debug.Assert((_attributes & BoundNodeAttributes.HasErrors) == 0, 180return (_attributes & BoundNodeAttributes.CompilerGenerated) != 0; 185Debug.Assert((_attributes & BoundNodeAttributes.WasCompilerGeneratedIsChecked) == 0, 195Debug.Assert((_attributes & BoundNodeAttributes.CompilerGenerated) == 0, 207Debug.Assert((_attributes & BoundNodeAttributes.WasCompilerGeneratedIsChecked) == 0, 240Debug.Assert((_attributes & BoundNodeAttributes.WasTopLevelNullabilityChecked) == 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"); 322return (_attributes & BoundNodeAttributes.WasConverted) != 0; 326Debug.Assert((_attributes & BoundNodeAttributes.WasConverted) == 0, "WasConverted flag should not be set twice or reset"); 338return (_attributes & BoundNodeAttributes.WasPropertyBackingFieldAccessChecked) != 0; 342Debug.Assert((_attributes & BoundNodeAttributes.WasPropertyBackingFieldAccessChecked) == 0, "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");