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)
203
var (actualOperation, syntaxNode) =
GetOperationAndSyntaxForTest
<InvocationExpressionSyntax>(comp);
IOperation\IOperationTests_IArgument.cs (1)
3066
var (operation, syntaxNode) =
GetOperationAndSyntaxForTest
<InvocationExpressionSyntax>(compilation);
IOperation\IOperationTests_IBranchOperation.Extensions.cs (2)
379
var outer =
GetOperationAndSyntaxForTest
<TOuterSyntax>(compilation).operation;
380
var 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)
2045
var (operation, syntax) =
GetOperationAndSyntaxForTest
<TSyntaxNode>(compilation);
2069
var (actualOperation, syntaxNode) =
GetOperationAndSyntaxForTest
<TSyntaxNode>(compilation);