38 references to NodeFlags
Microsoft.CodeAnalysis (37)
Syntax\GreenNode.cs (27)
69
SetFlags(
NodeFlags
.ContainsDiagnostics);
79
SetFlags(
NodeFlags
.ContainsDiagnostics);
94
SetFlags(
NodeFlags
.HasAnnotationsDirectly |
NodeFlags
.ContainsAnnotations);
109
SetFlags(
NodeFlags
.HasAnnotationsDirectly |
NodeFlags
.ContainsAnnotations);
117
SetFlags(node.Flags &
NodeFlags
.InheritMask);
292
internal
NodeFlags
Flags
297
internal void SetFlags(
NodeFlags
flags)
302
internal void ClearFlags(
NodeFlags
flags)
312
return (this.Flags &
NodeFlags
.IsNotMissing) == 0;
320
return (this.Flags &
NodeFlags
.FactoryContextIsInAsync) != 0;
328
return (this.Flags &
NodeFlags
.FactoryContextIsInQuery) != 0;
336
return (this.Flags &
NodeFlags
.FactoryContextIsInIterator) != 0;
344
return (this.Flags &
NodeFlags
.FactoryContextIsInFieldKeywordContext) != 0;
352
return (this.Flags &
NodeFlags
.ContainsSkippedText) != 0;
360
return (this.Flags &
NodeFlags
.ContainsStructuredTrivia) != 0;
368
return (this.Flags &
NodeFlags
.ContainsDirectives) != 0;
376
return (this.Flags &
NodeFlags
.ContainsAttributes) != 0;
384
return (this.Flags &
NodeFlags
.ContainsDiagnostics) != 0;
392
return (this.Flags &
NodeFlags
.ContainsAnnotations) != 0;
400
return (this.Flags &
NodeFlags
.HasAnnotationsDirectly) != 0;
972
return ((this.Flags &
NodeFlags
.InheritMask) ==
NodeFlags
.IsNotMissing) &&
995
internal bool IsCacheEquivalent(int kind,
NodeFlags
flags, GreenNode? child1)
1005
internal bool IsCacheEquivalent(int kind,
NodeFlags
flags, GreenNode? child1, GreenNode? child2)
1016
internal bool IsCacheEquivalent(int kind,
NodeFlags
flags, GreenNode? child1, GreenNode? child2, GreenNode? child3)
Syntax\GreenNode.NodeFlagsAndSlotCount.cs (2)
58
public
NodeFlags
NodeFlags
62
return (
NodeFlags
)(_data & NodeFlagsMask);
Syntax\InternalSyntax\SyntaxNodeCache.cs (8)
191
internal static GreenNode? TryGetNode(int kind, GreenNode? child1, GreenNode.
NodeFlags
flags, out int hash)
219
internal static GreenNode? TryGetNode(int kind, GreenNode? child1, GreenNode? child2, GreenNode.
NodeFlags
flags, out int hash)
247
internal static GreenNode? TryGetNode(int kind, GreenNode? child1, GreenNode? child2, GreenNode? child3, GreenNode.
NodeFlags
flags, out int hash)
270
public static GreenNode.
NodeFlags
GetDefaultNodeFlags()
272
return GreenNode.
NodeFlags
.IsNotMissing;
275
private static int GetCacheHash(int kind, GreenNode.
NodeFlags
flags, GreenNode? child1)
284
private static int GetCacheHash(int kind, GreenNode.
NodeFlags
flags, GreenNode? child1, GreenNode? child2)
301
private static int GetCacheHash(int kind, GreenNode.
NodeFlags
flags, GreenNode? child1, GreenNode? child2, GreenNode? child3)
Microsoft.CodeAnalysis.CSharp (1)
Syntax\InternalSyntax\CSharpSyntaxNodeCache.cs (1)
30
var
flags = SyntaxNodeCache.GetDefaultNodeFlags();