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)
957return CreateRed(null, 0);
Syntax\SyntaxNode.cs (8)
145Interlocked.CompareExchange(ref field, green.CreateRed(this, this.GetChildPosition(slot)), null); 163Interlocked.CompareExchange(ref field, green.CreateRed(this, this.Position), null); 180Interlocked.CompareExchange(ref field, (T)green.CreateRed(this, this.GetChildPosition(slot)), null); 198Interlocked.CompareExchange(ref field, (T)green.CreateRed(this, this.Position), null); 221Interlocked.CompareExchange(ref element, green.CreateRed(this.Parent, this.GetChildPosition(slot)), null); 243Interlocked.CompareExchange(ref element, green.CreateRed(this.Parent, this.GetChildPosition(1)), null); 266var newNode = greenChild.CreateRed(this.Parent, GetChildPosition(index)); 1652var clone = (T)node.Green.CreateRed(null, 0);