38 references to NodeFlags
Microsoft.CodeAnalysis (37)
Syntax\GreenNode.cs (27)
70
SetFlags(
NodeFlags
.ContainsDiagnostics);
80
SetFlags(
NodeFlags
.ContainsDiagnostics);
95
SetFlags(
NodeFlags
.HasAnnotationsDirectly |
NodeFlags
.ContainsAnnotations);
110
SetFlags(
NodeFlags
.HasAnnotationsDirectly |
NodeFlags
.ContainsAnnotations);
118
SetFlags(node.Flags &
NodeFlags
.InheritMask);
293
internal
NodeFlags
Flags
298
internal void SetFlags(
NodeFlags
flags)
303
internal void ClearFlags(
NodeFlags
flags)
313
return (this.Flags &
NodeFlags
.IsNotMissing) == 0;
321
return (this.Flags &
NodeFlags
.FactoryContextIsInAsync) != 0;
329
return (this.Flags &
NodeFlags
.FactoryContextIsInQuery) != 0;
337
return (this.Flags &
NodeFlags
.FactoryContextIsInIterator) != 0;
345
return (this.Flags &
NodeFlags
.FactoryContextIsInFieldKeywordContext) != 0;
353
return (this.Flags &
NodeFlags
.ContainsSkippedText) != 0;
361
return (this.Flags &
NodeFlags
.ContainsStructuredTrivia) != 0;
369
return (this.Flags &
NodeFlags
.ContainsDirectives) != 0;
377
return (this.Flags &
NodeFlags
.ContainsAttributes) != 0;
385
return (this.Flags &
NodeFlags
.ContainsDiagnostics) != 0;
393
return (this.Flags &
NodeFlags
.ContainsAnnotations) != 0;
401
return (this.Flags &
NodeFlags
.HasAnnotationsDirectly) != 0;
973
return ((this.Flags &
NodeFlags
.InheritMask) ==
NodeFlags
.IsNotMissing) &&
996
internal bool IsCacheEquivalent(int kind,
NodeFlags
flags, GreenNode? child1)
1006
internal bool IsCacheEquivalent(int kind,
NodeFlags
flags, GreenNode? child1, GreenNode? child2)
1017
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();