3 overrides of CreateRed
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SyntaxList.WithManyChildren.cs (1)
61
internal override SyntaxNode
CreateRed
(SyntaxNode? parent, int position)
Syntax\InternalSyntax\SyntaxList.WithThreeChildren.cs (1)
62
internal override SyntaxNode
CreateRed
(SyntaxNode? parent, int position)
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (1)
54
internal override SyntaxNode
CreateRed
(SyntaxNode? parent, int position)
9 references to CreateRed
Microsoft.CodeAnalysis (9)
Syntax\GreenNode.cs (1)
957
return
CreateRed
(null, 0);
Syntax\SyntaxNode.cs (8)
145
Interlocked.CompareExchange(ref field, green.
CreateRed
(this, this.GetChildPosition(slot)), null);
163
Interlocked.CompareExchange(ref field, green.
CreateRed
(this, this.Position), null);
180
Interlocked.CompareExchange(ref field, (T)green.
CreateRed
(this, this.GetChildPosition(slot)), null);
198
Interlocked.CompareExchange(ref field, (T)green.
CreateRed
(this, this.Position), null);
221
Interlocked.CompareExchange(ref element, green.
CreateRed
(this.Parent, this.GetChildPosition(slot)), null);
243
Interlocked.CompareExchange(ref element, green.
CreateRed
(this.Parent, this.GetChildPosition(1)), null);
266
var newNode = greenChild.
CreateRed
(this.Parent, GetChildPosition(index));
1652
var clone = (T)node.Green.
CreateRed
(null, 0);