16 references to GetOperationAndSyntaxForTest
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\CollectionExpressionTests.cs (2)
27104(IOperation operation, _) = GetOperationAndSyntaxForTest<SpreadElementSyntax>(comp); 27127(IOperation operation, _) = GetOperationAndSyntaxForTest<SpreadElementSyntax>(comp);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (12)
IOperation\FunctionPointerOperations.cs (1)
203var (actualOperation, syntaxNode) = GetOperationAndSyntaxForTest<InvocationExpressionSyntax>(comp);
IOperation\IOperationTests_IArgument.cs (1)
3066var (operation, syntaxNode) = GetOperationAndSyntaxForTest<InvocationExpressionSyntax>(compilation);
IOperation\IOperationTests_IBranchOperation.Extensions.cs (2)
379var outer = GetOperationAndSyntaxForTest<TOuterSyntax>(compilation).operation; 380var inner = GetOperationAndSyntaxForTest<TInnerSyntax>(compilation).operation as IBranchOperation;
IOperation\IOperationTests_ICompoundAssignmentOperation.cs (2)
45(IOperation operation, _) = GetOperationAndSyntaxForTest<AssignmentExpressionSyntax>(compilation); 81(IOperation operation, SyntaxNode node) = GetOperationAndSyntaxForTest<AssignmentExpressionSyntax>(compilation);
IOperation\IOperationTests_IVariableDeclaration.cs (6)
611(var operation, _) = GetOperationAndSyntaxForTest<VariableDeclaratorSyntax>(compilation); 633(var operation, _) = GetOperationAndSyntaxForTest<VariableDeclaratorSyntax>(compilation); 654(var operation, _) = GetOperationAndSyntaxForTest<VariableDeclaratorSyntax>(compilation); 675(var operation, _) = GetOperationAndSyntaxForTest<VariableDeclaratorSyntax>(compilation); 849(var operation, _) = GetOperationAndSyntaxForTest<VariableDeclarationSyntax>(compilation); 871(var operation, _) = GetOperationAndSyntaxForTest<VariableDeclarationSyntax>(compilation);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2045var (operation, syntax) = GetOperationAndSyntaxForTest<TSyntaxNode>(compilation); 2069var (actualOperation, syntaxNode) = GetOperationAndSyntaxForTest<TSyntaxNode>(compilation);