183 references to VerifyLocal
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler.UnitTests (183)
LocalsTests.vb (171)
72VerifyLocal(testData, typeName, locals(0), "<>m0", "Me", expectedILOpt:=
84VerifyLocal(testData, typeName, locals(1), "<>m1", "a", expectedILOpt:=
96VerifyLocal(testData, typeName, locals(2), "<>m2", "b", expectedILOpt:=
108VerifyLocal(testData, typeName, locals(3), "<>m3", "c", expectedILOpt:=
155VerifyLocal(testData, typeName, locals(0), "<>m0", "o")
167VerifyLocal(testData, typeName, locals(0), "<>m0", "$exception", "Error", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
176VerifyLocal(testData, typeName, locals(1), "<>m1", "$ReturnValue2", "Method M2 returned", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
185VerifyLocal(testData, typeName, locals(2), "<>m2", "$2", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
194VerifyLocal(testData, typeName, locals(3), "<>m3", "o", expectedILOpt:=
203VerifyLocal(testData, typeName, locals(4), "<>m4", "Me", expectedILOpt:=
210VerifyLocal(testData, typeName, locals(5), "<>m5", "o", expectedILOpt:=
257VerifyLocal(testData, typeName, locals(0), "<>m0", "Me", expectedILOpt:=
264VerifyLocal(testData, typeName, locals(1), "<>m1", "a", expectedILOpt:=
311VerifyLocal(testData, typeName, locals(0), "<>m0", "Me", expectedILOpt:="
321VerifyLocal(testData, typeName, locals(1), "<>m1", "[Me]", expectedILOpt:="
354VerifyLocal(testData, typeName, locals(0), "<>m0(Of T)", "x", expectedILOpt:=
402VerifyLocal(testData, typeName, locals(0), "<>m0", "args", expectedILOpt:=
417VerifyLocal(testData, typeName, locals(1), "<>m1", "F", expectedILOpt:=
431VerifyLocal(testData, typeName, locals(2), "<>m2", "o", expectedILOpt:=
484VerifyLocal(testData, typeName, locals(0), "<>m0", "w")
485VerifyLocal(testData, typeName, locals(1), "<>m1", "F")
486VerifyLocal(testData, typeName, locals(2), "<>m2", "y", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
496VerifyLocal(testData, typeName, locals(3), "<>m3", "v", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
516VerifyLocal(testData, typeName, locals(0), "<>m0", "w")
517VerifyLocal(testData, typeName, locals(1), "<>m1", "F")
518VerifyLocal(testData, typeName, locals(2), "<>m2", "u")
519VerifyLocal(testData, typeName, locals(3), "<>m3", "y", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult)
520VerifyLocal(testData, typeName, locals(4), "<>m4", "v", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult)
521VerifyLocal(testData, typeName, locals(5), "<>m5", "z", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
565VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=
576VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
615VerifyLocal(testData, "<>x(Of T)", locals(0), "<>m0(Of U)", "x", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedGeneric:=True, expectedILOpt:=
622VerifyLocal(testData, "<>x(Of T)", locals(1), "<>m1(Of U)", "y", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedGeneric:=True, expectedILOpt:=
629VerifyLocal(testData, "<>x(Of T)", locals(2), "<>m2(Of U)", "<>TypeVariables", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedGeneric:=True, expectedILOpt:=
674VerifyLocal(testData, typeName, locals(0), "<>m0", "Me", expectedILOpt:=
686VerifyLocal(testData, typeName, locals(1), "<>m1", "x", expectedILOpt:=
698VerifyLocal(testData, typeName, locals(2), "<>m2", "z", expectedILOpt:=
709VerifyLocal(testData, typeName, locals(3), "<>m3", "y", expectedILOpt:=
721VerifyLocal(testData, typeName, locals(4), "<>m4", "w", expectedILOpt:=
768VerifyLocal(testData, typeName, locals(0), "<>m0", "_2", expectedILOpt:=
776VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=
794VerifyLocal(testData, typeName, locals(0), "<>m0", "Me", expectedILOpt:=
804VerifyLocal(testData, typeName, locals(1), "<>m1", "_1", expectedILOpt:=
813VerifyLocal(testData, typeName, locals(2), "<>m2", "x", expectedILOpt:=
823VerifyLocal(testData, typeName, locals(3), "<>m3", "y", expectedILOpt:=
917VerifyLocal(testData, typeName, locals(0), "<>m0", "x1")
918VerifyLocal(testData, typeName, locals(1), "<>m1", "x2", expectedILOpt:=
929VerifyLocal(testData, typeName, locals(2), "<>m2", "x3")
930VerifyLocal(testData, typeName, locals(3), "<>m3", "x4")
940VerifyLocal(testData, typeName, locals(0), "<>m0", "y1")
941VerifyLocal(testData, typeName, locals(1), "<>m1", "y2", expectedILOpt:=
952VerifyLocal(testData, typeName, locals(2), "<>m2", "y3")
953VerifyLocal(testData, typeName, locals(3), "<>m3", "x2")
954VerifyLocal(testData, typeName, locals(4), "<>m4", "x3", expectedILOpt:=
965VerifyLocal(testData, typeName, locals(5), "<>m5", "x4")
975VerifyLocal(testData, typeName, locals(0), "<>m0", "z1")
976VerifyLocal(testData, typeName, locals(1), "<>m1", "z2", expectedILOpt:=
987VerifyLocal(testData, typeName, locals(2), "<>m2", "y2")
988VerifyLocal(testData, typeName, locals(3), "<>m3", "y3")
989VerifyLocal(testData, typeName, locals(4), "<>m4", "x2")
990VerifyLocal(testData, typeName, locals(5), "<>m5", "x3", expectedILOpt:=
1002VerifyLocal(testData, typeName, locals(6), "<>m6", "x4")
1012VerifyLocal(testData, typeName, locals(0), "<>m0", "w1")
1013VerifyLocal(testData, typeName, locals(1), "<>m1", "z2", expectedILOpt:=
1023VerifyLocal(testData, typeName, locals(2), "<>m2", "y2")
1024VerifyLocal(testData, typeName, locals(3), "<>m3", "y3")
1025VerifyLocal(testData, typeName, locals(4), "<>m4", "x2")
1026VerifyLocal(testData, typeName, locals(5), "<>m5", "x3")
1027VerifyLocal(testData, typeName, locals(6), "<>m6", "x4", expectedILOpt:=
1073VerifyLocal(testData, "<>x(Of $CLS0)", locals(0), "<>m0", "y")
1074VerifyLocal(testData, "<>x(Of $CLS0)", locals(1), "<>m1", "x")
1075VerifyLocal(testData, "<>x(Of $CLS0)", locals(2), "<>m2", "<>TypeVariables", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult)
1084VerifyLocal(testData, "<>x(Of $CLS0)", locals(0), "<>m0", "z")
1085VerifyLocal(testData, "<>x(Of $CLS0)", locals(1), "<>m1", "y")
1086VerifyLocal(testData, "<>x(Of $CLS0)", locals(2), "<>m2", "x")
1087VerifyLocal(testData, "<>x(Of $CLS0)", locals(3), "<>m3", "<>TypeVariables", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult)
1118VerifyLocal(testData, "<>x(Of T, U, V)", locals(0), "<>m0(Of W)", "Me", expectedILOpt:=
1145VerifyLocal(testData, "<>x(Of T, U, V)", locals(1), "<>m1(Of W)", "o", expectedILOpt:=
1164VerifyLocal(testData, "<>x(Of T, U, V)", locals(2), "<>m2(Of W)", "t1", expectedILOpt:=
1179VerifyLocal(testData, "<>x(Of T, U, V)", locals(3), "<>m3(Of W)", "u1", expectedILOpt:=
1194VerifyLocal(testData, "<>x(Of T, U, V)", locals(4), "<>m4(Of W)", "w1", expectedILOpt:=
1209VerifyLocal(testData, "<>x(Of T, U, V)", locals(5), "<>m5(Of W)", "<>TypeVariables", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
1264VerifyLocal(testData, "<>x(Of T, $CLS0)", locals(0), "<>m0", "t1")
1265VerifyLocal(testData, "<>x(Of T, $CLS0)", locals(1), "<>m1", "u1", expectedILOpt:=
1274VerifyLocal(testData, "<>x(Of T, $CLS0)", locals(2), "<>m2", "<>TypeVariables", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
1323VerifyLocal(testData, typeName, locals(0), "<>m0", "Me", expectedILOpt:=
1334VerifyLocal(testData, typeName, locals(1), "<>m1", "o", expectedILOpt:=
1378VerifyLocal(testData, "<>x(Of T)", locals(0), "<>m0", "o", expectedILOpt:=
1388VerifyLocal(testData, "<>x(Of T)", locals(1), "<>m1", "i", expectedILOpt:=
1398VerifyLocal(testData, "<>x(Of T)", locals(2), "<>m2", "t1", expectedILOpt:=
1409VerifyLocal(testData, "<>x(Of T)", locals(3), "<>m3", "<>TypeVariables", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
1452VerifyLocal(testData, "<>x(Of T, U)", locals(0), "<>m0", "Me", expectedILOpt:="
1466VerifyLocal(testData, "<>x(Of T, U)", locals(1), "<>m1", "y", expectedILOpt:="
1480VerifyLocal(testData, "<>x(Of T, U)", locals(2), "<>m2", "z", expectedILOpt:="
1494VerifyLocal(testData, "<>x(Of T, U)", locals(3), "<>m3", "<>TypeVariables", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:="
1543VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:="
1558VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:="
1617VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=
1632VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=
1676VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=
1687VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=
1797VerifyLocal(testData, typeName, locals(0), "<>m0", "dt", expectedILOpt:=
1805VerifyLocal(testData, typeName, locals(1), "<>m1", "d", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
1841VerifyLocal(testData, typeName, locals(0), "<>m0", "d", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
1880VerifyLocal(testData, typeName, locals(0), "<>m0", "Me", expectedILOpt:="
1890VerifyLocal(testData, typeName, locals(1), "<>m1", "[Nothing]", expectedILOpt:="
1900VerifyLocal(testData, typeName, locals(2), "<>m2", "[Me]", expectedILOpt:="
1910VerifyLocal(testData, typeName, locals(3), "<>m3", "[True]", expectedILOpt:="
1920VerifyLocal(testData, typeName, locals(4), "<>m4", "[Namespace]", expectedILOpt:="
1970VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=expectedIL)
2067VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Integer", displayClassName, "x"))
2068VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(ilTemplate, "Integer", displayClassName, "y"))
2074VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Integer", displayClassName, "x"))
2075VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(ilTemplate, "Single", displayClassName, "y"))
2081VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Integer", displayClassName, "x"))
2082VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(ilTemplate, "Single", displayClassName, "y"))
2090VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Integer", displayClassName, "x"))
2091VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(ilTemplate, "T", displayClassName, "y"))
2097VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Integer", displayClassName, "x"))
2098VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(ilTemplate, "Integer", displayClassName, "y"))
2154VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Integer", "Integer", displayClassName, "x"))
2160VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Single", "Integer", displayClassName, "x"))
2161VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(ilTemplate, "Single", "Single", displayClassName, "y"))
2167VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Single", "Integer", displayClassName, "x"))
2168VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(ilTemplate, "Single", "Single", displayClassName, "y"))
2174VerifyLocal(testData, typeName + "(Of T)", locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "T", "T", displayClassName + "(Of T)", "x"))
2180VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(ilTemplate, "Integer", "Integer", displayClassName, "x"))
2228VerifyLocal(testData, typeName, locals(0), "<>m0", "y", expectedILOpt:=String.Format(voidRetILTemplate, 1))
2234VerifyLocal(testData, typeName, locals(0), "<>m0", "z", expectedILOpt:=String.Format(funcILTemplate, "Integer", 1))
2240VerifyLocal(testData, typeName + "(Of $CLS0)", locals(0), "<>m0", "y", expectedILOpt:=String.Format(voidRetILTemplate, 1))
2246VerifyLocal(testData, typeName + "(Of $CLS0)", locals(0), "<>m0", "z", expectedILOpt:=String.Format(funcILTemplate, "Integer", 1))
2252VerifyLocal(testData, typeName + "(Of $CLS0)", locals(0), "<>m0", "ti", expectedILOpt:=String.Format(funcILTemplate, "$CLS0", 1))
2318VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(voidRetILTemplate, "Integer", 1))
2319VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(voidRetILTemplate, "Integer", 2))
2324VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(funcILTemplate, "String", "//M1", 1))
2325VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(funcILTemplate, "String", "//M1", 2))
2330VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(voidRetILTemplate, "String", 0))
2331VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(voidRetILTemplate, "String", 1))
2336VerifyLocal(testData, typeName, locals(0), "<>m0(Of T)", "x", expectedILOpt:=String.Format(funcILTemplate, "T", "//M2", 0), expectedGeneric:=True)
2337VerifyLocal(testData, typeName, locals(1), "<>m1(Of T)", "y", expectedILOpt:=String.Format(funcILTemplate, "T", "//M2", 1), expectedGeneric:=True)
2342VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=String.Format(funcILTemplate, "Integer", "//M2", 0))
2343VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=String.Format(refParamILTemplate, "Integer", "//M2", 1))
2423VerifyLocal(testData, typeName + "(Of T)", locals(0), "<>m0", "x", expectedILOpt:=String.Format(iteratorILTemplate, "Integer", displayClassName, "x"))
2429VerifyLocal(testData, typeName + "(Of T)", locals(0), "<>m0", "x", expectedILOpt:=String.Format(iteratorILTemplate, "Integer", displayClassName, "x"))
2445VerifyLocal(testData, typeName + "(Of T)", locals(0), "<>m0", "x", expectedILOpt:=String.Format(asyncILTemplate, "T", displayClassName, "x"))
2451VerifyLocal(testData, typeName + "(Of T)", locals(0), "<>m0", "x", expectedILOpt:=String.Format(asyncILTemplate, "T", displayClassName, "x"))
2540VerifyLocal(testData, typeName, locals(0), "<>m0", "o", expectedILOpt:=
2551VerifyLocal(testData, typeName, locals(1), "<>m1", "e", expectedILOpt:=
2598VerifyLocal(testData, typeName, locals(0), "<>m0", "o", expectedILOpt:=
2609VerifyLocal(testData, typeName, locals(1), "<>m1", "e", expectedILOpt:=
2698VerifyLocal(testData, typeName, locals(0), "<>m0", "Me", expectedILOpt:=
2710VerifyLocal(testData, typeName, locals(1), "<>m1", "s", expectedILOpt:=
2753VerifyLocal(testData, typeName, locals(0), "<>m0", "Me")
2754VerifyLocal(testData, typeName, locals(1), "<>m1", "s")
2818VerifyLocal(testData, typeName, locals(0), "<>m0", "z", expectedILOpt:=zIL)
2819VerifyLocal(testData, typeName, locals(1), "<>m1", "x", expectedILOpt:=xIL)
2820VerifyLocal(testData, typeName, locals(2), "<>m2", "y", expectedILOpt:=yIL)
2918VerifyLocal(testData, typeName, locals(0), "<>m0", "c", expectedILOpt:=cIL)
2919VerifyLocal(testData, typeName, locals(1), "<>m1", "z", expectedILOpt:=zIL)
2920VerifyLocal(testData, typeName, locals(2), "<>m2", "x", expectedILOpt:=xIL)
2921VerifyLocal(testData, typeName, locals(3), "<>m3", "y", expectedILOpt:=yIL)
3004VerifyLocal(testData, typeName, locals(0), "<>m0", "z", expectedILOpt:=zIL)
3005VerifyLocal(testData, typeName, locals(1), "<>m1", "x", expectedILOpt:=xIL)
3006VerifyLocal(testData, typeName, locals(2), "<>m2", "y", expectedILOpt:=yIL)
3085VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=xIL)
3086VerifyLocal(testData, typeName, locals(1), "<>m1", "y", expectedILOpt:=yIL)
3087VerifyLocal(testData, typeName, locals(2), "<>m2", "z", expectedILOpt:=zIL)
3145VerifyLocal(testData, typeName, locals(0), "<>m0", "x", expectedILOpt:=xIL)
3195VerifyLocal(testData, typeName, locals(0), "<>m0", "t", expectedILOpt:=xIL)
3300VerifyLocal(testData, typeName, locals(0), "<>m0", "x")
3301VerifyLocal(testData, typeName, locals(1), "<>m1", "y")
StaticLocalsTests.vb (9)
210VerifyLocal(testData, typeName, locals(0), "<>m0", "b")
211VerifyLocal(testData, typeName, locals(1), "<>m1", "F")
212VerifyLocal(testData, typeName, locals(2), "<>m2", "x", expectedILOpt:=
223VerifyLocal(testData, typeName, locals(3), "<>m3", "y", expectedILOpt:=
252VerifyLocal(testData, typeName, locals(0), "<>m0", "i")
253VerifyLocal(testData, typeName, locals(1), "<>m1", "F")
254VerifyLocal(testData, typeName, locals(2), "<>m2", "x", expectedILOpt:="
294VerifyLocal(testData, typeName, locals(0), "<>m0", "Me")
295VerifyLocal(testData, typeName, locals(1), "<>m1", "x")
TupleTests.vb (3)
233VerifyLocal(testData, typeName, locals(0), "<>m0", "o", expectedILOpt:=
282VerifyLocal(testData, typeName, locals(0), "<>m0", "c", expectedFlags:=DkmClrCompilationResultFlags.ReadOnlyResult, expectedILOpt:=
469VerifyLocal(testData, typeName, locals(0), "<>m0", "t", expectedILOpt:=