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