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