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)
958
return
CreateRed
(null, 0);
Syntax\SyntaxNode.cs (8)
146
Interlocked.CompareExchange(ref field, green.
CreateRed
(this, this.GetChildPosition(slot)), null);
164
Interlocked.CompareExchange(ref field, green.
CreateRed
(this, this.Position), null);
181
Interlocked.CompareExchange(ref field, (T)green.
CreateRed
(this, this.GetChildPosition(slot)), null);
199
Interlocked.CompareExchange(ref field, (T)green.
CreateRed
(this, this.Position), null);
222
Interlocked.CompareExchange(ref element, green.
CreateRed
(this.Parent, this.GetChildPosition(slot)), null);
244
Interlocked.CompareExchange(ref element, green.
CreateRed
(this.Parent, this.GetChildPosition(1)), null);
267
var newNode = greenChild.
CreateRed
(this.Parent, GetChildPosition(index));
1653
var clone = (T)node.Green.
CreateRed
(null, 0);