26 references to GetSyntaxNodeList
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (6)
FlowAnalysis\FlowTestBase.cs (6)
125
foreach (var expr in
GetSyntaxNodeList
(tree).OfType<ConstructorInitializerSyntax>())
146
foreach (var expr in
GetSyntaxNodeList
(tree).OfType<PrimaryConstructorBaseTypeSyntax>())
178
foreach (var expr in
GetSyntaxNodeList
(tree).OfType<ExpressionSyntax>())
199
foreach (var stmt in
GetSyntaxNodeList
(tree).OfType<StatementSyntax>())
218
return
GetSyntaxNodeList
(tree).OfType<T>().Where(n => n.Span.Contains(offset)).FirstOrDefault();
224
return
GetSyntaxNodeList
(tree).OfType<T>().Where(n => n.Span.Contains(offset)).Last();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\LookupTests.cs (1)
681
var baseExprNode = GetSyntaxNodeForBinding(
GetSyntaxNodeList
(tree));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (14)
Compilation\CompilationAPITests.cs (3)
2842
var expr = GetSyntaxNodeOfTypeForBinding<BinaryExpressionSyntax>(
GetSyntaxNodeList
(syntaxTree));
2877
var expr = GetSyntaxNodeOfTypeForBinding<BinaryExpressionSyntax>(
GetSyntaxNodeList
(syntaxTree));
2909
var expr = GetSyntaxNodeOfTypeForBinding<BinaryExpressionSyntax>(
GetSyntaxNodeList
(syntaxTree));
Compilation\SemanticModelGetSemanticInfoTests.cs (11)
1115
var expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1149
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1179
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1209
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1235
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1262
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1290
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1317
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1358
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
1396
expr = GetSyntaxNodeOfTypeForBinding<ExpressionSyntax>(
GetSyntaxNodeList
(tree));
14738
IdentifierNameSyntax syntaxToBind = GetSyntaxNodeOfTypeForBinding<IdentifierNameSyntax>(
GetSyntaxNodeList
(tree));
Microsoft.CodeAnalysis.CSharp.Test.Utilities (5)
CSharpTestBase.cs (2)
2028
SyntaxNode syntaxNode = GetSyntaxNodeOfTypeForBinding<TSyntaxNode>(
GetSyntaxNodeList
(tree));
2093
SyntaxNode syntaxNode = GetSyntaxNodeOfTypeForBinding<TSyntaxNode>(
GetSyntaxNodeList
(tree));
SemanticModelTestBase.cs (3)
23
return GetSyntaxNodeForBinding(
GetSyntaxNodeList
(tree)).SpanStart;
130
var syntaxToBind = GetSyntaxNodeOfTypeForBinding<TNode>(
GetSyntaxNodeList
(tree));
156
IdentifierNameSyntax syntaxToBind = GetSyntaxNodeOfTypeForBinding<IdentifierNameSyntax>(
GetSyntaxNodeList
(tree));