54 references to VerifyCustomTypeInfo
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests (54)
DynamicTests.cs (54)
58VerifyCustomTypeInfo(locals[0], "d", 0x01); 99VerifyCustomTypeInfo(locals[0], "d", 0x02); 140VerifyCustomTypeInfo(locals[0], "d", 0x02); 181VerifyCustomTypeInfo(locals[0], "d", 0x01); 221VerifyCustomTypeInfo(locals[0], "d", 0x02); 266VerifyCustomTypeInfo(locals[0], "d", 0x02); 315VerifyCustomTypeInfo(locals[0], "a", 0x01); 319VerifyCustomTypeInfo(locals[0], "a", null); // Dynamic info ignored because ambiguous. 322VerifyCustomTypeInfo(locals[1], "b", 0x01); 331VerifyCustomTypeInfo(locals[0], "b", 0x02); 335VerifyCustomTypeInfo(locals[1], "a", 0x02); 339VerifyCustomTypeInfo(locals[1], "a", null); // Dynamic info ignored because ambiguous. 380VerifyCustomTypeInfo(locals[0], "a", null); 381VerifyCustomTypeInfo(locals[1], "b", 0x01); 390VerifyCustomTypeInfo(locals[0], "b", null); 393VerifyCustomTypeInfo(locals[1], "a", 0x02); 397VerifyCustomTypeInfo(locals[1], "a", null); // Dynamic info ignored because ambiguous. 446VerifyCustomTypeInfo(locals[0], "e", null); 450VerifyCustomTypeInfo(locals[1], "a", 0x01); 454VerifyCustomTypeInfo(locals[1], "a", null); // Dynamic info ignored because ambiguous. 457VerifyCustomTypeInfo(locals[2], "b", 0x01); 465VerifyCustomTypeInfo(locals[0], "e", null); 469VerifyCustomTypeInfo(locals[1], "a", 0x02); 470VerifyCustomTypeInfo(locals[2], "c", 0x02); 474VerifyCustomTypeInfo(locals[1], "a", null); // Dynamic info ignored because ambiguous. 475VerifyCustomTypeInfo(locals[2], "c", null); // Dynamic info ignored because ambiguous. 486VerifyCustomTypeInfo(locals[0], "e", null); 490VerifyCustomTypeInfo(locals[1], "a", 0x01); 491VerifyCustomTypeInfo(locals[2], "c", 0x01); 495VerifyCustomTypeInfo(locals[1], "a", null); // Dynamic info ignored because ambiguous. 496VerifyCustomTypeInfo(locals[2], "c", null); // Dynamic info ignored because ambiguous. 544VerifyCustomTypeInfo(locals[0], "e", null); 547VerifyCustomTypeInfo(locals[1], "a", 0x01); 551VerifyCustomTypeInfo(locals[1], "a", null); // Dynamic info ignored because ambiguous. 553VerifyCustomTypeInfo(locals[2], "c", null); 561VerifyCustomTypeInfo(locals[0], "e", null); 562VerifyCustomTypeInfo(locals[1], "b", 0x02); 570VerifyCustomTypeInfo(locals[0], "e", null); 571VerifyCustomTypeInfo(locals[1], "a", null); 574VerifyCustomTypeInfo(locals[2], "c", 0x02); 578VerifyCustomTypeInfo(locals[2], "c", null); // Dynamic info ignored because ambiguous. 615VerifyCustomTypeInfo(locals[0], "c123456789012345678901234567890123456789012345678901234567890123", 0x01); 616VerifyCustomTypeInfo(locals[2], "a123456789012345678901234567890123456789012345678901234567890123", 0x01); 620VerifyCustomTypeInfo(locals[0], "c123456789012345678901234567890123456789012345678901234567890123", null); // dynamic info dropped 621VerifyCustomTypeInfo(locals[2], "a123456789012345678901234567890123456789012345678901234567890123", null); // dynamic info dropped 624VerifyCustomTypeInfo(locals[1], "d", 0x01); 625VerifyCustomTypeInfo(locals[3], "b", 0x01); 657VerifyCustomTypeInfo(locals[0], "d", 0x01); 696VerifyCustomTypeInfo(locals[0], "d", 0x02); 735VerifyCustomTypeInfo(locals[0], "d", 0x02); 782VerifyCustomTypeInfo(locals[0], "d", 0x04, 0x03); 892VerifyCustomTypeInfo(locals[0], "d1", 0x01); 902VerifyCustomTypeInfo(locals[1], "d2", 0x84, 0x00); // Note: read flags right-to-left in each byte: 0010 0001 0(000 0000) 948VerifyCustomTypeInfo(locals[0], "d", null);