14 references to OutVarTests
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\PrimaryConstructorTests.cs (7)
1425
var yDecl =
OutVarTests
.GetOutVarDeclaration(tree, "y");
1426
var yRef =
OutVarTests
.GetReferences(tree, "y").ToArray();
1428
OutVarTests
.VerifyModelForOutVar(model, yDecl, yRef[0]);
1429
OutVarTests
.VerifyNotAnOutLocal(model, yRef[1]);
2317
var xxDecl =
OutVarTests
.GetOutVarDeclaration(speculativePrimaryInitializer.SyntaxTree, "xx");
2318
var xxRef =
OutVarTests
.GetReferences(speculativePrimaryInitializer.SyntaxTree, "xx").ToArray();
2320
OutVarTests
.VerifyModelForOutVar(speculativeModel, xxDecl, xxRef);
Semantics\RecordTests.cs (7)
21455
var yDecl =
OutVarTests
.GetOutVarDeclaration(tree, "y");
21456
var yRef =
OutVarTests
.GetReferences(tree, "y").ToArray();
21458
OutVarTests
.VerifyModelForOutVar(model, yDecl, yRef[0]);
21459
OutVarTests
.VerifyNotAnOutLocal(model, yRef[1]);
22385
var xxDecl =
OutVarTests
.GetOutVarDeclaration(speculativePrimaryInitializer.SyntaxTree, "xx");
22386
var xxRef =
OutVarTests
.GetReferences(speculativePrimaryInitializer.SyntaxTree, "xx").ToArray();
22388
OutVarTests
.VerifyModelForOutVar(speculativeModel, xxDecl, xxRef);