14 references to OutVarTests
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (14)
Semantics\PrimaryConstructorTests.cs (7)
1295
var yDecl =
OutVarTests
.GetOutVarDeclaration(tree, "y");
1296
var yRef =
OutVarTests
.GetReferences(tree, "y").ToArray();
1298
OutVarTests
.VerifyModelForOutVar(model, yDecl, yRef[0]);
1299
OutVarTests
.VerifyNotAnOutLocal(model, yRef[1]);
2187
var xxDecl =
OutVarTests
.GetOutVarDeclaration(speculativePrimaryInitializer.SyntaxTree, "xx");
2188
var xxRef =
OutVarTests
.GetReferences(speculativePrimaryInitializer.SyntaxTree, "xx").ToArray();
2190
OutVarTests
.VerifyModelForOutVar(speculativeModel, xxDecl, xxRef);
Semantics\RecordTests.cs (7)
21413
var yDecl =
OutVarTests
.GetOutVarDeclaration(tree, "y");
21414
var yRef =
OutVarTests
.GetReferences(tree, "y").ToArray();
21416
OutVarTests
.VerifyModelForOutVar(model, yDecl, yRef[0]);
21417
OutVarTests
.VerifyNotAnOutLocal(model, yRef[1]);
22343
var xxDecl =
OutVarTests
.GetOutVarDeclaration(speculativePrimaryInitializer.SyntaxTree, "xx");
22344
var xxRef =
OutVarTests
.GetReferences(speculativePrimaryInitializer.SyntaxTree, "xx").ToArray();
22346
OutVarTests
.VerifyModelForOutVar(speculativeModel, xxDecl, xxRef);