11 writes to _attributes
Microsoft.CodeAnalysis.CSharp (11)
BoundTree\BoundNode.cs (11)
69
result.
_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)
129
return (
_attributes
& BoundNodeAttributes.HasErrors) != 0;
139
Debug.Assert((
_attributes
& BoundNodeAttributes.HasErrors) == 0,
180
return (
_attributes
& BoundNodeAttributes.CompilerGenerated) != 0;
195
Debug.Assert((
_attributes
& BoundNodeAttributes.CompilerGenerated) == 0,
277
if ((
_attributes
& BoundNodeAttributes.TopLevelAnnotationMask) == 0)
282
var annotation = (
_attributes
& BoundNodeAttributes.TopLevelAnnotationMask) switch
290
var flowState = (
_attributes
& BoundNodeAttributes.TopLevelFlowStateMaybeNull) == 0 ? CodeAnalysis.NullableFlowState.NotNull : CodeAnalysis.NullableFlowState.MaybeNull;
300
return (
_attributes
& BoundNodeAttributes.IsSuppressed) != 0;
304
Debug.Assert((
_attributes
& BoundNodeAttributes.IsSuppressed) == 0, "flag should not be set twice or reset");
355
return (
_attributes
& BoundNodeAttributes.ParamsArrayOrCollection) != 0;
359
RoslynDebug.Assert((
_attributes
& BoundNodeAttributes.ParamsArrayOrCollection) == 0, $"{nameof(BoundNodeAttributes.ParamsArrayOrCollection)} flag should not be set twice or reset");