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