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