4 instantiations of WithTwoChildren
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SyntaxList.cs (1)
37
var result = new
WithTwoChildren
(child0, child1);
Syntax\InternalSyntax\SyntaxList.WithTwoChildren.cs (2)
61
return new
WithTwoChildren
(errors, this.GetAnnotations(), _child0, _child1);
66
return new
WithTwoChildren
(GetDiagnostics(), annotations, _child0, _child1);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxNodeCacheTests.cs (1)
42
var listOf2 = new CodeAnalysis.Syntax.InternalSyntax.SyntaxList.
WithTwoChildren
(child0, child1);
6 references to WithTwoChildren
Microsoft.CodeAnalysis (3)
Syntax\InternalSyntax\SyntaxList.cs (3)
27
internal static
WithTwoChildren
List(GreenNode child0, GreenNode child1)
35
return (
WithTwoChildren
)cached;
37
var
result = new WithTwoChildren(child0, child1);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Syntax\SyntaxNodeCacheTests.cs (3)
42
var
listOf2 = new CodeAnalysis.Syntax.InternalSyntax.SyntaxList.WithTwoChildren(child0, child1);
45
var
listCached = (CodeAnalysis.Syntax.InternalSyntax.SyntaxList.
WithTwoChildren
)SyntaxNodeCache.TryGetNode(listOf2.RawKind, child0, child1, SyntaxNodeCache.GetDefaultNodeFlags(), out _);