4 instantiations of SeparatedSyntaxList
Microsoft.CodeAnalysis (4)
Syntax\InternalSyntax\GreenNodeExtensions.cs (1)
19
new
SeparatedSyntaxList
<T>(ToGreenList<T>(node.Green)) :
Syntax\InternalSyntax\SeparatedSyntaxList.cs (1)
105
return new
SeparatedSyntaxList
<GreenNode>(list.GetWithSeparators());
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (1)
106
: new
SeparatedSyntaxList
<TNode>(new SyntaxList<GreenNode>(_builder.ToListNode()));
Syntax\InternalSyntax\SyntaxList`1.cs (1)
163
return new
SeparatedSyntaxList
<TOther>(this);
22 references to SeparatedSyntaxList
Microsoft.CodeAnalysis (20)
Syntax\InternalSyntax\GreenNodeExtensions.cs (2)
16
internal static
SeparatedSyntaxList
<T> ToGreenSeparatedList<T>(this SyntaxNode? node) where T : GreenNode
20
default(
SeparatedSyntaxList
<T>);
Syntax\InternalSyntax\SeparatedSyntaxList.cs (10)
10
internal readonly struct SeparatedSyntaxList<TNode> : IEquatable<
SeparatedSyntaxList
<TNode>> where TNode : GreenNode
78
public static bool operator ==(in
SeparatedSyntaxList
<TNode> left, in
SeparatedSyntaxList
<TNode> right)
83
public static bool operator !=(in
SeparatedSyntaxList
<TNode> left, in
SeparatedSyntaxList
<TNode> right)
88
public bool Equals(
SeparatedSyntaxList
<TNode> other)
95
return (obj is
SeparatedSyntaxList
<TNode>) && Equals((
SeparatedSyntaxList
<TNode>)obj);
103
public static implicit operator
SeparatedSyntaxList
<GreenNode>(
SeparatedSyntaxList
<TNode> list)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (5)
86
public void AddRange(in
SeparatedSyntaxList
<TNode> nodes)
91
public void AddRange(in
SeparatedSyntaxList
<TNode> nodes, int count)
102
public
SeparatedSyntaxList
<TNode> ToList()
105
? default(
SeparatedSyntaxList
<TNode>)
123
public static implicit operator
SeparatedSyntaxList
<TNode>(in SeparatedSyntaxListBuilder<TNode> builder)
Syntax\InternalSyntax\SyntaxList`1.cs (1)
161
public
SeparatedSyntaxList
<TOther> AsSeparatedList<TOther>() where TOther : GreenNode
Syntax\InternalSyntax\SyntaxListPool.cs (2)
98
public
SeparatedSyntaxList
<TNode> ToListAndFree<TNode>(in SeparatedSyntaxListBuilder<TNode> item)
101
var
list = item.ToList();
Microsoft.CodeAnalysis.CSharp (1)
Parser\LanguageParser.cs (1)
13896
/// <typeparam name="TNode">The type of node to return back in the <see cref="
SeparatedSyntaxList
{TNode}"/>.</typeparam>
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Syntax\SyntaxNodeTests.cs (1)
3353
var
internalParameters = internalParameterList.Parameters;