14 references to OutVarTests
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\PrimaryConstructorTests.cs (7)
1186
var yDecl =
OutVarTests
.GetOutVarDeclaration(tree, "y");
1187
var yRef =
OutVarTests
.GetReferences(tree, "y").ToArray();
1189
OutVarTests
.VerifyModelForOutVar(model, yDecl, yRef[0]);
1190
OutVarTests
.VerifyNotAnOutLocal(model, yRef[1]);
2078
var xxDecl =
OutVarTests
.GetOutVarDeclaration(speculativePrimaryInitializer.SyntaxTree, "xx");
2079
var xxRef =
OutVarTests
.GetReferences(speculativePrimaryInitializer.SyntaxTree, "xx").ToArray();
2081
OutVarTests
.VerifyModelForOutVar(speculativeModel, xxDecl, xxRef);
Semantics\RecordTests.cs (7)
21379
var yDecl =
OutVarTests
.GetOutVarDeclaration(tree, "y");
21380
var yRef =
OutVarTests
.GetReferences(tree, "y").ToArray();
21382
OutVarTests
.VerifyModelForOutVar(model, yDecl, yRef[0]);
21383
OutVarTests
.VerifyNotAnOutLocal(model, yRef[1]);
22309
var xxDecl =
OutVarTests
.GetOutVarDeclaration(speculativePrimaryInitializer.SyntaxTree, "xx");
22310
var xxRef =
OutVarTests
.GetReferences(speculativePrimaryInitializer.SyntaxTree, "xx").ToArray();
22312
OutVarTests
.VerifyModelForOutVar(speculativeModel, xxDecl, xxRef);