3 overrides of CreateRed
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (1)
61internal override SyntaxNode CreateRed(SyntaxNode? parent, int position)
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (1)
62internal override SyntaxNode CreateRed(SyntaxNode? parent, int position)
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (1)
54internal override SyntaxNode CreateRed(SyntaxNode? parent, int position)
9 references to CreateRed
Microsoft.CodeAnalysis (9)
Syntax\GreenNode.cs (1)
958return CreateRed(null, 0);
Syntax\SyntaxNode.cs (8)
146Interlocked.CompareExchange(ref field, green.CreateRed(this, this.GetChildPosition(slot)), null); 164Interlocked.CompareExchange(ref field, green.CreateRed(this, this.Position), null); 181Interlocked.CompareExchange(ref field, (T)green.CreateRed(this, this.GetChildPosition(slot)), null); 199Interlocked.CompareExchange(ref field, (T)green.CreateRed(this, this.Position), null); 222Interlocked.CompareExchange(ref element, green.CreateRed(this.Parent, this.GetChildPosition(slot)), null); 244Interlocked.CompareExchange(ref element, green.CreateRed(this.Parent, this.GetChildPosition(1)), null); 267var newNode = greenChild.CreateRed(this.Parent, GetChildPosition(index)); 1653var clone = (T)node.Green.CreateRed(null, 0);