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