5654 references to VerifyIL
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (2627)
BreakingChanges.cs (3)
1137verifier.VerifyIL("Program.test.<Goo>d__1.System.Collections.IEnumerator.MoveNext()", @" 1209verifier.VerifyIL("Program.test.<Goo>d__1.<>m__Finally1()", @" 1632verifier.VerifyIL("Test.Goo<T>()", @"
CodeGen\CodeGenAsyncEHTests.cs (4)
210VerifyIL("Test.<G>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 734VerifyIL("Test.<G>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 986v.VerifyIL("Test.<G>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1489VerifyIL("Test.<G>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @"
CodeGen\CodeGenAsyncIteratorTests.cs (31)
183v.VerifyIL("C.<GetSplits>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 362v.VerifyIL("C.<GetSplits>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 721verifier.VerifyIL("C.<Main>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", """ 2663verifier.VerifyIL("C.M", @" 2674verifier.VerifyIL("C.<M>d__0..ctor", @" 2695verifier.VerifyIL("C.<M>d__0..ctor", @" 2714verifier.VerifyIL("C.<M>d__0.System.Collections.Generic.IAsyncEnumerator<int>.get_Current()", @" 2722verifier.VerifyIL("C.<M>d__0.System.Collections.Generic.IAsyncEnumerator<int>.MoveNextAsync()", @" 2767verifier.VerifyIL("C.<M>d__0.System.IAsyncDisposable.DisposeAsync()", @" 2807verifier.VerifyIL("C.<M>d__0.System.Collections.Generic.IAsyncEnumerable<int>.GetAsyncEnumerator(System.Threading.CancellationToken)", @" 2838verifier.VerifyIL("C.<M>d__0.System.Threading.Tasks.Sources.IValueTaskSource<bool>.GetResult(short)", @" 2848verifier.VerifyIL("C.<M>d__0.System.Threading.Tasks.Sources.IValueTaskSource<bool>.GetStatus(short)", @" 2858verifier.VerifyIL("C.<M>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)", @" 2864verifier.VerifyIL("C.<M>d__0.System.Threading.Tasks.Sources.IValueTaskSource<bool>.OnCompleted(System.Action<object>, object, short, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)", @" 2879verifier.VerifyIL("C.<M>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 3042verifier.VerifyIL("C.<M>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 3224verifier.VerifyIL("C.<M>d__0.System.Collections.Generic.IAsyncEnumerable<int>.GetAsyncEnumerator(System.Threading.CancellationToken)", @" 3296verifier.VerifyIL("C.<M>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 3492verifier.VerifyIL("C.<M>d__0.System.Collections.Generic.IAsyncEnumerable<int>.GetAsyncEnumerator(System.Threading.CancellationToken)", @" 3564verifier.VerifyIL("C.<M>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 3761verifier.VerifyIL("C.<<M>g__local|0_0>d.System.Collections.Generic.IAsyncEnumerable<int>.GetAsyncEnumerator(System.Threading.CancellationToken)", @" 3833verifier.VerifyIL("C.<<M>g__local|0_0>d.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 4023verifier.VerifyIL("C.<M>d__0.System.Collections.Generic.IAsyncEnumerable<int>.GetAsyncEnumerator(System.Threading.CancellationToken)", @" 4056verifier.VerifyIL("C.<M>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 7146verifier.VerifyIL("C.<Iter>d__1.System.Collections.Generic.IAsyncEnumerable<int>.GetAsyncEnumerator(System.Threading.CancellationToken)", @" 7279verifier.VerifyIL("C.<<Main>g__Iter|0_0>d.System.Collections.Generic.IAsyncEnumerable<int>.GetAsyncEnumerator(System.Threading.CancellationToken)", @" 8859verifier.VerifyIL("C.<M>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """" 9184verifier.VerifyIL("C.<M>d__0<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """" 9475verifier.VerifyIL("C.<Produce>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """ 9916verifier.VerifyIL("C.<Produce>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """ 10297verifier.VerifyIL("Program.<Produce>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """
CodeGen\CodeGenAsyncLocalsTests.cs (8)
514verifier.VerifyIL("C.<F>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 644verifier.VerifyIL("C.<F>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 1302verifier.VerifyIL("C.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 1407verifier.VerifyIL("C.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 1562verifier.VerifyIL("Test.<MainAsync>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 1696verifier.VerifyIL("Test.<MainAsync>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 1887verifier.VerifyIL("Test.<MainAsync>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 2021verifier.VerifyIL("Test.<MainAsync>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()",
CodeGen\CodeGenAsyncMainTests.cs (2)
1568verifier.VerifyIL("Program.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 1810verifier.VerifyIL("Program.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()",
CodeGen\CodeGenAsyncMethodBuilderOverrideTests.cs (2)
139verifier.VerifyIL("C.F()", @" 160verifier.VerifyIL("C.G<T>(T)", @"
CodeGen\CodeGenAsyncSpillTests.cs (15)
598v.VerifyIL("Test.<F>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 761v.VerifyIL("Test.<F>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 3281verifier.VerifyIL("AsyncBug.<Boom>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """ 4077.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 4315.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 4528.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 4713.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 4904.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 5101.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 5283.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 5486.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 5706.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 5944.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 6195.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 6338.VerifyIL("Program.<Assign>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @"
CodeGen\CodeGenAsyncTests.cs (21)
2197c.VerifyIL("Test.F", @" 2219c.VerifyIL("Test.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 2303c.VerifyIL("Test.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine", @" 2342c.VerifyIL("Test.F", @" 2364c.VerifyIL("Test.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 2451c.VerifyIL("Test.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine", @" 2490c.VerifyIL("Test.F", @" 2514c.VerifyIL("Test.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 2610c.VerifyIL("Test.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine", @" 2645c.VerifyIL("Test.F", @" 2666c.VerifyIL("Test.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 2780CompileAndVerify(source, expectedOutput: expected).VerifyIL("Test.F", @" 2800").VerifyIL("Test.<F>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 3452v.VerifyIL("C.g", 3472v.VerifyIL("C.f", 3915v.VerifyIL("C.Main", @" 4238v.VerifyIL("Test.<F>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 4645VerifyIL("Program.M(int)", 5325VerifyIL("Test.Program.<M>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 5499VerifyIL("Test.Program.<M>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 6138verifier.VerifyIL("C.<ProduceAsync>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """
CodeGen\CodeGenAwaitForeachTests.cs (3)
3360verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 3787verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 5149verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @"
CodeGen\CodeGenAwaitUsingTests.cs (6)
1122verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 1296verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 1471verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 1716verifier.VerifyIL("S.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 1885verifier.VerifyIL("S.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2702verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @"
CodeGen\CodeGenCheckedTests.cs (87)
48verifier.VerifyIL("C.Add", @" 58verifier.VerifyIL("C.Sub", @" 69verifier.VerifyIL("C.Mul", @" 80verifier.VerifyIL("C.Minus", @" 122verifier.VerifyIL("C.Add", @" 133verifier.VerifyIL("C.Sub", @" 145verifier.VerifyIL("C.Mul", @" 157verifier.VerifyIL("C.Minus", @" 220verifier.VerifyIL("C.Add1", @" 230verifier.VerifyIL("C.Add2", @" 241verifier.VerifyIL("C.Sub", @" 252verifier.VerifyIL("C.PostInc", @" 265verifier.VerifyIL("C.PostDec", @" 277verifier.VerifyIL("C.PreInc", @" 290verifier.VerifyIL("C.PreDec", @" 394verifier.VerifyIL("C.Add_Int1", @" 407verifier.VerifyIL("C.Add_Int2", @" 420verifier.VerifyIL("C.Add_UInt1", @"{ 434verifier.VerifyIL("C.Add_UInt2", @" 449verifier.VerifyIL("C.Add_Long1", @" 463verifier.VerifyIL("C.Add_Long2", @" 477verifier.VerifyIL("C.Add_ULong1", @" 491verifier.VerifyIL("C.Add_ULong2", @" 504verifier.VerifyIL("C.Sub_Int", @" 516verifier.VerifyIL("C.Sub_UInt", @" 530verifier.VerifyIL("C.Sub_Long", @" 543verifier.VerifyIL("C.Sub_ULong", @" 556verifier.VerifyIL("C.Sub_Ptr", @" 568verifier.VerifyIL("C.PostInc", @" 579verifier.VerifyIL("C.PostDec", @" 613verifier.VerifyIL("C.Local", @" 630verifier.VerifyIL("C.LocalInc", @" 682verifier.VerifyIL("C.PostInc", @" 694verifier.VerifyIL("C.PreInc", @" 707verifier.VerifyIL("C.PostDec", @" 720verifier.VerifyIL("C.PreDec", @" 768verifier.VerifyIL("C.Add", @" 780verifier.VerifyIL("C.Sub", @" 793verifier.VerifyIL("C.Mul", @" 808verifier.VerifyIL("C.Div", @" 821verifier.VerifyIL("C.Rem", @" 849verifier.VerifyIL("C.Add", @" 906verifier.VerifyIL("C.PostIncUserDefined", @" 921verifier.VerifyIL("C.PostInc", @" 935verifier.VerifyIL("C.PreInc", @" 949verifier.VerifyIL("C.PostIncNullable", @"{ 993verifier.VerifyIL("C.ArraySize", @" 1047verifier.VerifyIL("C.ForEachString", @" 1075verifier.VerifyIL("C.ForEachVector", @" 1109verifier.VerifyIL("C.ForEachMultiDimArray", @" 1203verifier.VerifyIL("C.Add", @" 1215verifier.VerifyIL("C.Sub", @" 1228verifier.VerifyIL("C.Mul", @" 1243verifier.VerifyIL("C.Div", @" 1256verifier.VerifyIL("C.Rem", @" 1299verifier.VerifyIL("C.SByte_UInt", @" 1309verifier.VerifyIL("C.UInt_Int", @" 1319verifier.VerifyIL("C.Enum_Short", @" 1352").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1380").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1405").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1432").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1458").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1484").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1511").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1539").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1567").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1595").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1624").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1652").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1680").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1708").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1736").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1759").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1783").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1806").VerifyIL("C.<>c.<F>b__0_0(int)", @" 1831").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1856").VerifyIL("C.<>c.<F>b__1_0(int)", @" 1880CompileAndVerify(source, options: TestOptions.ReleaseDll.WithOverflowChecks(true)).VerifyIL("C.ULong_UInt", @" 1889CompileAndVerify(source, options: TestOptions.ReleaseDll.WithOverflowChecks(false)).VerifyIL("C.ULong_UInt", @" 1912CompileAndVerify(source, options: TestOptions.ReleaseDll.WithOverflowChecks(true)).VerifyIL("C.ULong_UInt", @" 1940CompileAndVerify(source, options: TestOptions.ReleaseDll.WithOverflowChecks(true)).VerifyIL("C.ULong_UInt", @" 2028verifier.VerifyIL("Program.Main", @" 2342verifier.VerifyIL("Derived2.inc", @" 2852verifier.VerifyIL("C.AddInSwitchExpression", @" 2871verifier.VerifyIL("C.AddInSwitchExpression2", @" 2890verifier.VerifyIL("C.Add", @"
CodeGen\CodeGenClosureLambdaTests.cs (33)
133compilation.VerifyIL("C.Main", 191compilation.VerifyIL("C.M", 803verifier.VerifyIL("Program.Main", @" 868verifier.VerifyIL("Program.Main", @" 969verifier.VerifyIL("Program.Main", @" 1044verifier.VerifyIL("Program.<>c__1<T>.<F>b__1_0", @" 1116verifier.VerifyIL("Program.<>c__DisplayClass1_0<T>.<F>b__0", @" 1571VerifyIL("M1.B2.<TestBase>b__1_0", 1634VerifyIL("M1.B2.<TestBase>b__1_0", 2201VerifyIL("M1.B2.<>n__0<U>", 2259VerifyIL("M1.B2.<>c__DisplayClass1_0.<Test>b__0", 2274VerifyIL("M1.B2.<>n__0<U>", 2399VerifyIL("Base<T>.Derived.<>n__0<U>", 2439VerifyIL("Derived.<>c__DisplayClass1_0.<Test>b__0", 2486VerifyIL("Derived.<>c__DisplayClass1_0.<Test>b__0", 2529VerifyIL("Derived.<>c__DisplayClass1_0.<Test>b__0", 3251verifier.VerifyIL("Program.Main", """ 3497VerifyIL("Program.c1.<>c__DisplayClass1_0.<Test>b__2", 3554VerifyIL("Program.c1.Test", 3652VerifyIL("Program.c1.Test", 3755VerifyIL("Program.c1.Test", 3842VerifyIL("Program.c1.Test", 4564CompileAndVerify(source, expectedOutput: "(1,-1)").VerifyIL("Test..cctor", @" 4722verifier.VerifyIL("C.M<T>", @" 4810verifier.VerifyIL("Program.Test", @" 4939verifier.VerifyIL("Program.Test", @" 4968verifier.VerifyIL("Program.<>c.<Test>b__1_1(int)", 4994verifier.VerifyIL("Program.<>c__DisplayClass1_0.<Test>b__0(int)", 5359compilation.VerifyIL("C.Main", 5585compilation.VerifyIL("Program.<>c__DisplayClass0_0.<Main>g__LocalMethod|0()", 5643compilation.VerifyIL("Program.TestMethod<T>(T)", 5725compilation.VerifyIL("Program.<>c__DisplayClass1_0<T>.<TestMethod>g__LocalFunction|0<TLocal>(TLocal)", 5782compilation.VerifyIL("Program.TestMethod<T>(T)",
CodeGen\CodeGenConditionalOperatorTests.cs (54)
627verify.VerifyIL("C.Tester", @" 663verify.VerifyIL("C.Tester", @" 751verify.VerifyIL("C.Tester", @" 800verify.VerifyIL("C.Tester", @" 877verify.VerifyIL("C.Tester", @" 926verify.VerifyIL("C.Tester", @" 1006verify.VerifyIL("C.Tester", @" 1068verify.VerifyIL("C.Tester", @" 1155verify.VerifyIL("C.Tester", @" 1185verify.VerifyIL("C.Tester", @" 1239verify.VerifyIL("C.Tester", @" 1271verify.VerifyIL("C.Tester", @" 1329verify.VerifyIL("C.Tester", @" 1367verify.VerifyIL("C.Tester", @" 1435verify.VerifyIL("C.Tester", @" 1474verify.VerifyIL("C.Tester", @" 1521comp.VerifyIL("C.Main", @"{ 1552comp.VerifyIL("C.Main", @"{ 1583comp.VerifyIL("C.Main", @" 1623comp.VerifyIL("C.Main", @" 1689comp.VerifyIL("C.Main", @" 1735comp.VerifyIL("C.Main", @" 1786comp.VerifyIL("Test.Main", @" 1844comp.VerifyIL("Test.Main", @" 1890comp.VerifyIL("Test.Main", @" 1932comp.VerifyIL("Test1.m1", @" 1957comp.VerifyIL("Test1.m2", @" 2010comp.VerifyIL("MainClass.g", @" 2196CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.Main", expectedIL); 2228CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.Main", expectedIL).VerifyDiagnostics(); 2276CompileAndVerify(source).VerifyIL("Program.Main", expectedIL); 2325CompileAndVerify(source).VerifyIL("Program.Main", expectedIL); 2352CompileAndVerify(source).VerifyIL("Program.Main", expectedIL); 2383CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.Main", expectedIL); 2428CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.Main", expectedIL); 2478CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.fun", expectedIL); 2523CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.fun", expectedIL); 2567CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.fun", expectedIL); 2620CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.Main", expectedIL); 2694CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Program.Main", expectedIL); 2747CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Class1.Main", expectedIL); 2780verify.VerifyIL("C.Tester", @" 2810verify.VerifyIL("C.Tester", 2879CompileAndVerify(source, expectedOutput: expectedOutput).VerifyIL("Class1.Main", expectedIL); 3121comp.VerifyIL("C.Main", @" 3291verify.VerifyIL("Program.Main", 3395verify.VerifyIL("C<T>.Print()", @" 3474verify.VerifyIL("C<T>.Print()", @" 3549verify.VerifyIL("C<T>.Print()", @" 3619verify.VerifyIL("C<T>.Print()", @" 3685verifier.VerifyIL("Class<T>.Value.get", @" 3747verifier.VerifyIL("Class<T>.Value.get", @" 3801verifier.VerifyIL("Program.Test1<T>(ref T)", @" 3862verifier.VerifyIL("Program.Test1<T>(ref T)", @"
CodeGen\CodeGenConstructorInitTests.cs (32)
34VerifyIL("C..ctor", @" 62VerifyIL("C..ctor", @" 90VerifyIL("C..ctor", @" 122VerifyIL("C..ctor", @" 162VerifyIL("C..ctor", @" 199VerifyIL("C..ctor", @" 331VerifyIL("C..ctor", @" 368VerifyIL("S..ctor", @" 409VerifyIL("C..ctor(int)", @" 456VerifyIL("C..cctor()", @" 492VerifyIL("C..cctor()", @" 524VerifyIL("C..cctor()", @" 573VerifyIL("ClassWithStaticField..cctor", @" 629CompileAndVerify(source1).VerifyIL("C..cctor", expectedIL); 630CompileAndVerify(source2).VerifyIL("C..cctor", expectedIL); 665CompileAndVerify(source1).VerifyIL("C..cctor", expectedIL); 666CompileAndVerify(source2).VerifyIL("C..cctor", expectedIL); 716VerifyIL("C.<>c..cctor", @" 798CompileAndVerify(source).VerifyIL("C..cctor()", @"{ 825CompileAndVerify(source).VerifyIL("C..cctor()", @" 877CompileAndVerify(source).VerifyIL("C..cctor()", @" 895CompileAndVerify(source).VerifyIL("C..cctor()", @" 953CompileAndVerify(source).VerifyIL("C..cctor()", @" 980CompileAndVerify(source).VerifyIL("C..cctor()", @" 1004CompileAndVerify(source).VerifyIL("C..cctor()", @" 1034CompileAndVerify(source).VerifyIL("C..cctor()", @" 1064CompileAndVerify(source).VerifyIL("C..cctor()", @" 1094CompileAndVerify(source).VerifyIL("C..cctor()", @" 1129CompileAndVerify(source).VerifyIL("C..cctor()", @" 1151CompileAndVerify(source, options: TestOptions.UnsafeDebugDll, verify: Verification.Skipped).VerifyIL("C..cctor()", @" 1228CompileAndVerify(source).VerifyIL("C..cctor()", @" 1251CompileAndVerify(source).VerifyIL("C..cctor()", @"
CodeGen\CodeGenConversionTests.cs (16)
175compilation.VerifyIL("Test.M", 405compilation.VerifyIL("Program.Test(decimal)", 451compilation.VerifyIL("Program.Test2(float)", 499compilation.VerifyIL("Program.Test2(float)", 543compilation.VerifyIL("Class1.Main()", 602compilation.VerifyIL("Class1.Main()", 650compilation.VerifyIL("Class1.Main()", 712compilation.VerifyIL("Program.Goo<T>(G<T>.E, G<int>.E)", 778compilation.VerifyIL("C.Main()", 870compilation.VerifyIL("C.Main()", @" 905compilation.VerifyIL("C.Test()", @" 940compilation.VerifyIL("C.Test()", @" 976compilation.VerifyIL("C.Test()", @" 1013compilation.VerifyIL("C.Main()", 1119comp.VerifyIL("Program.M", 1160comp.VerifyIL("Program.M",
CodeGen\CodeGenDeconstructTests.cs (34)
110comp.VerifyIL("C.Main", @" 198comp.VerifyIL("C.Main", @" 1179comp.VerifyIL("C.Main", @" 1290comp.VerifyIL("C.Main", @" 1326comp.VerifyIL("C.Main", 1374comp.VerifyIL("C.Main", 2177comp.VerifyIL("C.Swap", @" 3089comp.VerifyIL("C.Main", @" 4067comp.VerifyIL("C.Main", 4151comp.VerifyIL("C.Main", 4234comp.VerifyIL("C.Main", 4345comp.VerifyIL("C.Main", 4621comp.VerifyIL("C.Main", 5050verifier.VerifyIL("<<Initialize>>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 5216verifier.VerifyIL("<<Initialize>>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 6234.VerifyIL("C.Main", @" 6529comp.VerifyIL("C.Main()", @" 7150.VerifyIL("Program.Main", @" 7201.VerifyIL("Program.Main", @" 7462.VerifyIL("Program.Main", @" 8009comp.VerifyIL("C..ctor(int, string)", @" 8061comp.VerifyIL("C..ctor(C)", @" 8111comp.VerifyIL("C..ctor(int, string, ref int)", @" 8164comp.VerifyIL("Point..ctor(int, int)", @" 8711verifier.VerifyIL("C.M", @" 8733verifier.VerifyIL("C.M", @" 9098comp.VerifyIL("C.M", @" 9156comp.VerifyIL("C.M", @" 9214comp.VerifyIL("C.M", @" 9300comp.VerifyIL("C.M", @" 9408comp.VerifyIL("C.M", @" 9530comp.VerifyIL("C.Main", @" 9820comp.VerifyIL("C.Main", @" 9907comp.VerifyIL("C.Main", @"
CodeGen\CodeGenDynamicTests.cs (8)
50unoptimizedVerifier.VerifyIL(methodName, expectedUnoptimizedIL, realIL: true, sequencePoints: methodName, callerPath: callerPath, callerLine: callerLine); 55optimizedVerifier.VerifyIL(methodName, expectedOptimizedIL, realIL: true, callerPath: callerPath, callerLine: callerLine); 337CompileAndVerifyWithMscorlib40(source, new[] { systemCoreRef, csrtRef }, verify: Verification.Fails).VerifyIL("C.F", @" 2289verifier.VerifyIL("C.IsObject", @" 2301verifier.VerifyIL("C.IsDynamic", @" 2313verifier.VerifyIL("C.As", @" 7497verifier.VerifyIL("<<Initialize>>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 7595CompileAndVerify(script).VerifyIL("Goo", @"
CodeGen\CodeGenExprLambdaTests.cs (4)
2511VerifyIL("Test.Main", 2547VerifyIL("Test.Main", 4050verifier.VerifyIL("C.Main", @" 4201verifier.VerifyIL("C.Main", @"
CodeGen\CodeGenFieldInitTests.cs (5)
436CompileAndVerify(compilation).VerifyIL("C..ctor", @" 463CompileAndVerify(compilation).VerifyIL("C..ctor", @" 484CompileAndVerify(compilation).VerifyIL("C<T>..ctor", @" 512CompileAndVerify(compilation).VerifyIL("C..cctor", @" 593CompileAndVerify(compilation).VerifyIL("C..ctor", @"
CodeGen\CodeGenForEachTests.cs (34)
46compilation.VerifyIL("C.Main", @"{ 117compilation.VerifyIL("C.Main", """ 226compilation.VerifyIL("C.Test", @" 390compilation.VerifyIL("C.Main", @"{ 449compilation.VerifyIL("C.Main", @"{ 516compilation.VerifyIL("C.Main", @"{ 584compilation.VerifyIL("C.Main", @"{ 647compilation.VerifyIL("C.Main", @"{ 707compilation.VerifyIL("C.Main", @"{ 800CompileAndVerify(compilation).VerifyIL("C.Test", @"{ 850compilation.VerifyIL("C.Main", @"{ 894compilation.VerifyIL("C.Main", @" 959compilation.VerifyIL("C.Main", @" 1023compilation.VerifyIL("C.Main", @" 1093compilation.VerifyIL("C.Main", @" 1154compilation.VerifyIL("C.Main", @" 1225compilation.VerifyIL("C.Main", @"{ 1287compilation.VerifyIL("C.Main", @"{ 1405verifier.VerifyIL("C.Main", @" 1805compilation.VerifyIL("C.Main", @" 2041compilation.VerifyIL("C.Main", @" 2113compilation.VerifyIL("C.Main", @" 2178compilation.VerifyIL("C.Main", @" 2243CompileAndVerify(source).VerifyIL("C<T>.M", @" 2300CompileAndVerify(source).VerifyIL("C<T>.M", @" 2361compilation.VerifyIL("C.M<T>", 2512.VerifyIL("C.Main", @" 2574.VerifyIL("C.Main", @" 4703.VerifyIL("C.Main", @" 4762.VerifyIL("C.Main", @" 4821.VerifyIL("C.Main", @" 4870.VerifyIL("C.Main", @" 5635verifier.VerifyIL("<top-level-statements-entry-point>", """ 5705verifier.VerifyIL("<top-level-statements-entry-point>", """
CodeGen\CodeGenFunctionPointersTests.cs (100)
471verifier.VerifyIL("D.TestRefReadonly", @" 502verifier.VerifyIL("D.TestOut", @" 534verifier.VerifyIL("D.TestIn", @" 612verifier.VerifyIL("C.Main", @" 764verifier.VerifyIL("C.Prop1.get", expectedIL: @" 774verifier.VerifyIL("C.Prop1.set", expectedIL: @" 1065verifier.VerifyIL("Caller.Call(delegate*<void>)", @" 1130verifier.VerifyIL("Caller.Call()", @" 1195verifier.VerifyIL("Caller.Call()", @" 1251verifier.VerifyIL($"Caller.Call", $@" 1286verifier.VerifyIL("<top-level-statements-entry-point>", $@" 1339verifier.VerifyIL($"Caller.Call(delegate* unmanaged[Fastcall]<string, string, string>)", @" 1424verifier.VerifyIL("C.TestSingle()", @" 1450verifier.VerifyIL("C.TestMultiple()", @" 1525verifier.VerifyIL(@"Program.<<Main>$>g__TestSingle|0_0()", @" 1547verifier.VerifyIL(@"Program.<<Main>$>g__TestMultiple|0_1()", @" 1666verifier.VerifyIL("C.TestSingle()", @" 1693verifier.VerifyIL("C.TestMultiple()", """ 1827verifier.VerifyIL("C.PropertyOrder", expectedIL: @" 1843verifier.VerifyIL("C.MethodOrder()", expectedIL: @" 1914verifier.VerifyIL("C.Main()", expectedIL: @" 1983verifier.VerifyIL("C.Main()", expectedIL: @" 2065verifier.VerifyIL("C.Main()", expectedIL: @" 2144verifier.VerifyIL("C.Main()", expectedIL: @" 2212verifier.VerifyIL("C.Main()", expectedIL: @" 2283verifier.VerifyIL("C.Main()", expectedIL: @" 2348verifier.VerifyIL("C.Main()", expectedIL: @" 2445verifier.VerifyIL("C.Main()", expectedIL: @" 2492verifier.VerifyIL("C.Main()", expectedIL: @" 2689verifier.VerifyIL("C.Main()", expectedIL: @" 2714verifier.VerifyIL("C.Main()", expectedIL: @" 2753verifier.VerifyIL("C.Main()", expectedIL: @" 2802verifier.VerifyIL("S.Main()", expectedIL: @" 2842verifier.VerifyIL("C.Main()", expectedIL: @" 2873verifier.VerifyIL("C.Main()", expectedIL: @" 2919verifier.VerifyIL("C.Main()", expectedIL: @" 2950verifier.VerifyIL("C.Main", @" 2990verifier.VerifyIL("C.Main()", expectedIL: $@" 3035verifier.VerifyIL("C.Main()", expectedIL: @" 3298verifier.VerifyIL("C.Main()", expectedIL: @" 3531verifier.VerifyIL("C.Main()", expectedIL: @" 3823verifier.VerifyIL("C.Main()", expectedIL: @" 3881verifier.VerifyIL("C.Main()", expectedIL: @" 3950verifier.VerifyIL("C.Main()", expectedIL: @" 4157verifier.VerifyIL("C.Main()", expectedIL: @" 4194verifier.VerifyIL("C.Main", expectedIL: @" 4260verifier.VerifyIL("C.M", expectedIL: @" 4273verifier.VerifyIL("C.Main", expectedIL: @" 4325verifier.VerifyIL(@"C.Main", expectedIL: @" 4361verifier.VerifyIL("C.Main", expectedIL: @" 4437verifier.VerifyIL("C.Main", expectedIL: @" 4493verifier.VerifyIL("C.Main", expectedIL: @" 4544verifier.VerifyIL("C.Main", expectedIL: @" 4616verifier.VerifyIL("C.Main", expectedIL: @" 4663verifier.VerifyIL("C.M", expectedIL: @" 4726verifier.VerifyIL("C.M", expectedIL: @" 4793verifier.VerifyIL("C.M", expectedIL: @" 4857verifier.VerifyIL("C.M", expectedIL: @" 4899verifier.VerifyIL("C.Main", @" 4949verifier.VerifyIL("C.Main", expectedIL: @" 4983verifier.VerifyIL("C.Main", expectedIL: @" 5070verifier.VerifyIL("C.Main", expectedIL: @" 5167verifier.VerifyIL("C.DoCompare", expectedIL: @" 5364verifier.VerifyIL(@"C.M<T>(delegate*<ref T>, delegate*<T>)", @" 5781verifier.VerifyIL("C.Main", expectedIL: @" 5857verifier.VerifyIL("C.Main", expectedIL: @" 5904verifier.VerifyIL("C.Main", @" 5948verifier.VerifyIL("C.Main", @" 6032verifier.VerifyIL("C.Main", expectedIL: @" 6077verifier.VerifyIL("C.Main", expectedIL: @" 6977verifier.VerifyIL("Derived.M1", expectedIL: @" 6993verifier.VerifyIL("Derived.M2", expectedIL: @" 7004verifier.VerifyIL("Derived.M3", expectedIL: @" 7017verifier.VerifyIL("Derived.M4", expectedIL: @" 7028verifier.VerifyIL("Derived.Main", expectedIL: @" 7162comp.VerifyIL("C.Main", @" 7197verifier.VerifyIL("FunctionPointer.Main", @" 7234verifier.VerifyIL("FunctionPointer.<Main>g__local|0_0(bool)", @" 7277verifier.VerifyIL("C.<>c__DisplayClass0_0.<Main>b__0()", expectedIL: @" 7469verifier.VerifyIL(@"FunctionPointer.Main", expectedIL: @" 7478verifier.VerifyIL("FunctionPointer.Main", @" 10727verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL: @" 10756verifier.VerifyIL(@"C.M2", @" 10842verifier.VerifyIL("<top-level-statements-entry-point>", @" 10885verifier.VerifyIL("<top-level-statements-entry-point>", @" 10931verifier.VerifyIL("Program.<<Main>$>g__ReturnPtrByRef|0_0(delegate*<ref int, ref int>, ref int)", @" 11023verifier.VerifyIL("Program.<<Main>$>g__ReturnPtrByRef|0_0(delegate*<ref System.Span<int>, ref System.Span<int>>, ref System.Span<int>)", @" 11080verifier.VerifyIL("Program.<<Main>$>g__ReturnPtrByRef|0_0(delegate*<ref int, ref int>, ref int)", @" 11110verifier.VerifyIL("<top-level-statements-entry-point>", @" 11148verifier.VerifyIL("<top-level-statements-entry-point>", @" 11188verifier.VerifyIL("Program.<<Main>$>g__ReturnPtrByRef|0_0(delegate*<ref int, ref int>, ref int, ref int)", @" 11218verifier.VerifyIL("<top-level-statements-entry-point>", @" 11269verifier.VerifyIL("Program.<<Main>$>g__ptrTest|0_0()", @" 11336verifier.VerifyIL("Program.<<Main>$>g__N|0_1(ref Program.<>c__DisplayClass0_0)", @" 11374verifier.VerifyIL("<top-level-statements-entry-point>", @" 11443verifier.VerifyIL("Program.<<Main>$>g__test|0_0<T>(delegate*<T, void>)", @" 12421verifier.VerifyIL("<top-level-statements-entry-point>", @" 12467verifier.VerifyIL("<top-level-statements-entry-point>", @" 12513verifier.VerifyIL("<top-level-statements-entry-point>", @" 12559verifier.VerifyIL("<top-level-statements-entry-point>", @"
CodeGen\CodeGenImplicitImplementationTests.cs (1)
871.VerifyIL("MainClass.Test", @"
CodeGen\CodeGenIncrementTests.cs (4)
444compilation.VerifyIL("C.Main", @" 851VerifyIL("Test.M", 888VerifyIL("Test.M", 1040VerifyIL("Test.Main",
CodeGen\CodeGenInParametersTests.cs (75)
55comp.VerifyIL("C.Main", @" 114comp.VerifyIL("C.Main", @" 163comp.VerifyIL("C.Main", @" 197comp.VerifyIL("C.Main", @" 235comp.VerifyIL("C..ctor", @" 273comp.VerifyIL("C.Main", @" 318comp.VerifyIL("C.Main", @" 350comp.VerifyIL("C.Main", @" 382comp.VerifyIL("C.Main", @" 428comp.VerifyIL("C.Main", @" 480comp.VerifyIL("C.Main", @" 538verifier.VerifyIL("C.Main", @" 602verifier.VerifyIL("C.Main", @" 672comp.VerifyIL("C.Main", @" 720comp.VerifyIL("C.Main", @" 754comp.VerifyIL("Program.M(in int)", @" 803comp.VerifyIL("Program.Main()", @" 859comp.VerifyIL("Program.Main()", @" 919comp.VerifyIL("Program.Main()", @" 930comp.VerifyIL("Program.M(in int)", @" 940comp.VerifyIL("Program.Main()", @" 979comp.VerifyIL("Program.Main()", @" 990comp.VerifyIL("Program.M(in int)", @" 1000comp.VerifyIL("Program.Main()", @" 1040comp.VerifyIL("Program.M(in int)", @" 1092comp.VerifyIL("P1..ctor(in string)", @" 1102comp.VerifyIL("P1.M(in int)", @" 1128comp.VerifyIL("Program.M(in int)", @" 1335comp.VerifyIL("Program.M", @" 1378comp.VerifyIL("Program.<M>g__M1|0_0(in int, in System.ValueTuple<int, int>)", @" 1448comp.VerifyIL("Program.Main", @" 1481comp.VerifyIL("Program.Main", @" 1617verifier.VerifyIL("Program.<Test>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 1835result.VerifyIL("Program.<Test>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", expectedIL); 1840result.VerifyIL("Program.<Test>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", expectedIL); 2351v.VerifyIL("Program.<Test>d__5.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2438v.VerifyIL("Program.<Test>d__5.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2576comp.VerifyIL($"D.M1<T>({modifier} T)", @" 2634comp.VerifyIL($"D.M1<T>({modifier} T)", @" 2726comp.VerifyIL($"Program.Test1({modifier} S1?)", @" 2749comp.VerifyIL("Program.Test2(ref S1?)", @" 2941CompileAndVerify(code, expectedOutput: "5").VerifyIL("Program.Main", @" 2984CompileAndVerify(code, expectedOutput: "10").VerifyIL("Program.Main", @" 3027CompileAndVerify(code, expectedOutput: "(1, 5)").VerifyIL("Program.Main", @" 3078CompileAndVerify(code, expectedOutput: "(2, 5)").VerifyIL("Program.Main", @" 3129CompileAndVerify(code, expectedOutput: "(3, 10)").VerifyIL("Program.Main", @" 3180CompileAndVerify(code, expectedOutput: "(1, 5)").VerifyIL("Program.Main", @" 3231CompileAndVerify(code, expectedOutput: "(2, 10)").VerifyIL("Program.Main", @" 3295").VerifyIL("Program.Main", @" 3375").VerifyIL("Program.Main", @" 3455").VerifyIL("Program.Main", @" 3535").VerifyIL("Program.Main", @" 3601CompileAndVerify(code, expectedOutput: "test").VerifyIL("Program.Main", @" 3654CompileAndVerify(code, expectedOutput: "6").VerifyIL("Program.Main", @" 3738verifier.VerifyIL("X.M()", @" 3776verifier.VerifyIL("Test.Main(string[])", @" 3827verifier.VerifyIL("Test.Main(string[])", @" 3885verifier.VerifyIL("Test.Main(string[])", @" 3949verifier.VerifyIL("Test.Main(string[])", @" 4013verifier.VerifyIL("Test..ctor()", @" 4034verifier.VerifyIL("Test.Test1(in int, ref int)", @" 4091verifier.VerifyIL("Test..ctor()", @" 4147verifier.VerifyIL("Test..ctor()", @" 4205verifier.VerifyIL("Test..ctor()", @" 4268verifier.VerifyIL("Test.Test1()", @" 4341verifier.VerifyIL("Test.Test1()", @" 4398verifier.VerifyIL("Test.Test1()", @" 4455verifier.VerifyIL("C.M", """ 4526verifier.VerifyIL($"C.M<T>({modifier} T)", """ 4605verifier.VerifyIL("D.M", """ 4689verifier.VerifyIL("D.M", """ 4756comp.VerifyIL("C.M", """ 4804CompileAndVerify(libUser).VerifyIL("C.M", """ 4871verifier.VerifyIL("C.M", """ 4886verifier.VerifyIL("C..ctor(int)", """
CodeGen\CodeGenInterfaceImplementation.cs (4)
779comp.VerifyIL("Derived3.Interface.set_Property", @"{ 878comp.VerifyIL("Derived3.Interface.set_Property", @"{ 2648verifier.VerifyIL("D.I.M", @" 2760verifier.VerifyIL("D.I<char>.M" + pair[0], @"
CodeGen\CodeGenInterpolatedString.cs (4)
84comp.VerifyIL("Test.Main", @" 128comp.VerifyIL("Test.M6", @" 175comp.VerifyIL("Test.Main", @" 245comp.VerifyIL("Test.Main", @"
CodeGen\CodeGenIterators.cs (34)
172compilation.VerifyIL("C.<IE>d__2<T>.System.Collections.Generic.IEnumerable<T>.GetEnumerator()", @" 210compilation.VerifyIL("S.<IE>d__2<T>.System.Collections.Generic.IEnumerable<T>.GetEnumerator()", @" 306compilation.VerifyIL("Program.<Int0>d__0.System.Collections.IEnumerator.MoveNext()", @" 446compilation.VerifyIL("Program.<Int0>d__0.System.IDisposable.Dispose()", @" 977CompileAndVerify(source, expectedOutput: "1").VerifyIL("Program.Main", @" 1078VerifyIL("Program.Test", @" 1185rel.VerifyIL("Program.M", @" 1204dbg.VerifyIL("Program.M", @" 1333VerifyIL("Test.<M>d__0<T>.System.Collections.IEnumerator.MoveNext()", 2236CompileAndVerify(source).VerifyIL("C<T>.<F>d__0.System.Collections.IEnumerator.MoveNext()", expectedIL = 2570v.VerifyIL("Program.<Method1>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 2644v.VerifyIL("Program.<Method2>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 2761v.VerifyIL("Program.<Method3>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 2919compilation.VerifyIL("Program.<Iter1>d__1.System.Collections.IEnumerator.MoveNext()", @"{ 2961compilation.VerifyIL("Program.<Iter2>d__2.System.Collections.IEnumerator.MoveNext()", @"{ 3026verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3059verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3096verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3134verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3187verifier.VerifyIL("C.<M>d__0.System.IDisposable.Dispose()", """ 3240verifier.VerifyIL("C.<M>d__0.System.IDisposable.Dispose()", """ 3315verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3345verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3382verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3420verifier.VerifyIL("C.<Produce>d__2.System.IDisposable.Dispose()", """ 3460verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3533verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3681verifier.VerifyIL("C.<M>d__0<T>.System.IDisposable.Dispose()", """ 3740verifier.VerifyIL("C.<M>d__0.System.IDisposable.Dispose()", """ 3857verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3888verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 3935verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """ 4032verifier.VerifyIL("Program.<Test>d__1.System.IDisposable.Dispose()", """ 4071verifier.VerifyIL("C.<Produce>d__0.System.IDisposable.Dispose()", """
CodeGen\CodeGenLocalFunctionTests.cs (7)
76verifier.VerifyIL("C.<M>g__local|1_0", @" 868verifier.VerifyIL("C.M()", @" 892verifier.VerifyIL("C.<M>g__L1|2_0(ref C.<>c__DisplayClass2_0)", @" 902verifier.VerifyIL("C.<M>g__L2|2_1(ref C.<>c__DisplayClass2_0)", @" 912verifier.VerifyIL("C.<M>g__L5|2_5(ref C.<>c__DisplayClass2_0, ref C.<>c__DisplayClass2_1)", @" 924verifier.VerifyIL("C.<M>g__L6|2_6(ref C.<>c__DisplayClass2_0, ref C.<>c__DisplayClass2_1)", @" 5159c.VerifyIL("Program.Main", @"
CodeGen\CodeGenLockTests.cs (31)
38verifier.VerifyIL("Test.M", @" 93verifier.VerifyIL("Test.M", @" 147verifier.VerifyIL("Test.M", @" 203verifier.VerifyIL("Test.M", @" 260verifier.VerifyIL("Test.M", @" 314verifier.VerifyIL("Test.M", @" 368verifier.VerifyIL("Test.M", @" 422verifier.VerifyIL("Test.M<T>", @" 479CompileAndVerify(compilation).VerifyIL("Test.Main", @" 547CompileAndVerify(text, parseOptions: TestOptions.Regular10).VerifyIL("Test.Main", @" 652CompileAndVerify(compilation).VerifyIL("Test.Main", @" 726CompileAndVerify(text).VerifyIL("Test.Main", @" 771CompileAndVerify(text).VerifyIL("Test.Main", @" 817CompileAndVerify(text).VerifyIL("Test.Main", @" 863CompileAndVerify(text).VerifyIL("Test.Main", @" 909CompileAndVerify(text).VerifyIL("Test.Main", @" 957CompileAndVerify(text).VerifyIL("Test.Main", @" 1003CompileAndVerify(text).VerifyIL("Test.Main", @" 1051CompileAndVerify(text).VerifyIL("Test.Main", @" 1120CompileAndVerify(text).VerifyIL("Test.goo", @" 1194CompileAndVerify(text).VerifyIL("Test.Values", @" 1247CompileAndVerify(text).VerifyIL("Test.Main", @" 1306CompileAndVerify(text).VerifyIL("Test.Main", @" 1364verifier.VerifyIL("Test.M", @" 1414verifier.VerifyIL("Test.M", @" 1463verifier.VerifyIL("Test.M", @" 1514verifier.VerifyIL("Test.M", @" 1566verifier.VerifyIL("Test.M", @" 1615verifier.VerifyIL("Test.M", @" 1664verifier.VerifyIL("Test.M", @" 1713verifier.VerifyIL("Test.M<T>", @"
CodeGen\CodeGenMscorlib.cs (13)
620VerifyIL("int.CompareTo(int)", @" 641VerifyIL("int.Equals(object)", @" 659VerifyIL("int.GetHashCode()", @" 766VerifyIL("program.Main()", 895VerifyIL("System.IntPtr..ctor(int)", @" 907).VerifyIL("System.IntPtr.Equals(object)", @" 925).VerifyIL("System.IntPtr.GetHashCode()", @" 936).VerifyIL("bool System.IntPtr.op_Equality(System.IntPtr, System.IntPtr)", 948").VerifyIL("bool System.IntPtr.op_Inequality(System.IntPtr, System.IntPtr)", 962").VerifyIL("System.IntPtr.Bar(System.IntPtr)", 1043c.VerifyIL("program.Main()", @" 1063c.VerifyIL("program.Main1()", @" 1168VerifyIL("program.Main()", @"
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (35)
67verifier.VerifyIL("C.TestNullable()", @" 94verifier.VerifyIL("C.TestObject()", expectedIL: @" 108verifier.VerifyIL("C.TestAsStatement()", expectedIL: @" 126CompileAndVerify(source, options: TestOptions.DebugDll).VerifyIL("C.TestObject()", expectedIL: @" 190verifier.VerifyIL("C.TestInt()", @" 219verifier.VerifyIL("C.TestObject()", @" 283verifier.VerifyIL("C.TestInt()", @" 334verifier.VerifyIL("C.TestObject()", @" 412verifier.VerifyIL("C.Main()", expectedIL: @" 516verifier.VerifyIL("C.TestInt()", @" 575verifier.VerifyIL("C.TestObject()", @" 630}").VerifyIL("C.Main()", @" 709").VerifyIL("C.Main()", @" 839verifier.VerifyIL("C.TestInt()", @" 889verifier.VerifyIL("C.TestObject()", @" 1005}").VerifyIL("C.Main()", expectedIL: @" 1074verifier.VerifyIL("C.TestInt()", expectedIL: @" 1106verifier.VerifyIL("C.MInt(ref int?)", expectedIL: @" 1149verifier.VerifyIL("C.TestObject()", expectedIL: @" 1178verifier.VerifyIL("C.MObject(ref object)", expectedIL: @" 1234CompileAndVerify(source1, expectedOutput: "F2").VerifyIL("C.Main()", expectedIL: @" 1326verifier.VerifyIL("C.M1(object)", expectedIL: @" 1434verifier.VerifyIL("C.TestInt()", expectedIL: @" 1463verifier.VerifyIL("C.TestObject()", expectedIL: @" 1545CompileAndVerify(compilation).VerifyIL("C.Main()", @" 1777verifier.VerifyIL("C.VerifyField()", expectedIL: @" 1857verifier.VerifyIL("C.VerifyProperty()", expectedIL: @" 1937verifier.VerifyIL("C.VerifyIndexer()", expectedIL: @" 2172verifier.VerifyIL("C.M<T>(T)", expectedIL: @" 2247verifier.VerifyIL("C.M1<T>(T, T)", expectedIL: @" 2262verifier.VerifyIL("C.M2<T>(T?, T)", expectedIL: @" 2380verifier.VerifyIL("C.Main()", expectedIL: @" 2536verifier.VerifyIL("C.Main()", expectedIL: @" 2831verifier.VerifyIL("C.TestValueTypes()", @" 2866verifier.VerifyIL("C.TestReferenceTypes()", @"
CodeGen\CodeGenOperators.cs (101)
38compilation.VerifyIL("C.Main", @"{ 49compilation.VerifyIL("C.Main", @"{ 89compilation.VerifyIL("C.M<T>(T)", @"{ 106compilation.VerifyIL("C.M<T>(T)", @"{ 157compilation.VerifyIL("C.M<T>(T)", @"{ 174compilation.VerifyIL("C.M<T>(T)", @"{ 228compilation.VerifyIL("C.M", @"{ 248compilation.VerifyIL("C.M", @"{ 300compilation.VerifyIL("C.Main", @"{ 311compilation.VerifyIL("C.Main", @" 353compilation.VerifyIL("C.Main", @"{ 364compilation.VerifyIL("C.Main", @"{ 606comp.VerifyIL("MyClass.Main", @" 639comp.VerifyIL("IsTest.Main", @" 671comp.VerifyIL("IsTest.Main", @" 701comp.VerifyIL("IsTest.Main", @" 742comp.VerifyIL("IsTest.Main", @" 830comp.VerifyIL("Test.Main", @" 954compilation.VerifyIL("TestAsOperatorGeneric.M<T, U, W>(T, U, W)", 1029comp.VerifyIL("C.Get", 1089compilation.VerifyIL("C.Nullable_a_Implicit_b_to_a0_null_a", @" 1111compilation.VerifyIL("C.Nullable_a_Implicit_b_to_a0_constant_non_null_a", @" 1131compilation.VerifyIL("C.Nullable_a_Implicit_b_to_a0_not_null_a", @" 1222compilation.VerifyIL("C.Nullable_a_Implicit_b_to_a0_null_a", @" 1296compilation.VerifyIL("C.ImplicitReference_a_to_b_null_a_nullable", @" 1319compilation.VerifyIL("C.Null_Literal_a", @" 1363compilation.VerifyIL("C.ImplicitReference_a_to_b_null_a", @" 1378compilation.VerifyIL("C.ImplicitReference_a_to_b_not_null_a", 1445comp.VerifyIL("Program.Goo<T>(T, T)", expectedIL: @" 1464comp.VerifyIL("Program.Goo2<T1, T2>(T1, T2, dynamic)", expectedIL: @" 1518comp.VerifyIL("Program.Goo<T>(T)", expectedIL: @" 1565compilation.VerifyIL("Test.Main", @" 1629comp.VerifyIL("Test.Main", @" 1676comp.VerifyIL("Test.Main", @" 1723comp.VerifyIL("Test.Main", @" 1770comp.VerifyIL("Test.Main", @" 1819comp.VerifyIL("MainClass.g", @" 1866verify.VerifyIL("C.Tester", @" 1931verify.VerifyIL("C.Tester", @" 2007comp.VerifyIL("Program.Main", @" 2066comp.VerifyIL("Program.Main", @" 2132comp.VerifyIL("Program.Main", @" 2195comp.VerifyIL("Program.Main", @" 2340VerifyIL("Program.Main", @" 2583verifier.VerifyIL("Program.Main", @" 2663verifier.VerifyIL("Test.Main", @" 3118comp.VerifyIL("MyClass.Main", @" 3253verifier.VerifyIL("Program.Main", @" 3424comp.VerifyIL("MyClass.Test1<T>", @" 3484comp.VerifyIL("MyClass.Test1<T>", @" 3546comp.VerifyIL("A.Main", @" 3576comp.VerifyIL("A.Main", @" 3668comp.VerifyIL("Test.TestE()", @" 3699comp.VerifyIL("Test.TestE1()", @" 3795comp.VerifyIL("Program.M", il); 3839comp.VerifyIL("Program.Main", il); 3861var comp = CompileAndVerify(text).VerifyIL("C.M", @" 40742").VerifyIL("Test.TestINop<T>", @" 4128CompileAndVerify(text).VerifyIL("S.Test", @" 4170comp.VerifyIL("Test.Main", @" 4222comp.VerifyIL("Test.Main", @" 4276comp.VerifyIL("Test.Main", @" 4323comp.VerifyIL("MainClass.g", @" 4371comp.VerifyIL("Program.Main", @" 4432comp.VerifyIL("Program.Main", @" 4503comp.VerifyIL("Program.Main", @" 4570comp.VerifyIL("Program.Main", @" 4638comp.VerifyIL("Program.Main", @" 4705comp.VerifyIL("Program.Main", @" 4762comp.VerifyIL("Program.Main", @" 4824comp.VerifyIL("Program.Main", @" 4866comp.VerifyIL("Program.Main", @" 4923comp.VerifyIL("Program.Main", @" 4997comp.VerifyIL("Program.Main", """ 5026comp.VerifyIL("Program.Main", """ 5064comp.VerifyIL("Program.Main", """ 5104comp.VerifyIL("Program.Main", """ 5144comp.VerifyIL("Program.Main", """ 5229compilation.VerifyIL("test<T>.Repro1(T)", @" 5267").VerifyIL("test<T>.Repro2(T)", @" 5303result.VerifyIL("Program.Main", 5862comp.VerifyIL("Program.CoalesceInt32", @"{ 5869comp.VerifyIL("Program.CoalesceGeneric<T>", @"{ 5876comp.VerifyIL("Program.CoalesceTuple", @"{ 5883comp.VerifyIL("Program.CoalesceUserStruct", @"{ 5890comp.VerifyIL("Program.CoalesceStructWithImplicitConstructor", @"{ 5920comp.VerifyIL("Program.CoalesceDifferentTupleNames", @"{ 5983comp.VerifyIL("Program.CoalesceWithNonDefault1", @"{ 5991comp.VerifyIL("Program.CoalesceWithNonDefault2", @"{ 5999comp.VerifyIL("Program.CoalesceWithNonDefault3", @"{ 6013comp.VerifyIL("Program.CoalesceWithNonDefault4", @"{ 6055comp.VerifyIL("Program.CoalesceNonNullableWithDefault", @"{ 6087verifier.VerifyIL("Program.Coalesce", """ 6143verifier.VerifyIL("Program.Coalesce", """ 6329cv.VerifyIL("C.Main", @" 6423verifier.VerifyIL("BadImageFormatExceptionRepro.Program.<>c__2<T>.<GenericMethod>b__2_0()", @" 6498verifier.VerifyIL("BadImageFormatExceptionRepro.Program.<>c__2<T>.<GenericMethod>b__2_0()", @" 6659verifier.VerifyIL("BadImageFormatExceptionRepro.Program.<>c__1<T>.<GenericMethod>b__1_0()", @" 6727verifier.VerifyIL("BadImageFormatExceptionRepro.Program.<>c__1<T>.<GenericMethod>b__1_0()", @" 6801verifier.VerifyIL("BadImageFormatExceptionRepro.Program.<>c__1<T>.<GenericMethod>b__1_0()", @" 6884verifier.VerifyIL("BadImageFormatExceptionRepro.Program.<>c__1<T>.<GenericMethod>b__1_0()", @"
CodeGen\CodeGenOptimizedNullableOperators.cs (184)
68comp.VerifyIL("Program.Main", expectedIL); 113comp.VerifyIL("Program.Main", expectedIL); 146comp.VerifyIL("Program.M", expectedIL); 179comp.VerifyIL("Program.M", expectedIL); 215comp.VerifyIL("Program.M", expectedIL); 284comp.VerifyIL("Program.M1", expectedIL1); 285comp.VerifyIL("Program.M2", expectedIL2); 286comp.VerifyIL("Program.M3", expectedIL3); 321comp.VerifyIL("Program.M", expectedIL); 364comp.VerifyIL("Program.M", expectedIL); 397comp.VerifyIL("Program.M", expectedIL); 439comp.VerifyIL("Program.M", expectedIL); 568comp.VerifyIL("Program.M1", expectedIL1); 569comp.VerifyIL("Program.M2", expectedIL2); 741comp.VerifyIL("Program.M1", expectedIL1); 742comp.VerifyIL("Program.M2", expectedIL2); 743comp.VerifyIL("Program.M3", expectedIL3); 744comp.VerifyIL("Program.M4", expectedIL4); 785verifier.VerifyIL("C.M1", """ 808verifier.VerifyIL("C.M3", """ 833verifier.VerifyIL("C.M1", """ 858verifier.VerifyIL("C.M3", """ 924verifier.VerifyIL("C.M1", """ 938verifier.VerifyIL("C.M1", """ 987verifier.VerifyIL("C.M1", """ 1020verifier.VerifyIL("C.M1", """ 1139comp.VerifyIL("Program.M1", expectedILTrue); 1140comp.VerifyIL("Program.M2", expectedILFalse); 1141comp.VerifyIL("Program.M3", expectedILFalse); 1142comp.VerifyIL("Program.M4", expectedILTrue); 1143comp.VerifyIL("Program.M5", expectedILFalse); 1144comp.VerifyIL("Program.M6", expectedILFalse); 1145comp.VerifyIL("Program.M7", expectedILTrue); 1146comp.VerifyIL("Program.M8", expectedILFalse); 1177comp.VerifyIL("Program.M", expectedIL); 1295comp.VerifyIL("Program.M1", expectedIL1); 1296comp.VerifyIL("Program.M2", expectedIL2); 1297comp.VerifyIL("Program.M3", expectedIL3); 1298comp.VerifyIL("Program.M4", expectedIL4); 1299comp.VerifyIL("Program.M5", expectedIL5); 1300comp.VerifyIL("Program.M6", expectedIL6); 1441comp.VerifyIL("Program.M1", expectedIL1); 1442comp.VerifyIL("Program.M2", expectedIL2); 1443comp.VerifyIL("Program.M3", expectedIL3); 1444comp.VerifyIL("Program.M4", expectedIL4); 1445comp.VerifyIL("Program.M5", expectedIL5); 1446comp.VerifyIL("Program.M6", expectedIL6); 1602comp.VerifyIL("Program.M1", expectedIL1); 1603comp.VerifyIL("Program.M2", expectedIL2); 1604comp.VerifyIL("Program.M3", expectedIL3); 1605comp.VerifyIL("Program.M4", expectedIL4); 1606comp.VerifyIL("Program.M5", expectedIL5); 1607comp.VerifyIL("Program.M6", expectedIL6); 1795comp.VerifyIL("Program.M1", expectedIL1); 1796comp.VerifyIL("Program.M2", expectedIL2); 1797comp.VerifyIL("Program.M3", expectedIL3); 1798comp.VerifyIL("Program.M4", expectedIL4); 1799comp.VerifyIL("Program.M5", expectedIL5); 1921comp.VerifyIL("Program.M1", expectedIL1); 1922comp.VerifyIL("Program.M2", expectedIL2); 1957comp.VerifyIL("Program.M1", expectedIL); 1958comp.VerifyIL("Program.M2", expectedIL); 2004comp.VerifyIL("Program.M1", expectedIL); 2133comp.VerifyIL("Program.M1", expectedIL1); 2134comp.VerifyIL("Program.M2", expectedIL2); 2135comp.VerifyIL("Program.M3", expectedIL3); 2136comp.VerifyIL("Program.M4", expectedIL4); 2137comp.VerifyIL("Program.M5", expectedIL5); 2138comp.VerifyIL("Program.M6", expectedIL6); 2139comp.VerifyIL("Program.M7", expectedIL7); 2140comp.VerifyIL("Program.M8", expectedIL8); 2235comp.VerifyIL("Program.M1", expectedIL1); 2236comp.VerifyIL("Program.M2", expectedIL2); 2237comp.VerifyIL("Program.M3", expectedIL3); 2238comp.VerifyIL("Program.M4", expectedIL4); 2289comp.VerifyIL("Program.M1", expectedIL1); 2290comp.VerifyIL("Program.M2", expectedIL2); 2358comp.VerifyIL("Program.M1", expectedIL); 2416comp.VerifyIL("Program.M1", expectedIL1); 2417comp.VerifyIL("Program.M2", expectedIL2); 2498comp.VerifyIL("Program.M1", expectedIL1); 2499comp.VerifyIL("Program.M2", expectedIL2); 2535.VerifyIL("Program.Main", 2691.VerifyIL("Program.Main", 2755verifier.VerifyIL("C.M", il); 2758verifier.VerifyIL("C.M", il); 2801verifier.VerifyIL("C.M", il); 2804verifier.VerifyIL("C.M", il); 2844verifier.VerifyIL("C.M", il); 2847verifier.VerifyIL("C.M", il); 2881verifier.VerifyIL("C.M", il); 2884verifier.VerifyIL("C.M", il); 2929verifier.VerifyIL("C.M", il); 2932verifier.VerifyIL("C.M", il); 2974verifier.VerifyIL("C.M", il); 2977verifier.VerifyIL("C.M", il); 3011verifier.VerifyIL("C.M", il); 3014verifier.VerifyIL("C.M", il); 3048verifier.VerifyIL("C.M", il); 3051verifier.VerifyIL("C.M", il); 3085verifier.VerifyIL("C.M", il); 3088verifier.VerifyIL("C.M", il); 3123verifier.VerifyIL("C.M", il); 3126verifier.VerifyIL("C.M", il); 3161verifier.VerifyIL("C.M", il); 3164verifier.VerifyIL("C.M", il); 3201verifier.VerifyIL("C.M", il); 3204verifier.VerifyIL("C.M", il); 3248verifier.VerifyIL("C.M", il); 3251verifier.VerifyIL("C.M", il); 3292verifier.VerifyIL("C.M", il); 3295verifier.VerifyIL("C.M", il); 3339verifier.VerifyIL("C.M", il); 3342verifier.VerifyIL("C.M", il); 3388verifier.VerifyIL("C.M", il); 3391verifier.VerifyIL("C.M", il); 3436verifier.VerifyIL("C.M", il); 3439verifier.VerifyIL("C.M", il); 3484verifier.VerifyIL("C.M", il); 3487verifier.VerifyIL("C.M", il); 3534verifier.VerifyIL("C.M", il); 3537verifier.VerifyIL("C.M", il); 3584verifier.VerifyIL("C.M", il); 3587verifier.VerifyIL("C.M", il); 3640verifier.VerifyIL("C.M", il); 3643verifier.VerifyIL("C.M", il); 3693verifier.VerifyIL("C.M", il); 3696verifier.VerifyIL("C.M", il); 3749verifier.VerifyIL("C.M", il); 3752verifier.VerifyIL("C.M", il); 3802verifier.VerifyIL("C.M", il); 3805verifier.VerifyIL("C.M", il); 3859verifier.VerifyIL("C.M", il); 3862verifier.VerifyIL("C.M", il); 3913verifier.VerifyIL("C.M", il); 3916verifier.VerifyIL("C.M", il); 3963verifier.VerifyIL("C.M", il); 3966verifier.VerifyIL("C.M", il); 4018verifier.VerifyIL("C.M", il); 4021verifier.VerifyIL("C.M", il); 4078verifier.VerifyIL("C.M", il); 4081verifier.VerifyIL("C.M", il); 4131verifier.VerifyIL("C.M", il); 4134verifier.VerifyIL("C.M", il); 4192verifier.VerifyIL("C.M", il); 4195verifier.VerifyIL("C.M", il); 4253verifier.VerifyIL("C.M", il); 4256verifier.VerifyIL("C.M", il); 4300verifier.VerifyIL("C.M", il); 4303verifier.VerifyIL("C.M", il); 4338verifier.VerifyIL("C.M", il); 4341verifier.VerifyIL("C.M", il); 4398verifier.VerifyIL("C.M", il); 4401verifier.VerifyIL("C.M", il); 4451verifier.VerifyIL("C.M", il); 4454verifier.VerifyIL("C.M", il); 4511verifier.VerifyIL("C.M", il); 4514verifier.VerifyIL("C.M", il); 4564verifier.VerifyIL("C.M", il); 4567verifier.VerifyIL("C.M", il); 4612verifier.VerifyIL("C.M", il); 4615verifier.VerifyIL("C.M", il); 4651verifier.VerifyIL("C.M", il); 4654verifier.VerifyIL("C.M", il); 4699verifier.VerifyIL("C.M", il); 4702verifier.VerifyIL("C.M", il); 4738verifier.VerifyIL("C.M", il); 4741verifier.VerifyIL("C.M", il); 4786verifier.VerifyIL("C.M", il); 4789verifier.VerifyIL("C.M", il); 4825verifier.VerifyIL("C.M", il); 4828verifier.VerifyIL("C.M", il); 4873verifier.VerifyIL("C.M", il); 4876verifier.VerifyIL("C.M", il); 4912verifier.VerifyIL("C.M", il); 4915verifier.VerifyIL("C.M", il); 4972verifier.VerifyIL("C.M", il); 4975verifier.VerifyIL("C.M", il); 5025verifier.VerifyIL("C.M", il); 5028verifier.VerifyIL("C.M", il); 5074verifier.VerifyIL("C.M", il); 5077verifier.VerifyIL("C.M", il); 5114verifier.VerifyIL("C.M", il); 5117verifier.VerifyIL("C.M", il);
CodeGen\CodeGenOverridingAndHiding.cs (13)
676comp.VerifyIL("Derived<U, V>.Method", @" 686comp.VerifyIL("Derived<U, V>.Property.set", @" 763comp.VerifyIL("Test.Main", @" 776comp.VerifyIL("Derived<U, V>.Method", @" 786comp.VerifyIL("Derived<U, V>.Property.get", @" 827comp.VerifyIL("BaseClass<TInt, TLong>.ToString", @" 835comp.VerifyIL("BaseClass<TInt, TLong>.GetHashCode", @" 843comp.VerifyIL("DerivedClass.GetHashCode", @" 851comp.VerifyIL("DerivedClass.Equals", @" 957comp.VerifyIL("Derived.Test", @" 975comp.VerifyIL("Base2.Test", @" 2559CompileAndVerify(outerCompilation, verify: Verification.FailsPEVerify).VerifyIL("Test.Main", @" 4035verifier.VerifyIL("Program.Main", @"
CodeGen\CodeGenReadOnlySpanConstructionTest.cs (58)
131CompileAndVerify(comp, expectedOutput: "TrueTrue", verify: Verification.Passes).VerifyIL("Test.Main", @" 194verify: type == "byte" ? Verification.Passes : Verification.Skipped).VerifyIL("Test.Main", @$" 254CompileAndVerify(comp, expectedOutput: "TrueTrue", verify: Verification.Passes).VerifyIL("Test.Main", @" 307CompileAndVerify(comp, expectedOutput: "True", verify: Verification.Passes).VerifyIL("Test.Main", @" 364CompileAndVerify(comp, expectedOutput: "True", verify: Verification.Passes).VerifyIL("Test.Main", @" 418CompileAndVerify(comp, expectedOutput: "3", verify: Verification.Passes).VerifyIL("Test.Main", @" 480CompileAndVerify(comp, expectedOutput: "BlueTrue", verify: Verification.Fails).VerifyIL("Test.Main", @" 537CompileAndVerify(comp, expectedOutput: "BlueTrue", verify: Verification.Passes).VerifyIL("Test.Main", @" 610CompileAndVerify(comp, expectedOutput: "P10", verify: Verification.Fails).VerifyIL("Test.Main", @" 659cv.VerifyIL("Test.<>c__1<T>.<M1>b__1_0(T[])", @" 673cv.VerifyIL("Test.<M2>d__2<T>.System.Collections.IEnumerator.MoveNext()", @"{ 727cv.VerifyIL("X.<>c__DisplayClass0_0<TSrc>.<Outer>b__0(int)", @"{ 766verifier.VerifyIL("Test.StaticData.get", @"{ 805verifier.VerifyIL("Test.StaticData.get", @"{ 921verifier.VerifyIL("Test.StaticData.get", expected); 928verifier.VerifyIL("Test.StaticData.get", expected); 947verifier.VerifyIL("Test.StaticData.get", valid ? @$"{{ 1028verifier.VerifyIL("Test.StaticData.get", @$"{{ 1052verifier.VerifyIL("Test.M", @$" 1095verifier.VerifyIL("Test.M", @$" 1174verifier.VerifyIL("Test.M", @$" 1318verifier.VerifyIL("Test.M", @$"{{ 1370verifier.VerifyIL("Test.Main", @$"{{ 1483verifier.VerifyIL("Test.M", @$"{{ 1517verifier.VerifyIL("Test.M", @$"{{ 1550verifier.VerifyIL("Test.Main", @$"{{ 1627verifier.VerifyIL("Test.Main", """ 1734CompileAndVerify(source, expectedOutput: "34361843576", verify: Verification.Skipped, targetFramework: TargetFramework.Net70).VerifyIL("Test.Main", @" 2047CompileAndVerify(compilation, expectedOutput: "34361843576", verify: Verification.Skipped).VerifyIL("Test.Main", @" 2408verifier.VerifyIL("Test.StaticData.get", @$"{{ 2536verifier.VerifyIL("Test.StaticData.get", expected); 2543verifier.VerifyIL("Test.StaticData.get", expected); 2741verifier.VerifyIL("C.MString", """ 2758verifier.VerifyIL("C.MObject", """ 2769verifier.VerifyIL("C.MC", """ 2834verifier.VerifyIL("C.M", expectedIL); 2835verifier.VerifyIL("C.M2", expectedIL); 2837verifier.VerifyIL("C.M3", """ 2882verifier.VerifyIL("C.M", """ 2927verifier.VerifyIL("C.M", """ 3016verifier.VerifyIL("C.M", expectedIL); 3017verifier.VerifyIL("C.M2", expectedIL); 3059verifier.VerifyIL("C.M", expectedIL); 3060verifier.VerifyIL("C.M2", expectedIL); 3109verifier.VerifyIL("C.M", expectedIL); 3110verifier.VerifyIL("C.M2", expectedIL); 3152verifier.VerifyIL("C.M", expectedIL); 3153verifier.VerifyIL("C.M2", expectedIL); 3178verifier.VerifyIL("C.M", """ 3199verifier.VerifyIL("C.M2", """ 3267verifier.VerifyIL("C.M", expectedIL); 3268verifier.VerifyIL("C.M2", expectedIL); 3302verifier.VerifyIL("C.M", expectedIL); 3387verifier.VerifyIL("C.M", """ 3412verifier.VerifyIL("C.M", """ 3435verifier.VerifyIL("C.M", """ 3476CompileAndVerify(comp, expectedOutput: "TrueTrue").VerifyIL("Test.Main", $$""" 3529verifier.VerifyIL("Test.M", """
CodeGen\CodeGenReadonlyStructTests.cs (36)
53comp.VerifyIL("Program.Main", @" 69comp.VerifyIL("Program.Main", @" 124comp.VerifyIL("Program.Main", @" 140comp.VerifyIL("Program.Main", @" 190comp.VerifyIL("Program.Main", @" 208comp.VerifyIL("Program.Main", @" 264comp.VerifyIL("Program.Main", @" 283comp.VerifyIL("Program.Main", @" 345comp.VerifyIL("Program.Main", @" 364comp.VerifyIL("Program.Main", @" 418comp.VerifyIL("Program.Test", @" 464comp.VerifyIL("Program.S1.Test()", @" 478comp.VerifyIL("Program.Main()", @" 517comp.VerifyIL("Program.S1.Test()", @" 572comp.VerifyIL("Program.S1..ctor(int)", @" 582comp.VerifyIL("Program.S1..ctor(Program.S1)", @" 1109CompileAndVerify(comp, expectedOutput: "10", verify: Verification.Fails).VerifyIL("Test.Main", @" 1151CompileAndVerify(comp, expectedOutput: "12345", verify: Verification.Fails).VerifyIL("Test.Main", @" 1200CompileAndVerify(comp, expectedOutput: "30", verify: Verification.Fails).VerifyIL("Test.Main", @" 1261CompileAndVerify(comp, expectedOutput: "overflow", verify: Verification.Fails).VerifyIL("Test.M", expectedIL); 1267CompileAndVerify(comp, verify: Verification.Fails).VerifyIL("Test.M", expectedIL); 1727verifier.VerifyIL("S.M1", @" 1789verifier.VerifyIL("S.M1", @" 1863verifier.VerifyIL("C.M1", @" 1939verifier.VerifyIL("C.M1", @" 1985comp.VerifyIL("S.M1", @" 2011comp.VerifyIL("S.P1.get", @" 2036comp.VerifyIL("S.P1.get", @" 2062comp.VerifyIL("S.M1", @" 2097comp.VerifyIL("S2.M2", @" 2135comp.VerifyIL("S2.M2", @" 2172comp.VerifyIL("S.M", @" 2247verifier.VerifyIL("S.M", @" 2322verifier.VerifyIL("S.M", @" 2403verifier.VerifyIL("S.M", @" 2488verifier.VerifyIL("S.M", @"
CodeGen\CodeGenRefConditionalOperatorTests.cs (23)
44comp.VerifyIL("C.Test1", @" 57comp.VerifyIL("C.Test2", @" 96comp.VerifyIL("C.Main", @" 132comp.VerifyIL("C.Main", @" 168comp.VerifyIL("C.Main", @" 206comp.VerifyIL("C.Main", @" 253comp.VerifyIL("C.Main", @" 307comp.VerifyIL("C.Main", @" 366comp.VerifyIL("C.Main", @" 443comp.VerifyIL("Program.Test<T>(ref T, ref T)", @" 840comp.VerifyIL("C.Test", @" 884comp.VerifyIL("C.Test", @" 915comp.VerifyIL("C.Main()", @" 1003comp.VerifyIL("C.Main", @" 1068comp.VerifyIL("Program.Main", @" 1156comp.VerifyIL("Program.Test", @" 1270verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 1357verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 1407comp.VerifyIL("C.<Test>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1542comp.VerifyIL("C.<Test>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1687comp.VerifyIL("C.<Test>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1840comp.VerifyIL("C.<Test>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 2063comp.VerifyIL("C.<Test>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext",
CodeGen\CodeGenRefLocalTests.cs (118)
59verifier.VerifyIL("C.M2", expectedIL); 68verifier.VerifyIL("C.M2", expectedIL); 96verifier.VerifyIL("C.Main", @" 172verifier.VerifyIL("C.Main", @" 213verifier.VerifyIL("C.Main", @" 246verifier.VerifyIL("C.M(string)", @" 308verifier.VerifyIL("C.Main", @" 339verifier.VerifyIL("C.M<T>", @" 387verifier.VerifyIL("C.Main", @" 621comp.VerifyIL("C.Main", @" 666comp.VerifyIL("C.Main", @" 725comp.VerifyIL("C.Main", @" 814comp.VerifyIL("C.Main", @" 891comp.VerifyIL("C.Main", @" 981comp.VerifyIL("C.Main", @" 1082comp.VerifyIL("C.Main", @" 1203comp.VerifyIL(@"C.Main", @" 1277comp.VerifyIL("C.Main", @" 1548comp.VerifyIL("C.Main", @" 1659CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 1673CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M()", @" 1699CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 1712CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M", @" 1737CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 1750CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M", @" 1775CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M", @" 1789CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M", @" 1815CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1828CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M<T>", @" 1853CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1866CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M<T>", @" 1893CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M<T>", @" 1907CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M<T>", @" 1933CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 1946CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M<T>", @" 1972CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 1984CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M", @" 2009CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M", @" 2021CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M", @" 2047CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M<T>", @" 2060CompileAndVerify(text, options: TestOptions.ReleaseDll).VerifyIL("Program.M<T>", @" 2086CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(ref int)", @" 2112CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(out int)", @" 2141CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(ref int)", @" 2172CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M()", @" 2206comp.VerifyIL("Program.M()", @" 2217comp.VerifyIL("Program.M1()", @" 2277comp.VerifyIL("Program.M()", @" 2288comp.VerifyIL("Program.M1(ref Program)", @" 2299comp.VerifyIL("Program2.M()", @" 2311comp.VerifyIL("Program3.M()", @" 2367comp.VerifyIL("Program<T>.M()", @" 2380comp.VerifyIL("Program2<T>.M(T)", @" 2392comp.VerifyIL("Program3<T>.M()", @" 2429comp.VerifyIL("Program.M()", @" 2441comp.VerifyIL("Program.M1()", @" 2496comp.VerifyIL("Program.M()", @" 2508comp.VerifyIL("Program2.M()", @" 2521comp.VerifyIL("Program3.M()", @" 2578comp.VerifyIL("Program<T>.M()", @" 2592comp.VerifyIL("Program2<T>.M(T)", @" 2605comp.VerifyIL("Program3<T>.M()", @" 2638CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 2673comp.VerifyIL("Program.M()", @" 2684comp.VerifyIL("Program.M1()", @" 2713CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M()", @" 2749comp.VerifyIL("Program.M()", @" 2760comp.VerifyIL("Program.M1()", @" 2800comp.VerifyIL("Program2.M(ref Program)", @" 2815comp.VerifyIL("Program2.M()", @" 2843CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M()", @" 2881comp.VerifyIL("Program.M()", @" 2897comp.VerifyIL("Program.M1()", @" 2952comp.VerifyIL("Program.M()", @" 2968comp.VerifyIL("Program2.M()", @" 2985comp.VerifyIL("Program3.M()", @" 3049comp.VerifyIL("Program<T>.M()", @" 3067comp.VerifyIL("Program2<T>.M(T)", @" 3084comp.VerifyIL("Program3<T>.M()", @" 3118CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M(ref int, ref int, object)", @" 3159comp.VerifyIL("Program.M(ref int, ref int, object)", @" 3178comp.VerifyIL("Program.M1(ref int, ref int, object)", @" 3236comp.VerifyIL("Program.M(ref int, ref int, object)", @" 3255comp.VerifyIL("Program2.M(ref int, ref int, object)", @" 3275comp.VerifyIL("Program3.M(ref int, ref int, object)", @" 3342comp.VerifyIL("Program<T>.M(ref int, ref int, object)", @" 3363comp.VerifyIL("Program2<T>.M(T, ref int, ref int, object)", @" 3383comp.VerifyIL("Program3<T>.M(ref int, ref int, object)", @" 3421CompileAndVerify(text, options: TestOptions.DebugDll).VerifyIL("Program.M(D)", @" 3450CompileAndVerify(text, options: TestOptions.DebugDll, verify: Verification.Fails).VerifyIL("Program.M(D, ref int, ref int, object)", @" 3489verifier.VerifyIL("S.GetI", """ 3529verifier.VerifyIL("S.GetI", """ 3566verifier.VerifyIL("S.SetI", """ 3614verifier.VerifyIL("S.GetI", """ 3667verifier.VerifyIL("S.GetI", """ 3703verifier.VerifyIL("C.GetI", """ 3740verifier.VerifyIL("C.GetI", """ 3778verifier.VerifyIL("C.GetI", """ 3823verifier.VerifyIL("C.GetI", """ 3879CompileAndVerify(text, options: TestOptions.UnsafeDebugDll, verify: Verification.Fails).VerifyIL("Program.Main()", @" 3952CompileAndVerify(text, options: TestOptions.UnsafeDebugDll, verify: Verification.Passes).VerifyIL("Program.Main()", @" 4244verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 4313verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 4378verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 4430verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 4486verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 4509verifier.VerifyIL("Program.F", """ 4526verifier.VerifyIL("Program.F", """ 4562verifier.VerifyIL("Program.F<T>", """ 4578verifier.VerifyIL("Program.F<T>", """ 4614verifier.VerifyIL("Program.F<T>", """ 4630verifier.VerifyIL("Program.F<T>", """ 4665verifier.VerifyIL("Program.F<T>", """ 4681verifier.VerifyIL("Program.F<T>", """ 4714verifier.VerifyIL("Program.F<T>", 4723verifier.VerifyIL("Program.F<T>", 4750verifier.VerifyIL("Program.F<T>", 4759verifier.VerifyIL("Program.F<T>",
CodeGen\CodeGenRefOutTests.cs (8)
353verifier.VerifyIL("C.Main", @" 415verifier.VerifyIL("C..ctor(int)", @" 477verifier.VerifyIL("C..ctor(int)", @" 545verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 632verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 694verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 780verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 832verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL);
CodeGen\CodeGenRefReadonlyReturnTests.cs (24)
63comp.VerifyIL("C.M", @" 88comp.VerifyIL("C.M", @" 142comp.VerifyIL("C.Main", @" 206comp.VerifyIL("C.Main", @" 263comp.VerifyIL(@"C.M", @" 295comp.VerifyIL("C.M", @" 329comp.VerifyIL("C.Main()", @" 370verifier.VerifyIL("C.M()", """ 397verifier.VerifyIL("C.M()", """ 435verifier.VerifyIL("C.M()", """ 468comp.VerifyIL("Program.M()", @" 807comp.VerifyIL("Program.Test", @" 885comp.VerifyIL("Program.Test", @" 916comp.VerifyIL("Program.Test", @" 1203comp.VerifyIL("Program.M1()", @" 1211comp.VerifyIL("Program.M2()", @" 1235}", verify: Verification.Fails).VerifyIL("Test.M", @" 1264}", verify: Verification.Fails).VerifyIL("Test.M", @" 1291}", verify: Verification.Fails).VerifyIL("Test.M", @" 1319}", verify: Verification.Fails).VerifyIL("Test.M", @" 1348}", verify: Verification.Fails).VerifyIL("Test.M", @" 1377}", verify: Verification.Fails).VerifyIL("Test.M", @" 1404}", verify: Verification.Fails).VerifyIL("Test.M", @" 1433}").VerifyIL("Test.M", @"
CodeGen\CodeGenRefReturnTests.cs (68)
83CompileAndVerifyRef(text).VerifyIL("Program.M()", @" 108CompileAndVerifyRef(text, verify: Verification.Skipped).VerifyIL("Program.M(ref int)", @" 131CompileAndVerify(text, parseOptions: TestOptions.Regular10, verify: Verification.Fails).VerifyIL("Program.M(out int)", @" 158CompileAndVerifyRef(text, verify: Verification.Fails).VerifyIL("Program.M(ref int)", @" 196v.VerifyIL("Program.M()", @" 204v.VerifyIL("Program.Main()", @" 247compilation.VerifyIL("Program.M()", @" 255compilation.VerifyIL("Program.M1()", @" 311compilation.VerifyIL("Program.M()", @" 319compilation.VerifyIL("Program.M1(ref Program)", @" 327compilation.VerifyIL("Program2.M()", @" 336compilation.VerifyIL("Program3.M()", @" 389compilation.VerifyIL("Program<T>.M()", @" 399compilation.VerifyIL("Program2<T>.M(T)", @" 408compilation.VerifyIL("Program3<T>.M()", @" 442compilation.VerifyIL("Program.M()", @" 451compilation.VerifyIL("Program.M1()", @" 503compilation.VerifyIL("Program.M()", @" 512compilation.VerifyIL("Program2.M()", @" 522compilation.VerifyIL("Program3.M()", @" 576compilation.VerifyIL("Program<T>.M()", @" 587compilation.VerifyIL("Program2<T>.M(T)", @" 597compilation.VerifyIL("Program3<T>.M()", @" 627CompileAndVerifyRef(text).VerifyIL("Program.M()", @" 659compilation.VerifyIL("Program.M()", @" 667compilation.VerifyIL("Program.M1()", @" 692CompileAndVerifyRef(text).VerifyIL("Program.M()", @" 722compilation.VerifyIL("Program.M()", @" 730compilation.VerifyIL("Program.M1()", @" 766compilation.VerifyIL("Program2.M(ref Program)", @" 774compilation.VerifyIL("Program2.M()", @" 798CompileAndVerifyRef(text).VerifyIL("Program.M()", @" 826compilation.VerifyIL("Program.M()", @" 834compilation.VerifyIL("Program.M1()", @" 878compilation.VerifyIL("Program.M()", @" 886compilation.VerifyIL("Program2.M()", @" 895compilation.VerifyIL("Program3.M()", @" 948compilation.VerifyIL("Program<T>.M()", @" 958compilation.VerifyIL("Program2<T>.M(T)", @" 967compilation.VerifyIL("Program3<T>.M()", @" 992CompileAndVerifyRef(text).VerifyIL("Program.M(ref int, ref int, object)", @" 1023compilation.VerifyIL("Program.M(ref int, ref int, object)", @" 1034compilation.VerifyIL("Program.M1(ref int, ref int, object)", @" 1081compilation.VerifyIL("Program.M(ref int, ref int, object)", @" 1092compilation.VerifyIL("Program2.M(ref int, ref int, object)", @" 1104compilation.VerifyIL("Program3.M(ref int, ref int, object)", @" 1160compilation.VerifyIL("Program<T>.M(ref int, ref int, object)", @" 1173compilation.VerifyIL("Program2<T>.M(T, ref int, ref int, object)", @" 1185compilation.VerifyIL("Program3<T>.M(ref int, ref int, object)", @" 1215CompileAndVerifyRef(text).VerifyIL("Program.M(D)", @" 1240CompileAndVerifyRef(text).VerifyIL("Program.M(D, ref int, ref int, object)", @" 1303CompileAndVerifyRef(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("Program.Main()", @" 1492CompileAndVerifyRef(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("Program.Main()", @" 1595CompileAndVerify(text, parseOptions: TestOptions.Regular).VerifyIL("Program.M()", @" 1601}").VerifyIL("Program.<M>g__N|0_0", @" 1643CompileAndVerify(text, parseOptions: TestOptions.Regular, expectedOutput: "42", verify: Verification.Fails).VerifyIL("Program.M()", @" 1659}").VerifyIL("Program.<M>g__N|0_0", @" 1675}").VerifyIL("Program.<M>g__NN|0_1", @" 1716CompileAndVerify(text, parseOptions: TestOptions.Regular, expectedOutput: "42", verify: Verification.Fails).VerifyIL("Program.M()", @" 1735}").VerifyIL("Program.<>c__DisplayClass1_0.<M>g__N|0()", @" 1751}").VerifyIL("Program.<M>g__NN|1_1(ref int)", @" 1811.VerifyIL("Program.C1<T>.Test()", @" 1903.VerifyIL("Program.C1<T>.Test()", @" 2001.VerifyIL("Program.C1<T>.Test()", @" 2106.VerifyIL("Program.C1<T>.Test()", @" 2204.VerifyIL("Program.C1<T>.Test()", @" 2971v.VerifyIL("C.F(ref dynamic)", @" 3633CompileAndVerify(text, expectedOutput: "37", parseOptions: TestOptions.Regular10, verify: Verification.Fails).VerifyIL("Program.Main()", @"
CodeGen\CodeGenShortCircuitOperatorTests.cs (102)
82compilation.VerifyIL("C.Main", @" 234compilation.VerifyIL("C.Main", @" 471compilation.VerifyIL("C.Main", @"{ 965comp.VerifyIL("C.Test", @" 1014comp.VerifyIL("C.Test", @" 1058comp.VerifyIL("C.Test", @" 1317comp.VerifyIL("C.Main", @" 1357comp.VerifyIL("C.Main", @" 1407comp.VerifyIL("C.Main", @" 1454comp.VerifyIL("C.Main", @" 1517comp.VerifyIL("C.Main", @" 1574comp.VerifyIL("C.Main", @" 1636comp.VerifyIL("C.Main", @" 1711comp.VerifyIL("C.Main", @" 1779comp.VerifyIL("Program.M<T>", @" 1850comp.VerifyIL("Program.M(Program.C1)", @" 1917comp.VerifyIL("Program.M(Program.S1?)", @" 2129comp.VerifyIL("Program.Test<T>(ref T, ref T)", @" 2221comp.VerifyIL("Program.Test<T>(T[], T[])", @" 2316comp.VerifyIL("Program.Test<T>(T[], T[])", @" 2394comp.VerifyIL("Program.Test<T>(T)", @" 2466comp.VerifyIL("Program.Test<T>(System.Func<T>)", @" 2546comp.VerifyIL("Program.Test<T>(System.Func<T>)", @" 3192comp.VerifyIL("Test.Test0<T>(T)", @" 3249comp.VerifyIL("Test.Test0<T>(ref T)", @" 3303comp.VerifyIL("Test.Test0<T>(T)", @" 3317").VerifyIL("Test.Test1<T>(ref T)", @" 3463comp.VerifyIL("Program.Test1(Program.C1)", @" 3475").VerifyIL("Program.Test2(Program.C1)", @" 3534comp.VerifyIL("Program.Test1(Program.C1)", @" 3548").VerifyIL("Program.Test2(Program.C1)", @" 3613comp.VerifyIL("Program.Test1(ref Program.C1)", @" 3627").VerifyIL("Program.Test2(ref Program.C1)", @" 3688comp.VerifyIL("Program.Test1(Program.C1?)", @" 3705").VerifyIL("Program.Test2(Program.C1?)", @" 3771comp.VerifyIL("Program.Test1(ref Program.C1?)", @" 3790").VerifyIL("Program.Test2(ref Program.C1?)", @" 3845comp.VerifyIL("Program.Test(Program.C1)", @" 3906comp.VerifyIL("Program.Test1(Program.C1)", @" 3920").VerifyIL("Program.Test2(Program.C1)", @" 3934").VerifyIL("Program.Test3(Program.C1)", @" 4004comp.VerifyIL("Program.Test1(Program.C1)", @" 4018").VerifyIL("Program.Test2(Program.C1)", @" 4034").VerifyIL("Program.Test3(Program.C1)", @" 4135comp.VerifyIL("Program.Test1(Program.C1)", @" 4149").VerifyIL("Program.Test2(ref Program.C1)", @" 4165").VerifyIL("Program.Test3(Program.C1)", @" 4179").VerifyIL("Program.Test4(ref Program.C1)", @" 4235comp.VerifyIL("Program.Test1()", @" 4247").VerifyIL("Program.Test2<T>()", @" 4305comp.VerifyIL("Program.Test1()", @" 4319").VerifyIL("Program.Test2<T>()", @" 4507comp.VerifyIL("Program.Test1<T>(T[])", @" 4526").VerifyIL("Program.Test2<T>(T[])", @" 4584comp.VerifyIL("Program.Test1<T>(T[])", @" 4603").VerifyIL("Program.Test2<T>(T[])", @" 4672comp.VerifyIL("Program.Test1<T>(T[])", @" 4689").VerifyIL("Program.Test2<T>(T[])", @" 4779VerifyIL("Program.Test0(ref System.WeakReference<string>)", @" 4801").VerifyIL("Program.Test1(ref System.WeakReference<string>)", @" 4823").VerifyIL("Program.Test2(ref System.WeakReference<string>)", @" 4845").VerifyIL("Program.Test3(ref System.WeakReference<string>)", @" 4896comp.VerifyIL("Test.Main", @" 4955verifier.VerifyIL("C.MyMethod", @" 4996verifier.VerifyIL("C.MyMethod", @" 5039verifier.VerifyIL("C.MyMethod", @" 5088verifier.VerifyIL("C.MyMethod", @" 5140verifier.VerifyIL("C.Goo<T>", @" 5186verifier.VerifyIL("C.Goo", @" 5237verifier.VerifyIL("C.Goo", @" 5299verifier.VerifyIL("C.<>c__DisplayClass0_0.<F1>b__0", @" 5314verifier.VerifyIL("C.F2", @" 5426verifier.VerifyIL("C<T>.<>c__DisplayClass0_0.<F1>b__0()", @" 5441verifier.VerifyIL("C<T>.F2", @" 5553verifier.VerifyIL("C.<>c__DisplayClass0_0.<F1>b__0", @" 5568verifier.VerifyIL("C.F2", @" 5888verifier.VerifyIL("C.HasLength", @" 5925verifier.VerifyIL("C.HasLength", @" 5980verifier.VerifyIL("C.HasLength", @" 5994}").VerifyIL("C.HasLengthChecked", @" 6047verifier.VerifyIL("C.HasLength", @" 6087verifier.VerifyIL("C.NotHasLength", @" 6130verifier.VerifyIL("C.NotHasLength", @" 6446verifier.VerifyIL("C.TestNeq", @" 6527verifier.VerifyIL("C.TestNeq", @" 6603verifier.VerifyIL("C.TestNeq", @" 6679verifier.VerifyIL("C.TestNeq", @" 6739comp.VerifyIL("Test.M1", @" 6754comp.VerifyIL("Test.M2", @" 6792verifier.VerifyIL("C.NotHasLength", @" 6841verifier.VerifyIL("C.NotHasLength", @" 6891verifier.VerifyIL("C.Main", @" 6949verifier.VerifyIL("ConsoleApplication9.Program.A<T>.Test(ConsoleApplication9.Program.A<T>)", @" 6999verifier.VerifyIL("Test<T>.Run", @" 7059verifier.VerifyIL("Test<T>.Run", @" 7126verifier.VerifyIL("Test<T>.Run", @" 7186verifier.VerifyIL("Test<T>.Run", @" 7239verifier.VerifyIL("Test<T>.Run", @" 7283verifier.VerifyIL("Test<T>.Run", @" 7326comp.VerifyIL("Program.Main", @" 7351comp.VerifyIL("Program.Main", @" 7394verifier.VerifyIL("Program.Main", @"
CodeGen\CodeGenStackAllocInitializerTests.cs (31)
53verify: Verification.Fails).VerifyIL("Program.MakeBlock", 126verify: Verification.Fails).VerifyIL("Test.M<T>(T)", 216CompileAndVerify(comp, verify: Verification.Fails).VerifyIL("Test.M<T>(T)", 316verify: Verification.Fails).VerifyIL("C.Main", 371verify: Verification.Fails).VerifyIL("C.Main", 413verify: Verification.Passes).VerifyIL("C.Main", 432verify: Verification.Fails).VerifyIL("C.Main", 495verify: Verification.FailsPEVerify).VerifyIL("C.Main", 530verify: Verification.Fails, expectedOutput: @"424242").VerifyIL("C.Main", 570verify: Verification.Fails, expectedOutput: @"ffffffffffffffffffffffff").VerifyIL("C.Main", 614verify: Verification.Fails, expectedOutput: @"ABCDDD").VerifyIL("C.Main", 672verify: Verification.Fails, expectedOutput: @"123456789").VerifyIL("C.Main", 728verify: Verification.Fails, expectedOutput: @"123").VerifyIL("C.Main", 872.VerifyIL("C.Main", 916verifier.VerifyIL("C.Main", """ 954verifier.VerifyIL("C.Main", """ 1007verifier.VerifyIL("C.Main", """ 1053.VerifyIL("C.Main", 1110verifier.VerifyIL("C.Main", """ 1164verifier.VerifyIL("C.Main", """ 1209verifier.VerifyIL("C.Main", """ 1266verifier.VerifyIL("C.Main", """ 1321verifier.VerifyIL("C.Main", """ 1374verifier.VerifyIL("C.Main", """ 1421verifier.VerifyIL("C.Main", """ 1459verifier.VerifyIL("C.Main", """ 1500verifier.VerifyIL("C.Main", """ 1530verifier.VerifyIL("C.Main", """ 1582verifier.VerifyIL("C.Main", """ 1639verifier.VerifyIL("C.M", """ 1702expectedOutput: @"123").VerifyIL("C.Main", il);
CodeGen\CodeGenStringConcat.cs (29)
53comp.VerifyIL("Test.Main", @" 159comp.VerifyIL("Test.Main", @" 208comp.VerifyIL("Test.Main", @" 249comp.VerifyIL("Test.Main", @" 411comp.VerifyIL("Test.Main", @" 458comp.VerifyIL("Test.Main", @" 515comp.VerifyIL("Test.Main", @" 580comp.VerifyIL("Test.Main", @" 646comp.VerifyIL("Test.Main", @" 691comp.VerifyIL("Test.Main", @" 748comp.VerifyIL("Test.Main", @" 788comp.VerifyIL("Test.Main", @" 839comp.VerifyIL("Test.TestMethod<T>()", @" 987comp.VerifyIL("Test.TestMethod<T, U>()", @" 1070comp.VerifyIL("Printer<T>.Print", @" 1158comp.VerifyIL("Printer<T>.Print", @" 1240comp.VerifyIL("Printer<T>.Print", @" 1302comp.VerifyIL("Test.Main", @" 1341comp.VerifyIL("Repro.Bug", @" 1378comp.VerifyIL("Repro.Bug", @" 1421comp.VerifyIL("Test.Main", @" 1520comp.VerifyIL("Test.Main", @" 1572comp.VerifyIL("Test.Main", @" 1621comp.VerifyIL("Test.Main", @" 1666comp.VerifyIL("Test.Main", @" 1699comp.VerifyIL("Test.Main", @" 1767comp.VerifyIL("Test.Main", @" 1968comp.VerifyIL("Test.Main", @" 2038comp.VerifyIL("Test.Print<T1, T2, T3>", @"
CodeGen\CodeGenStructsAndEnum.cs (35)
48compilation.VerifyIL("D.Main", 105compilation.VerifyIL("D.Main", 154compilation.VerifyIL("D.Main", 205compilation.VerifyIL("Program.Main", 264compilation.VerifyIL("S1.Equals(object)", 282").VerifyIL("S1.GetHashCode()", 291").VerifyIL("bool S1.op_Equality(S1, S1)", 303").VerifyIL("bool S1.op_Inequality(S1, S1)", 339compilation.VerifyIL("Program.Main", 386compilation.VerifyIL("Program.Main", 456compilation.VerifyIL("NS.Test.Main", 525CompileAndVerify(text, options: TestOptions.DebugExe).VerifyIL("Struct.Main()", expectedIL); 572CompileAndVerify(text, expectedOutput: "SundayAA").VerifyIL("A.Main()", expectedIL); 663compilation.VerifyIL("D.TestInit", 744compilation.VerifyIL("D.TestInit", 844compilation.VerifyIL("D.TestInit", 957compilation.VerifyIL("D.TestInit", 1095compilation.VerifyIL("D.Main", 1194compilation.VerifyIL("D.Main", 1286compilation.VerifyIL("D.Main", 1373compilation.VerifyIL("D.TestInit", 1481compilation.VerifyIL("D.TestInit", 1555compilation.VerifyIL("Program.Main", @" 1572compilation.VerifyIL("Program.Main", 1633compilation.VerifyIL("C.Main", 1662compilation.VerifyIL("C.Main", 1736compilation.VerifyIL("cls1.Test", 1830compilation.VerifyIL("S.Main", 1886compilation.VerifyIL("S.Main", 1954compilation.VerifyIL("S.Main", 2008compilation.VerifyIL("S.Main", 2101compilation.VerifyIL("S.Main", 2217compilation.VerifyIL("S.TestRO", 2288compilation.VerifyIL("NullableTest.EqualEqual", 2371compilation.VerifyIL("Program.Main",
CodeGen\CodeGenTests.cs (242)
83result.VerifyIL("Program.Main(object[])", 171result.VerifyIL("Program.Main(object[])", 241result.VerifyIL("Program.Main(object[])", 302result.VerifyIL("Program.Main(object[])", 337result.VerifyIL("P.M<T>(T)", 385result.VerifyIL("C.M", 438result.VerifyIL("C.M", 537result.VerifyIL("C.A", @" 611result.VerifyIL("C.A", 763compilation.VerifyIL("C.Main", """ 870result.VerifyIL("Clazz.Main", @" 905compilation.VerifyIL("H..ctor", 955compilation.VerifyIL("C.M", 1116compilation.VerifyIL("C.M", 1512compilation.VerifyIL("C.M", 1539compilation.VerifyIL("C.M", 1584compilation.VerifyIL("C.M", 1623compilation.VerifyIL("C.M", 1668compilation.VerifyIL("D.M", 1697compilation.VerifyIL("D.M", 1726compilation.VerifyIL("C.M", 1758compilation.VerifyIL("C.M", 1798VerifyIL("D.M", 1816v.VerifyIL("D.M", 1867compilation.VerifyIL("D.M", 1912compilation.VerifyIL("D.M", 1959compilation.VerifyIL("D.M", 1992compilation.VerifyIL("D.M", 2030compilation.VerifyIL("D.Moo.Boo", 2055compilation.VerifyIL("C.M", 2089compilation.VerifyIL("C.M", 2127compilation.VerifyIL("C.Main", 2157compilation.VerifyIL("C.P.set", 2185compilation.VerifyIL("C.S.set", 2221compilation.VerifyIL("P.Main", 2258compilation.VerifyIL("C<T>.S.set", 2289compilation.VerifyIL("C.Main", 2349compilation.VerifyIL("Program.M", 2399compilation.VerifyIL("Program.M", 2468VerifyIL("B.N", 2537VerifyIL("C.Test", 2551VerifyIL("D.Test", 2620VerifyIL("C.Test", 2634VerifyIL("D.Test", 2703VerifyIL("C.Test", 2717VerifyIL("D.Test", 2791VerifyIL("C.Test", 2805VerifyIL("D.Test", 2874VerifyIL("C.Test", 2888VerifyIL("D.Test", 2962VerifyIL("C.Test", 2976VerifyIL("D.Test", 3008compilation.VerifyIL("D.Main", 3035compilation.VerifyIL("D.Main", 3072compilation.VerifyIL("D.Goo", 3113compilation.VerifyIL("D.Main", 3167compilation.VerifyIL("D.Main", 3221compilation.VerifyIL("D.Main", 3272compilation.VerifyIL("D.Main", 3337compilation.VerifyIL("D.Main", 3391compilation.VerifyIL("D.Main", 3484compilation.VerifyIL("D.Main", 3568compilation.VerifyIL("D.Main", 3839compilation.VerifyIL("D.Outer<K>.Boo<T, R, U>.Goo", 3958compilation.VerifyIL("D.Boo<T>.Moo", 3989compilation.VerifyIL("D.Main", 4046compilation.VerifyIL("P.D..ctor", 4115compilation.VerifyIL("D.Main", 4218compilation.VerifyIL("D.Main", 4274compilation.VerifyIL("D.Main", 4356verifier.VerifyIL("Program.M<T>()", 4482verifier.VerifyIL("Program.M<T>()", 4516compilation.VerifyIL("D.Main", 4572compilation.VerifyIL("D.Goo.Bar", 4583compilation.VerifyIL("D.GooS.Bar", 4722compilation.VerifyIL("D.GooD.Baz", 4765compilation.VerifyIL("D.Main", 4832compilation.VerifyIL("D.Main", 4917compilation.VerifyIL("D.Main", 4984compilation.VerifyIL("D.Main", 5052compilation.VerifyIL("D.Moo<T>.Goo", 5103compilation.VerifyIL("Program.Main(string[])", 5164compilation.VerifyIL("Program.Main(string[])", 5191compilation.VerifyIL("Program.Main(string[])", 5272compilation.VerifyIL("Program.GetElementRef<T>(T[])", expectedIL); 5277compilation.VerifyIL("Program.GetElementRef<T>(T[])", expectedIL); 5315compilation.VerifyIL("D.Main", 5504compilation.VerifyIL("D.Main", 5543compilation.VerifyIL("D.Main", 5585compilation.VerifyIL("D.Main", @" 5652VerifyIL("D.Main", 5687v.VerifyIL("D.Main", 5791compilation.VerifyIL("D.Main", 5844compilation.VerifyIL("D.Main", 5904compilation.VerifyIL("D.Main", 5964compilation.VerifyIL("D.Main", 6001compilation.VerifyIL("D.Main", 6059compilation.VerifyIL("D.Inc", 6105compilation.VerifyIL("D.ProxyGet", 6144compilation.VerifyIL("D.Inc", 6197compilation.VerifyIL("D.Inc", 6238compilation.VerifyIL("D.Inc", 6277compilation.VerifyIL("D.Inc", 6368compilation.VerifyIL("D.DD.Test", 6441compilation.VerifyIL("D.Main", 6578compilation.VerifyIL("D.Main", 6685compilation.VerifyIL("D.Main", """ 6795compilation.VerifyIL("D.Main", 6857compilation.VerifyIL("D.Main", 6935compilation.VerifyIL("D.Main", 7014verifier.VerifyIL("D.Main", 7068compilation.VerifyIL("Program.Main", 7124compilation.VerifyIL("Program.Main", 7174compilation.VerifyIL("Program.Main", 7213compilation.VerifyIL("Derived.F", 7251compilation.VerifyIL("Derived.F", 7292compilation.VerifyIL("Derived.F<T>", 7330compilation.VerifyIL("Program.M", 7368compilation.VerifyIL("Program.Main", 7410compilation.VerifyIL("Program.Main", 7493compilation.VerifyIL("Program.Test.Goo", 7601compilation.VerifyIL("Program.Main", 7694compilation.VerifyIL("A.Main", 7745compilation.VerifyIL("A.Main", 7811compilation.VerifyIL("C.S.Goo", 7878compilation.VerifyIL("A.Main", 7974compilation.VerifyIL("NS.Test.Main", 8035compilation.VerifyIL("CodeGen.MyData.M", 8112compilation.VerifyIL("Test.Main", 8188compilation.VerifyIL("CodeGen.MyClass.M", 8315CompileAndVerify(source).VerifyIL("C.M", @" 8408compilation.VerifyIL("Program.Main", 8509compilation.VerifyIL("A.Main", 8557compilation.VerifyIL("A.Main", 8630compilation.VerifyIL("A.Main", 8701compilation.VerifyIL("A.Increment", 8747compilation.VerifyIL("A.Increment", 8788compilation.VerifyIL("A.Main", 8868compilation.VerifyIL("A.Main", 8941compilation.VerifyIL("A.Main", 9010compilation.VerifyIL("A.Main", 9080compilation.VerifyIL("A.Main", 9125compilation.VerifyIL("A.Main", 9172compilation.VerifyIL("A.Main", 9222compilation.VerifyIL("A.Main", 9258VerifyIL("Test.Main", @" 9282VerifyIL("Test.Main", @" 9352VerifyIL("Program.Main", @" 9394VerifyIL("Test.Main", @" 9434VerifyIL("Test.Main", @" 9548compilation.VerifyIL("NS.Test.Main", 9597compilation.VerifyIL("NS.Test.Main", 9669compilation.VerifyIL("CodeGen.MyData.M", 9789compilation.VerifyIL("MyClass.Main", 9884VerifyIL("MyClass.Main", @" 10018compilation.VerifyIL("Program.Main", 10047comp.VerifyIL("Program.Main", 10458CompileAndVerify(comp, verify: Verification.FailsPEVerify).VerifyIL("Test.Main", 10569compilation.VerifyIL("C.M", 11120compilation.VerifyIL("C.Goo", 11129compilation.VerifyIL("C.Bar", 11156compilation.VerifyIL("C.Main", """ 11338compilation.VerifyIL("C.Main", 11367compilation.VerifyIL("C.Main", 11574compilation.VerifyIL("C.Main", 11755CompileAndVerify(source).VerifyIL("Test.Main", @" 11797CompileAndVerify(source2, new[] { new CSharpCompilationReference(compilation1) }).VerifyIL("Test.Main", @" 11827CompileAndVerify(source, new[] { TestReferences.SymbolsTests.Methods.CSMethods }).VerifyIL("Test.Main", @" 11897compilation.VerifyIL("Test.Main", 11952compilation.VerifyIL("Test.Main", 12301comp.VerifyIL("Program.Main", 12334comp.VerifyIL("Program.Main", 12366comp.VerifyIL("Program.Main", 12455comp.VerifyIL("Program.Main", 12484comp.VerifyIL("Program.Main", 12528compilation.VerifyIL("Program.Main", 12586compilation.VerifyIL("Test.M1<T>(T)", 12641compilation.VerifyIL("Class1.Main", 12726CompileAndVerify(source).VerifyIL("SinkHelper.OnEvent", @" 12769compilation.VerifyIL("Class1.Main", 13009compilation.VerifyIL("C.Main", expectedIL); 13045compilation.VerifyIL("C.R", expectedIL); 13115CompileAndVerify(source).VerifyIL("EdmFunction.SetFunctionAttribute", @" 13166hello").VerifyIL("Program.Main", @" 13181").VerifyIL("Program.Test<T>", @" 13225compilation.VerifyIL("Program.Main", expectedIL); 13356compilation.VerifyIL("A.Main", 13436comp.VerifyIL("A.Main", 13456comp.VerifyIL("A.Main", 13616CompileAndVerify(compRelease).VerifyIL("C.Main", @" 13627CompileAndVerify(compDebug).VerifyIL("C.Main", @" 13659v.VerifyIL("C.Main", @" 13721CompileAndVerify(source, expectedOutput: "2").VerifyIL("S1.Prop1.get", @" 13777CompileAndVerify(source, expectedOutput: "1234").VerifyIL("Program.Main", @" 13968compilation.VerifyIL("Test.Run", 14041CompileAndVerify(source, expectedOutput: @"").VerifyIL("A.Main", 1424542").VerifyIL("A.Main", @" 14304CompileAndVerify(source, expectedOutput: @"").VerifyIL("A.Main", 14360).VerifyIL("Program.Goo<T>(T[])", 14374").VerifyIL("Program.Goo1<T>(T[])", 14385").VerifyIL("Program.Bar<T>(T[])", 14399").VerifyIL("Program.Baz<T>(T[][])", 14442).VerifyIL("Program.Goo<T>(A<T>)", 14519VerifyIL("Program.Test1<T>(T)", 14530VerifyIL("Program.Test2<T>(T)", 14687).VerifyIL("Test.Main()", 14730).VerifyIL("Test.Main()", 14931).VerifyIL("Program.TestArrElement(bool[])", 14947").VerifyIL("Program.TestRef(ref bool)", 14988compilation.VerifyIL("Program.Main", 15042compilation.VerifyIL("Program.Main", 15091compilation.VerifyIL("Program.Main", 15136compilation.VerifyIL("Program.Main", @" 15179compilation.VerifyIL("Program.Main", 15233compilation.VerifyIL("Program.Main", 15279compilation.VerifyIL("Program.Main", 15326compilation.VerifyIL("Program.Main", 15379compilation.VerifyIL("Program.Main", 15464compilation.VerifyIL("Program.Main", 15563compilation.VerifyIL("M..ctor", 15633compilation.VerifyIL("M..ctor", 16138compilation.VerifyIL("Program.Main", 16258compilation.VerifyIL("Form1.IPE", @" 16313CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("Test.Main", @" 16335CompileAndVerify(comp, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("Test.Main", @" 16389CompileAndVerify(comp, expectedOutput: "12345", verify: Verification.Fails).VerifyIL("Test.Main", @" 16422CompileAndVerify(comp, expectedOutput: "12345", verify: Verification.Fails).VerifyIL("Test.Main", @" 16482CompileAndVerify(comp, expectedOutput: "6", verify: Verification.Fails).VerifyIL("Test.Main", @" 16501CompileAndVerify(comp, expectedOutput: "6", verify: Verification.Fails).VerifyIL("Test.Main", @" 16538CompileAndVerify(comp, expectedOutput: "6", verify: Verification.Fails).VerifyIL("Test.Main", @" 16560CompileAndVerify(comp, expectedOutput: "6", verify: Verification.Fails).VerifyIL("Test.Main", @" 16603CompileAndVerify(comp, expectedOutput: "6", verify: Verification.Fails).VerifyIL("Test.Main", @" 16658CompileAndVerify(comp, expectedOutput: "6", verify: Verification.Fails).VerifyIL("Test.Main", @" 16797verifier.VerifyIL("C.G", 16836verifier.VerifyIL("C.G", 16882verifier.VerifyIL("C.G", 16926verifier.VerifyIL("C.G", 16976verifier.VerifyIL("C.G", 17014CompileAndVerify(code).VerifyIL("Test2.M", @" 17051.VerifyIL("C.Call", @" 17085.VerifyIL("C.Call", @" 17315verifier.VerifyIL("C.Test", @"
CodeGen\CodeGenThrowTests.cs (10)
29compilation.VerifyIL("C.Main", @"{ 53compilation.VerifyIL("C.Main", @"{ 76compilation.VerifyIL("C.Main", @"{ 105compilation.VerifyIL("C.Main", @"{ 142compilation.VerifyIL("C.Main", @"{ 170compilation.VerifyIL("C.Main", @"{ 207compilation.VerifyIL("C.Main", @"{ 235compilation.VerifyIL("C.Main", @"{ 343compilation.VerifyIL("C.M", 368compilation.VerifyIL("C.M",
CodeGen\CodeGenTryFinally.cs (69)
47compilation.VerifyIL("C.EmptyTryFinally", 53compilation.VerifyIL("C.EmptyTryFinallyInTry", 59compilation.VerifyIL("C.EmptyTryFinallyInFinally", 119compilation.VerifyIL("C.M1", 125compilation.VerifyIL("C.M2", 131compilation.VerifyIL("C.M3", 148compilation.VerifyIL("C.M4", 154compilation.VerifyIL("C.M5", 202compilation.VerifyIL("C.M", 262compilation.VerifyIL("C.M", 320compilation.VerifyIL("C.M", 388compilation.VerifyIL("C.M", @" 463compilation.VerifyIL("Program.Main", 548compilation.VerifyIL("Program.Main", @" 635compilation.VerifyIL("Program.Main", @" 702compilation.VerifyIL("Program.Main", @" 766compilation.VerifyIL("Program.F<T>", @" 902compilation.VerifyIL("C.Main", 984compilation.VerifyIL("C.M", 1076compilation.VerifyIL("Program.Test", 1166compilation.VerifyIL("Program.Test", 1274compilation.VerifyIL("Program.Test", 1393compilation.VerifyIL("Program.Test", 1528compilation.VerifyIL("Program.Test", 1662compilation.VerifyIL("Program.Test", 1797compilation.VerifyIL("Program.Test", 1918compilation.VerifyIL("C.ThrowInTry", 1925compilation.VerifyIL("C.ThrowInTryInTry", 1932compilation.VerifyIL("C.ThrowInTryInFinally", 1947compilation.VerifyIL("D.ThrowInTry", 1963compilation.VerifyIL("D.ThrowInTryInTry", 1979compilation.VerifyIL("D.ThrowInTryInFinally", 2084compilation.VerifyIL("C.ThrowInFinally", 2099compilation.VerifyIL("C.ThrowInFinallyInTry", 2124compilation.VerifyIL("C.ThrowInFinallyInFinally", 2148compilation.VerifyIL("D.ThrowInFinally", 2172compilation.VerifyIL("D.ThrowInFinallyInTry", 2214compilation.VerifyIL("D.ThrowInFinallyInFinally", 2292comp.VerifyIL("C.Main", @" 2385VerifyIL("C.Test", @" 2497comp.VerifyIL("C.Main", @" 2574comp.VerifyIL("C.Main", @" 2612comp.VerifyIL("C.Main", @" 2650comp.VerifyIL("C.Main", @" 2717comp.VerifyIL("C.Main", @" 2799comp.VerifyIL("C.Main", @" 2872compilation.VerifyIL("C.M", 2957compilation.VerifyIL("C.M", 3031compilation.VerifyIL("C.TryCatch<T>()", 3152compilation.VerifyIL("Program.Main", 3213compilation.VerifyIL("Program.T1", 3267compilation.VerifyIL("Program.T1", 3322compilation.VerifyIL("Program.T1", 3394compilation.VerifyIL("Program.T1", 3477compilation.VerifyIL("Program.T1", 3555compilation.VerifyIL("Program.Main", 3632compilation.VerifyIL("Program.Main", 3683compilation.VerifyIL("Program.Main", 3731CompileAndVerify(source, expectedOutput: "", options: TestOptions.ReleaseExe).VerifyIL("Program.Main", 3832verifier.VerifyIL("C.M", """ 3864verifier.VerifyIL("C.M", """ 3925verifier.VerifyIL("C.M", """ 3957verifier.VerifyIL("C.M", """ 4094verifier.VerifyIL("C.M", """ 4111verifier.VerifyIL("C.M", """ 4157verifier.VerifyIL("C.M", """ 4174verifier.VerifyIL("C.M", """ 4221verifier.VerifyIL("C.M", """ 4238verifier.VerifyIL("C.M", """
CodeGen\CodeGenTupleEqualityTests.cs (31)
196comp.VerifyIL("C.M", @"{ 242comp.VerifyIL("C.M", @"{ 284comp.VerifyIL("C.M", @"{ 331comp.VerifyIL("C.M", @"{ 413comp.VerifyIL("C.Main", @"{ 453comp.VerifyIL("C.M", @"{ 496comp.VerifyIL("C.M", @"{ 536comp.VerifyIL("C.M", @"{ 572comp.VerifyIL("S.Main", @"{ 3291verifier.VerifyIL("C.Compare", @"{ 3359verifier.VerifyIL("C.Main", @" 3394verifier.VerifyIL("C.Main", @" 3429verifier.VerifyIL("C.Main", @"{ 3440CompileAndVerify(source, options: TestOptions.ReleaseExe).VerifyIL("C.Main", @"{ 3468CompileAndVerify(source, expectedOutput: "TrueFalse", options: TestOptions.ReleaseExe).VerifyIL("C.M", @"{ 3502CompileAndVerify(source, expectedOutput: "FalseTrue", options: TestOptions.ReleaseExe).VerifyIL("C.M", @"{ 3534CompileAndVerify(source, expectedOutput: "TrueFalse", options: TestOptions.ReleaseExe).VerifyIL("C.M", @"{ 3563CompileAndVerify(source, expectedOutput: "False", options: TestOptions.ReleaseExe).VerifyIL("C.Main", @"{ 3591CompileAndVerify(source, expectedOutput: "TrueFalse", options: TestOptions.ReleaseExe).VerifyIL("C.M", @"{ 3620CompileAndVerify(source, expectedOutput: "False", options: TestOptions.ReleaseExe).VerifyIL("C.Main", @"{ 3645verifier.VerifyIL("C.Main", @"{ 3697verifier.VerifyIL("C.Compare", @"{ 3821verifier.VerifyIL("C.Compare", @"{ 3924verifier.VerifyIL("C.Compare", @"{ 4001verifier.VerifyIL("C.M", @"{ 4120verifier.VerifyIL("C.M", @"{ 4336verifier.VerifyIL("C.Compare", @"{ 5683comp.VerifyIL("C.Main", @" 5748comp.VerifyIL("C.Main", @" 5800comp.VerifyIL("C.Main", @" 5880comp.VerifyIL("C.Main", @"
CodeGen\CodeGenTupleTest.cs (56)
1034comp.VerifyIL("C.Main", @" 1218comp.VerifyIL("C.Main", @" 1251comp.VerifyIL("C.Main", @" 1284comp.VerifyIL("C.Main", @" 1329comp.VerifyIL("C.Main", @" 1375comp.VerifyIL("C.Main", @" 1421comp.VerifyIL("C.Main", @" 1467comp.VerifyIL("C.Main", @" 1750comp.VerifyIL("C.Main", @" 1807comp.VerifyIL("C.<>c__DisplayClass1_0<T>.<Test>b__0()", @" 1845comp.VerifyIL("C.<>c__DisplayClass1_0<T>.<Test>b__0()", @" 1910comp.VerifyIL("C.<>c__DisplayClass1_0<T>.<Test>b__0()", @" 1976comp.VerifyIL("C.<>c__DisplayClass1_0<T>.<Test>b__0()", @" 2044comp.VerifyIL("C.<>c__DisplayClass1_0<T>.<Test>b__0()", @" 2215verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2335verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2482verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2624verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 4283v.VerifyIL("C3.Main()", 6998comp.VerifyIL("C.Main()", 17619comp.VerifyIL("C.Main", @" 17708comp.VerifyIL("C.Main", @" 18347comp.VerifyIL("C.Main", @" 18417comp.VerifyIL("C.Main", @" 18487comp.VerifyIL("C.Main", @" 19340verifier.VerifyIL("<top-level-statements-entry-point>", @" 22145verifier.VerifyIL("C.<Test>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 23340comp.VerifyIL("Program.Main", @" 23375comp.VerifyIL("Program.RefReturn", @" 25550verifier.VerifyIL("C.Default", 25566verifier.VerifyIL("C.Unchecked", 25582verifier.VerifyIL("C.Checked", 25620comp.VerifyIL("C.Main()", @" 25649comp.VerifyIL("C.Main()", @" 27656verifier.VerifyIL("C.Main", @" 29104verifier.VerifyIL("C.Test1", @" 29116verifier.VerifyIL("C.Test2", @" 29180verifier.VerifyIL("C.M1", expectedIL); 29181verifier.VerifyIL("C.M2", expectedIL); 29182verifier.VerifyIL("C.M3", expectedIL); 29184verifier.VerifyIL("C.M4", """ 29234verifier.VerifyIL("C.M1", """ 29254verifier.VerifyIL("C.M2", """ 29357verifier.VerifyIL("C.M1", expectedIL); 29358verifier.VerifyIL("C.M2", expectedIL); 29360verifier.VerifyIL("C.M3", """ 29472verifier.VerifyIL("C.M1", expectedIL); 29473verifier.VerifyIL("C.M2", expectedIL); 29474verifier.VerifyIL("C.M3", expectedIL); 29476verifier.VerifyIL("C.M4", """ 29574verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 29588verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 29667verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 29693verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 29752verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 29785verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL);
CodeGen\CodeGenTypeofTests.cs (8)
32comp.VerifyIL("C.Main", @"{ 92comp.VerifyIL("Program.Main", @"{ 158comp.VerifyIL("Program.Main", @"{ 219comp.VerifyIL("Class<T>.Print", @"{ 231comp.VerifyIL("Class<T>.Print<U>", @"{ 265comp.VerifyIL("Program.Main", @"{ 472comp.VerifyIL("Program.Print<U>", @"{ 544comp.VerifyIL("Outer<T>.Print", @"{
CodeGen\CodeGenUsingDeclarationTests.cs (16)
31CompileAndVerify(source).VerifyIL("C2.Main", @" 77CompileAndVerify(source).VerifyIL("C2.Main", @" 120CompileAndVerify(source).VerifyIL("C2.Main", @" 164CompileAndVerify(source).VerifyIL("C2.Main", @" 207CompileAndVerify(source).VerifyIL("C2.Main", @" 263CompileAndVerify(source).VerifyIL("C2.Main", @" 322CompileAndVerify(source).VerifyIL("C2.Main", @" 383CompileAndVerify(source, expectedOutput: "Dispose; Dispose; Dispose; ").VerifyIL("C2.Main", @" 464CompileAndVerify(source, expectedOutput: "Start; Middle1; Middle2; End; Dispose; Dispose; Dispose; ").VerifyIL("C2.Main", @" 553CompileAndVerify(source, expectedOutput: "Dispose Try; Dispose Catch; Dispose Finally; ").VerifyIL("C2.Main", @" 713CompileAndVerify(source, expectedOutput: output).VerifyIL("Program.Main", @" 768CompileAndVerify(source, expectedOutput: output).VerifyIL("Program.Main", @" 840CompileAndVerify(source).VerifyIL("C2.Main", @" 910CompileAndVerify(source, expectedOutput: output).VerifyIL("C2.Main", @" 985CompileAndVerify(source, expectedOutput: output).VerifyIL("C2.Main", @" 1063CompileAndVerify(source, expectedOutput: output).VerifyIL("C2.Main", @"
CodeGen\CodeGenUsingStatementTests.cs (43)
74verifier.VerifyIL("Test.Main", @" 111verifier.VerifyIL("Test.Main", @" 149verifier.VerifyIL("Test.Main", @" 203verifier.VerifyIL("Test.Main", @" 275verifier.VerifyIL("Test.M<T>", @" 335verifier.VerifyIL("Test.M<T>", @" 385verifier.VerifyIL("Test.Main", @" 422verifier.VerifyIL("Test.Main", @" 460verifier.VerifyIL("Test.Main", @" 514verifier.VerifyIL("Test.Main", @" 586verifier.VerifyIL("Test.M<T>", @" 646verifier.VerifyIL("Test.M<T>", @" 702verifier.VerifyIL("Test.Main", @" 790verifier.VerifyIL("Test.Main", @" 874verifier.VerifyIL("Test.Main", @" 942verifier.VerifyIL("Test.Main", @" 1007CompileAndVerify(source).VerifyIL("Program.Main", @" 1060CompileAndVerify(source, expectedOutput: "S1.Dispose()").VerifyIL("C2.Main()", @" 1108CompileAndVerify(source, expectedOutput: "S1.Dispose()").VerifyIL("C2.Main()", @" 1193CompileAndVerify(source, expectedOutput: "S1.Dispose()").VerifyIL("C3.Main()", @" 1299CompileAndVerify(source).VerifyIL("Program.Main", @" 1351CompileAndVerify(source).VerifyIL("Program.Main", @" 1543CompileAndVerify(source).VerifyIL("Program.goo", @" 1587CompileAndVerify(source).VerifyIL("Program.Main", @" 1633CompileAndVerify(source).VerifyIL("Program.goo", @" 1677CompileAndVerify(source).VerifyIL("Program.Main", @" 1724CompileAndVerify(source).VerifyIL("Program.Main", @" 1775CompileAndVerify(source).VerifyIL("Program.Main", @" 1827CompileAndVerify(source, expectedOutput: "InUsing").VerifyIL("Program.Main", @" 1876CompileAndVerify(source, expectedOutput: "").VerifyIL("Program.Main", @" 1927Dispose").VerifyIL("Program.Main", @" 1975CompileAndVerify(source, expectedOutput: "Dispose").VerifyIL("Program.Main", @" 2042comp.VerifyIL("Program.Main", @" 2104comp.VerifyIL("Program.Main", @" 2172comp.VerifyIL("Program.Main", @" 22371:Dispose").VerifyIL("Program.Main", @" 2304CompileAndVerify(source).VerifyIL("Program.Main", @" 2354CompileAndVerify(source).VerifyIL("Program.Main", @" 2409CompileAndVerify(source).VerifyIL("Program.Main", @" 2477CompileAndVerify(source).VerifyIL("Program.Main", @" 2601CompileAndVerify(source).VerifyIL("Program.Main", @" 2892Dispose()").VerifyIL("Program.Main", @" 2960Catch").VerifyIL("Program.Main", @"
CodeGen\CompoundAssignmentForDelegate.cs (5)
69CompileAndVerify(text, expectedOutput: "5").VerifyIL("C.Main", expectedIL); 141CompileAndVerify(text).VerifyIL("C.Main", expectedIL); 205CompileAndVerify(text, expectedOutput: "10").VerifyIL("C.Main", @" 261CompileAndVerify(text, expectedOutput: "Hello").VerifyIL("C.Main()", @" 667CompileAndVerify(text, expectedOutput: expectedOutPut).VerifyIL("C.Main", expectedIL);
CodeGen\DestructorTests.cs (8)
60compVerifier.VerifyIL("Base.Finalize", @" 114compVerifier.VerifyIL("Base.Finalize", @" 175compVerifier.VerifyIL("Base.Finalize", @" 194compVerifier.VerifyIL("Derived.Finalize", @" 261compVerifier.VerifyIL("Base.Finalize", @" 280compVerifier.VerifyIL("Derived.Finalize", @" 701CompileAndVerify(compilation, verify: Verification.FailsPEVerify).VerifyIL("B.Finalize", 740CompileAndVerify(text).VerifyIL("B.Finalize", @"
CodeGen\EventTests.cs (17)
53compVerifier.VerifyIL("C.E.add", accessorBody); 54compVerifier.VerifyIL("C.E.remove", accessorBody); 87compVerifier.VerifyIL("C.E.add", accessorBody); 88compVerifier.VerifyIL("C.E.remove", accessorBody); 150compVerifier.VerifyIL("C.E.add", string.Format(accessorBodyFormat, "Combine")); 151compVerifier.VerifyIL("C.E.remove", string.Format(accessorBodyFormat, "Remove")); 200compVerifier.VerifyIL("C.E.add", string.Format(accessorBodyFormat, "Combine")); 201compVerifier.VerifyIL("C.E.remove", string.Format(accessorBodyFormat, "Remove")); 268CompileAndVerify(text).VerifyIL("C.M", @" 336CompileAndVerify(text).VerifyIL("C.M", @" 396CompileAndVerify(text).VerifyIL("D.M", @" 725verifier.VerifyIL("C.e.add", @" 740verifier.VerifyIL("C.e.remove", @" 797verifier.VerifyIL("C.e.add", @" 812verifier.VerifyIL("C.e.remove", @" 844verifier.VerifyIL("C.E.add", @" 854verifier.VerifyIL("C.E.remove", @"
CodeGen\FixedSizeBufferTests.cs (11)
51verifier.VerifyIL("X.CaseRange..ctor", @" 116.VerifyIL("Program.Main", @" 177.VerifyIL("Program.Main", @" 228.VerifyIL("Program.Main", @" 279.VerifyIL("Program.Main", @" 440.VerifyIL("Program.Main", @" 505.VerifyIL("Program.Main", 608.VerifyIL("Program.Main", @" 759.VerifyIL("Program.Test", @" 1092verifier.VerifyIL("C.M", @" 1123verifier.VerifyIL("C.M", @"
CodeGen\ForeachTest.cs (16)
66}", options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("Test.Main", @" 162CompileAndVerify(text).VerifyIL("C.Main", expectedIL); 224CompileAndVerify(text).VerifyIL("C.Main", expectedIL); 308CompileAndVerify(text).VerifyIL("Test.Main", expectedIL); 331CompileAndVerify(comp, expectedOutput: "123").VerifyIL("Test.Main", @" 387CompileAndVerify(comp, expectedOutput: "1230").VerifyIL("Test.Main", @" 449CompileAndVerify(comp, expectedOutput: "RedGreenBlue", verify: Verification.Fails).VerifyIL("Test.Main", @" 500CompileAndVerify(comp, expectedOutput: "hello", verify: Verification.Passes).VerifyIL("Test.Main", @" 548CompileAndVerify(comp, expectedOutput: "123", verify: Verification.Fails).VerifyIL("Test.Main", @" 599CompileAndVerify(comp, expectedOutput: "123").VerifyIL("Test.Main", @" 696CompileAndVerify(comp, expectedOutput: "123", verify: Verification.Fails).VerifyIL("Test.Main", @" 743CompileAndVerify(comp, expectedOutput: "123").VerifyIL("Test.Main", @" 800CompileAndVerify(comp, expectedOutput: "1234").VerifyIL("Test.Main", @" 869CompileAndVerify(comp, expectedOutput: "123").VerifyIL("Test.Main", @" 1026CompileAndVerify(text).VerifyIL("Test.Main", expectedIL); 1251CompileAndVerify(text).VerifyIL("Test.Main", expectedIL);
CodeGen\ForLoopsTests.cs (36)
37compilation.VerifyIL("C.Main", 89compilation.VerifyIL("C.Main", 146compilation.VerifyIL("C.Main", 190compilation.VerifyIL("C.Main", 237compilation.VerifyIL("C.Main", 320compilation.VerifyIL("C.Main", 365compilation.VerifyIL("C.Main", 439VerifyIL("C.Main", expectedIL); 476VerifyIL("C.Main", expectedIL); 513VerifyIL("C.Main", expectedIL); 529CompileAndVerify(text).VerifyIL("C.Main", @"{ 596VerifyIL("C.Main", expectedIL); 650VerifyIL("C.Main", expectedIL); 703VerifyIL("C.Main", expectedIL); 728c.VerifyIL("C.Main", @" 825VerifyIL("C.Main", expectedIL); 883VerifyIL("C.Main", expectedIL); 908c.VerifyIL("C.Main", @" 963c.VerifyIL("C.Main", @" 1041VerifyIL("C.Main", expectedIL); 1086VerifyIL("C.Main", expectedIL); 1124VerifyIL("C.Main", expectedIL); 1180VerifyIL("C.Main", expectedIL); 1222VerifyIL("C.Main", expectedIL); 1248VerifyIL("C.Main", expectedIL). 1268c.VerifyIL("C.Main", @" 1310VerifyIL("C.Main", expectedIL); 1361VerifyIL("C.Main", expectedIL). 1415VerifyIL("C.Main", expectedIL). 1451VerifyIL("C.Main", expectedIL). 1503VerifyIL("C.Main", expectedIL); 1592VerifyIL("C.Main", expectedIL); 1750VerifyIL("C.Main", expectedIL); 1792VerifyIL("Program.Main", expectedIL); 1896VerifyIL("Program.Main", expectedIL); 1918c.VerifyIL("Program.Main", @"
CodeGen\GotoTest.cs (13)
95CompileAndVerify(text).VerifyIL("C.Main", @" 147CompileAndVerify(text).VerifyIL("C.Main", @" 186CompileAndVerify(text).VerifyIL("C.Main", @" 232c.VerifyIL("C.Main", @" 260CompileAndVerify(text).VerifyIL("C.Main", @" 287CompileAndVerify(text).VerifyDiagnostics().VerifyIL("C.Main", @" 322c.VerifyIL("C.Main", @" 362c.VerifyIL("C.Main", @" 396c.VerifyIL("C.Main", @" 449CompileAndVerify(text).VerifyIL("C.Main", @" 505c.VerifyIL("C.Main", @" 534CompileAndVerify(text).VerifyIL("C.Main", @" 692CompileAndVerify(text).VerifyIL("C.Main", @"
CodeGen\IndexAndRangeTests.cs (48)
131verifier.VerifyIL("C.M1", @" 144verifier.VerifyIL("C.M2", @" 157verifier.VerifyIL("C.M3", @" 193verifier.VerifyIL("C.Main", @" 286verifier.VerifyIL("C.Main", @" 417verifier.VerifyIL("C.Main", @" 523verifier.VerifyIL("C.Main", @" 690verifier.VerifyIL("C.Main", @" 833verifier.VerifyIL("C.Main", @" 955verifier.VerifyIL("C.Main", @" 1029verifier.VerifyIL("C.Main", @" 1103verifier.VerifyIL(@"C.Main", @" 1188verifier.VerifyIL("C.Main", @" 1300verifier.VerifyIL("C.Main", @" 1361verifier.VerifyIL("C.Main", @" 1450verifier.VerifyIL("C.Main", @" 1502verifier.VerifyIL("C.M", @" 1656verifier.VerifyIL("C.Main", @" 1763verifier.VerifyIL("C.Main", @" 1796verifier.VerifyIL("C.Repro", @" 1825verifier.VerifyIL("C.Repro", @" 1902verifier.VerifyIL("C.M", @" 1983verifier.VerifyIL("C.M", @" 2067verifier.VerifyIL("C.M", @" 2104verifier.VerifyIL("C.M", @" 2127CompileAndVerify(compilation).VerifyIL("Util.Convert", @" 2148CompileAndVerify(compilation).VerifyIL("Util.Convert", @" 2228CompileAndVerify(compilation).VerifyIL("Util.Create", @" 2249CompileAndVerify(compilation).VerifyIL("Util.Create", @" 2286CompileAndVerify(compilation).VerifyIL("Util.Create", @" 2323CompileAndVerify(compilation).VerifyIL("Util.Create", @" 2364CompileAndVerify(compilation).VerifyIL("Util.ToEnd", @" 2384CompileAndVerify(compilation).VerifyIL("Util.ToEnd", @" 2417CompileAndVerify(compilation).VerifyIL("Util.FromStart", @" 2437CompileAndVerify(compilation).VerifyIL("Util.FromStart", @" 2470CompileAndVerify(compilation).VerifyIL("Util.All", @" 26292").VerifyIL("Util.Create", @" 26932").VerifyIL("Util.Create", @" 2759.VerifyIL("Program.Create", @" 2789.VerifyIL("Program.Create", @" 2818.VerifyIL("Program.Create", @" 2847.VerifyIL("Program.Create", @" 2876.VerifyIL("Program.Create", @" 2906.VerifyIL("Program.Create", @" 2938.VerifyIL("Program.Create", @" 2970.VerifyIL("Program.Create", @" 4154verifier.VerifyIL("Program.Test", 4206verifier.VerifyIL("Program.Test",
CodeGen\IndexerTests.cs (5)
425compVerifier.VerifyIL("Test.Main", @" 573compVerifier.VerifyIL("Test.Main", @" 721compVerifier.VerifyIL("Test.Main", @" 946compVerifier.VerifyIL("Test.Main", @" 1112verifier.VerifyIL("Test.Main", @"
CodeGen\ITuplePatternTests.cs (3)
57compVerifier.VerifyIL("C.M", 141compVerifier.VerifyIL("C.M", 230verifier.VerifyIL("C.M", @"
CodeGen\ObjectAndCollectionInitializerTests.cs (38)
39compVerifier.VerifyIL("MemberInitializerTest.Main", @" 80compVerifier.VerifyIL("MemberInitializerTest.Main", @" 135compVerifier.VerifyIL("MemberInitializerTest<T>.Goo", @" 192compVerifier.VerifyIL("MemberInitializerTest.Goo<T>", @" 245compVerifier.VerifyIL("MemberInitializerTest.Goo<T>", @" 290compVerifier.VerifyIL("MemberInitializerTest.Main", @" 329compVerifier.VerifyIL("Test.Main", @" 372compVerifier.VerifyIL("MemberInitializerTest.Main", @" 435compVerifier.VerifyIL("MemberInitializerTest.Goo", @" 518compVerifier.VerifyIL("Test.Main", @" 586compVerifier.VerifyIL("Test.Main", @" 669compVerifier.VerifyIL("Test.Main", @" 757compVerifier.VerifyIL("Test.Main", @" 814compVerifier.VerifyIL("MemberInitializerTest.Main", @" 852compVerifier.VerifyIL("Test.Main", @" 895compVerifier.VerifyIL("Program.Main", @" 952compVerifier.VerifyIL("A.Main()", @" 1042compVerifier.VerifyIL("A.Main()", @" 1523compVerifier.VerifyIL("A.Main()", @" 1661compVerifier.VerifyIL("A.Main()", @" 1874compVerifier.VerifyIL("A.Main()", @" 2119CompileAndVerify(source, expectedOutput: "1 2").VerifyIL("C.Main", @" 2168CompileAndVerify(source, expectedOutput: "1 2 3 4").VerifyIL("C.Main", @" 2259CompileAndVerify(source, expectedOutput: "1 2").VerifyIL("C.Main", @" 2324CompileAndVerify(source, expectedOutput: "1 2").VerifyIL("C.Main", @" 2398compVerifier.VerifyIL("Test.Main", @" 2456compVerifier.VerifyIL("Test.Main", @" 2538compVerifier.VerifyIL("C<T>.M", @" 2642compVerifier.VerifyIL("Test.Main", @" 2728compVerifier.VerifyIL("Test.Main", @" 2825compVerifier.VerifyIL("Test.Main", @" 2910compVerifier.VerifyIL("Test.Main", @" 3003compVerifier.VerifyIL("Test.Main", @" 3116compVerifier.VerifyIL("Test.Main", @" 3211compVerifier.VerifyIL("Test.Main", @" 3304compVerifier.VerifyIL("Test.Main", @" 3426compVerifier.VerifyIL("Test.Main", @" 3483CompileAndVerify(source).VerifyIL("C.Main", @"
CodeGen\PatternTests.cs (116)
239compVerifier.VerifyIL("C.Main", 272compVerifier.VerifyIL("C.Main", 336compVerifier.VerifyIL("X<T>.Y<U>", 409compVerifier.VerifyIL("Program.Main", 506compVerifier.VerifyIL("Program.P1", 514compVerifier.VerifyIL("Program.P2", 522compVerifier.VerifyIL("Program.P3", 531compVerifier.VerifyIL("Program.P4", 540compVerifier.VerifyIL("Program.P5", 638compVerifier.VerifyIL("C.M1", 666compVerifier.VerifyIL("C.M2", 698compVerifier.VerifyIL("C.M1", 717compVerifier.VerifyIL("C.M2", 774compVerifier.VerifyIL("C.M1", 800compVerifier.VerifyIL("C.M2", 835compVerifier.VerifyIL("C.M1", 860compVerifier.VerifyIL("C.M1", 896compVerifier.VerifyIL("C.M1", 935compVerifier.VerifyIL("C.M1", 971compVerifier.VerifyIL("C.M1", 1011compVerifier.VerifyIL("C.M1", 1058compVerifier.VerifyIL("C.SwitchBasedPatternMatching", 1109compVerifier.VerifyIL("C.IsString", 1144compVerifier.VerifyIL("C.M", 1182compVerifier.VerifyIL("C.M<T, U>(U)", 1226compVerifier.VerifyIL("C.M", 1285compVerifier.VerifyIL("C.M", 1342compVerifier.VerifyIL("C.M", 1402compVerifier.VerifyIL("C.M", 1474compVerifier.VerifyIL("C.M", 1538compVerifier.VerifyIL("C.M", 1601compVerifier.VerifyIL("C.M", 1660compVerifier.VerifyIL("C.M", 1715compVerifier.VerifyIL("C.M", 1776compVerifier.VerifyIL("C.M", 1843compVerifier.VerifyIL("C.M", 1907compVerifier.VerifyIL("C.M", 1979compVerifier.VerifyIL("C.M", 2041compVerifier.VerifyIL("C.M", 2104verifier.VerifyIL("C.M", @" 2176compVerifier.VerifyIL("Program.TryGetCount1<T>", 2210compVerifier.VerifyIL("Program.TryGetCount2<T>", 2270compVerifier.VerifyIL("Program.IsEmpty1", 2288compVerifier.VerifyIL("Program.IsEmpty2", 2407compVerifier.VerifyIL("Door.ChangeState0", 2452compVerifier.VerifyIL("Door.ChangeState1", 2541compVerifier.VerifyIL("Program.M1", 2566compVerifier.VerifyIL("Program.M2", 2730compVerifier.VerifyIL("Program.Test1<T>(T)", 2740compVerifier.VerifyIL("Program.Test2<T>(T)", 2759compVerifier.VerifyIL("Program.Test3<T>(T)", 2796compVerifier.VerifyIL("C<T>.Test(C<T>.S)", 2842compVerifier.VerifyIL("C.Equals(object)", 2909compVerifier.VerifyIL("TestHelper.IsValueTypeT0<T>(T)", 2924compVerifier.VerifyIL("TestHelper.IsValueTypeT1<T>(T)", 2944compVerifier.VerifyIL("TestHelper.IsValueTypeT2<T>(T)", 3004compVerifier.VerifyIL("ConsoleApp1.TestHelper.IsValueTypeT<T>(ConsoleApp1.Result<T>)", 3136compVerifier.VerifyIL("Program.M1", 3153compVerifier.VerifyIL("Program.M2", 3388compVerifier.VerifyIL("Class1.SwitchCaseThatFails", 3474v.VerifyIL(qualifiedMethodName: "Program.Main", @" 3556compVerifier.VerifyIL("Class1.M", @" 3596compVerifier.VerifyIL("Class1.M", 3638compVerifier.VerifyIL("Program.P<T>", 3658compVerifier.VerifyIL("Program.P<T>", 3710compVerifier.VerifyIL("Generic<T>..ctor(T)", 3743compVerifier.VerifyIL("Generic<T>..ctor(T)", 3786compVerifier.VerifyIL("Program.P<T>", 3806compVerifier.VerifyIL("Program.P<T>", 4061compVerifier.VerifyIL("C.M(C)", 4097compVerifier.VerifyIL("C.M(C)", 4124compVerifier.VerifyIL("C.M1(string)", @" 4134compVerifier.VerifyIL("C.M2(string)", @" 4144compVerifier.VerifyIL("C.M3(string)", @" 4176compVerifier.VerifyIL("C.M1(string)", @" 4216compVerifier.VerifyIL("C.M1(System.Type)", @" 4251compVerifier.VerifyIL("C.M1(int?)", @" 4267compVerifier.VerifyIL("C.M2(int?)", @" 4334compVerifier.VerifyIL("C.M(string)", @" 4416compVerifier.VerifyIL("C.M(string)", @" 4644verifier.VerifyIL("Program.EqualNull", expectedEqualNull); 4645verifier.VerifyIL("Program.NotEqualNull", expectedNotEqualNull); 4646verifier.VerifyIL("Program.IsNull", expectedEqualNull); 4647verifier.VerifyIL("Program.IsNotNull", expectedNotEqualNull); 4673verifier.VerifyIL("Program.EqualNull", 4719verifier.VerifyIL("Program.EqualNull", 5511compVerifier.VerifyIL("C.M1", """ 5532compVerifier.VerifyIL("C.M2", """ 5552compVerifier.VerifyIL("C.M1", """ 5572compVerifier.VerifyIL("C.M2", @" 5611compVerifier.VerifyIL("C.M1", """ 5636compVerifier.VerifyIL("C.M2", """ 5656compVerifier.VerifyIL("C.M1", """ 5680compVerifier.VerifyIL("C.M2", @" 5719compVerifier.VerifyIL("C.M1", @" 5754compVerifier.VerifyIL("C.M2", @" 5792compVerifier.VerifyIL("C.M1", @" 5826compVerifier.VerifyIL("C.M2", @" 5883compVerifier.VerifyIL("C.M1", @" 5915compVerifier.VerifyIL("C.M2", @" 5941compVerifier.VerifyIL("C.M1", @" 5970compVerifier.VerifyIL("C.M2", @" 6027compVerifier.VerifyIL("C.M1", @" 6068compVerifier.VerifyIL("C.M2", @" 6110compVerifier.VerifyIL("C.M1", @" 6141compVerifier.VerifyIL("C.M2", @" 6198verifier.VerifyIL("Program.M", @"{ 6283verifier.VerifyIL("Program.M0", @"{ 6372verifier.VerifyIL("Program.M", @"{ 6468verifier.VerifyIL("Program.M", @"{ 6553verifier.VerifyIL("Class1.Repro", @"{ 6653verifier.VerifyIL("Program.M1", """ 6673verifier.VerifyIL("Program.M2", """ 6752verifier.VerifyIL("<top-level-statements-entry-point>", """ 6855verifier.VerifyIL("Outer.M1", """ 6872verifier.VerifyIL("Outer.M2", """
CodeGen\PropertyTests.cs (2)
32verifier.VerifyIL("C.X.get", @" 41verifier.VerifyIL("C.X.set", @"
CodeGen\SwitchTests.cs (107)
43compVerifier.VerifyIL("Test.Main", @" 81compVerifier.VerifyIL("Test.Main", 119compVerifier.VerifyIL("Test.Main", @" 157compVerifier.VerifyIL("Test.Main", @" 192compVerifier.VerifyIL("Test.Main", @" 241compVerifier.VerifyIL("Test.Main", @" 314compVerifier.VerifyIL("Test.M", @" 377compVerifier.VerifyIL("Test.M", @" 430compVerifier.VerifyIL("Test.M", @" 494compVerifier.VerifyIL("Test.M", @" 544compVerifier.VerifyIL("Test.M", @" 591compVerifier.VerifyIL("Test.M", @" 642compVerifier.VerifyIL("Test.M", @" 706compVerifier.VerifyIL("Test.M", @" 797compVerifier.VerifyIL("Test.M", @" 903compVerifier.VerifyIL("Test.M", @" 956compVerifier.VerifyIL("Test.M", @" 1004compVerifier.VerifyIL("Test.M", @" 1068compVerifier.VerifyIL("Test.DoByte", 1155compVerifier.VerifyIL("Test.DoLong", 1244compVerifier.VerifyIL("Test.DoLong", 1313compVerifier.VerifyIL("Test.DoULong", 1409compVerifier.VerifyIL("Test.DoEnum", 1513compVerifier.VerifyIL("Test.DoEnum", @" 1606compVerifier.VerifyIL("Test.Main", 1652compVerifier.VerifyIL("Test.Main", @" 1701compVerifier.VerifyIL("Test.Main", 1767compVerifier.VerifyIL("Test.M", @" 1810compVerifier.VerifyIL("Test.M", @" 1864compVerifier.VerifyIL("Class1.Main", @" 1974compVerifier.VerifyIL("Test.M", 2111compVerifier.VerifyIL("Test.M", @" 2198compVerifier.VerifyIL("Test.M", @" 2310verifier.VerifyIL("Program.Main", @" 2433verifier.VerifyIL("Program.Goo", @" 2583compVerifier.VerifyIL("C.F(long?)", 2685compVerifier.VerifyIL("C.F(long?)", 2747compVerifier.VerifyIL("Test.M", @" 2803compVerifier.VerifyIL("Test.Main", @" 2902compVerifier.VerifyIL("Test.M", @" 3048compVerifier.VerifyIL("Test.M", """ 3351compVerifier.VerifyIL("Test.Switcheroo", @" 3675compVerifier.VerifyIL("Test.Switcheroo", """ 4520verifier.VerifyIL("Program.Main", @" 7127compVerifier.VerifyIL("ConsoleApplication24.Program.IsWarning", codeForSwitchStatement); 7128compVerifier.VerifyIL("ConsoleApplication24.Program.IsWarning_IsExpression", codeForExpression); 7129compVerifier.VerifyIL("ConsoleApplication24.Program.IsWarning_SwitchExpression", codeForExpression); 7162compVerifier.VerifyIL("Test.M", @" 7331compVerifier.VerifyIL("SwitchTest.Main", @" 7417compVerifier.VerifyIL("SwitchTest.Main", 7528compVerifier.VerifyIL("SwitchTest.Main", @" 7585compVerifier.VerifyIL("A.Goo", @" 7629compVerifier.VerifyIL("Test.Main", @" 7679compVerifier.VerifyIL("Test.Main", @" 7728compVerifier.VerifyIL("Test.M", @" 7768compVerifier.VerifyIL("Test.Main", @" 7809compVerifier.VerifyIL("Test.Main", @" 7854CompileAndVerify(comp).VerifyIL("Test.Main", @" 7990CompileAndVerify(comp).VerifyIL("Test.Main", @" 8096CompileAndVerify(comp).VerifyIL("Test.Main", @" 8227CompileAndVerify(comp).VerifyIL("Test.Main", @" 8304CompileAndVerify(comp).VerifyIL("Test.Main", @" 8374CompileAndVerify(comp).VerifyIL("Test.Main", @" 8476compVerifier.VerifyIL("Program.boo", 8524compVerifier.VerifyIL("Program.boo", 8570compVerifier.VerifyIL("Program.boo", 8620compVerifier.VerifyIL("Program.boo", 8678compVerifier.VerifyIL("ConsoleApplication1.Program.SwtchTest", 8757compVerifier.VerifyIL("ConsoleApplication1.Program.SwtchTest", 8798compVerifier.VerifyIL("Program.Main", 8811compVerifier.VerifyIL("Program.Main", 8865compVerifier.VerifyIL("Program.M", 8884compVerifier.VerifyIL("Program.M", 8941compVerifier.VerifyIL("Program.M", 8954compVerifier.VerifyIL("Program.M", 9005compVerifier.VerifyIL("Program.M", 9024compVerifier.VerifyIL("Program.M", 9079compVerifier.VerifyIL("Program.M", 9095compVerifier.VerifyIL("Program.M", 9152compVerifier.VerifyIL("Program.M<T>", 9169compVerifier.VerifyIL("Program.M<T>", 9227compVerifier.VerifyIL("Program.M<T>", 9244compVerifier.VerifyIL("Program.M<T>", 9302compVerifier.VerifyIL("Program.M<T, U>", 9321compVerifier.VerifyIL("Program.M<T, U>", 9371compVerifier.VerifyIL("Program.Main", 9387compVerifier.VerifyIL("Program.Main", 9453compVerifier.VerifyIL("Program.M1<T>", 9479compVerifier.VerifyIL("Program.M1<T>", 9506compVerifier.VerifyIL("Program.M2<T>", 9584compVerifier.VerifyIL("Program.M1<T>", 9606compVerifier.VerifyIL("Program.M2<T>", 9628compVerifier.VerifyIL("Program.M1<T>", 9655compVerifier.VerifyIL("Program.M2<T>", 10038compVerifier.VerifyIL("Program.M2", 10123compVerifier.VerifyIL("C.Main", 10172compVerifier.VerifyIL("Program.M", @" 10254compVerifier.VerifyIL(qualifiedMethodName: "Program.M", sequencePoints: "Program.M", source: source, 10523compVerifier.VerifyIL("Program.M2", 10610compVerifier.VerifyIL("Program.Main", @" 10698compVerifier.VerifyIL("Program.Main", @" 10805compVerifier.VerifyIL("Program.M2", @" 10870compVerifier.VerifyIL("Program.M2", @" 11031compVerifier.VerifyIL("C.M", @" 11289compVerifier.VerifyIL("C.M", @" 11547compVerifier.VerifyIL("C.M", @" 11976compVerifier.VerifyIL("C.M", @"
CodeGen\UnsafeTests.cs (156)
33compVerifier.VerifyIL("C.M", @" 60compVerifier.VerifyIL("C.M", @" 220compVerifier.VerifyIL("C.M", @" 245compVerifier.VerifyIL("C.M", @" 292compVerifier.VerifyIL("C.M", @" 339compVerifier.VerifyIL("C.M", @" 375compVerifier.VerifyIL("C.Main", @" 411compVerifier.VerifyIL("C.Dereference", @" 440compVerifierOptimized.VerifyIL("C.Main", @" 458compVerifierUnoptimized.VerifyIL("C.Main", @" 502compVerifier.VerifyIL("S.Main", @" 555compVerifier.VerifyIL("C.Swap", @" 601compVerifier.VerifyIL("C.Main", @" 649compVerifier.VerifyIL("S.Main", @" 696compVerifier.VerifyIL("S.Main", @" 714compVerifier.VerifyIL("S.Main", @" 754compVerifier.VerifyIL("S.Main", @" 778compVerifier.VerifyIL("S.Main", @" 829compVerifier.VerifyIL("S.Main", @" 851compVerifier.VerifyIL("S.Main", @" 905compVerifier.VerifyIL("S.Test(ref S*)", @" 928compVerifier.VerifyIL("S.Test(ref S*)", @" 972compVerifier.VerifyIL("S.Main", @" 1010compVerifier.VerifyIL("S.Main", @" 1088compVerifier.VerifyIL("S.Main", @" 1206compVerifier.VerifyIL("S.Main", @" 1297var compVerifier = CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "1", verify: Verification.Fails).VerifyIL("C.Main", @" 1340compVerifier.VerifyIL("C.Main", @" 1398compVerifier.VerifyIL("Program.S1.Test()", @" 1456compVerifier.VerifyIL("C.Main", @" 1526compVerifier.VerifyIL("C.Main", @" 1587compVerifier.VerifyIL("C.M(C)", 1661compVerifier.VerifyIL("C.Main", @" 1727compVerifier.VerifyIL("C.M", @" 1772compVerifier.VerifyIL("C.M", @" 1816compVerifier.VerifyIL("C.Main", @" 1873compVerifier.VerifyIL("C.Main", @" 1959compVerifier.VerifyIL("C.Main", @" 2029compVerifier.VerifyIL("C.Main", @" 2097compVerifier.VerifyIL("C.Main", @" 2165compVerifier.VerifyIL("C.Main", @" 2236compVerifier.VerifyIL("C.Main", @" 2326VerifyIL("C.Test", @" 2388VerifyIL("C.Test", @" 2451VerifyIL("C.Test", @" 2507VerifyIL("C.Test", 2568VerifyIL("C.Test", @" 2629VerifyIL("C.Test", @" 2689VerifyIL("C.Test", @" 2765VerifyIL("C.Test", @" 2849VerifyIL("C.Test", @" 2979VerifyIL("C.Test", @" 3030VerifyIL("C.Test", @" 3095VerifyIL("C.Test", @" 3179VerifyIL("C.Test", @" 3259VerifyIL("C.<>c.<Test>b__0_0()", @" 3315VerifyIL("C.<>c.<Test>b__0_0()", @" 3360VerifyIL("C.<>c.<Test>b__0_0()", @" 3414VerifyIL("C.<>c.<.ctor>b__1_0()", @" 3464VerifyIL("C.<>c.<.ctor>b__1_0()", @" 3516VerifyIL("C.Test", @" 3570VerifyIL("C.Test", @" 3623VerifyIL("C.Test", @" 3677VerifyIL("C.Test", @" 3727VerifyIL("C.Test", @" 3777VerifyIL("C.Test", @" 3826VerifyIL("C.Test", @" 3866VerifyIL("C.Test", @" 3907VerifyIL("C.Test", @" 3965VerifyIL("C.Test", @" 4029VerifyIL("C.Test", @" 4096VerifyIL("C.Test", @" 4159compVerifier.VerifyIL("C.Main", @" 4219compVerifier.VerifyIL("C.Main", @" 4307compVerifier.VerifyIL("C.Main", @" 4358compVerifier.VerifyIL("C.Main", @" 4420compVerifier.VerifyIL("C.Main", @" 4660compVerifier.VerifyIL("C.Test<T>(T)", @" 4734compVerifier.VerifyIL("C.Test(ref FixableStruct)", @" 4801compVerifier.VerifyIL("C.Test(ref FixableClass)", @" 4887compVerifier.VerifyIL("C.Test<T>(ref T)", @" 4975compVerifier.VerifyIL("C.Test<T>(ref T)", @" 5035compVerifier.VerifyIL("C.Main", @" 5113compVerifier.VerifyIL("C.Main", @" 5541compVerifier.VerifyIL("C.Main()", @" 5668compVerifier.VerifyIL("C.Test<T>(T)", @" 5705compVerifier.VerifyIL("C.Test2(int?)", @" 5868CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL); 5869CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL); 5919CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL); 5920CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL); 5956CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", @" 6046CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", @" 6136CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.FailsPEVerify).VerifyIL("C.M", @" 6226CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.FailsPEVerify).VerifyIL("C.M", @" 6367CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL); 6368CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL); 6430CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL); 6431CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", expectedIL); 6537CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeDebugExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL, sequencePoints: "C.Main"); 6538CompileAndVerify(string.Format(template, "checked "), options: TestOptions.UnsafeDebugExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL, sequencePoints: "C.Main"); 6594CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL); 6595CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("C.Main", expectedIL); 6636CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL); 6637CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL); 6705CompileAndVerify(string.Format(template, "unchecked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL); 6706CompileAndVerify(string.Format(template, "checked"), options: TestOptions.UnsafeReleaseDll, verify: Verification.Passes).VerifyIL("C.M", expectedIL); 6760CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "12", verify: Verification.Fails).VerifyIL("C.Main", @" 6823CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "1234", verify: Verification.FailsPEVerify).VerifyIL("C.Main", @" 6984CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Passes).VerifyIL("C.Main", @" 7071CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Passes).VerifyIL("C.Main", @" 7113CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Passes).VerifyIL("C.Main", @" 7156CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("S.Main", @" 7221CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("S.Main", @" 7286CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("S.Main", @" 7351CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("S.Main", @" 7421CompileAndVerify(text, options: TestOptions.UnsafeDebugDll, verify: Verification.Fails).VerifyIL("C.Test", @" 7531comp.VerifyIL("C.Test", @" 7593comp.VerifyIL("C.Test1", @" 76992", verify: Verification.Fails).VerifyIL("S.Main", @" 7783CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "4", verify: Verification.Fails).VerifyIL("S.Main", @" 7847CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "4", verify: Verification.Fails).VerifyIL("S.Main", @" 7906CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "I0", verify: Verification.Fails).VerifyIL("S.Main", @" 7974CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "8", verify: Verification.Fails).VerifyIL("S.Main", @" 8081CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: expectedOutput, verify: Verification.Fails).VerifyIL("S.Main", @" 8148CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "44", verify: Verification.Fails).VerifyIL("S.Main", @" 8206CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "11", verify: Verification.Fails).VerifyIL("S.Main", @" 8262CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "11", verify: Verification.Fails).VerifyIL("S.Main", @" 8321CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "01", verify: Verification.Fails).VerifyIL("S.Main", @" 9784CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "011010011010", verify: Verification.Fails).VerifyIL("S.Main", @" 9886verifier.VerifyIL("Program.<<Main>$>g__test|0_0<T>(S<T>*)", @" 9928verifier.VerifyIL("Program.<<Main>$>g__test|0_0<T>(T*)", @" 10013CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", @" 10070CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.M", @" 10107CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.FailsPEVerify).VerifyIL("C.M", @" 10198verifier.VerifyIL("C.Main", @" 10222verifier.VerifyIL("C.<>c__DisplayClass0_0.<Main>b__0", @" 10267CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "0", verify: Verification.Fails).VerifyIL("T.Main", @" 10290CompileAndVerify(text, options: TestOptions.UnsafeReleaseExe, expectedOutput: "0", verify: Verification.Fails).VerifyIL("T.Main", @" 10341compVerifier.VerifyIL("C.Main", @" 10684CompileAndVerify(text, options: TestOptions.UnsafeReleaseDll, verify: Verification.Fails).VerifyIL("C.Test", @" 10952comp.VerifyIL("FixedStruct.ToString", @" 11005comp.VerifyIL("FixedStruct.ToString", @" 11117verifier.VerifyIL("Test.Test1", @" 11133verifier.VerifyIL("Test.Test2", @" 11188verifier.VerifyIL("Test.Main", @" 11268verifier.VerifyIL("Test.Main", @" 11380compVerifier.VerifyIL("C.Main", @" 11426compVerifier.VerifyIL("C.Main", @" 11475compVerifier.VerifyIL("C.Main", @" 11517compVerifier.VerifyIL("C.Main", @" 11560compVerifier.VerifyIL("C..ctor", @" 11614compVerifier.VerifyIL("C.ToManagedByteArray", @" 11687v.VerifyIL("C.ToManagedByteArray", @" 11858comp.VerifyIL("Program.Main", @" 11890comp.VerifyIL("Program.Main", @"
Emit\CompilationEmitTests.cs (2)
1611verifier.VerifyIL("C.M2", @" 1688verifier.VerifyIL("C.M2", @"
Emit\CovariantReturnTests.cs (1)
444.VerifyIL("Derived2.Test", @"
Emit\DynamicAnalysis\DynamicAnalysisResourceTests.cs (1)
981CompileAndVerify(source, emitOptions: emitOptions).VerifyIL("C..cctor()",
Emit\DynamicAnalysis\DynamicInstrumentationTests.cs (8)
276verifier.VerifyIL("Microsoft.CodeAnalysis.Runtime.Instrumentation.CreatePayload(System.Guid, int, int, ref bool[], int)", expectedCreatePayloadForMethodsSpanningSingleFileIL); 277verifier.VerifyIL("Microsoft.CodeAnalysis.Runtime.Instrumentation.CreatePayload(System.Guid, int, int[], ref bool[], int)", expectedCreatePayloadForMethodsSpanningMultipleFilesIL); 278verifier.VerifyIL("Microsoft.CodeAnalysis.Runtime.Instrumentation.FlushPayload", expectedFlushPayloadIL); 472verifier.VerifyIL("Program.Barney", expectedBarneyIL); 473verifier.VerifyIL("<PrivateImplementationDetails>..cctor", expectedPIDStaticConstructorIL); 679verifier.VerifyIL("MyBox<T>.GetValue", expectedReleaseGetValueIL); 683verifier.VerifyIL("MyBox<T>.GetValue", expectedDebugGetValueIL); 3098verifier.VerifyIL("Class1<T>.Method1<U>",
Emit\EmitErrorTests.cs (1)
192compilation2.VerifyIL("B.Main()", @"
Emit\EmitMetadataTests.cs (6)
1549verifier.VerifyIL("TC1.TM1<T1>", 1559verifier.VerifyIL("TC1.TM2<T2>", 1569verifier.VerifyIL("TC2<T3>.TM3<T4>", 1581verifier.VerifyIL("TC2<T3>.TM4<T5>", 1593verifier.VerifyIL("TC2<T3>.TM5<T6>", 1603verifier.VerifyIL("TC2<T3>.TM6<T7>",
Emit\NoPiaEmbedTypes.cs (12)
1669verifier.VerifyIL("UsePia4.M5", expected_M5); 1670verifier.VerifyIL("UsePia4.M6", expected_M6); 1674verifier.VerifyIL("UsePia4.M5", expected_M5); 1675verifier.VerifyIL("UsePia4.M6", expected_M6); 1917verifier.VerifyIL("UsePia.Test", expected); 1924verifier.VerifyIL("UsePia.Test", expected); 2005verifier.VerifyIL("UsePia.Test", expected); 2013verifier.VerifyIL("UsePia.Test", expected); 2244verifier.VerifyIL("UsePia.Test", expected); 2248verifier.VerifyIL("UsePia.Test", expected); 2330verifier.VerifyIL("UsePia.Test", expected); 2334verifier.VerifyIL("UsePia.Test", expected);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (830)
CodeGen\CodeGenCallTests.cs (265)
80verifier.VerifyIL("Program.Call1<T>", 94verifier.VerifyIL("Program.Call2<T>", 178verifier.VerifyIL("Program.Call1<T>", 253verifier.VerifyIL("Program.Call1<T>", 268verifier.VerifyIL("Program.Call2<T>", 352verifier.VerifyIL("Program.Call1<T>", 434verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 523verifier.VerifyIL("Program.<Call2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 694verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 846verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 975verifier.VerifyIL("Program.<Call2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1188verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1382verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1473verifier.VerifyIL("Program.<Call2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1670verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 1857verifier.VerifyIL("Program.Call1<T>", 1888verifier.VerifyIL("Program.Call2<T>", 2018verifier.VerifyIL("Program.Call1<T>", 2136verifier.VerifyIL("Program.Call1<T>", 2168verifier.VerifyIL("Program.Call2<T>", 2298verifier.VerifyIL("Program.Call1<T>", 2393verifier.VerifyIL("Program.Call1<T>", 2411verifier.VerifyIL("Program.Call2<T>", 2552verifier.VerifyIL("Program.Call1<T>", 2571verifier.VerifyIL("Program.Call2<T>", 2719verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 2812verifier.VerifyIL("Program.<Call2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3048verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3181verifier.VerifyIL("Program.<Call2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3458verifier.VerifyIL("Program.Shift1<T>", 3480verifier.VerifyIL("Program.Shift2<T>", 3581verifier.VerifyIL("Program.Shift1<T>", 3670verifier.VerifyIL("Program.Shift1<T>", 3692verifier.VerifyIL("Program.Shift2<T>", 3793verifier.VerifyIL("Program.Shift1<T>", 3889verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3990verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4180verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4351verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4492verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4724verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4926verifier.VerifyIL("Program.Shift1<T>", 4957verifier.VerifyIL("Program.Shift2<T>", 5071verifier.VerifyIL("Program.Shift1<T>", 5170verifier.VerifyIL("Program.Shift1<T>", 5202verifier.VerifyIL("Program.Shift2<T>", 5316verifier.VerifyIL("Program.Shift1<T>", 5422verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5529verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5730verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5904verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 6051verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 6294verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 6499verifier.VerifyIL("Program.Shift1<T>", 6528verifier.VerifyIL("Program.Shift2<T>", 6640verifier.VerifyIL("Program.Shift1<T>", 6737verifier.VerifyIL("Program.Shift1<T>", 6767verifier.VerifyIL("Program.Shift2<T>", 6879verifier.VerifyIL("Program.Shift1<T>", 6983verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7079verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7275verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7444verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7580verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7818verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 8018verifier.VerifyIL("Program.Shift1<T>", 8047verifier.VerifyIL("Program.Shift2<T>", 8159verifier.VerifyIL("Program.Shift1<T>", 8256verifier.VerifyIL("Program.Shift1<T>", 8286verifier.VerifyIL("Program.Shift2<T>", 8398verifier.VerifyIL("Program.Shift1<T>", 8502verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 8601verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 8800verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 8972verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 9111verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 9352verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 9560verifier.VerifyIL("Program.Shift1<T>", 9591verifier.VerifyIL("Program.Shift2<T>", 9707verifier.VerifyIL("Program.Shift1<T>", 9817verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 9915verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 10149verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 10339verifier.VerifyIL("Program.Shift1<T>", 10370verifier.VerifyIL("Program.Shift2<T>", 10486verifier.VerifyIL("Program.Shift1<T>", 10596verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 10697verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 10934verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 11122verifier.VerifyIL("Program.Shift1<T>", 11165verifier.VerifyIL("Program.Shift2<T>", 11291verifier.VerifyIL("Program.Shift1<T>", 11402verifier.VerifyIL("Program.Shift1<T>", 11446verifier.VerifyIL("Program.Shift2<T>", 11572verifier.VerifyIL("Program.Shift1<T>", 11690verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 11800verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 12010verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 12193verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 12343verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 12595verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 12809verifier.VerifyIL("Program.Shift1<T>", 12833verifier.VerifyIL("Program.Shift2<T>", 12936verifier.VerifyIL("Program.Shift1<T>", 13030verifier.VerifyIL("Program.Shift1<T>", 13054verifier.VerifyIL("Program.Shift2<T>", 13157verifier.VerifyIL("Program.Shift1<T>", 13258verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 13361verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 13553verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 13717verifier.VerifyIL("Program.Shift1<T>", 13747verifier.VerifyIL("Program.Shift2<T>", 13860verifier.VerifyIL("Program.Shift1<T>", 13958verifier.VerifyIL("Program.Shift1<T>", 13989verifier.VerifyIL("Program.Shift2<T>", 14102verifier.VerifyIL("Program.Shift1<T>", 14207verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 14322verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 14531verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 14711verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 14809verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 15007verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 15176verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 15328verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 15573verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 15782verifier.VerifyIL("Program.Shift1<T>", 15822verifier.VerifyIL("Program.Shift2<T>", 15945verifier.VerifyIL("Program.Shift1<T>", 16053verifier.VerifyIL("Program.Shift1<T>", 16094verifier.VerifyIL("Program.Shift2<T>", 16217verifier.VerifyIL("Program.Shift1<T>", 16332verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 16439verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 16646verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 16817verifier.VerifyIL("Program.Shift1<T>", 16861verifier.VerifyIL("Program.Shift2<T>", 16988verifier.VerifyIL("Program.Shift1<T>", 17100verifier.VerifyIL("Program.Shift1<T>", 17145verifier.VerifyIL("Program.Shift2<T>", 17272verifier.VerifyIL("Program.Shift1<T>", 17391verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 17505verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 17719verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 17904verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 18016verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 18228verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 18411verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 18564verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 18817verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 19032verifier.VerifyIL("Program.Shift1<T>", 19052verifier.VerifyIL("Program.Shift2<T>", 19153verifier.VerifyIL("Program.Shift1<T>", 19239verifier.VerifyIL("Program.Shift1<T>", 19260verifier.VerifyIL("Program.Shift2<T>", 19361verifier.VerifyIL("Program.Shift1<T>", 19454verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 19543verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 19722verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 19885verifier.VerifyIL("Program.Shift1<T>", 19910verifier.VerifyIL("Program.Shift2<T>", 20031verifier.VerifyIL("Program.Shift1<T>", 20134verifier.VerifyIL("Program.Shift1<T>", 20160verifier.VerifyIL("Program.Shift2<T>", 20281verifier.VerifyIL("Program.Shift1<T>", 20391verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 20486verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 20691verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 20862verifier.VerifyIL("Program.Shift1<T>", 20895verifier.VerifyIL("Program.Shift2<T>", 21026verifier.VerifyIL("Program.Shift1<T>", 21142verifier.VerifyIL("Program.Shift1<T>", 21176verifier.VerifyIL("Program.Shift2<T>", 21307verifier.VerifyIL("Program.Shift1<T>", 21430verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 21534verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 21758verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 21938verifier.VerifyIL("Program.Shift1<T>", 21968verifier.VerifyIL("Program.Shift2<T>", 22090verifier.VerifyIL("Program.Shift1<T>", 22203verifier.VerifyIL("Program.Shift1<T>", 22234verifier.VerifyIL("Program.Shift2<T>", 22356verifier.VerifyIL("Program.Shift1<T>", 22476verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 22589verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 22805verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 22993verifier.VerifyIL("Program.Shift1<T>", 23027verifier.VerifyIL("Program.Shift2<T>", 23159verifier.VerifyIL("Program.Shift1<T>", 23276verifier.VerifyIL("Program.Shift1<T>", 23311verifier.VerifyIL("Program.Shift2<T>", 23443verifier.VerifyIL("Program.Shift1<T>", 23567verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 23685verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 23922verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 24122verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 24228verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 24454verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 24643verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 24803verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 25076verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 25305verifier.VerifyIL("Program.Shift1<T>", 25352verifier.VerifyIL("Program.Shift2<T>", 25497verifier.VerifyIL("Program.Shift1<T>", 25627verifier.VerifyIL("Program.Shift1<T>", 25675verifier.VerifyIL("Program.Shift2<T>", 25820verifier.VerifyIL("Program.Shift1<T>", 25957verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 26075verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 26313verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 26507verifier.VerifyIL("Program.Shift1<T>", 26551verifier.VerifyIL("Program.Shift2<T>", 26693verifier.VerifyIL("Program.Shift1<T>", 26820verifier.VerifyIL("Program.Shift1<T>", 26865verifier.VerifyIL("Program.Shift2<T>", 27007verifier.VerifyIL("Program.Shift1<T>", 27141verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 27258verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 27495verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 27688verifier.VerifyIL("Program.Shift1<T>", 27736verifier.VerifyIL("Program.Shift2<T>", 27882verifier.VerifyIL("Program.Shift1<T>", 28013verifier.VerifyIL("Program.Shift1<T>", 28062verifier.VerifyIL("Program.Shift2<T>", 28208verifier.VerifyIL("Program.Shift1<T>", 28346verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 28468verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 28710verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 28915verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 29035verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 29275verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 29478verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 29636verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 29914verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 30146verifier.VerifyIL("Program.Shift1<T>", 30172verifier.VerifyIL("Program.Shift2<T>", 30294verifier.VerifyIL("Program.Shift1<T>", 30401verifier.VerifyIL("Program.Shift1<T>", 30428verifier.VerifyIL("Program.Shift2<T>", 30550verifier.VerifyIL("Program.Shift1<T>", 30664verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 30767verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 30980verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 31150verifier.VerifyIL("Program.Shift1<T>", 31176verifier.VerifyIL("Program.Shift2<T>", 31291verifier.VerifyIL("Program.Shift1<T>", 31391verifier.VerifyIL("Program.Shift1<T>", 31418verifier.VerifyIL("Program.Shift2<T>", 31533verifier.VerifyIL("Program.Shift1<T>", 31640verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 31736verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 31935verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 32098verifier.VerifyIL("Program.Shift1<T>", 32141verifier.VerifyIL("Program.Shift2<T>", 32273verifier.VerifyIL("Program.Shift1<T>", 32390verifier.VerifyIL("Program.Shift1<T>", 32434verifier.VerifyIL("Program.Shift2<T>", 32566verifier.VerifyIL("Program.Shift1<T>", 32690verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 32806verifier.VerifyIL("Program.<Shift2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 33025verifier.VerifyIL("Program.<Shift1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 33192verifier.VerifyIL("Program.Call1<T>", 33217verifier.VerifyIL("Program.Call2<T>", 33298verifier.VerifyIL("Program.<Call1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 33465verifier.VerifyIL("Program.Call1<T>", 33482verifier.VerifyIL("Program.Call2<T>",
CodeGen\CodeGenLengthBasedSwitchTests.cs (39)
81verifier.VerifyIL("C.M", """ 272verifier.VerifyIL("C.M", """ 508verifier.VerifyIL("C.M", """ 834verifier.VerifyIL("C.M", $$""" 1039verifier.VerifyIL("C.M", $$""" 1370verifier.VerifyIL("C.M", """ 1476verifier.VerifyIL("C.M", """ 1651verifier.VerifyIL("C.M", """ 1833verifier.VerifyIL("C.M", """ 1984verifier.VerifyIL("C.M", """ 2090verifier.VerifyIL("C.M", """ 2322verifier.VerifyIL("C.M", """ 2434verifier.VerifyIL("C.M", """ 2637verifier.VerifyIL("C.M", """ 2867verifier.VerifyIL("C.M", """ 3171verifier.VerifyIL("C.M", """ 4387verifier.VerifyIL("C.M", """ 6753verifier.VerifyIL("C.M", """ 7764verifier.VerifyIL("C.M", """ 9057verifier.VerifyIL("C.M", """ 9187verifier.VerifyIL("C.M", """ 9369verifier.VerifyIL("C.M", """ 9584verifier.VerifyIL("C.M", """ 9828verifier.VerifyIL("C.M", """ 9965verifier.VerifyIL("C.M", """ 10345verifier.VerifyIL("C.M", """ 10806verifier.VerifyIL("C.M", """ 11137verifier.VerifyIL("C.M", """ 11336verifier.VerifyIL("C.M", """ 11646verifier.VerifyIL("C.M", """ 11993verifier.VerifyIL("C.M", """ 12337verifier.VerifyIL("C.M", """ 12650verifier.VerifyIL("C.M", """ 12988verifier.VerifyIL("C.M", """ 13111verifier.VerifyIL("C.M", """ 13305verifier.VerifyIL("C.M", """ 13588verifier.VerifyIL("C.M", """ 13913verifier.VerifyIL("C.M", """ 14023verifier.VerifyIL("C.M", """
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (158)
37verifier.VerifyIL("C.Main", @" 71verifier.VerifyIL("C.Main", @" 109verifier.VerifyIL("C.Main", @" 151verifier.VerifyIL("C.Main", @" 193verifier.VerifyIL("C.Main", @" 235verifier.VerifyIL("C.Main", @" 276verifier.VerifyIL("C.Main", @" 353verifier.VerifyIL("C.<>c.<Main>b__0_0", @" 417verifier.VerifyIL("C..cctor", @" 447verifier.VerifyIL("C..cctor", @" 472verifier.VerifyIL("<top-level-statements-entry-point>", @" 498verifier.VerifyIL("<top-level-statements-entry-point>", @" 520verifier.VerifyIL("<top-level-statements-entry-point>", @" 554verifier.VerifyIL("C.Main", @" 597verifier.VerifyIL("D<T>.Test", @" 641verifier.VerifyIL("D<T>.Test", @" 686verifier.VerifyIL("D<T>.Test", @" 732verifier.VerifyIL("D<T>.Test", @" 778verifier.VerifyIL("D<T>.Test", @" 823verifier.VerifyIL("D<T>.Test", @" 866verifier.VerifyIL("D<T>.Test", @" 909verifier.VerifyIL("D<T>.Test", @" 954verifier.VerifyIL("D<T>.Test", @" 999verifier.VerifyIL("D<T>.Test", @" 1044verifier.VerifyIL("D<T>.Test", @" 1090verifier.VerifyIL("D<T>.Test", @" 1136verifier.VerifyIL("D<T>.Test", @" 1184verifier.VerifyIL("D.Test<T>", @" 1229verifier.VerifyIL("D.Test<T>", @" 1274verifier.VerifyIL("D.Test<T>", @" 1324verifier.VerifyIL("D<M>.Test<T>", @" 1369verifier.VerifyIL("C.Main", @" 1407verifier.VerifyIL("C.Main", @" 1451verifier.VerifyIL("D<T>.Test", @" 1495verifier.VerifyIL("D<T>.Test", @" 1539verifier.VerifyIL("D<T>.Test", @" 1586verifier.VerifyIL("D<T>.Test", @" 1633verifier.VerifyIL("D<T>.Test", @" 1680verifier.VerifyIL("D<T>.Test", @" 1728verifier.VerifyIL("D<T>.Test", @" 1780verifier.VerifyIL("D<T, M>.Test", @" 1823verifier.VerifyIL("C.Main", @" 1868verifier.VerifyIL("D.Test<T>", @" 1913verifier.VerifyIL("D<V>.Test<T>", @" 1962verifier.VerifyIL("D<V>.Test<T>", @" 2018verifier.VerifyIL("D<T>.Test", @" 2081CompileAndVerify(source, symbolValidator: containerValidator, expectedOutput: PASS).VerifyIL("D<T>.Test<M>", @" 2142CompileAndVerify(source, symbolValidator: containerValidator, expectedOutput: PASS).VerifyIL("D.Test<M>", @" 2199CompileAndVerify(source, symbolValidator: containerValidator, expectedOutput: PASS).VerifyIL("D.Test<M>", @" 2237CompileAndVerify(source, expectedOutput: PASS).VerifyIL("C.Main", @" 2275CompileAndVerify(source, expectedOutput: PASS).VerifyIL("C.Main", @" 2310CompileAndVerify(source).VerifyIL("E.Test", @" 2350CompileAndVerify(source, expectedOutput: PASS).VerifyIL("D<T>.Test", @" 2398CompileAndVerify(source, expectedOutput: PASS).VerifyIL("D<K>.Test", @" 2436CompileAndVerify(source).VerifyIL("E.F<T>.Test", @" 2474CompileAndVerify(source, expectedOutput: PASS).VerifyIL("C.Test<T>", @" 2517CompileAndVerify(source, expectedOutput: PASS).VerifyIL("C.Test<T>", @" 2555CompileAndVerify(source).VerifyIL("E.Test<T>", @" 2589verifier.VerifyIL("C.<>c.<Main>b__0_0", @" 2627verifier.VerifyIL("C.<>c.<Main>b__0_0", @" 2673verifier.VerifyIL("D<T>.<>c.<Test>b__0_0", @" 2720verifier.VerifyIL("D<T>.<>c.<Test>b__1_0", @" 2765verifier.VerifyIL("D<T>.<>c__0<G>.<Test>b__0_0", @" 2811verifier.VerifyIL("D.<>c__0<G>.<Test>b__0_0", @" 2847verifier.VerifyIL("C<T>.Test0", @" 2860verifier.VerifyIL("C<T>.Test1", @" 2890verifier.VerifyIL("C<T>.Test0", @" 2903verifier.VerifyIL("C<T>.Test1", @" 2934verifier.VerifyIL("C<T, V>.Test0", @" 2947verifier.VerifyIL("C<T, V>.Test1", @" 2978verifier.VerifyIL("C<T>.Test0", @" 2991verifier.VerifyIL("C<T>.Test1", @" 3021verifier.VerifyIL("C<T>.Test0", @" 3034verifier.VerifyIL("C<T>.Test1", @" 3067verifier.VerifyIL("C.Test0<T>", @" 3085verifier.VerifyIL("C.Test1<T>", @" 3126verifier.VerifyIL("C.Test<V>", @" 3168verifier.VerifyIL("C<T>.Test<V>", @" 3212verifier.VerifyIL("C<A, T>.Test<V>", @" 3254verifier.VerifyIL("C<T>.Test<V>", @" 3296verifier.VerifyIL("C.Test<T>", @" 3402verifier.VerifyIL("A<T>.B<V>.Test0", @" 3421verifier.VerifyIL("A<T>.B<V>.Test1", @" 3440verifier.VerifyIL("A<T>.B<V>.Test2", @" 3459verifier.VerifyIL("A<T>.B<V>.Test3", @" 3478verifier.VerifyIL("A<T>.B<V>.Test4", @" 3497verifier.VerifyIL("A<T>.B<V>.Test5", @" 3552verifier.VerifyIL("C.Test<T>", @" 3619verifier.VerifyIL("E.Test<T>", @" 3690verifier.VerifyIL("E.<Test>g__LF3|0_1<T, G>", @" 3704verifier.VerifyIL("E.<Test>g__LF4|0_3<T, G>", @" 3717verifier.VerifyIL("E.<Test>g__LF5|0_2<T, G>", @" 3772verifier.VerifyIL("E.<Test>g__LF1|0_1<T, G>", @" 3789verifier.VerifyIL("E.<Test>g__LF3|0_2<T, G>", @" 3830verifier.VerifyIL("Program.<<Main>$>g__Owner|0_0<T>", @" 3843verifier.VerifyIL("Program.<<Main>$>g__Owner|0_3<T>", @" 3880verifier.VerifyIL("C.Owner<T>(int)", @" 3893verifier.VerifyIL("C.Owner<T>(string)", @" 3933verifier.VerifyIL("C.Owner<T>(int)", @" 3946verifier.VerifyIL("C.<F>g__Owner|1_0<T>", @" 3980verifier.VerifyIL("Program.<<Main>$>g__F0|0_0", @" 3993verifier.VerifyIL("Program.<<Main>$>g__F1|0_1", @" 4036verifier.VerifyIL("C.<F>g__F0|0_1<T>", @" 4049verifier.VerifyIL("C.<F>g__F1|0_2<T>", @" 4094verifier.VerifyIL("C.<F>g__Owner|0_0<T>", @" 4107verifier.VerifyIL("C.<F>g__F1|0_1<T>", @" 4144verifier.VerifyIL("C.F0", @" 4157verifier.VerifyIL("C.F1", @" 4188CompileAndVerify(source).VerifyIL("C.Test", @" 4230CompileAndVerify(source).VerifyIL("C<TEventArgs>.Test", @" 4267CompileAndVerify(source).VerifyIL("C<TEventArgs>.Test", @" 4307CompileAndVerify(source).VerifyIL("C.Test<TEventArgs>", @" 4341CompileAndVerify(source, expectedOutput: "{ x = 0 }").VerifyIL("C.Main", @" 4380CompileAndVerify(source, expectedOutput: "{ x = 0 }").VerifyIL("D<G>.Test", @" 4421CompileAndVerify(source, expectedOutput: "{ x = 0 }").VerifyIL("D<G>.Test", @" 4462CompileAndVerify(source, expectedOutput: "{ x = 0 }").VerifyIL("D<G>.Test", @" 4501CompileAndVerify(source, expectedOutput: "{ x = 0 }").VerifyIL("D.Test<T>", @" 4540CompileAndVerify(source, expectedOutput: "{ x = 0 }").VerifyIL("D.Test<T>", @" 4587CompileAndVerify(source).VerifyIL("D.<Owner>g__Test|0_0<T, NotUsed>", @" 4641CompileAndVerify(source).VerifyIL("D<T>.<Top>g__Test|0_0<N0, N1>", @" 4686CompileAndVerify(source, options: TestOptions.UnsafeReleaseDll).VerifyIL("C.Test", @" 4722CompileAndVerify(source, options: TestOptions.UnsafeReleaseDll).VerifyIL("C<T>.Test", @" 4762CompileAndVerify(source, options: TestOptions.UnsafeReleaseDll).VerifyIL("C.Test<T>", @" 4799CompileAndVerify(source).VerifyIL("C.Test", @" 4835CompileAndVerify(source).VerifyIL("C<T>.Test", @" 4875CompileAndVerify(source).VerifyIL("C.Test<T>", @" 4913CompileAndVerify(source).VerifyIL("C.Test<T>", @" 4950CompileAndVerify(source).VerifyIL("C.Test<T>", @" 4986CompileAndVerify(source).VerifyIL("C.Test", @" 5023CompileAndVerify(source).VerifyIL("C.Test", @" 5054CompileAndVerify(source).VerifyIL("C.Test<T>", @" 5094CompileAndVerify(source).VerifyIL("C.<TopLevel>g__Test|0_0<T>", @" 5142CompileAndVerify(source).VerifyIL("C.<>c__DisplayClass0_0<T>.<TopLevel>g__Test|1", @" 5196CompileAndVerify(source).VerifyIL("C.<>c__DisplayClass0_0<T>.<TopLevel>g__Test|3", @" 5245CompileAndVerify(source).VerifyIL("Program.<<Main>$>g__Test|0_3<T>", @" 5295CompileAndVerify(source).VerifyIL("Program.<<Main>$>g__Test|0_3<T>", @" 5323CompileAndVerify(source).VerifyIL("<top-level-statements-entry-point>", @" 5349CompileAndVerify(source).VerifyIL("<top-level-statements-entry-point>", @" 5375CompileAndVerify(source).VerifyIL("Program.<<Main>$>g__Test|0_0<T>", @" 5405CompileAndVerify(source).VerifyIL("Program.<<Main>$>g__Test|0_0<T>", @" 5435CompileAndVerify(source).VerifyIL("Program.<<Main>$>g__Test|0_0<T>", @" 5465CompileAndVerify(source).VerifyIL("Program.<<Main>$>g__Test|0_0<T>", @" 5497CompileAndVerify(source).VerifyIL("C<T>.Test", @" 5525CompileAndVerify(source).VerifyIL("C<T>.Test<G>", @" 5553CompileAndVerify(source).VerifyIL("C<T>.Test<G>", @" 5584CompileAndVerify(source).VerifyIL("M<N>.<F>g__Test|0_0<I, C>", @" 5623comp.VerifyIL("C.Main", @" 5706verifier.VerifyIL("D.InstanceAdd", @" 5733verifier.VerifyIL("D.InstanceRemove", @" 5753verifier.VerifyIL("D.StaticAdd", @" 5776verifier.VerifyIL("D.StaticRemove", @" 5823verifier.VerifyIL("C.InstanceAssign", @" 5850verifier.VerifyIL("C.StaticAssign", @" 5902CompileAndVerify(text, parseOptions: TestOptions.Regular11, expectedOutput: PASS).VerifyIL("Test.Main", @" 5964").VerifyIL("C.Main()", @" 6033verifier.VerifyIL("Program.Main", @" 6171verifier.VerifyIL("Test.M<G>", @" 6327verifier.VerifyIL("Test.M<G>", @"
CodeGen\CodeGenSpanBasedStringConcatTests.cs (153)
40comp.VerifyIL("Test.M1", """ 55comp.VerifyIL("Test.M2", """ 96comp.VerifyIL("Test.M1", """ 112comp.VerifyIL("Test.M2", """ 172comp.VerifyIL("Test.M1", """ 187comp.VerifyIL("Test.M2", """ 233comp.VerifyIL("C.M", """ 285comp.VerifyIL("C.M", """ 354verifier.VerifyIL("Test.M1", expectedEquivalentIL); 355verifier.VerifyIL("Test.M2", expectedEquivalentIL); 394verifier.VerifyIL("Test.M1", """ 404verifier.VerifyIL("Test.M2", """ 450verifier.VerifyIL("Test.M", """ 491verifier.VerifyIL("Test.M", """ 541verifier.VerifyIL("Test.M1", """ 552verifier.VerifyIL("Test.M2", """ 655verifier.VerifyIL("Test.M", """ 729verifier.VerifyIL("Test.M", """ 804verifier.VerifyIL("Test.M", """ 853comp.VerifyIL("Test.<M>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """ 1007comp.VerifyIL("Test.M1", """ 1022comp.VerifyIL("Test.M2", """ 1076verifier.VerifyIL("Test.M1", """ 1093verifier.VerifyIL("Test.M2", """ 1110verifier.VerifyIL("Test.M3", """ 1127verifier.VerifyIL("Test.M4", """ 1186verifier.VerifyIL("Test.M1", """ 1204verifier.VerifyIL("Test.M2", """ 1222verifier.VerifyIL("Test.M3", """ 1240verifier.VerifyIL("Test.M4", """ 1290comp.VerifyIL("Test.M", """ 1366verifier.VerifyIL("Test.M1", """ 1383verifier.VerifyIL("Test.M2", """ 1400verifier.VerifyIL("Test.M3", """ 1417verifier.VerifyIL("Test.M4", """ 1477verifier.VerifyIL("C.M", """ 1543verifier.VerifyIL("C.M", """ 1625verifier.VerifyIL("Test.M1", expectedEquivalentIL); 1626verifier.VerifyIL("Test.M2", expectedEquivalentIL); 1627verifier.VerifyIL("Test.M3", expectedEquivalentIL); 1671verifier.VerifyIL("Test.M1", """ 1682verifier.VerifyIL("Test.M2", """ 1693verifier.VerifyIL("Test.M3", """ 1704verifier.VerifyIL("Test.M4", """ 1752verifier.VerifyIL("Test.M", """ 1795verifier.VerifyIL("Test.M", """ 1854verifier.VerifyIL("Test.M1", """ 1866verifier.VerifyIL("Test.M2", """ 1878verifier.VerifyIL("Test.M3", """ 1890verifier.VerifyIL("Test.M4", """ 1941verifier.VerifyIL("Test.M1", """ 1954verifier.VerifyIL("Test.M2", """ 1994comp.VerifyIL("Test.M1", """ 2012comp.VerifyIL("Test.M2", """ 2062verifier.VerifyIL("Test.M1", """ 2076verifier.VerifyIL("Test.M2", """ 2196verifier.VerifyIL("Test.M", """ 2273verifier.VerifyIL("Test.M", """ 2351verifier.VerifyIL("Test.M", """ 2401comp.VerifyIL("Test.<M>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """ 2600comp.VerifyIL("Test.M1", """ 2617comp.VerifyIL("Test.M2", """ 2634comp.VerifyIL("Test.M3", """ 2651comp.VerifyIL("Test.M4", """ 2717verifier.VerifyIL("Test.M1", """ 2736verifier.VerifyIL("Test.M2", """ 2755verifier.VerifyIL("Test.M3", """ 2774verifier.VerifyIL("Test.M4", """ 2793verifier.VerifyIL("Test.M5", """ 2815verifier.VerifyIL("Test.M6", """ 2837verifier.VerifyIL("Test.M7", """ 2905verifier.VerifyIL("Test.M1", """ 2925verifier.VerifyIL("Test.M2", """ 2945verifier.VerifyIL("Test.M3", """ 2965verifier.VerifyIL("Test.M4", """ 2985verifier.VerifyIL("Test.M5", """ 3009verifier.VerifyIL("Test.M6", """ 3033verifier.VerifyIL("Test.M7", """ 3093comp.VerifyIL("Test.M", """ 3181verifier.VerifyIL("Test.M1", """ 3200verifier.VerifyIL("Test.M2", """ 3219verifier.VerifyIL("Test.M3", """ 3238verifier.VerifyIL("Test.M4", """ 3257verifier.VerifyIL("Test.M5", """ 3279verifier.VerifyIL("Test.M6", """ 3301verifier.VerifyIL("Test.M7", """ 3366verifier.VerifyIL("C.M", """ 3441verifier.VerifyIL("C.M", """ 3536verifier.VerifyIL("Test.M1", expectedEquivalentIL); 3537verifier.VerifyIL("Test.M2", expectedEquivalentIL); 3538verifier.VerifyIL("Test.M3", expectedEquivalentIL); 3539verifier.VerifyIL("Test.M4", expectedEquivalentIL); 3540verifier.VerifyIL("Test.M5", expectedEquivalentIL); 3541verifier.VerifyIL("Test.M6", expectedEquivalentIL); 3592verifier.VerifyIL("Test.M1", """ 3604verifier.VerifyIL("Test.M2", """ 3616verifier.VerifyIL("Test.M3", """ 3628verifier.VerifyIL("Test.M4", """ 3640verifier.VerifyIL("Test.M5", """ 3652verifier.VerifyIL("Test.M6", """ 3664verifier.VerifyIL("Test.M7", """ 3714verifier.VerifyIL("Test.M", """ 3759verifier.VerifyIL("Test.M", """ 3829verifier.VerifyIL("Test.M1", """ 3842verifier.VerifyIL("Test.M2", """ 3855verifier.VerifyIL("Test.M3", """ 3868verifier.VerifyIL("Test.M4", """ 3881verifier.VerifyIL("Test.M5", """ 3895verifier.VerifyIL("Test.M6", """ 3909verifier.VerifyIL("Test.M7", """ 3963verifier.VerifyIL("Test.M1", """ 3977verifier.VerifyIL("Test.M2", """ 3991verifier.VerifyIL("Test.M3", """ 4034comp.VerifyIL("Test.M1", """ 4057comp.VerifyIL("Test.M2", """ 4080comp.VerifyIL("Test.M3", """ 4139comp.VerifyIL("Test.M1", """ 4159comp.VerifyIL("Test.M2", """ 4179comp.VerifyIL("Test.M3", """ 4199comp.VerifyIL("Test.M4", """ 4219comp.VerifyIL("Test.M5", """ 4239comp.VerifyIL("Test.M6", """ 4295verifier.VerifyIL("Test.M", """ 4348verifier.VerifyIL("Test.M1", """ 4362verifier.VerifyIL("Test.M2", """ 4404comp.VerifyIL("Test.M1", """ 4423comp.VerifyIL("Test.M2", """ 4477verifier.VerifyIL("Test.M1", """ 4493verifier.VerifyIL("Test.M2", """ 4509verifier.VerifyIL("Test.M3", """ 4567verifier.VerifyIL("Test.M1", """ 4582verifier.VerifyIL("Test.M2", """ 4597verifier.VerifyIL("Test.M3", """ 4612verifier.VerifyIL("Test.M4", """ 4627verifier.VerifyIL("Test.M5", """ 4642verifier.VerifyIL("Test.M6", """ 4691verifier.VerifyIL("Test.M1", """ 4706verifier.VerifyIL("Test.M2", """ 4849verifier.VerifyIL("Test.M", """ 4929verifier.VerifyIL("Test.M", """ 5010verifier.VerifyIL("Test.M", """ 5061comp.VerifyIL("Test.<M>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """ 5308comp.VerifyIL("Test.M1", """ 5327comp.VerifyIL("Test.M2", """ 5346comp.VerifyIL("Test.M3", """ 5365comp.VerifyIL("Test.M4", """ 5384comp.VerifyIL("Test.M5", """ 5406comp.VerifyIL("Test.M6", """ 5428comp.VerifyIL("Test.M7", """ 5494verifier.VerifyIL("Test.CharInFirstFourArgs", """ 5525verifier.VerifyIL("Test.CharAfterFirstFourArgs", """ 5608comp.VerifyIL("Test.M", """ 5679verifier.VerifyIL("Test.M", """
CodeGen\IndexAndRangeTests.cs (30)
60verifier.VerifyIL("Program.M2", """ 316verifier.VerifyIL("Program.M", """ 403verifier.VerifyIL("Program.M", """ 490verifier.VerifyIL("Program.M", """ 571verifier.VerifyIL("C.M", """ 826verifier.VerifyIL("C.M", """ 873verifier.VerifyIL("C.M", """ 921verifier.VerifyIL("C.M", """ 1017verifier.VerifyIL("Program.M", """ 1268verifier.VerifyIL("Program.M", """ 1343verifier.VerifyIL("Program.M", """ 1404verifier.VerifyIL("Program.M", """ 1479verifier.VerifyIL("Program.M", """ 1979verifier.VerifyIL("Program.M", """ 2200verifier.VerifyIL("C.M", """ 2537verifier.VerifyIL("C.M", """ 2661verifier.VerifyIL("C.M", """ 2758verifier.VerifyIL("C.M", """ 3002verifier.VerifyIL("C.M", """ 3097verifier.VerifyIL("C.M", """ 3287verifier.VerifyIL("C.M", """ 3427verifier.VerifyIL("C.M", """ 3548verifier.VerifyIL("C.M", """ 3623verifier.VerifyIL("C.M", """ 3714verifier.VerifyIL("C.M", """ 3800verifier.VerifyIL("C.M", """ 4054verifier.VerifyIL("C.M", """ 4179verifier.VerifyIL("Program.M", """ 4228verifier.VerifyIL("Program.M", """ 4267verifier.VerifyIL("Program.M", """
Emit\EditAndContinue\LocalSlotMappingTests.cs (16)
57v0.VerifyIL("C.Main", @" 126v0.VerifyIL("C.M", @" 1668v0.VerifyIL("C.M", @" 2151v0.VerifyIL("C.M", @" 2344v0.VerifyIL("C.M", @" 2887v0.VerifyIL("C.M", @" 2995v0.VerifyIL("C.M", @" 3143v0.VerifyIL("C.M", @" 3336v0.VerifyIL("C.M", @" 3443v0.VerifyIL("C.M", @" 3556v0.VerifyIL("C.M", @" 3665v0.VerifyIL("C.M", @" 3755v0.VerifyIL("C.<>c.<M>b__1_0()", @" 3975v0.VerifyIL("C.<F>d__0.System.Collections.IEnumerator.MoveNext", @" 4084v0.VerifyIL("C.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 5062v0.VerifyIL("C.G", @"
Emit\NumericIntPtrTests.cs (97)
1049verifier.VerifyIL("C.M", @" 1097verifier.VerifyIL("C.M", @" 1112verifier.VerifyIL("C.M", @" 1135verifier.VerifyIL("C.M", @" 1150verifier.VerifyIL("C.M", @" 1331verifier.VerifyIL("Program.Main", 1458verifier.VerifyIL("Program.F", 1495verifier.VerifyIL("Program.F1", 1503verifier.VerifyIL("Program.F2", 1649verifier.VerifyIL("B.M1", 1677verifier.VerifyIL("B.M2", 1760verifier.VerifyIL("B.Main", 2562verifier.VerifyIL("Program.Main", expectedIL); 2675verifier.VerifyIL("Program.Main", expectedIL); 3135verifier.VerifyIL("Program.M", @" 3303verifier.VerifyIL("Program.M", @" 6023verifier.VerifyIL("Program.Convert", expectedIL); 6252verifier.VerifyIL("Program.Evaluate", expectedIL); 6628verifier.VerifyIL("Program.Evaluate", expectedIL); 6860verifier.VerifyIL("Program.Evaluate", expectedIL); 6900verifier.VerifyIL("Program.F1", 6908verifier.VerifyIL("Program.F2", 8201verifier.VerifyIL("Program.Add", 8210verifier.VerifyIL("Program.Subtract", 8219verifier.VerifyIL("Program.Multiply", 8228verifier.VerifyIL("Program.Divide", 8237verifier.VerifyIL("Program.Mod", 8246verifier.VerifyIL("Program.Equals", 8255verifier.VerifyIL("Program.NotEquals", 8266verifier.VerifyIL("Program.LessThan", 8275verifier.VerifyIL("Program.LessThanOrEqual", 8286verifier.VerifyIL("Program.GreaterThan", 8295verifier.VerifyIL("Program.GreaterThanOrEqual", 8306verifier.VerifyIL("Program.And", 8315verifier.VerifyIL("Program.Or", 8324verifier.VerifyIL("Program.Xor", 8333verifier.VerifyIL("Program.ShiftLeft", 8348verifier.VerifyIL("Program.ShiftRight", 8427verifier.VerifyIL("Program.Add", 8436verifier.VerifyIL("Program.Subtract", 8445verifier.VerifyIL("Program.Multiply", 8454verifier.VerifyIL("Program.Divide", 8463verifier.VerifyIL("Program.Mod", 8472verifier.VerifyIL("Program.Equals", 8481verifier.VerifyIL("Program.NotEquals", 8492verifier.VerifyIL("Program.LessThan", 8501verifier.VerifyIL("Program.LessThanOrEqual", 8512verifier.VerifyIL("Program.GreaterThan", 8521verifier.VerifyIL("Program.GreaterThanOrEqual", 8532verifier.VerifyIL("Program.And", 8541verifier.VerifyIL("Program.Or", 8550verifier.VerifyIL("Program.Xor", 8559verifier.VerifyIL("Program.ShiftLeft", 8574verifier.VerifyIL("Program.ShiftRight", 8620verifier.VerifyIL("Program.Add", 8629verifier.VerifyIL("Program.Subtract", 8638verifier.VerifyIL("Program.Multiply", 8647verifier.VerifyIL("Program.Divide", 8656verifier.VerifyIL("Program.Mod", 8696verifier.VerifyIL("Program.Add", 8705verifier.VerifyIL("Program.Subtract", 8714verifier.VerifyIL("Program.Multiply", 8723verifier.VerifyIL("Program.Divide", 8732verifier.VerifyIL("Program.Mod", 9433verifier.VerifyIL("Program.Convert", toConvUnchecked is null ? 9448verifier.VerifyIL("Program.ConvertChecked", 9535verifier.VerifyIL("Program.ToPointer1", 9542verifier.VerifyIL("Program.ToPointer2", 9549verifier.VerifyIL("Program.ToPointer3", 9557verifier.VerifyIL("Program.ToPointer4", 9564verifier.VerifyIL("Program.FromPointer1", 9571verifier.VerifyIL("Program.FromPointer2", 9578verifier.VerifyIL("Program.FromPointer3", 9586verifier.VerifyIL("Program.FromPointer4", 9838verifier.VerifyIL("Program.Convert", 9846verifier.VerifyIL("Program.ConvertChecked", 10057verifier.VerifyIL("NativeInts.Explicit1", expectedExplicitILA); 10058verifier.VerifyIL("NativeInts.Explicit2", expectedExplicitILA); 10059verifier.VerifyIL("NativeInts.Explicit3", expectedExplicitILA); 10060verifier.VerifyIL("NativeInts.Explicit4", expectedExplicitILB); 10061verifier.VerifyIL("NativeInts.Explicit5", expectedExplicitILNop); 10062verifier.VerifyIL("NativeInts.Checked1", expectedCheckedIL); 10063verifier.VerifyIL("NativeInts.Checked2", expectedCheckedIL); 10064verifier.VerifyIL("NativeInts.Checked3", expectedCheckedIL); 10065verifier.VerifyIL("NativeInts.Checked4", expectedCheckedIL); 10066verifier.VerifyIL("NativeInts.Checked5", expectedCheckedIL); 10988verifier.VerifyIL("C.M1", shiftRight("nint")); 10989verifier.VerifyIL("C.M2", shiftRight("nuint")); 10990verifier.VerifyIL("C.M3", shiftRight("nint")); 10991verifier.VerifyIL("C.M4", shiftRight("nuint")); 10992verifier.VerifyIL("C.M5", shiftRight("nint")); 10993verifier.VerifyIL("C.M6", shiftRight("nuint")); 11396.VerifyIL("C.M", @" 11436.VerifyIL("C.M", @" 11689verifier.VerifyIL("C.M", expectedIL); 11707verifier.VerifyIL("C.ShiftRight", @" 11755verifier.VerifyIL("Program.F", """
Emit\UnmanagedTypeModifierTests.cs (1)
1478.VerifyIL("Program.Main", @"
PDB\PDBAsyncTests.cs (4)
73v.VerifyIL("TestCase.<Run>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 623v.VerifyIL("C.F", @" 647v.VerifyIL("C.<F>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", @" 1731v.VerifyIL("C.<G>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @"
PDB\PDBDynamicLocalsTests.cs (1)
1710v.VerifyIL("C.F", @"
PDB\PDBIteratorTests.cs (3)
817v.VerifyIL("C.<F>d__1.System.Collections.IEnumerator.MoveNext", @" 1111v.VerifyIL("C.<M>d__0.System.Collections.IEnumerator.MoveNext", @" 1236v.VerifyIL("C.<M>d__0.System.Collections.IEnumerator.MoveNext", @"
PDB\PDBLambdaTests.cs (3)
1761v.VerifyIL("C.<>c.<F>b__0_0", @" 1803v.VerifyIL("C.<>c.<F>b__0_0", @" 2152c.VerifyIL("C.F", @"
PDB\PDBTests.cs (58)
1571v.VerifyIL("Program.Main", @" 1626v.VerifyIL("C.P.get", @" 1679v.VerifyIL("Program.Main", @" 1701v.VerifyIL("Program.Main", @" 1734v.VerifyIL("Program.Main", @" 2311v.VerifyIL("C.Main", @" 2395v.VerifyIL("Program.<Test>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2533v.VerifyIL("C.M", @" 2591v.VerifyIL("Program.<Test>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2673v.VerifyIL("Program.Test()", @" 2723v.VerifyIL("Program.<Test>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2868v.VerifyIL("Program.Test", @" 2983v.VerifyIL("C.Main", @" 3121v.VerifyIL("C.Main", @" 3270v.VerifyIL("C.Main", @" 3723verifier.VerifyIL(qualifiedMethodName: "Program.M1", sequencePoints: "Program.M1", source: source, 3747verifier.VerifyIL(qualifiedMethodName: "Program.M2", sequencePoints: "Program.M2", source: source, 3777verifier.VerifyIL("Program.M1", 3785verifier.VerifyIL("Program.M2", 3845verifier.VerifyIL(qualifiedMethodName: "Program.M1<T>", sequencePoints: "Program.M1", source: source, 3890verifier.VerifyIL(qualifiedMethodName: "Program.M2<T>", sequencePoints: "Program.M2", source: source, 3939verifier.VerifyIL("Program.M1<T>", 3957verifier.VerifyIL("Program.M2<T>", 4011verifier.VerifyIL(qualifiedMethodName: "Program.M2<T>", sequencePoints: "Program.M2", source: source, 4043verifier.VerifyIL("Program.M2<T>", 4081v.VerifyIL("Program.Main(string[])", @" 4171v.VerifyIL("Program.<M>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 4415v.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 5628v.VerifyIL("Test.Main", @" 5776v.VerifyIL("Test.Main", @" 5865v.VerifyIL("Test.Main", @" 5954v.VerifyIL("Test.Main", @" 6107v.VerifyIL("C.Main", sequencePoints: "C.Main", source: source, expectedIL: @" 6224v.VerifyIL("C.Main", sequencePoints: "C.Main", source: source, expectedIL: @" 6349v.VerifyIL("C.F", @" 6442v.VerifyIL("C.F", @" 6529v.VerifyIL("C.F", @" 6590v.VerifyIL("C.F", @" 6654v.VerifyIL("C.F", @" 6742v.VerifyIL("C.Main", sequencePoints: "C.Main", source: source, expectedIL: @" 6857v.VerifyIL("C.Main", sequencePoints: "C.Main", source: source, expectedIL: @" 6960v.VerifyIL("C.Main", sequencePoints: "C.Main", source: source, expectedIL: @" 8697verifier.VerifyIL("Program.Main", sequencePoints: "Program.Main", expectedIL: @" 9096verifier.VerifyIL("Program.Main", sequencePoints: "Program.Main", expectedIL: @" 9461verifier.VerifyIL("Program.M", sequencePoints: "Program.M", expectedIL: @" 9689verifier.VerifyIL("C.M", sequencePoints: "C.M", source: source, expectedIL: @" 10532verifier.VerifyIL("C.M", sequencePoints: "C.M", source: source, expectedIL: @" 10703verifier.VerifyIL("C.M1", sequencePoints: "C.M1", source: source, expectedIL: @" 10721verifier.VerifyIL("C.M2", sequencePoints: "C.M2", source: source, expectedIL: @" 10885verifier.VerifyIL("C.M", sequencePoints: "C.M", source: source, expectedIL: @" 10971CompileAndVerify(c).VerifyIL(qualifiedMethodName: "Program.M", sequencePoints: "Program.M", source: source, 11150cv.VerifyIL("C.F", @" 11289v.VerifyIL("C.Main", @" 11735v.VerifyIL("C..ctor", sequencePoints: "C..ctor", expectedIL: @" 12543v.VerifyIL("Program.<Test>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 12627v.VerifyIL("Program.<Test>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 12708v.VerifyIL("Program.<Test>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 12800v.VerifyIL("Program.<Test>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @"
PDB\PDBTupleTests.cs (1)
312v.VerifyIL("C.F", @"
PDB\PDBUsingTests.cs (1)
2560v.VerifyIL("Test.Main", @"
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1017)
Attributes\AttributeTests.cs (1)
1573verifier.VerifyIL("XAttribute..ctor(int)", @"{
Attributes\AttributeTests_CallerInfoAttributes.cs (5)
74CompileAndVerify(compilation).VerifyDiagnostics().VerifyIL("Program.Main", @" 140CompileAndVerify(compilation).VerifyDiagnostics().VerifyIL("Program.Main", @" 380).VerifyIL("Program.Main", @" 2443CompileAndVerify(compilation).VerifyDiagnostics().VerifyIL("Program.Main", @" 2494CompileAndVerify(compilation).VerifyDiagnostics().VerifyIL("Program.Main", @"
Attributes\AttributeTests_MarshalAs.cs (1)
1535CompileAndVerify(comp2, expectedOutput: @"0").VerifyIL("C.Main", @"
Attributes\AttributeTests_WellKnownAttributes.cs (6)
5325.VerifyIL("Test.Main", @"{ 12800verifier.VerifyIL("I.M", @" 12883verifier.VerifyIL("C.E.add", il); 12884verifier.VerifyIL("C.E.remove", il); 12885verifier.VerifyIL("C.E2.add", il); 12886verifier.VerifyIL("C.E2.remove", il.Replace(".locals", ".locals init"));
Attributes\InternalsVisibleToAndStrongNameTests.cs (4)
2100verifier.VerifyIL("C.Test", @" 2115verifier.VerifyIL("C.TestET", @" 2224verifier.VerifyIL("D.Test", @" 2239verifier.VerifyIL("D.TestET", @"
FieldKeywordTests.cs (104)
52verifier.VerifyIL("C.P.get", """ 67verifier.VerifyIL("C.Q.get", """ 118verifier.VerifyIL("C.P.get", """ 130verifier.VerifyIL("C.Q.get", """ 541verifier.VerifyIL("C.<get_P1>b__2_0()", """ 550verifier.VerifyIL("C.<>c__DisplayClass5_0.<set_P2>b__0()", """ 566verifier.VerifyIL("C.<>c.<get_P3>b__8_0()", """ 634verifier.VerifyIL("C.<get_P>g__F|2_0()", """ 643verifier.VerifyIL("C.<get_Q>g__F|5_0()", """ 732verifier.VerifyIL("A.P1.get", """ 740verifier.VerifyIL("A.P2.set", """ 749verifier.VerifyIL("A.Q1.get", """ 758verifier.VerifyIL("A.Q2.set", """ 768verifier.VerifyIL("A.Q3.init", """ 871verifier.VerifyIL("I.P1.get", """ 879verifier.VerifyIL("I.P2.set", """ 888verifier.VerifyIL("I.P5.get", """ 896verifier.VerifyIL("I.P6.set", """ 1646verifier.VerifyIL("C..cctor", """ 1738verifier.VerifyIL("C..cctor", """ 1802verifier.VerifyIL("C..ctor", """ 1910verifier.VerifyIL("C..ctor", """ 2359verifier.VerifyIL("C..cctor", """ 2490verifier.VerifyIL("C1..ctor(int)", $$""" 2502verifier.VerifyIL("C2..ctor(int)", $$""" 2514verifier.VerifyIL("C3..ctor(int)", $$""" 2526verifier.VerifyIL("C4..ctor(int)", $$""" 2538verifier.VerifyIL("C5..ctor(int)", $$""" 2550verifier.VerifyIL("C6..ctor(int)", $$""" 2562verifier.VerifyIL("C7..ctor(int)", $$""" 2574verifier.VerifyIL("C8..ctor(int)", $$""" 2586verifier.VerifyIL("C9..ctor(int)", $$""" 2601verifier.VerifyIL("C1..ctor(int)", $$""" 2614verifier.VerifyIL("C2..ctor(int)", $$""" 2627verifier.VerifyIL("C3..ctor(int)", $$""" 2640verifier.VerifyIL("C4..ctor(int)", $$""" 2656verifier.VerifyIL("C5..ctor(int)", $$""" 2669verifier.VerifyIL("C6..ctor(int)", $$""" 2682verifier.VerifyIL("C7..ctor(int)", $$""" 2698verifier.VerifyIL("C8..ctor(int)", $$""" 2714verifier.VerifyIL("C9..ctor(int)", $$""" 2733verifier.VerifyIL("C1..ctor(int, out int)", $$""" 2749verifier.VerifyIL("C2..ctor(int, out int)", $$""" 2765verifier.VerifyIL("C3..ctor(int, out int)", $$""" 2781verifier.VerifyIL("C4..ctor(int, out int)", $$""" 2797verifier.VerifyIL("C5..ctor(int, out int)", $$""" 2813verifier.VerifyIL("C6..ctor(int, out int)", $$""" 2829verifier.VerifyIL("C7..ctor(int, out int)", $$""" 2845verifier.VerifyIL("C9..ctor(int, out int)", $$""" 2864verifier.VerifyIL("C1..ctor(int, out int)", $$""" 2881verifier.VerifyIL("C2..ctor(int, out int)", $$""" 2901verifier.VerifyIL("C3..ctor(int, out int)", $$""" 2921verifier.VerifyIL("C4..ctor(int, out int)", $$""" 2941verifier.VerifyIL("C5..ctor(int, out int)", $$""" 2961verifier.VerifyIL("C6..ctor(int, out int)", $$""" 2978verifier.VerifyIL("C7..ctor(int, out int)", $$""" 2995verifier.VerifyIL("C9..ctor(int, out int)", $$""" 3064verifier.VerifyIL("C3..ctor(int)", $$""" 3076verifier.VerifyIL("C6..ctor(int)", $$""" 3088verifier.VerifyIL("C9..ctor(int)", $$""" 3100verifier.VerifyIL("C3..ctor(int, out int)", $$""" 3116verifier.VerifyIL("C6..ctor(int, out int)", $$""" 3132verifier.VerifyIL("C9..ctor(int, out int)", $$""" 3214verifier.VerifyIL("C1..ctor(int)", $$""" 3233verifier.VerifyIL("C2..ctor(int)", $$""" 3252verifier.VerifyIL("C3..ctor(int)", $$""" 3271verifier.VerifyIL("C6..ctor(int)", $$""" 3290verifier.VerifyIL("C7..ctor(int)", $$""" 3312verifier.VerifyIL("C9..ctor(int)", $$""" 3400verifier.VerifyIL("C1..ctor(int)", $$""" 3422verifier.VerifyIL("C2..ctor(int)", $$""" 3444verifier.VerifyIL("C3..ctor(int)", $$""" 3466verifier.VerifyIL("C6..ctor(int)", $$""" 3488verifier.VerifyIL("C7..ctor(int)", $$""" 3513verifier.VerifyIL("C9..ctor(int)", $$""" 3604verifier.VerifyIL("C1..ctor", $$""" 3624verifier.VerifyIL("C2..ctor", $$""" 3644verifier.VerifyIL("C3..ctor", $$""" 3667verifier.VerifyIL("C6..ctor", $$""" 3690verifier.VerifyIL("C7..ctor", $$""" 3716verifier.VerifyIL("C9..ctor", $$""" 3976verifier.VerifyIL("C..cctor", """ 4091verifier.VerifyIL("S1..ctor", $$""" 4104verifier.VerifyIL("S2..ctor", $$""" 4117verifier.VerifyIL("S3..ctor", $$""" 4130verifier.VerifyIL("S4..ctor", $$""" 4143verifier.VerifyIL("S5..ctor", $$""" 4156verifier.VerifyIL("S6..ctor", $$""" 4242verifier.VerifyIL("S1..ctor", $$""" 4258verifier.VerifyIL("S2..ctor", $$""" 4356verifier.VerifyIL("S1..ctor", $$""" 4366verifier.VerifyIL("S2..ctor", $$""" 4376verifier.VerifyIL("S3..ctor", $$""" 4386verifier.VerifyIL("S4..ctor", $$""" 4399verifier.VerifyIL("S5..ctor", $$""" 4412verifier.VerifyIL("S6..ctor", $$""" 4422verifier.VerifyIL("S7..ctor", $$""" 4502verifier.VerifyIL("S3..ctor", $$""" 4515verifier.VerifyIL("S4..ctor", $$""" 10229verifier.VerifyIL("C.P1.get", """ 10252verifier.VerifyIL("C.P2.set", """ 10313verifier.VerifyIL("C.P1.get", """ 10411verifier.VerifyIL("C.P2.get", """ 10432verifier.VerifyIL("C.P3.get", """
FirstClassSpanTests.cs (77)
80verifier.VerifyIL("C.M", expectedIl); 84verifier.VerifyIL("C.M", expectedIl); 223verifier.VerifyIL("<top-level-statements-entry-point>", """ 745verifier.VerifyIL("<top-level-statements-entry-point>", $$""" 772verifier.VerifyIL("<top-level-statements-entry-point>", $$""" 806verifier.VerifyIL("Program.<<Main>$>g__run|0_0", $$""" 836verifier.VerifyIL("<top-level-statements-entry-point>", """ 892verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 897verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 918verifier.VerifyIL("<top-level-statements-entry-point>", """ 973verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 978verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 999verifier.VerifyIL("<top-level-statements-entry-point>", """ 1027verifier.VerifyIL("<top-level-statements-entry-point>", $$""" 1052verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 1057verifier.VerifyIL("<top-level-statements-entry-point>", expectedIL); 1074verifier.VerifyIL("<top-level-statements-entry-point>", """ 1137verifier.VerifyIL("<top-level-statements-entry-point>", """ 1200verifier.VerifyIL("<top-level-statements-entry-point>", """ 1783verifier.VerifyIL("<top-level-statements-entry-point>", """ 1837verifier.VerifyIL("<top-level-statements-entry-point>", """ 1928verifier.VerifyIL("<top-level-statements-entry-point>", """ 1949verifier.VerifyIL("<top-level-statements-entry-point>", """ 2072verifier.VerifyIL("<top-level-statements-entry-point>", $$""" 2116verifier.VerifyIL("<top-level-statements-entry-point>", $$""" 2164verifier.VerifyIL("<top-level-statements-entry-point>", """ 2208verifier.VerifyIL("<top-level-statements-entry-point>", """ 2276verifier.VerifyIL("<top-level-statements-entry-point>", """ 2354verifier.VerifyIL("<top-level-statements-entry-point>", """ 2402verifier.VerifyIL("<top-level-statements-entry-point>", """ 2444verifier.VerifyIL("<top-level-statements-entry-point>", """ 2587verifier.VerifyIL("<top-level-statements-entry-point>", """ 2635verifier.VerifyIL("<top-level-statements-entry-point>", """ 2678verifier.VerifyIL("<top-level-statements-entry-point>", """ 2697verifier.VerifyIL("<top-level-statements-entry-point>", """ 2742verifier.VerifyIL("<top-level-statements-entry-point>", """ 2793.VerifyIL("C.M", """ 2957.VerifyIL("C.M", """ 3164.VerifyIL("C.M", """ 3196.VerifyIL("C.M", """ 3217.VerifyDiagnostics().VerifyIL("C.M", expectedIl); 3219.VerifyDiagnostics().VerifyIL("C.M", expectedIl); 3278.VerifyIL("C.M", """ 3309.VerifyIL("C.M", """ 3340.VerifyIL("C.M", """ 3423.VerifyIL("C.M", """ 3453.VerifyIL("C.M", """ 4162verifier.VerifyIL("C.M1", """ 4172verifier.VerifyIL("C.M2", """ 4227verifier.VerifyIL("C.M1", """ 4242verifier.VerifyIL("C.M2", """ 4299verifier.VerifyIL("C.M", """ 4488verifier.VerifyIL("C.M", """ 4520verifier.VerifyIL("C.M", """ 4551verifier.VerifyIL("C.M", """ 4583verifier.VerifyIL("C.M", """ 4624verifier.VerifyIL("C.M", """ 4681verifier.VerifyIL("C.M", expectedIl); 4685verifier.VerifyIL("C.M", expectedIl); 4704verifier.VerifyIL("C.M", """ 4751verifier.VerifyIL("C.M", expectedIl); 4755verifier.VerifyIL("C.M", expectedIl); 4791verifier.VerifyIL("C.M", expectedIl); 4795verifier.VerifyIL("C.M", expectedIl); 4831verifier.VerifyIL("C.M", expectedIl); 4835verifier.VerifyIL("C.M", expectedIl); 5172verifier.VerifyIL("<top-level-statements-entry-point>", $$""" 5258verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 5262verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 5282verifier.VerifyIL("<top-level-statements-entry-point>", """ 5367verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 5389verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 5550verifier.VerifyIL("C.M", """ 5582verifier.VerifyIL("C.M", """ 5697verifier.VerifyIL("C.M", $$""" 5750verifier.VerifyIL("C.M", """ 5794verifier.VerifyIL("C<T, U>.M", """
FlowAnalysis\FlowDiagnosticTests.cs (2)
1242verifier.VerifyIL("S..ctor", @" 1299verifier.VerifyIL("Program..ctor", @"
OverloadResolutionPriorityTests.cs (2)
998verifier.VerifyIL("System.Runtime.CompilerServices.C.Main()", """ 1798verifier.VerifyIL("<top-level-statements-entry-point>", """
RefReadonlyParameterTests.cs (30)
2315verifier.VerifyIL("C.Main", """ 2345verifier.VerifyIL("C.Main", """ 2378verifier.VerifyIL("C.Main", """ 2425verifier.VerifyIL("C.Main", """ 2454verifier.VerifyIL("C.Main", """ 2539verifier.VerifyIL("C.M1", """ 2586verifier.VerifyIL("C.M1", """ 2617verifier.VerifyIL("C.M1", """ 2672verifier.VerifyIL("C.M1", """ 2706verifier.VerifyIL("C.M1", """ 2761verifier.VerifyIL("C.M1", """ 3007verifier.VerifyIL("C.M1", """ 3077verifier.VerifyIL("C.M1", """ 4551verifier.VerifyIL("D.M2", """ 4602verifier.VerifyIL("D.M2", """ 4749verifier.VerifyIL("D.M3", """ 4766verifier.VerifyIL("D.M4", """ 4841verifier.VerifyIL("D.Main", """ 4955verifier.VerifyIL("C.Main", """ 4990verifier.VerifyIL("C.Main", """ 5021verifier.VerifyIL("C.Main", """ 5059verifier.VerifyIL("C.Main", """ 5093verifier.VerifyIL("C.Main", """ 5227verifier.VerifyIL("C.Main", $$""" 5265verifier.VerifyIL("Program.Main", $$""" 5392verifier.VerifyIL("C.Main", """ 5482verifier.VerifyIL("C.Main", $$""" 5587verifier.VerifyIL("C.Main", """ 5641verifier.VerifyIL("C.M2", """ 5711verifier.VerifyIL("C.M2", """
RefStructInterfacesTests.cs (53)
5987verifier.VerifyIL("C.Test1<T>(T)", 6070verifier.VerifyIL("C.Test1<T>(T, string)", 6083verifier.VerifyIL("C.Test2<T>(T)", 6603verifier.VerifyIL("C.Main", 6739verifier.VerifyIL("C.Test1", 6856verifier.VerifyIL("C.Main", 6984verifier.VerifyIL("C.Test<T>(T)", 7116verifier.VerifyIL("C.Test<T>(T)", 7436verifier.VerifyIL("C.Main", 7626verifier.VerifyIL("C.Main", 7844verifier.VerifyIL("C.Test1", 8041verifier.VerifyIL("C.Test<T>(T)", 8234verifier.VerifyIL("C.Test<T>(T)", 8513verifier.VerifyIL("C.Test<T>(T)", 8897verifier.VerifyIL("C.Main", 9101verifier.VerifyIL("C.Main", 9464verifier.VerifyIL("C.Main", 9676verifier.VerifyIL("C.Test<TEnumerable, TEnumerator>(TEnumerable)", 9900verifier.VerifyIL("C.Test<TEnumerable, TEnumerator>(TEnumerable)", 10112verifier.VerifyIL("C.Test<TEnumerable, TEnumerator>(TEnumerable)", 10508verifier.VerifyIL("C.Main", 10705verifier.VerifyIL("C.Main", 10944verifier.VerifyIL("C.Test1", 11160verifier.VerifyIL("C.Test<TEnumerable, TEnumerator>(TEnumerable)", 11387verifier.VerifyIL("C.Test<TEnumerable, TEnumerator>(TEnumerable)", 12031verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 12298verifier.VerifyIL("C.<Test1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 12544verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 12803verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 13073verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 13332verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 13970verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 14311verifier.VerifyIL("C.<Main>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 14672verifier.VerifyIL("C.<Test1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 15023verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 15371verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 15805verifier.VerifyIL("C.<Test>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 17615verifier.VerifyIL("C.Main", 17812verifier.VerifyIL("C.Main", 18034verifier.VerifyIL("C.Test1", 18237verifier.VerifyIL("C.Test<T>(T)", 18438verifier.VerifyIL("C.Test<T>(T)", 18722verifier.VerifyIL("C.Test<T>(T)", 19104verifier.VerifyIL("C.Main", 19275verifier.VerifyIL("C.Main", 19600verifier.VerifyIL("C.Main", 19787verifier.VerifyIL("C.Test<TEnumerable, TEnumerator>(TEnumerable)", 19823verifier.VerifyIL("C.Test<TEnumerable, TEnumerator>(TEnumerable)", 20408verifier.VerifyIL("Helper1<T>.Test1(T)", 20455verifier.VerifyIL("Helper1<T>.Test1(T)", 20500verifier.VerifyIL("Helper1<T>.Test1(T)", 20545verifier.VerifyIL("Helper1<T>.Test1(T)", 21838verifier.VerifyIL("Helper.Test1<T>()",
Semantics\CollectionExpressionTests.cs (271)
4640verifier.VerifyIL("Program.GetChars", """ 5173verifier.VerifyIL("Program.Create1", """ 5181verifier.VerifyIL("Program.Create2", """ 5200verifier.VerifyIL("Program.Create3", """ 5212verifier.VerifyIL("Program.Create4", """ 5263verifier.VerifyIL("Program.Create1", """ 5271verifier.VerifyIL("Program.Create2", """ 5284verifier.VerifyIL("Program.Create3", """ 5410verifier.VerifyIL("Program.Create1", """ 5422verifier.VerifyIL("Program.Create2", """ 5446verifier.VerifyIL("Program.Create3", """ 5459verifier.VerifyIL("Program.Create4", """ 5482verifier.VerifyIL("Program.Create1", """ 5498verifier.VerifyIL("Program.Create2", """ 5523verifier.VerifyIL("Program.Create3", """ 5541verifier.VerifyIL("Program.Create4", """ 6208verifier.VerifyIL("Program.Main", """ 6300verifier.VerifyIL("Program.Main", """ 6433verifier.VerifyIL("Program.Create1", """ 6441verifier.VerifyIL("Program.Create2", """ 6458verifier.VerifyIL("Program.Create3", """ 6476verifier.VerifyIL("Program.Create4", """ 6825verifier.VerifyIL("Program.M1", """ 6845verifier.VerifyIL("Program.M2", """ 7287verifier.VerifyIL("Program.Main", """ 8987verifier.VerifyIL("Program.CreateEmpty<T, U>", """ 8995verifier.VerifyIL("Program.Create<T, U>", """ 9054verifier.VerifyIL("Program.Create1<T, U>", """ 9063verifier.VerifyIL("Program.Create2<T, U>", """ 9072verifier.VerifyIL("Program.Create3<T, U>", """ 9091verifier.VerifyIL("Program.Create4<T, U>", """ 9480verifier.VerifyIL("Program.F", expectedIL); 9517verifier.VerifyIL("Program.Append", 9632verifier.VerifyIL("Program.Append", 9788verifier.VerifyIL("Program.F", 9882verifier.VerifyIL("Program.F1", 9930verifier.VerifyIL("Program.F2", 9979verifier.VerifyIL("Program.F3<T, U>", 10142verifier.VerifyIL("Program.F", 10207verifier.VerifyIL("Program.F", 10275verifier.VerifyIL("Program.F", 10370verifier.VerifyIL("Program.F", 10384verifier.VerifyIL("Program.F", 11266verifier.VerifyIL("Program.Main", """ 11319verifier.VerifyIL("Program.Main", """ 11396verifier.VerifyIL("Program.Main", """ 11535verifier.VerifyIL("Program.Convert<T>", """ 11631verifier.VerifyIL("Program.F", """ 11969verifier.VerifyIL("Program.F0", """ 11977verifier.VerifyIL("Program.F1", """ 11995verifier.VerifyIL("Program.F2", """ 12275verifier.VerifyIL("Program.EmptyArray<T>", expectedIL); 12276verifier.VerifyIL("Program.EmptyIEnumerable<T>", expectedIL); 12277verifier.VerifyIL("Program.EmptyIReadOnlyCollection<T>", expectedIL); 12278verifier.VerifyIL("Program.EmptyIReadOnlyList<T>", expectedIL); 12289verifier.VerifyIL("Program.EmptyICollection<T>", expectedIL); 12290verifier.VerifyIL("Program.EmptyIList<T>", expectedIL); 12345verifier.VerifyIL("Program.EmptyArray", expectedIL); 12346verifier.VerifyIL("Program.EmptyIEnumerable", expectedIL); 12347verifier.VerifyIL("Program.EmptyIReadOnlyCollection", expectedIL); 12348verifier.VerifyIL("Program.EmptyIReadOnlyList", expectedIL); 12359verifier.VerifyIL("Program.EmptyICollection", expectedIL); 12360verifier.VerifyIL("Program.EmptyIList", expectedIL); 12383verifier.VerifyIL("Program.EmptyArray", 12393verifier.VerifyIL("Program.EmptyNestedArray", 12423verifier.VerifyIL("Program.Main", 12444verifier.VerifyIL("Program.Main", 12618verifier.VerifyIL("<>z__ReadOnlyArray<T>..ctor(T[])", """ 12630verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IEnumerable.GetEnumerator()", """ 12640verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.IEnumerable<T>.GetEnumerator()", """ 12650verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.ICollection.get_Count()", """ 12661verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.ICollection.get_IsSynchronized()", """ 12669verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.ICollection.get_SyncRoot()", """ 12677verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.ICollection.CopyTo(System.Array, int)", """ 12689verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.get_Item(int)", """ 12701verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.set_Item(int, object)", expectedNotSupportedIL); 12702verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.get_IsFixedSize()", """ 12710verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.get_IsReadOnly()", """ 12718verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.Add(object)", expectedNotSupportedIL); 12719verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.Clear()", expectedNotSupportedIL); 12720verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.Contains(object)", """ 12731verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.IndexOf(object)", """ 12742verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.Insert(int, object)", expectedNotSupportedIL); 12743verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.Remove(object)", expectedNotSupportedIL); 12744verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.IList.RemoveAt(int)", expectedNotSupportedIL); 12745verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.IReadOnlyCollection<T>.get_Count()", """ 12756verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.IReadOnlyList<T>.get_Item(int)", """ 12767verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.ICollection<T>.get_IsReadOnly()", """ 12775verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.ICollection<T>.get_Count()", """ 12786verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.ICollection<T>.Add(T)", expectedNotSupportedIL); 12787verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.ICollection<T>.Clear()", expectedNotSupportedIL); 12788verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.ICollection<T>.Contains(T)", """ 12799verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.ICollection<T>.CopyTo(T[], int)", """ 12811verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.ICollection<T>.Remove(T)", expectedNotSupportedIL); 12812verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.IList<T>.get_Item(int)", """ 12823verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.IList<T>.set_Item(int, T)", expectedNotSupportedIL); 12824verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.IList<T>.IndexOf(T)", """ 12835verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.IList<T>.Insert(int, T)", expectedNotSupportedIL); 12836verifier.VerifyIL("<>z__ReadOnlyArray<T>.System.Collections.Generic.IList<T>.RemoveAt(int)", expectedNotSupportedIL); 12992verifier.VerifyIL("<>z__ReadOnlyList<T>..ctor(System.Collections.Generic.List<T>)", """ 13004verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IEnumerable.GetEnumerator()", """ 13014verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.IEnumerable<T>.GetEnumerator()", """ 13024verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.ICollection.get_Count()", """ 13034verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.ICollection.get_IsSynchronized()", """ 13042verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.ICollection.get_SyncRoot()", """ 13050verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.ICollection.CopyTo(System.Array, int)", """ 13062verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.get_Item(int)", """ 13074verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.set_Item(int, object)", expectedNotSupportedIL); 13075verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.get_IsFixedSize()", """ 13083verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.get_IsReadOnly()", """ 13091verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.Add(object)", expectedNotSupportedIL); 13092verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.Clear()", expectedNotSupportedIL); 13093verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.Contains(object)", """ 13104verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.IndexOf(object)", """ 13115verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.Insert(int, object)", expectedNotSupportedIL); 13116verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.Remove(object)", expectedNotSupportedIL); 13117verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.IList.RemoveAt(int)", expectedNotSupportedIL); 13118verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.IReadOnlyCollection<T>.get_Count()", """ 13128verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.IReadOnlyList<T>.get_Item(int)", """ 13139verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.ICollection<T>.get_IsReadOnly()", """ 13147verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.ICollection<T>.get_Count()", """ 13157verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.ICollection<T>.Add(T)", expectedNotSupportedIL); 13158verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.ICollection<T>.Clear()", expectedNotSupportedIL); 13159verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.ICollection<T>.Contains(T)", """ 13170verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.ICollection<T>.CopyTo(T[], int)", """ 13182verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.ICollection<T>.Remove(T)", expectedNotSupportedIL); 13183verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.IList<T>.get_Item(int)", """ 13194verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.IList<T>.set_Item(int, T)", expectedNotSupportedIL); 13195verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.IList<T>.IndexOf(T)", """ 13206verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.IList<T>.Insert(int, T)", expectedNotSupportedIL); 13207verifier.VerifyIL("<>z__ReadOnlyList<T>.System.Collections.Generic.IList<T>.RemoveAt(int)", expectedNotSupportedIL); 14221verifier.VerifyIL("Program.M", """ 14296verifier.VerifyIL("Program.M", """ 14432verifier.VerifyIL("Program.M", """ 14546verifier.VerifyIL("Program.M", """ 14604verifier.VerifyIL("Program.M", """ 14708verifier.VerifyIL("Program.M", """ 14897verifier.VerifyIL("S..ctor(int, int, int)", 14948verifier.VerifyIL("C..ctor(int, int, int)", 15008verifier.VerifyIL("B..ctor(int, int, int)", 15216verifier.VerifyIL("Program.F0", 15229verifier.VerifyIL("Program.F1", 15240verifier.VerifyIL("Program.F2", 15293verifier.VerifyIL("Program.F2", 15409verifier.VerifyIL("Program.F", 15443verifier.VerifyIL("Program.F", 15523verifier.VerifyIL("Program.F", 15705verifier.VerifyIL("Program.F", 20027verifier.VerifyIL("Program.<CreateCollection>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", 20389verifier.VerifyIL("Program.F<T>(T, T, T)", """ 20440verifier.VerifyIL("Program.F<T>(T, T, T)", """ 20490verifier.VerifyIL("Program.F<T>(T[])", """ 20551verifier.VerifyIL("Program.F<T>(T[])", """ 20613verifier.VerifyIL("Program.F<T>", """ 20696verifier.VerifyIL("Program.F<T>(T[])", """ 20767verifier.VerifyIL("Program.F<T>(T[])", """ 20823verifier.VerifyIL("Program.F<T>(T, T, T)", """ 20868verifier.VerifyIL("Program.F<T, U>(T, T, T)", """ 20972verifier.VerifyIL("Program.F1", """ 20986verifier.VerifyIL("Program.F2", """ 21120verifier.VerifyIL("Program.F1", """ 21135verifier.VerifyIL("Program.F2", """ 21224verifier.VerifyIL("Program.<F>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """ 21358verifier.VerifyIL("Program.F1", 21423verifier.VerifyIL("Program.F2", 21512verifier.VerifyIL("Program.F1", 21522verifier.VerifyIL("Program.F2", 21609verifier.VerifyIL("Program.F1", 21723verifier.VerifyIL("Program.F1", 21765verifier.VerifyIL("Program.F2", 21831verifier.VerifyIL("Program.F1", 21873verifier.VerifyIL("Program.F2", 21939verifier.VerifyIL("Program.F1", 21967verifier.VerifyIL("Program.F2", 22401verifier.VerifyIL("Program.F1<T>", """ 22412verifier.VerifyIL("Program.F2<T>", """ 22474verifier.VerifyIL("Program.F1<T>", """ 22492verifier.VerifyIL("Program.F2<T>", """ 22602verifier.VerifyIL("Program.Empty<T>", """ 22616verifier.VerifyIL("Program.ThreeItems<T>", """ 22648verifier.VerifyIL("Program.ThreeItems<T>", """ 22754verifier.VerifyIL("Program.M", """ 22783verifier.VerifyIL("Program.M", """ 22840verifier.VerifyIL("Program.M", """ 22883verifier.VerifyIL("Program.M", """ 22953verifier.VerifyIL("Program.M", """ 22996verifier.VerifyIL("Program.M", """ 23064verifier.VerifyIL("Program.M", """ 23093verifier.VerifyIL("Program.M", """ 23150verifier.VerifyIL("Program.Main", """ 23194verifier.VerifyIL("Program.Main", """ 23274verifier.VerifyIL("Program.Main", """ 23341verifier.VerifyIL("Program.Main", """ 23452verifier.VerifyIL("Program.Main", """ 23554verifier.VerifyIL("Program.Main", """ 23624verifier.VerifyIL("Program.Main", """ 23689verifier.VerifyIL("Program.Main", """ 23791verifier.VerifyIL("R<T>..ctor(T, T, T)", """ 23822verifier.VerifyIL("R<T>..ctor(int, T[])", """ 23866verifier.VerifyIL("B<T>..ctor(T, T, T)", """ 23975verifier.VerifyIL("Program.F1", """ 23992verifier.VerifyIL("Program.F2", """ 24037verifier.VerifyIL("Program.Main", """ 24068verifier.VerifyIL("Program.Main", """ 24158verifier.VerifyIL("Program.Main", """ 24233verifier.VerifyIL("Program..cctor", """ 24288verifier.VerifyIL("C..ctor", """ 24350verifier.VerifyIL("S..ctor", """ 24448verifier.VerifyIL("Program.F", """ 24520verifier.VerifyIL("Program.M<T>", """ 24608verifier.VerifyIL("Program.M<T>", """ 24663verifier.VerifyIL("Program.<>c__1<T>.<F>b__1_0(bool, T, T, T)", """ 24747verifier.VerifyIL("Program.<>c__DisplayClass1_0<T>.<M>g__A2|1()", """ 24802verifier.VerifyIL("C<T>.<>c.<.ctor>b__1_0(T, T)", """ 24857verifier.VerifyIL("Program.Main", """ 24924verifier.VerifyIL("Program.Main", """ 25062verifier.VerifyIL("<top-level-statements-entry-point>", """ 25209verifier.VerifyIL("Program.Main", """ 25288verifier.VerifyIL("Program.Main", """ 25371verifier.VerifyIL("Program.Main", """ 25458verifier.VerifyIL("Program.F1", expectedIL); 25459verifier.VerifyIL("Program.F2", expectedIL); 25504verifier.VerifyIL("Program.F1", expectedIL); 25505verifier.VerifyIL("Program.F2", expectedIL); 25559verifier.VerifyIL("Program.NotReadOnlySpan", """ 25592verifier.VerifyIL("Program.NotConstants", """ 25686verifier.VerifyIL("Program.F1", """ 25699verifier.VerifyIL("Program.F2", """ 25722verifier.VerifyIL("Program.F2", """ 25733verifier.VerifyIL("Program.F3", """ 25772verifier.VerifyIL("Program.Main", """ 25809verifier.VerifyIL("Program.Main", """ 25888verifier.VerifyIL("Program.Main", """ 29379verifier.VerifyIL("C.M", 30086verifier.VerifyIL("Program.Main", """ 30157verifier.VerifyIL("Program.Main", """ 30215verifier.VerifyIL("Program.Main", """ 30291verifier.VerifyIL("Program.Main", """ 30324verifier.VerifyIL("Program.Main", """ 30363verifier.VerifyIL("Program.Main", """ 30567verifier.VerifyIL("Program.F1", """ 30595verifier.VerifyIL("Program.F2", """ 30657verifier.VerifyIL("Program.F3", """ 30692verifier.VerifyIL("Program.Main", """ 30835verifier.VerifyIL("Program.M", """ 30861verifier.VerifyIL("Program.M", """ 33531verifier.VerifyIL("C.Main", """ 33577verifier.VerifyIL("C.Main", """ 33641verifier.VerifyIL("C.Main", """ 33685verifier.VerifyIL("C.Main", """ 33781verifier.VerifyIL("C.Main", """ 33888verifier.VerifyIL("C.M", """ 33972verifier.VerifyIL("C.M", """ 34055verifier.VerifyIL("C.M", """ 34153verifier.VerifyIL("C.Main", """ 34204verifier.VerifyIL("C.Main", """ 34311verifier.VerifyIL("C.M", """ 34472verifier.VerifyIL("C.M", """ 34571verifier.VerifyIL("C.M", """ 34651verifier.VerifyIL("C.M", """ 34714verifier.VerifyIL("C.Main", """ 34755verifier.VerifyIL("C.Main", """ 34802verifier.VerifyIL("C.Main", """ 34874verifier.VerifyIL("C.M", """ 34994verifier.VerifyIL("C.M", """ 35060verifier.VerifyIL("C.M", """ 35125verifier.VerifyIL("C.M", """ 35191verifier.VerifyIL("C.M", """ 35222verifier.VerifyIL("C.M", """ 35256verifier.VerifyIL("C.Main", """ 35350verifier.VerifyIL("C.Main", """
Semantics\InlineArrayTests.cs (165)
2465verifier.VerifyIL("Program.M1", 2478verifier.VerifyIL("Program.M2", 2556verifier.VerifyIL("Program.M2", 2593verifier.VerifyIL("C.M2", 2706verifier.VerifyIL("Program.M2", 2744verifier.VerifyIL("C.M2", 2785verifier.VerifyIL("Program.M2", 2827verifier.VerifyIL("C.M2", 3137verifier.VerifyIL("Program.M1", 3151verifier.VerifyIL("Program.M2", 3200verifier.VerifyIL("Program.M1", 3214verifier.VerifyIL("Program.M2", 3263verifier.VerifyIL("Program.M1", 3282verifier.VerifyIL("Program.M2", 3339verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3432verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3563verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3660verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3795verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 3890verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4020verifier.VerifyIL("Program.<M2>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4145verifier.VerifyIL("Program.<M2>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4274verifier.VerifyIL("Program.<M2>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4405verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4531verifier.VerifyIL("Program.<M2>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 4684verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5077verifier.VerifyIL("Program.<M1>d__1<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5174verifier.VerifyIL("Program.<M2>d__2<T>.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5312verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5401verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5530verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5658verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5746verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5874verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 5991verifier.VerifyIL("Program.M1", 6004verifier.VerifyIL("Program.M2", 6076verifier.VerifyIL("Program.M2", 6111verifier.VerifyIL("Program.M3", 6170verifier.VerifyIL("Program.M2", 6250verifier.VerifyIL("C.M2", 6365verifier.VerifyIL("Program.M2", 6404verifier.VerifyIL("C.M2", 6447verifier.VerifyIL("Program.M2", 6490verifier.VerifyIL("C.M2", 6816verifier.VerifyIL("C.M2", 6860verifier.VerifyIL("Program.M2", 6910verifier.VerifyIL("Program.M2", 6960verifier.VerifyIL("Program.M2", 7016verifier.VerifyIL("Program.M2", 7066verifier.VerifyIL("Program.M2", 7121verifier.VerifyIL("Program.M2", 7190verifier.VerifyIL("Program.M2", 7260verifier.VerifyIL("Program.M2", 7339verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7475verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7620verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7788verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 7950verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 8170verifier.VerifyIL("Program.M2", 8316verifier.VerifyIL("Program.M2", 8375verifier.VerifyIL("Program.M2", 8428verifier.VerifyIL("Program.M2", 8483verifier.VerifyIL("Program.M2", 8546verifier.VerifyIL("Program.M2", 8600verifier.VerifyIL("Program.M2", 8810verifier.VerifyIL("Program.M2", 8888verifier.VerifyIL("Program.M2", 9056verifier.VerifyIL("Program.M2", 9245verifier.VerifyIL("Program.M2", 9292verifier.VerifyIL("Program.M2", 9343verifier.VerifyIL("Program.M2", 9433verifier.VerifyIL("Program.M2", 9478verifier.VerifyIL("Program.M2", 9596verifier.VerifyIL("C.M2", 9644verifier.VerifyIL("C.M2", 9696verifier.VerifyIL("C.M2", 9828verifier.VerifyIL("C.M2", 9913verifier.VerifyIL("C.M2", 10016verifier.VerifyIL("Program.M2", 10063verifier.VerifyIL("Program.M2", 10348verifier.VerifyIL("C.M2", 10393verifier.VerifyIL("C.M2", 10531verifier.VerifyIL("Program.M2", 10605verifier.VerifyIL("Program.M2", 10657verifier.VerifyIL("Program.M2", 10749verifier.VerifyIL("Program.M2", 10795verifier.VerifyIL("Program.M2", 11133verifier.VerifyIL("Program.M2", 11179verifier.VerifyIL("Program.M2", 11225verifier.VerifyIL("Program.M2", 11275verifier.VerifyIL("Program.M2", 11349verifier.VerifyIL("Program.M2", 11475verifier.VerifyIL("Program.M2", 12003verifier.VerifyIL("C..ctor", 12200verifier.VerifyIL("C..ctor", 12263verifier.VerifyIL("C..ctor", 12330verifier.VerifyIL("C..ctor", 12379verifier.VerifyIL("C..ctor", 12793verifier.VerifyIL("Buffer10..ctor", 12917verifier.VerifyIL("Buffer2..ctor", 12971verifier.VerifyIL("Buffer2..ctor", 13030verifier.VerifyIL("Buffer2..ctor", 13087verifier.VerifyIL("Buffer1..ctor", 13099verifier.VerifyIL("Buffer1Ref..ctor", 13157verifier.VerifyIL("Buffer1..ctor", 13217verifier.VerifyIL("Buffer1..ctor", 13229verifier.VerifyIL("Buffer1Ref..ctor", 13276verifier.VerifyIL("Buffer2..ctor", 13290verifier.VerifyIL("Buffer2Ref..ctor", 13345verifier.VerifyIL("Buffer2..ctor", 13385verifier.VerifyIL("Buffer2..ctor", 13435verifier.VerifyIL("Buffer2..ctor", 13452verifier.VerifyIL("Buffer2Ref..ctor", 13527verifier.VerifyIL("Buffer1..ctor", 13588verifier.VerifyIL("Buffer1..ctor", 13656verifier.VerifyIL("Buffer1..ctor", 13697verifier.VerifyIL("Buffer1..ctor", 13751verifier.VerifyIL("C..ctor", 13809verifier.VerifyIL("C..ctor", 13867verifier.VerifyIL("C..ctor", 13920verifier.VerifyIL("Buffer2..ctor", 13971verifier.VerifyIL("Buffer2..ctor", 14022verifier.VerifyIL("Buffer2..ctor", 15120verifier.VerifyIL("Program.M2", 15166verifier.VerifyIL("Program.M1", 15179verifier.VerifyIL("Program.M2", 15250verifier.VerifyIL("C.M1", 15263verifier.VerifyIL("C.M2", 15387verifier.VerifyIL("Program.M1", 15400verifier.VerifyIL("Program.M2", 15442verifier.VerifyIL("C.M1", 15455verifier.VerifyIL("C.M2", 15503verifier.VerifyIL("Program.M1", 15516verifier.VerifyIL("Program.M2", 15566verifier.VerifyIL("C.M1", 15579verifier.VerifyIL("C.M2", 16185verifier.VerifyIL("Program.M2", 16233verifier.VerifyIL("Program.M2", 16320verifier.VerifyIL("Program.M2", 16435verifier.VerifyIL("C.M2", 16673verifier.VerifyIL("Program.<M1>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 16766verifier.VerifyIL("Program.<M2>d__2.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 17547verifier.VerifyIL("Program.M1", 17560verifier.VerifyIL("Program.M2", 17665verifier.VerifyIL("Program.M1", 17678verifier.VerifyIL("Program.M2", 17743verifier.VerifyIL("Program.M2", 18543verifier.VerifyIL("Program.Test", 18641verifier.VerifyIL("Program.Test", 18714verifier.VerifyIL("Program.Test", 18868verifier.VerifyIL("Program.Test", 19003verifier.VerifyIL("Program.Test", 19202verifier.VerifyIL("Program.Test", 19984verifier.VerifyIL("Program.<Test>d__3.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 20171verifier.VerifyIL("Program.<Test>d__3.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 20444verifier.VerifyIL("Program.<Test>d__3.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 20630verifier.VerifyIL("Program.<Test>d__3.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 20895verifier.VerifyIL("Program.<Test>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", 21542verifier.VerifyIL("Program.<Test>d__3.System.Collections.IEnumerator.MoveNext", 21659verifier.VerifyIL("Program.<Test>d__3.System.Collections.IEnumerator.MoveNext", 21861verifier.VerifyIL("Program.<Test>d__3.System.Collections.IEnumerator.MoveNext", 21978verifier.VerifyIL("Program.<Test>d__3.System.Collections.IEnumerator.MoveNext", 22172verifier.VerifyIL("Program.<Test>d__1.System.Collections.IEnumerator.MoveNext", 23225verifier.VerifyIL("Program.Test", 23345verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", """
Semantics\LockTests.cs (10)
137verifier.VerifyIL("C.Main", """ 1055verifier.VerifyIL("Program.Main", """ 1408verifier.VerifyIL("Program.Main", """ 1476verifier.VerifyIL("Program.Main", """ 3699verifier.VerifyIL("Program.<M>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", """ 3890verifier.VerifyIL("Program.<M>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", """ 4222verifier.VerifyIL("Program.M1", """ 4332verifier.VerifyIL("Program.M1", """ 4367verifier.VerifyIL("Program.M3", """ 4399verifier.VerifyIL("Program.M4", """
Semantics\OutVarTests.cs (5)
20069CompileAndVerify(text, references: new[] { CSharpRef }).VerifyIL("Cls.Main()", 20123CompileAndVerify(text, references: new[] { CSharpRef }).VerifyIL("Cls.Main()", 20388.VerifyIL("B.Main()", 20548.VerifyIL("B.Main()", 33002comp.VerifyIL("C.Main()", @"
Semantics\ParamsCollectionTests.cs (20)
390verifier.VerifyIL("Program.Main", """ 416verifier.VerifyIL("Program.Main", """ 3034verifier.VerifyIL("<top-level-statements-entry-point>", @" 3199verifier.VerifyIL("Program.Main", @" 3335verifier.VerifyIL("Program.Test1", @" 3363verifier.VerifyIL("Program.Test2", @" 3393verifier.VerifyIL("Program.Test3", @" 3569verifier.VerifyIL("Program.Test1", @" 3696verifier.VerifyIL("Program.Test2", @" 3725verifier.VerifyIL("Program.Test3", @" 3871verifier.VerifyIL("Program.Test1", @" 3926verifier.VerifyIL("Program.Test2", @" 3941verifier.VerifyIL("Program.Test3", @" 4240verifier.VerifyIL("Program.Test1", expectedIL); 4244verifier.VerifyIL("Program.Test1", expectedIL); 4250verifier.VerifyIL("Program.Test1", @" 16811verifier.VerifyIL("Program.Test1", 16886verifier.VerifyIL("Program.Test2", 16976verifier.VerifyIL("Program.Test1", 17015verifier.VerifyIL("Program.Test2",
Semantics\PatternMatchingTests.cs (38)
3719verifier.VerifyIL("TestClass.Test", @"{ 3741verifier.VerifyIL("TestClass.Test", @"{ 3778verifier.VerifyIL("TestClass.Test", @"{ 3800verifier.VerifyIL("TestClass.Test", @"{ 7397.VerifyIL("C.Test", @" 7448.VerifyIL("C.Test", @" 7508.VerifyIL("C.Main", 7590.VerifyIL("C.Test(ref S)", 7682.VerifyIL("C.Test", @" 7828.VerifyIL("C.Test", @" 7999.VerifyIL("C.GetResult", @" 8132.VerifyIL("C.GetResult", """ 8269.VerifyIL("C.Test", @" 8357.VerifyIL("C.Test", """ 8451.VerifyIL("C.Test", @" 8619verifier.VerifyIL("C.M", 8661verifier.VerifyIL("C.M", 8890.VerifyIL("C.Test", @" 8988.VerifyIL("C.Test", @" 9041.VerifyIL("C.Test", @" 9102.VerifyIL("C.Main", 9186.VerifyIL("C.Test(ref S)", 9280.VerifyIL("C.Test", @" 9426.VerifyIL("C.Test", @" 9598.VerifyIL("C.GetResult", @" 9731.VerifyIL("C.GetResult", @" 9869.VerifyIL("C.Test", @" 9955.VerifyIL("C.Test", """ 10051.VerifyIL("C.Test", @" 10221verifier.VerifyIL("C.M", 10262verifier.VerifyIL("C.M", 10493.VerifyIL("C.Test", @" 11010verifier.VerifyIL("Program.F1", 11077verifier.VerifyIL("Program.F2", 11188verifier.VerifyIL("Program.F1", 11232verifier.VerifyIL("Program.F2", 11594verifier.VerifyIL("C.<ExceptionFilterBroken>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 11944verifier.VerifyIL("C.<ExceptionFilterBroken>d__1.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @"
Semantics\PatternMatchingTests_ListPatterns.cs (32)
75() => verifier.VerifyIL("X.Test(System.Span<char>)", @" 126() => verifier.VerifyIL("X.Test(char[])", @" 179() => verifier.VerifyIL("X.Test(string)", @" 285() => verifier.VerifyIL("X.Test1", @" 316() => verifier.VerifyIL("X.Test2", @" 347() => verifier.VerifyIL("X.Test3", @" 381() => verifier.VerifyIL("X.Test4", @" 542() => verifier.VerifyIL("X.Test1", @" 563() => verifier.VerifyIL("X.Test2", @" 585() => verifier.VerifyIL("X.Test3", @" 607() => verifier.VerifyIL("X.Test4", @" 633() => verifier.VerifyIL("X.Test5", @" 729() => verifier.VerifyIL("X.Test1", @" 753() => verifier.VerifyIL("X.Test2", @" 778() => verifier.VerifyIL("X.Test3", @" 803() => verifier.VerifyIL("X.Test4", @" 832() => verifier.VerifyIL("X.Test5", @" 2337verifier.VerifyIL("X.Main", @" 2455() => verifier.VerifyIL("X.Test1", @" 2464() => verifier.VerifyIL("X.Test2", @" 2956verifier.VerifyIL("S.Test", @" 5540verifier.VerifyIL("C.M", @" 5628verifier.VerifyIL("C.M", @" 7440verifier.VerifyIL("C.Test1", expectedIl); 7441verifier.VerifyIL("C.Test2", expectedIl); 7645verifier.VerifyIL("C.M", @" 7742verifier.VerifyIL("C.M", @" 7896verifier.VerifyIL("C.M", @" 8060verifier.VerifyIL("ConsList.Print", @" 8131verifier.VerifyIL("ConsList.Print", @" 8350verifier.VerifyIL("C.Main", @" 8462verifier.VerifyIL("C.M", @"
Semantics\PatternMatchingTests2.cs (2)
3187verifier.VerifyIL("C.M", @" 3339verifier.VerifyIL("C.M", @"
Semantics\PatternMatchingTests3.cs (27)
2370compVerifier.VerifyIL("C.M", 2428compVerifier.VerifyIL("C.M", 3144compVerifier.VerifyIL("C.Grade", @" 3769compVerifier.VerifyIL("Program.M1", @" 3823compVerifier.VerifyIL("Program.M2", @" 4621compVerifier.VerifyIL("C.LifeStageAtAge", @" 4787compVerifier.VerifyIL("C.LifeStageAtAge", @" 5066compVerifier.VerifyIL("C.Main", code); 5067compVerifier.VerifyIL("C.Main2", code); 5068compVerifier.VerifyIL("C.Main3", code); 5326compVerifier.VerifyIL("C.L", type switch 6218verifier.VerifyIL("C.M", 6261verifier.VerifyIL("C.M", 6303verifier.VerifyIL("C.M", 6342verifier.VerifyIL("C.M", 6388verifier.VerifyIL("C.M", 6433verifier.VerifyIL("C.M", 6505verifier.VerifyIL("C.M1", expectedIL); 6506verifier.VerifyIL("C.M2", expectedIL); 6533verifier.VerifyIL("C.M", 6584verifier.VerifyIL("C.M", 6640verifier.VerifyIL("C.M", 6785verifier.VerifyIL("C.M1", expectedIL); 6786verifier.VerifyIL("C.M2", expectedIL); 6838verifier.VerifyIL("C.M1", expectedIL); 6839verifier.VerifyIL("C.M2", expectedIL); 7643compVerifier.VerifyIL("C.M",
Semantics\PatternMatchingTests4.cs (12)
2089CompileAndVerify(compilation, expectedOutput: "InvalidOperationException").VerifyIL("C.Main", @" 2168", sequencePoints: "C.Main", source: source).VerifyIL("<PrivateImplementationDetails>.ThrowInvalidOperationException", @" 2230CompileAndVerify(compilation, expectedOutput: "SwitchExpressionException()").VerifyIL("C.Main", @" 2330", sequencePoints: "C.Main", source: source).VerifyIL("<PrivateImplementationDetails>.ThrowSwitchExpressionExceptionParameterless", @" 2430CompileAndVerify(compilation, expectedOutput: "SwitchExpressionException((1, 2))").VerifyIL("C.Main", @" 2524", sequencePoints: "C.Main", source: source).VerifyIL("<PrivateImplementationDetails>.ThrowSwitchExpressionException", @" 4338verifier.VerifyIL("C.M", """ 4420verifier.VerifyIL("C.M", """ 4502verifier.VerifyIL("C.M", """ 4584verifier.VerifyIL("C.M", """ 4666verifier.VerifyIL("C.M", """ 4752verifier.VerifyIL("C.M", """
Semantics\PatternMatchingTests5.cs (8)
84verifier.VerifyIL("C.Test1", @" 110verifier.VerifyIL("C.Test2", @" 142verifier.VerifyIL("C.Test4", @" 241verifier.VerifyIL("C.Test", @" 1346verifier.VerifyIL("Program.Main", @" 3179compilation.VerifyIL("C.Test", """ 3228compilation.VerifyIL("C.Test", """ 3295compilation.VerifyIL("C.Test", """
Semantics\PrimaryConstructorTests.cs (11)
439verifier.VerifyIL("C..ctor(int, string)", 451verifier.VerifyIL("C..ctor(int, string)", 629verifier.VerifyIL("C..ctor()", 641verifier.VerifyIL("C..ctor()", 1051verifier.VerifyIL("C..ctor(int, int)", @" 1947verifier.VerifyIL("C..ctor(int, int)", @" 12246verifier.VerifyIL("C1..ctor(int, int)", 12319verifier.VerifyIL("C1..ctor(int, int)", 12400verifier.VerifyIL("C1..ctor(int, int)", 14096verifier.VerifyIL("Program.M0", @"{ 14416verifier.VerifyIL("C1.M1",
Semantics\RecordTests.cs (131)
881verifier.VerifyIL("C..ctor(int, int)", @" 1556verifier.VerifyIL("C..ctor()", @" 1607verifier.VerifyIL("C..ctor()", @" 1687verifier.VerifyIL("C..ctor()", @" 2375verifier.VerifyIL("C.M<T>(T)", @" 2429verifier.VerifyIL("C.M<T>(T)", @" 4936v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 4944v.VerifyIL("C1." + WellKnownMemberNames.ObjectToString, @" 5011v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5019v.VerifyIL("C1." + WellKnownMemberNames.ObjectToString, @" 5088v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5098v.VerifyIL("C1." + WellKnownMemberNames.ObjectToString, @" 5473v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5512v.VerifyIL("C1<T>." + WellKnownMemberNames.PrintMembersMethodName, @" 5551v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5592v.VerifyIL("C1<T>." + WellKnownMemberNames.PrintMembersMethodName, @" 5674v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5728v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5792v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 10598verifier.VerifyIL("C..ctor(object, object)", 10606verifier.VerifyIL("C..ctor(C)", @" 10616verifier.VerifyIL("Program.Main", 11355verifier.VerifyIL("A..ctor(object, object)", 11363verifier.VerifyIL("A..ctor(A)", 11371verifier.VerifyIL("A.Deconstruct", 11385verifier.VerifyIL("A.Equals(A)", 11405verifier.VerifyIL("A.GetHashCode()", 11415verifier.VerifyIL("B..ctor(object, object)", 11431verifier.VerifyIL("B..ctor(B)", 11448verifier.VerifyIL("B.Deconstruct", 11462verifier.VerifyIL("B.Equals(B)", 11492verifier.VerifyIL("B.GetHashCode()", 11562verifier.VerifyIL("A..ctor()", 11570verifier.VerifyIL("A..ctor(A)", 11578verifier.VerifyIL("A.Equals(A)", 11598verifier.VerifyIL("A.GetHashCode()", 11608verifier.VerifyIL("B..ctor()", 11616verifier.VerifyIL("B..ctor(B)", 11625verifier.VerifyIL("B.Equals(B)", 11639verifier.VerifyIL("B.GetHashCode()", 11647verifier.VerifyIL("C..ctor(object, object)", 11661verifier.VerifyIL("C..ctor(C)", 11678verifier.VerifyIL("C.Deconstruct", 11692verifier.VerifyIL("C.Equals(C)", 11722verifier.VerifyIL("C.GetHashCode()", 11807verifier.VerifyIL("A..ctor(object, object)", 11815verifier.VerifyIL("A..ctor(A)", 11827verifier.VerifyIL("A.Deconstruct", 11841verifier.VerifyIL("A.Equals(A)", 11868verifier.VerifyIL("A.GetHashCode()", 11885verifier.VerifyIL("B..ctor(object, object)", 11895verifier.VerifyIL("B..ctor(B)", 11904verifier.VerifyIL("B.Deconstruct", 11918verifier.VerifyIL("B.Equals(B)", 11932verifier.VerifyIL("B.GetHashCode()", 11940verifier.VerifyIL("C..ctor(object, object)", 11956verifier.VerifyIL("C..ctor(C)", 11973verifier.VerifyIL("C.Deconstruct", 11987verifier.VerifyIL("C.Equals(C)", 12017verifier.VerifyIL("C.GetHashCode()", 12598verifierA.VerifyIL("B..ctor(B)", @" 12638verifierB.VerifyIL("C..ctor(C)", @" 12656verifierA.VerifyIL($"B.{WellKnownMemberNames.CloneMethodName}()", @" 12690verifier.VerifyIL("C..ctor(C)", @" 12746verifier.VerifyIL("C..ctor(C)", @" 12783verifier.VerifyIL("C..ctor(C)", @" 12833verifier.VerifyIL("C..ctor(C)", @" 12845verifier.VerifyIL("D..ctor(D)", @" 12909verifier.VerifyIL("C..ctor(C)", @" 12952verifier.VerifyIL("C..ctor(C)", @" 13006verifier.VerifyIL("C..ctor(int)", @" 13061verifier.VerifyIL("C..ctor(C)", @" 13183verifier.VerifyIL("D..ctor(D)", @" 13503verifier.VerifyIL("C..ctor(C)", @" 14103verifier.VerifyIL("B.Deconstruct", @" 14198verifier.VerifyIL("B.Deconstruct", @" 14213verifier.VerifyIL("C.Deconstruct", @" 19049verifier.VerifyIL("B.EqualityContract.get", @" 19122verifier.VerifyIL("B.EqualityContract.get", @" 20352verifier.VerifyIL("bool A.op_Equality(A, A)", @" 20372verifier.VerifyIL("bool A.op_Inequality(A, A)", @" 20471verifier.VerifyIL("bool A.op_Equality(A, A)", @" 20491verifier.VerifyIL("bool A.op_Inequality(A, A)", @" 210282 3", targetFramework: TargetFramework.NetLatest).VerifyDiagnostics().VerifyIL("E.CHelper", @" 21042verifier.VerifyIL("E.DHelper", @" 21060verifier.VerifyIL("E.DHelper", @" 21117verifier.VerifyIL("C..ctor(int, int)", @" 22052verifier.VerifyIL("C..ctor(int, int)", @" 22539verifier.VerifyIL("C.Equals(C)", 22559verifier.VerifyIL("C.Equals(object)", 22569verifier.VerifyIL("C.GetHashCode()", 22608verifier.VerifyIL("C.Equals(C)", 22635verifier.VerifyIL("C.GetHashCode()", 22710verifier.VerifyIL("A.Equals(A)", 22730verifier.VerifyIL("B1.Equals(B1)", 22753verifier.VerifyIL("B1.GetHashCode()", 22828verifier.VerifyIL("A.Equals(A)", 22855verifier.VerifyIL("B1.Equals(B1)", 22869verifier.VerifyIL("B1.GetHashCode()", 22939verifier.VerifyIL("A.Equals(A)", 22959verifier.VerifyIL("C.Equals(C)", 23051verifier.VerifyIL("A.Equals(A)", 23071verifier.VerifyIL("B.Equals(A)", 23080verifier.VerifyIL("C.Equals(B)", 23089verifier.VerifyIL("C.Equals(C)", 23247verifier.VerifyIL("A.Equals(A)", 23275verifier.VerifyIL("C.Equals(C)", 23298verifier.VerifyIL("C.GetHashCode()", 23418verifier.VerifyIL("A.Equals(A)", 23445verifier.VerifyIL("B.Equals(A)", 23454verifier.VerifyIL("B.Equals(B)", 23477verifier.VerifyIL("C.Equals(B)", 23486verifier.VerifyIL("C.Equals(C)", 23841verifier.VerifyIL("A<T>.Equals(A<T>)", 23861verifier.VerifyIL("B.Equals(A<int>)", 23870verifier.VerifyIL("B.Equals(B)", 24969verifier.VerifyIL("R..ctor(int)", @" 25006verifier.VerifyIL("R..ctor(int)", @" 25036verifier.VerifyIL("R..ctor(int)", @" 27719verifier.VerifyIL("C..ctor()", @" 27772verifier.VerifyIL("C..ctor()", @" 28027verifier.VerifyIL("Rec.PrintMembers", @" 28050verifier.VerifyIL("Rec.PrintMembers", @" 29251verifier.VerifyIL("A.Deconstruct", @" 29283verifier.VerifyIL("A.Deconstruct", @" 29318verifier.VerifyIL("A.Deconstruct", @" 29376verifier.VerifyIL("C.Deconstruct", @" 29414verifier.VerifyIL("C.Deconstruct", @" 29448verifier.VerifyIL("C.Deconstruct", @" 29790verifier.VerifyIL("C.Deconstruct", @" 29827verifier.VerifyIL("C.Deconstruct", @"
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (2)
IOperation\IOperationTests_IUsingStatement.cs (2)
1763verifier.VerifyIL("C.M2", @" 1776verifier.VerifyIL("C.M1", @"
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (801)
Semantics\AnonymousFunctionTests.cs (4)
46verifier.VerifyIL(metadataName, expectedIL); 662verifier.VerifyIL(metadataName, @" 1195verifier.VerifyIL("C<T>.<>c__1<U>.<M>b__1_0", @" 1273verifier.VerifyIL("C.Main", @"
Semantics\ArglistTests.cs (9)
194verifier.VerifyIL("C.Main", expectedIL); 362verifier.VerifyIL("C.M", expectedIL); 412verifier.VerifyIL("C.M(__arglist)", expectedIL); 483verifier.VerifyIL("C.Main", expectedIL); 676verifier.VerifyIL("C.Get", expectedGetIL); 677verifier.VerifyIL("C.Set", expectedSetIL); 678verifier.VerifyIL("C.Ref", expectedRefIL); 798verifier.VerifyIL("Program.Main", expectedGetIL); 906verifier.VerifyIL("C.Main", @"
Semantics\BindingAsyncTasklikeMoreTests.cs (2)
116verifier.VerifyIL("C.F()", 138verifier.VerifyIL("C.G<T>(T)",
Semantics\BindingAwaitTests.cs (1)
2842compiled.VerifyIL("MyAwaiter.OnCompleted(System.Action)", @"
Semantics\ColorColorTests.cs (1)
1522CompileAndVerify(comp).VerifyIL("Test.Main", @"
Semantics\ConditionalOperatorTests.cs (9)
280verifier.VerifyIL("Program.Main", @" 389verifier.VerifyIL("Program.Main", @" 548verifier.VerifyIL("Program.Main", expectedIL); 647verifier.VerifyIL("Program.Main", expectedIL); 716verifier.VerifyIL("Program.Main", expectedIL); 784verifier.VerifyIL("Program.Main", expectedIL); 849verifier.VerifyIL("Program.Main", expectedIL); 925verifier.VerifyIL("Program.Main", expectedIL); 1003verifier.VerifyIL("Program.Main", expectedIL);
Semantics\DeconstructionTests.cs (2)
6483verifier.VerifyIL("C.M<T>(T[])", @" 6513verifier.VerifyIL("C.M2", @"
Semantics\DelegateTypeTests.cs (15)
10197verifier.VerifyIL("Program.Main", 11019verifier.VerifyIL("Program.M1<T>", 11040verifier.VerifyIL("Program.M2<U>", 11061verifier.VerifyIL("Program.M3", 11143verifier.VerifyIL("Program.M1", 11155verifier.VerifyIL("Program.M2", 11202verifier.VerifyIL("Program.Main", 11275verifier.VerifyIL("Program.Main", 11341verifier.VerifyIL("Program.Main", 11418verifier.VerifyIL("Program.Main", 11484verifier.VerifyIL("Program.Main", 11563verifier.VerifyIL("Program.Main", 11728verifier.VerifyIL("Program.F2<T>()", """ 15621verifier.VerifyIL("Program.<>c.<F>b__0_0()", 16844verifier.VerifyIL("Program.Main",
Semantics\DynamicTests.cs (1)
1696verifier.VerifyIL("Program.Main", """
Semantics\ForEachTests.cs (1)
3086VerifyIL("C.M", @"
Semantics\FunctionPointerTests.cs (21)
177verifier.VerifyIL("C.M1", expectedIL: @" 240verifier.VerifyIL("C.Main", expectedIL: @" 266verifier.VerifyIL("C.M", @" 331verifier.VerifyIL(@"C.M", expectedIL: $@" 386verifier.VerifyIL(@"C.M", expectedIL: $@" 436verifier.VerifyIL("C.M", $@" 481verifier.VerifyIL("S.M", @" 585verifier.VerifyIL("C.M", @" 629verifier.VerifyIL("S.M", @" 676verifier.VerifyIL("S.M", @" 723verifier.VerifyIL("S.M", @" 816verifier.VerifyIL("C.M", @" 868verifier.VerifyIL("C.M", @" 928verifier.VerifyIL("C.M", @" 2700verifier.VerifyIL("<top-level-statements-entry-point>", @" 2725verifier.VerifyIL("<top-level-statements-entry-point>", @" 2948verifier.VerifyIL("<top-level-statements-entry-point>", @" 3272verifier.VerifyIL("C.Main", expectedIL: @" 3354verifier.VerifyIL("C.Main", expectedIL: @" 3850verifier.VerifyIL("C.Main", expectedIL: @" 3861verifier.VerifyIL("C.M", expectedIL: @"
Semantics\GenericConstraintsTests.cs (3)
2523options: TestOptions.UnsafeReleaseExe, verify: Verification.Fails, expectedOutput: string.Join(Environment.NewLine, type, size)).VerifyIL("Test.M<T>", @" 2575options: TestOptions.UnsafeReleaseExe, verify: Verification.Fails, expectedOutput: "246").VerifyIL("Test.M<T>", @" 3963.VerifyIL("MyStruct<T>.Test", il);
Semantics\HideByNameTests.cs (2)
193CompileAndVerify(comp).VerifyIL("Program.Main", @" 525CompileAndVerify(comp).VerifyIL("Program.Main", @"
Semantics\ImplicitlyTypedLocalsTests.cs (1)
113verifier.VerifyIL("B.Main", @"
Semantics\InitOnlyMemberTests.cs (6)
2792v.VerifyIL("C.Main", @" 4223verifier.VerifyIL("<top-level-statements-entry-point>", @" 4263verifier.VerifyIL("<top-level-statements-entry-point>", @" 4302verifier.VerifyIL("<top-level-statements-entry-point>", @" 4342verifier.VerifyIL("<top-level-statements-entry-point>", @" 4440verifier.VerifyIL("<top-level-statements-entry-point>", @"
Semantics\InterpolationTests.cs (142)
243verifier.VerifyIL("Program.Main", @" 269verifier.VerifyIL("Program.Main", @" 1115compilation.VerifyIL("System.Program.Main", 1187verifier.VerifyIL("App.Main", @"{ 1206verifier.VerifyIL("App.Main", @"{ 1290verifier.VerifyIL("App.Main", @"{ 1309verifier.VerifyIL("App.Main", @"{ 1379verifier.VerifyIL("App.Main", @"{ 1431verifier.VerifyIL("App.Main", @"{ 1713verifier.VerifyIL("Program.<<Main>$>g__TwoComponents|0_0()", @" 1727verifier.VerifyIL("Program.<<Main>$>g__ThreeComponents|0_1()", @" 1745verifier.VerifyIL("Program.<<Main>$>g__FourComponents|0_2()", @" 1767verifier.VerifyIL("Program.<<Main>$>g__FiveComponents|0_3()", @" 1842verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 1850verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 2258verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 2266verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 2695verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", !expression.Contains("+") ? @" 2871verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 2985verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 3144verifier.VerifyIL("<top-level-statements-entry-point>", expression.Contains('+') 3196verifier.VerifyIL("<top-level-statements-entry-point>", expression.Contains('+') 3249verifier.VerifyIL("<top-level-statements-entry-point>", @" 3688verifier.VerifyIL("<top-level-statements-entry-point>", @" 3780verifier.VerifyIL("<top-level-statements-entry-point>", @" 3819verifier.VerifyIL("<top-level-statements-entry-point>", @" 3885verifier.VerifyIL("<top-level-statements-entry-point>", @" 3968verifier.VerifyIL("<top-level-statements-entry-point>", @" 4060verifier.VerifyIL("<top-level-statements-entry-point>", @" 4150verifier.VerifyIL("<top-level-statements-entry-point>", @" 4649verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 4786verifier.VerifyIL(@"<top-level-statements-entry-point>", @" 4846verifier.VerifyIL("<top-level-statements-entry-point>", @" 4897verifier.VerifyIL(@"<top-level-statements-entry-point>", @" 4929verifier.VerifyIL(@"<top-level-statements-entry-point>", expression.Contains('+') ? @" 4982verifier.VerifyIL(@"<top-level-statements-entry-point>", @" 5101verifier.VerifyIL("<top-level-statements-entry-point>", @" 5155verifier.VerifyIL("<top-level-statements-entry-point>", @" 5283verifier.VerifyIL("<top-level-statements-entry-point>", @" 5341verifier.VerifyIL("Program.<>c.<<Main>$>b__0_0()", @" 5388verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0()", @" 5439verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0()", !expression.Contains('+') ? @" 5498verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0()", @" 5572verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0()", @" 5625verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0(bool)", @" 5687verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0(bool)", !expression.Contains('+') ? @" 5761verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0(bool)", @" 5879verifier.VerifyIL("<top-level-statements-entry-point>", @" 5935verifier.VerifyIL("<top-level-statements-entry-point>", !expression.Contains('+') ? @" 6036verifier.VerifyIL("<top-level-statements-entry-point>", @" 6124verifier.VerifyIL("<top-level-statements-entry-point>", @" 6203verifier.VerifyIL("<top-level-statements-entry-point>", !expression.Contains('+') ? @" 6287verifier.VerifyIL("<top-level-statements-entry-point>", @" 6351verifier.VerifyIL("<top-level-statements-entry-point>", @" 6443verifier.VerifyIL("<top-level-statements-entry-point>", @" 6499verifier.VerifyIL("<top-level-statements-entry-point>", @" 6565verifier.VerifyIL("<top-level-statements-entry-point>", @" 6608verifier.VerifyIL("<top-level-statements-entry-point>", @" 6654verifier.VerifyIL("<top-level-statements-entry-point>", @" 6700verifier.VerifyIL("<top-level-statements-entry-point>", @" 6752verifier.VerifyIL("<top-level-statements-entry-point>", @" 7724verifier.VerifyIL("<top-level-statements-entry-point>", extraConstructorArg == "" 8090verifier.VerifyIL("<top-level-statements-entry-point>", """ 8329verifier.VerifyIL("<top-level-statements-entry-point>", extraConstructorArg == "" 8449verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 8581verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 8738verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 8873verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 9006verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 9101verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 9235verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 9351verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 9468verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 9589verifier.VerifyIL("<top-level-statements-entry-point>", @" 9746verifier.VerifyIL("<top-level-statements-entry-point>", refness == "in" ? @" 9851verifier.VerifyIL($"Program.<<Main>$>g__localFunc|0_0({parameterRefness} C)", @" 9933verifier.VerifyIL("<top-level-statements-entry-point>", @" 10034verifier.VerifyIL("<top-level-statements-entry-point>", @" 10140verifier.VerifyIL("<top-level-statements-entry-point>", @" 10282verifier.VerifyIL("<top-level-statements-entry-point>", @" 10381verifier.VerifyIL("<top-level-statements-entry-point>", @" 10533verifier.VerifyIL("<top-level-statements-entry-point>", @" 10632verifier.VerifyIL("<top-level-statements-entry-point>", @" 10731verifier.VerifyIL("<top-level-statements-entry-point>", @" 10930verifier.VerifyIL("Program.<<Main>$>g__test|0_0", 11015verifier.VerifyIL("Program.<<Main>$>g__test|0_0", 11136verifier.VerifyIL("Program.<<Main>$>g__test1|0_0<T>", 11182verifier.VerifyIL("Program.<<Main>$>g__test2|0_1<T>", 11213verifier.VerifyIL("Program.<<Main>$>g__test3|0_2<T>", 11258verifier.VerifyIL("Program.<<Main>$>g__test4|0_3<T>", 11390verifier.VerifyIL("Program.<<Main>$>g__test3|0_0<T>", 11445verifier.VerifyIL("Program.<<Main>$>g__test4|0_1<T>", 11715verifier.VerifyIL("<top-level-statements-entry-point>", @" 11777verifier.VerifyIL("<top-level-statements-entry-point>", @" 11912verifier.VerifyIL("<top-level-statements-entry-point>", @" 12019verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 12311verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 12575verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 12822verifier.VerifyIL("<top-level-statements-entry-point>", @" 12952verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 13172verifier.VerifyIL("<top-level-statements-entry-point>", @" 13224verifier.VerifyIL("<top-level-statements-entry-point>", @" 13274verifier.VerifyIL("<top-level-statements-entry-point>", @" 13333verifier.VerifyIL("<top-level-statements-entry-point>", @" 13393verifier.VerifyIL("<top-level-statements-entry-point>", @" 13455verifier.VerifyIL("<top-level-statements-entry-point>", @" 13517verifier.VerifyIL("<top-level-statements-entry-point>", @" 13609verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 13927verifier.VerifyIL("<top-level-statements-entry-point>", @" 13972verifier.VerifyIL("<top-level-statements-entry-point>", @" 14017verifier.VerifyIL("<top-level-statements-entry-point>", @" 14060verifier.VerifyIL("<top-level-statements-entry-point>", @" 14109verifier.VerifyIL("<top-level-statements-entry-point>", @" 14167verifier.VerifyIL("<top-level-statements-entry-point>", @" 14263verifier.VerifyIL("<top-level-statements-entry-point>", @" 14362verifier.VerifyIL("<top-level-statements-entry-point>", @" 15921verifier.VerifyIL("<top-level-statements-entry-point>", @" 15969verifier.VerifyIL("<top-level-statements-entry-point>", @" 16024verifier.VerifyIL("<top-level-statements-entry-point>", @" 16113CompileAndVerify(comp, expectedOutput: "Null reference exception caught.").VerifyIL("<top-level-statements-entry-point>", @" 16167CompileAndVerify(comp).VerifyIL("<top-level-statements-entry-point>", 16194CompileAndVerify(comp).VerifyIL("<top-level-statements-entry-point>", 16239CompileAndVerify(comp).VerifyIL("<top-level-statements-entry-point>", 16332verifier.VerifyIL("<top-level-statements-entry-point>", @" 16789verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 17097verifier.VerifyIL("<top-level-statements-entry-point>", @" 17161verifier.VerifyIL("<top-level-statements-entry-point>", @" 17260verifier.VerifyIL("<top-level-statements-entry-point>", @" 17378verifier.VerifyIL("<top-level-statements-entry-point>", @" 17446verifier.VerifyIL("<top-level-statements-entry-point>", @" 17550verifier.VerifyIL("<top-level-statements-entry-point>", @" 17603verifier.VerifyIL("<top-level-statements-entry-point>", @" 17644verifier.VerifyIL("<top-level-statements-entry-point>", @" 17695verifier.VerifyIL("<top-level-statements-entry-point>", @" 17741verifier.VerifyIL("<top-level-statements-entry-point>", @" 17888verifier.VerifyIL("<top-level-statements-entry-point>", @" 17938verifier.VerifyIL("<top-level-statements-entry-point>", @" 18030verifier.VerifyIL("<top-level-statements-entry-point>", """ 18612verifier.VerifyIL("<top-level-statements-entry-point>", """ 18694verifier.VerifyIL("<top-level-statements-entry-point>", """ 18793verifier.VerifyIL("Program.Test<T>(ref T)", """ 18906verifier.VerifyIL("Program.Test<T>(ref T)", """
Semantics\LocalFunctionTests.cs (1)
6979verifier.VerifyIL("Program.Main",
Semantics\MultiDimensionalArrayTests.cs (6)
303verifier.VerifyIL("C.Main", 339verifier.VerifyIL("C.Main", 387verifier.VerifyIL("C.Main", 631verifier.VerifyIL("C.Main", 685verifier.VerifyIL("C.Main", 717verifier.VerifyIL("C.Main",
Semantics\NamedAndOptionalTests.cs (8)
776c.VerifyIL("C.Main", @"{ 1574verifier.VerifyIL("D.Main", il); 1691verifier.VerifyIL("D.Main", @"{ 1798verifier.VerifyIL("Com.Main", @" 1872verifier.VerifyIL("B.M(IA)", 1886verifier.VerifyIL("B.MByRef(IA)", 1949verifier.VerifyIL("B.M(IA)", 2014verifier.VerifyIL("D.M()",
Semantics\NativeIntegerTests.cs (98)
2940verifier.VerifyIL("Program.Main", 2987verifier.VerifyIL("Program.Main", 3026verifier.VerifyIL("Program.Main", 4343verifier.VerifyIL("Program.Main", 4509verifier.VerifyIL("Program.F", 4548verifier.VerifyIL("Program.F1", 4556verifier.VerifyIL("Program.F2", 4619verifier.VerifyIL("Program.F1", 4627verifier.VerifyIL("Program.F2", 4697verifier.VerifyIL("MyInt.ToString", 4709verifier.VerifyIL("MyInt.GetHashCode", 4722verifier.VerifyIL("MyInt.Equals", 4893verifier.VerifyIL("B.M1", 4921verifier.VerifyIL("B.M2", 5002verifier.VerifyIL("B.Main", 5250verifier.VerifyIL("B.M1", 5278verifier.VerifyIL("B.M2", 5360verifier.VerifyIL("B.Main", 6697verifier.VerifyIL("Program.Main", expectedIL); 6808verifier.VerifyIL("Program.Main", expectedIL); 7296verifier.VerifyIL("Program.M", @" 7463verifier.VerifyIL("Program.M", @" 9513verifier.VerifyIL("Program.Convert", expectedIL); 9737verifier.VerifyIL("Program.Evaluate", expectedIL); 10114verifier.VerifyIL("Program.Evaluate", expectedIL); 10339verifier.VerifyIL("Program.Evaluate", expectedIL); 10379verifier.VerifyIL("Program.F1", 10387verifier.VerifyIL("Program.F2", 12455verifier.VerifyIL("Program.Add", 12464verifier.VerifyIL("Program.Subtract", 12473verifier.VerifyIL("Program.Multiply", 12482verifier.VerifyIL("Program.Divide", 12491verifier.VerifyIL("Program.Mod", 12500verifier.VerifyIL("Program.Equals", 12509verifier.VerifyIL("Program.NotEquals", 12520verifier.VerifyIL("Program.LessThan", 12529verifier.VerifyIL("Program.LessThanOrEqual", 12540verifier.VerifyIL("Program.GreaterThan", 12549verifier.VerifyIL("Program.GreaterThanOrEqual", 12560verifier.VerifyIL("Program.And", 12569verifier.VerifyIL("Program.Or", 12578verifier.VerifyIL("Program.Xor", 12587verifier.VerifyIL("Program.ShiftLeft", 12602verifier.VerifyIL("Program.ShiftRight", 12680verifier.VerifyIL("Program.Add", 12689verifier.VerifyIL("Program.Subtract", 12698verifier.VerifyIL("Program.Multiply", 12707verifier.VerifyIL("Program.Divide", 12716verifier.VerifyIL("Program.Mod", 12725verifier.VerifyIL("Program.Equals", 12734verifier.VerifyIL("Program.NotEquals", 12745verifier.VerifyIL("Program.LessThan", 12754verifier.VerifyIL("Program.LessThanOrEqual", 12765verifier.VerifyIL("Program.GreaterThan", 12774verifier.VerifyIL("Program.GreaterThanOrEqual", 12785verifier.VerifyIL("Program.And", 12794verifier.VerifyIL("Program.Or", 12803verifier.VerifyIL("Program.Xor", 12812verifier.VerifyIL("Program.ShiftLeft", 12827verifier.VerifyIL("Program.ShiftRight", 12872verifier.VerifyIL("Program.Add", 12881verifier.VerifyIL("Program.Subtract", 12890verifier.VerifyIL("Program.Multiply", 12899verifier.VerifyIL("Program.Divide", 12908verifier.VerifyIL("Program.Mod", 12947verifier.VerifyIL("Program.Add", 12956verifier.VerifyIL("Program.Subtract", 12965verifier.VerifyIL("Program.Multiply", 12974verifier.VerifyIL("Program.Divide", 12983verifier.VerifyIL("Program.Mod", 13796verifier.VerifyIL("Program.Convert", toConvUnchecked is null ? 13811verifier.VerifyIL("Program.ConvertChecked", 13899verifier.VerifyIL("Program.ToPointer1", 13906verifier.VerifyIL("Program.ToPointer2", 13913verifier.VerifyIL("Program.ToPointer3", 13921verifier.VerifyIL("Program.ToPointer4", 13928verifier.VerifyIL("Program.FromPointer1", 13935verifier.VerifyIL("Program.FromPointer2", 13942verifier.VerifyIL("Program.FromPointer3", 13950verifier.VerifyIL("Program.FromPointer4", 14172verifier.VerifyIL("Program.Convert", 14180verifier.VerifyIL("Program.ConvertChecked", 14848verifier.VerifyIL("NativeInts.Explicit1", expectedExplicitILA); 14849verifier.VerifyIL("NativeInts.Explicit2", expectedExplicitILA); 14850verifier.VerifyIL("NativeInts.Explicit3", expectedExplicitILA); 14851verifier.VerifyIL("NativeInts.Explicit4", expectedExplicitILB); 14852verifier.VerifyIL("NativeInts.Explicit5", expectedExplicitILNop); 14853verifier.VerifyIL("NativeInts.Checked1", expectedCheckedIL); 14854verifier.VerifyIL("NativeInts.Checked2", expectedCheckedIL); 14855verifier.VerifyIL("NativeInts.Checked3", expectedCheckedIL); 14856verifier.VerifyIL("NativeInts.Checked4", expectedCheckedIL); 14857verifier.VerifyIL("NativeInts.Checked5", expectedCheckedIL); 15122verifier.VerifyIL("C.M", @" 15164verifier.VerifyIL("C.M", @" 15546.VerifyIL("C.M", @" 15586.VerifyIL("C.M", @" 15834verifier.VerifyIL("C.M", expectedIL); 15879verifier.VerifyIL("Program.F1",
Semantics\OperatorTests.cs (10)
4844verifier.VerifyIL("<top-level-statements-entry-point>", @" 4912verifier.VerifyIL("<top-level-statements-entry-point>", @" 4949verifier.VerifyIL("<top-level-statements-entry-point>", @" 4987verifier.VerifyIL("<top-level-statements-entry-point>", @" 8893verifier.VerifyIL("P.M", 10856verifier.VerifyIL("Test.Test0", 10891verifier.VerifyIL("C1<T>.M1<S>", 10904verifier.VerifyIL("C2.M1<S>", 10917verifier.VerifyIL("C3.M1<S>", 11009verifier.VerifyIL("C2.M1<S>",
Semantics\OverloadResolutionTests.cs (1)
9483verifier.VerifyIL("Program.Main", """
Semantics\RawInterpolationTests.cs (4)
239verifier.VerifyIL("Program.Main", @" 265verifier.VerifyIL("Program.Main", @" 1113compilation.VerifyIL("System.Program.Main", 1361verifier.VerifyIL("Program.Main", @"
Semantics\RawInterpolationTests_Handler.cs (108)
81verifier.VerifyIL("Program.<<Main>$>g__TwoComponents|0_0()", @" 95verifier.VerifyIL("Program.<<Main>$>g__ThreeComponents|0_1()", @" 113verifier.VerifyIL("Program.<<Main>$>g__FourComponents|0_2()", @" 135verifier.VerifyIL("Program.<<Main>$>g__FiveComponents|0_3()", @" 210verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 218verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 628verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 636verifier.VerifyIL("<top-level-statements-entry-point>", expectedIl); 1065verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext", !expression.Contains("+") ? @" 1241verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 1355verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 1514verifier.VerifyIL("<top-level-statements-entry-point>", expression.Contains('+') 1566verifier.VerifyIL("<top-level-statements-entry-point>", expression.Contains('+') 1621verifier.VerifyIL("<top-level-statements-entry-point>", @" 2064verifier.VerifyIL("<top-level-statements-entry-point>", @" 2181verifier.VerifyIL("<top-level-statements-entry-point>", @" 2220verifier.VerifyIL("<top-level-statements-entry-point>", @" 2286verifier.VerifyIL("<top-level-statements-entry-point>", @" 2369verifier.VerifyIL("<top-level-statements-entry-point>", @" 2461verifier.VerifyIL("<top-level-statements-entry-point>", @" 2551verifier.VerifyIL("<top-level-statements-entry-point>", @" 2950verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 3087verifier.VerifyIL(@"<top-level-statements-entry-point>", @" 3147verifier.VerifyIL("<top-level-statements-entry-point>", @" 3192verifier.VerifyIL(@"<top-level-statements-entry-point>", @" 3315verifier.VerifyIL("<top-level-statements-entry-point>", @" 3369verifier.VerifyIL("<top-level-statements-entry-point>", @" 3494verifier.VerifyIL("<top-level-statements-entry-point>", @" 3552verifier.VerifyIL("Program.<>c.<<Main>$>b__0_0()", @" 3599verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0()", @" 3650verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0()", !expression.Contains('+') ? @" 3711verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0()", @" 3805verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0()", @" 3858verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0(bool)", @" 3920verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0(bool)", !expression.Contains('+') ? @" 3994verifier.VerifyIL(@"Program.<>c.<<Main>$>b__0_0(bool)", @" 4135verifier.VerifyIL("<top-level-statements-entry-point>", @" 4191verifier.VerifyIL("<top-level-statements-entry-point>", !expression.Contains('+') ? @" 4291verifier.VerifyIL("<top-level-statements-entry-point>", @" 4378verifier.VerifyIL("<top-level-statements-entry-point>", @" 4456verifier.VerifyIL("<top-level-statements-entry-point>", !expression.Contains('+') ? @" 4540verifier.VerifyIL("<top-level-statements-entry-point>", @" 4604verifier.VerifyIL("<top-level-statements-entry-point>", @" 4695verifier.VerifyIL("<top-level-statements-entry-point>", @" 4751verifier.VerifyIL("<top-level-statements-entry-point>", @" 4816verifier.VerifyIL("<top-level-statements-entry-point>", @" 4859verifier.VerifyIL("<top-level-statements-entry-point>", @" 4905verifier.VerifyIL("<top-level-statements-entry-point>", @" 4951verifier.VerifyIL("<top-level-statements-entry-point>", @" 5003verifier.VerifyIL("<top-level-statements-entry-point>", @" 6506verifier.VerifyIL("<top-level-statements-entry-point>", extraConstructorArg == "" 6628verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 6762verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 6921verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 7058verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 7193verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 7292verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 7432verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 7550verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 7670verifier.VerifyIL("<top-level-statements-entry-point>", (extraConstructorArg == "") 7793verifier.VerifyIL("<top-level-statements-entry-point>", @" 7959verifier.VerifyIL("<top-level-statements-entry-point>", refness == "in" ? @" 8067verifier.VerifyIL($"Program.<<Main>$>g__localFunc|0_0({parameterRefness} C)", @" 8155verifier.VerifyIL("<top-level-statements-entry-point>", @" 8289verifier.VerifyIL("<top-level-statements-entry-point>", @" 8357verifier.VerifyIL("<top-level-statements-entry-point>", @" 8497verifier.VerifyIL("<top-level-statements-entry-point>", @" 8605verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 8898verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 9163verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 9412verifier.VerifyIL("<top-level-statements-entry-point>", @" 9543verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 9765verifier.VerifyIL("<top-level-statements-entry-point>", @" 9819verifier.VerifyIL("<top-level-statements-entry-point>", @" 9874verifier.VerifyIL("<top-level-statements-entry-point>", @" 9933verifier.VerifyIL("<top-level-statements-entry-point>", @" 9993verifier.VerifyIL("<top-level-statements-entry-point>", @" 10055verifier.VerifyIL("<top-level-statements-entry-point>", @" 10117verifier.VerifyIL("<top-level-statements-entry-point>", @" 10214verifier.VerifyIL("<top-level-statements-entry-point>", getIl()); 10548verifier.VerifyIL("<top-level-statements-entry-point>", @" 10599verifier.VerifyIL("<top-level-statements-entry-point>", @" 10650verifier.VerifyIL("<top-level-statements-entry-point>", @" 10695verifier.VerifyIL("<top-level-statements-entry-point>", @" 10746verifier.VerifyIL("<top-level-statements-entry-point>", @" 10809verifier.VerifyIL("<top-level-statements-entry-point>", @" 10908verifier.VerifyIL("<top-level-statements-entry-point>", @" 11363verifier.VerifyIL("<top-level-statements-entry-point>", @" 11411verifier.VerifyIL("<top-level-statements-entry-point>", @" 11461verifier.VerifyIL("<top-level-statements-entry-point>", @" 11499verifier.VerifyIL("<top-level-statements-entry-point>", @" 11537verifier.VerifyIL("<top-level-statements-entry-point>", @" 11580verifier.VerifyIL("<top-level-statements-entry-point>", @" 11671CompileAndVerify(comp, expectedOutput: "Null reference exception caught.").VerifyIL("<top-level-statements-entry-point>", @" 11764verifier.VerifyIL("<top-level-statements-entry-point>", @" 12221verifier.VerifyIL("Program.<<Main>$>d__0.System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()", @" 12514verifier.VerifyIL("<top-level-statements-entry-point>", @" 12581verifier.VerifyIL("<top-level-statements-entry-point>", @" 12680verifier.VerifyIL("<top-level-statements-entry-point>", @" 12778verifier.VerifyIL("<top-level-statements-entry-point>", @" 12848verifier.VerifyIL("<top-level-statements-entry-point>", @" 12964verifier.VerifyIL("<top-level-statements-entry-point>", @" 13019verifier.VerifyIL("<top-level-statements-entry-point>", @" 13060verifier.VerifyIL("<top-level-statements-entry-point>", @" 13113verifier.VerifyIL("<top-level-statements-entry-point>", @" 13159verifier.VerifyIL("<top-level-statements-entry-point>", @" 13312verifier.VerifyIL("<top-level-statements-entry-point>", @" 13364verifier.VerifyIL("<top-level-statements-entry-point>", @"
Semantics\RecordStructTests.cs (59)
49verifier.VerifyIL("Point.Equals(object)", @" 64verifier.VerifyIL("Point.Equals(Point)", @" 130verifier.VerifyIL("S.Main", @" 214verifier.VerifyIL("S.Equals(S)", @" 221verifier.VerifyIL("S.Equals(object)", @" 887verifier.VerifyIL("S.M", @" 942verifier.VerifyIL("S0..ctor()", 949verifier.VerifyIL("S2..ctor()", 1745verifier.VerifyIL("C..ctor(int, int)", @" 1908verifier.VerifyIL("C..ctor(int, int)", @" 2177verifier.VerifyIL("C1..ctor(object, object, object)", @" 2828verifier.VerifyIL("R..ctor(int, int)", @" 2873verifier.VerifyIL("R..ctor(int)", @" 2901verifier.VerifyIL("R..ctor(int, int)", @" 3423verifier.VerifyIL("B.Deconstruct", @" 3518verifier.VerifyIL("B.Deconstruct", @" 3533verifier.VerifyIL("C.Deconstruct", @" 4305verifier.VerifyIL("A.Equals(A)", @" 4313verifier.VerifyIL("A.Equals(object)", @" 4329verifier.VerifyIL("A.GetHashCode()", @" 4556verifier.VerifyIL("A.Equals(A)", @" 4592verifier.VerifyIL("A.Equals(object)", @" 4608verifier.VerifyIL("A.GetHashCode()", @" 4653verifier.VerifyIL("A.Equals(A)", @" 4661verifier.VerifyIL("A.GetHashCode()", @" 4924verifier.VerifyIL("bool A.op_Equality(A, A)", @" 4935verifier.VerifyIL("bool A.op_Inequality(A, A)", @" 5157v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5165v.VerifyIL("C1." + WellKnownMemberNames.ObjectToString, @" 5361v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5402v.VerifyIL("C1<T>." + WellKnownMemberNames.PrintMembersMethodName, @" 5443v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5487v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5543v.VerifyIL("C1." + WellKnownMemberNames.PrintMembersMethodName, @" 5565v.VerifyIL("C1." + WellKnownMemberNames.ObjectToString, @" 6908verifier.VerifyIL("B.M", @" 7503verifier.VerifyIL("B.M", @" 7543verifier.VerifyIL("C..ctor(string)", @" 7589verifier.VerifyIL("B.M<T>(T)", @" 7630verifier.VerifyIL("B.M", @" 7665verifier.VerifyIL("B.M", @" 7705verifier.VerifyIL("C.M", @" 7739verifier.VerifyIL("Program.<<Main>$>g__M|0_0(System.ValueTuple<int, int>)", @" 7773verifier.VerifyIL("Program.<<Main>$>g__M|0_0(System.ValueTuple<int, int, int, int, int, int, int, System.ValueTuple<int>>)", @" 8183verifier.VerifyIL("C.Main", @" 8268verifier.VerifyIL("C.M", @" 8444verifier.VerifyIL("C.M", @" 8619verifier.VerifyIL("C.M", @" 8790verifier.VerifyIL("C.M", @" 8987verifier.VerifyIL("C.M", @" 10551verifier.VerifyIL("A.Deconstruct", @" 10874verifier.VerifyIL("S2..ctor()", 10881verifier.VerifyIL("S3..ctor(object)", 11077verifier.VerifyIL("S1..ctor()", 11083verifier.VerifyIL("S1..ctor(object)", 11091verifier.VerifyIL("S3..ctor()", 11100verifier.VerifyIL("S3..ctor(object)", 11108verifier.VerifyIL("S4..ctor()", 11118verifier.VerifyIL("S4..ctor(object)",
Semantics\RefEscapingTests.cs (15)
1031verifier.VerifyIL("Program.Test2", @" 1060verifier.VerifyIL("Program.Test3", @" 5039verifier.VerifyIL("S<T>.N", @" 5089verifier.VerifyIL("S<T>.N", @" 5139verifier.VerifyIL("S<T>.N", @" 5218verifier.VerifyIL("S<T>.N", @" 5322compiled.VerifyIL("C.M(ref System.Span<int>)", @" 6870VerifyIL("Program.Test", 7061CompileAndVerify(comp, verify: Verification.Skipped).VerifyDiagnostics().VerifyIL("Program.Test3", 7106CompileAndVerify(comp, verify: Verification.Skipped).VerifyDiagnostics().VerifyIL("Program.Test1", 7205CompileAndVerify(comp, verify: Verification.Skipped).VerifyDiagnostics().VerifyIL("Program.Test1", 7252CompileAndVerify(comp, verify: Verification.Skipped).VerifyDiagnostics().VerifyIL("Program.Test1", 7391CompileAndVerify(comp, verify: Verification.Skipped).VerifyDiagnostics().VerifyIL("Program.Test1", 7479VerifyIL("Vec4.Test3", 7523VerifyIL("Program..ctor",
Semantics\RefExtensionMethodsTests.cs (6)
104verifier.VerifyIL("Program.Main", @"{ 156verifier.VerifyIL("Program.Main", @"{ 1529verifier.VerifyIL("Test.Main", @" 1544verifier.VerifyIL("Extensions.IncrementAndGet", @" 1585verifier.VerifyIL("Test.Main", @" 1597verifier.VerifyIL("Extensions.Print", @"
Semantics\RefFieldTests.cs (77)
831verifier.VerifyIL("C.M3", @" 844verifier.VerifyIL("C.M4", @" 938verifier.VerifyIL("C.M2", @" 954verifier.VerifyIL("C.M4", @" 1112verifier.VerifyIL("C.M2", @" 1121verifier.VerifyIL("C.M4", @" 1170verifier.VerifyIL("C.M2", @" 1180verifier.VerifyIL("C.M3", @" 1286verifier.VerifyIL("C2.M2", @" 1323verifier.VerifyIL("C2.M2", @" 1357verifier.VerifyIL("S2.Assign", @" 1402verifier.VerifyIL("C.M2", @" 1447verifier.VerifyIL("C.M2", @" 1692verifier.VerifyIL("R..ctor()", @" 1730verifier.VerifyIL("R..ctor()", @" 1767verifier.VerifyIL("R..ctor()", @" 1807verifier.VerifyIL("R..ctor()", @" 1845verifier.VerifyIL("R..ctor()", @" 1991verifier.VerifyIL("B.F1", realIL: true, expectedIL: 2540verifier.VerifyIL("R<T>.F2", @" 2644VerifyIL("Program.Main", 2734VerifyIL("Program.Test", 2784VerifyIL("Program.Test", 8367verifier.VerifyIL("Program.NewField<T>", 8413verifier.VerifyIL("S<T>..ctor(ref T)", 8422verifier.VerifyIL("Program.Read", 8431verifier.VerifyIL("Program.Write", 8572verifier.VerifyIL("Program.ReadAndDiscard1<T>", """ 8584verifier.VerifyIL("Program.ReadAndDiscardNoArg<T>", """ 8598verifier.VerifyIL("Program.ReadAndDiscard2<T>", """ 8644verifier.VerifyIL("Program.RefReturn<T>", expectedIL); 8645verifier.VerifyIL("Program.RefReadonlyReturn<T>", expectedIL); 8681verifier.VerifyIL("Program.RefReturn<T>", expectedIL); 8682verifier.VerifyIL("Program.RefReadonlyReturn<T>", expectedIL); 8718verifier.VerifyIL("Program.RefReturn<T>", expectedIL); 8719verifier.VerifyIL("Program.RefReadonlyReturn<T>", expectedIL); 8767verifier.VerifyIL("Program.RefReturn<T>", expectedIL); 8768verifier.VerifyIL("Program.RefReadonlyReturn<T>", expectedIL); 8810verifier.VerifyIL("Program.Increment", 8823verifier.VerifyIL("Program.Subtract", 8879verifier.VerifyIL("S.Increment", 8893verifier.VerifyIL("S.Subtract", 8950verifier.VerifyIL("Program.ConditionalOperator<T>", 8965verifier.VerifyIL("Program.ConditionalOperatorRef<T>", 9011verifier.VerifyIL("Program.ConditionalAccess<T>", 9082verifier.VerifyIL("Program.Deconstruct<T, U>", 9704verifier.VerifyIL("Program.Reorder<T>", 10104verifier.VerifyIL("S<T>.F", 18247verifier.VerifyIL("Program.Main", 18862verifier.VerifyIL("Program.F0<T>", @" 18871verifier.VerifyIL("Program.F2<T>", @" 20418verifier.VerifyIL("C.Main", 21162verifier.VerifyIL("C.Main", @" 21336verifier.VerifyIL("C.Main", """ 21460verifier.VerifyIL("C.Main", """ 21789verifier.VerifyIL("C.Main", 28556verifier.VerifyIL("R..ctor", 28624verifier.VerifyIL("R..ctor(object)", 28813verifier.VerifyIL("R..ctor(object)", 29592verifier.VerifyIL("Program.M", """ 29649verifier.VerifyIL("R..ctor(in S)", """ 29666verifier.VerifyIL("R..ctor(in S, object)", """ 29740verifier.VerifyIL("R.P1.set", expectedIL); 29741verifier.VerifyIL("R.P2.init", expectedIL); 30343verifier.VerifyIL("RS..ctor", """ 30400verifier.VerifyIL("RS..ctor", """ 30468verifier.VerifyIL("RS..ctor", """ 30573verifier.VerifyIL("S.Test1", 30647verifier.VerifyIL("S.Test1", """ 30720verifier.VerifyIL("S.Test1", """ 30760verifier.VerifyIL("S.Test1", 30802verifier.VerifyIL("S.Test1", 30844verifier.VerifyIL("S.Test1", 30888verifier.VerifyIL("S.Test1", """ 30933verifier.VerifyIL("S.Test1", 30977verifier.VerifyIL("S.Test1", """ 31017verifier.VerifyIL("S.Test1",
Semantics\RefLocalsAndReturnsTests.cs (3)
2469verifier.VerifyIL("Test.Test1", @" 2488verifier.VerifyIL("Test.Test6", @" 2537verifier.VerifyIL("Test.Test1", @"
Semantics\ScriptSemanticsTests.cs (3)
122compiled.VerifyIL("<Main>", @" 168compiled.VerifyIL("<Main>", @" 214compiled.VerifyIL("<Main>", @"
Semantics\SemanticErrorTests.cs (7)
6485verifier.VerifyIL("MyStruct..ctor", @" 6993verifier.VerifyIL("MyNamespace.MyClass.S..ctor", @" 7107verifier.VerifyIL("S..ctor", @" 7181verifier.VerifyIL("S..ctor", @" 12984verifier.VerifyIL("S..ctor", @" 16100c.VerifyIL("Test.example1()", @" 16118c.VerifyIL("Test.example2()", @"
Semantics\SpanStackSafetyTests.cs (4)
732verifier.VerifyIL("Program.Main", 798verifier.VerifyIL("Program.Main", 857verifier.VerifyIL("Program.Main", 915verifier.VerifyIL("Program.Main",
Semantics\StructConstructorTests.cs (92)
326verifier.VerifyIL("S1..ctor()", 335verifier.VerifyIL("S1..ctor(object)", 343verifier.VerifyIL("S2..ctor()", 352verifier.VerifyIL("S2..ctor(object)", 404verifier.VerifyIL("S1..ctor()", 413verifier.VerifyIL("S1..ctor(object)", 424verifier.VerifyIL("S2..ctor()", 436verifier.VerifyIL("S2..ctor(object)", 496verifier.VerifyIL("S0..ctor(object)", 507verifier.VerifyIL("S1..ctor()", 516verifier.VerifyIL("S1..ctor(object)", 524verifier.VerifyIL("S2..ctor()", 533verifier.VerifyIL("S2..ctor(object)", 601verifier.VerifyIL("S0..ctor(object)", 615verifier.VerifyIL("S1..ctor()", 627verifier.VerifyIL("S1..ctor(object)", 638verifier.VerifyIL("S2..ctor()", 650verifier.VerifyIL("S2..ctor(object)", 720verifier.VerifyIL("S0..ctor(object)", 734verifier.VerifyIL("S1..ctor()", 746verifier.VerifyIL("S1..ctor(object)", 757verifier.VerifyIL("S2..ctor()", 769verifier.VerifyIL("S2..ctor(object)", 827verifier.VerifyIL("S0..ctor(int)", 836verifier.VerifyIL("S1..ctor(int)", 895verifier.VerifyIL("S..ctor(int)", 903verifier.VerifyIL("R..ctor(int)", 957verifier.VerifyIL("S..ctor(int)", 968verifier.VerifyIL("R..ctor(int)", 1024verifier.VerifyIL("S..ctor(int)", 1035verifier.VerifyIL("R..ctor(int)", 1113verifier.VerifyIL("S..ctor(int)", 1127verifier.VerifyIL("R..ctor(int)", 1210verifier.VerifyIL("S..ctor(int)", 1224verifier.VerifyIL("R..ctor(int)", 1351verifier.VerifyIL("S1..ctor(int)", 1359verifier.VerifyIL("S1..ctor()", 1371verifier.VerifyIL("S2..ctor(int)", 1382verifier.VerifyIL("S2..ctor()", 1394verifier.VerifyIL("S3..ctor(int)", 1402verifier.VerifyIL("S3..ctor()", 1487verifier.VerifyIL("S1..ctor(int)", 1495verifier.VerifyIL("S1..ctor()", 1507verifier.VerifyIL("S2..ctor(int)", 1518verifier.VerifyIL("S2..ctor()", 1530verifier.VerifyIL("S3..ctor(int)", 1538verifier.VerifyIL("S3..ctor()", 1736verifier.VerifyIL("S..ctor(int)", 1748verifier.VerifyIL("S..ctor(string)", 1759verifier.VerifyIL("R..ctor(int)", 1771verifier.VerifyIL("R..ctor(string)", 1825verifier.VerifyIL("S..ctor(int)", 1837verifier.VerifyIL("S..ctor(string)", 1851verifier.VerifyIL("R..ctor(int)", 1863verifier.VerifyIL("R..ctor(string)", 2028verifier.VerifyIL("S0..ctor", @" 2092verifier.VerifyIL("Program.Main", 2107verifier.VerifyIL("S2..ctor()", 2121verifier.VerifyIL("S3..ctor(object)", 2175verifier.VerifyIL("Program.Main", 2217verifier.VerifyIL("S2..ctor()", 2232verifier.VerifyIL("S3..ctor(object)", 2289verifier.VerifyIL("Program.Main", 2331verifier.VerifyIL("S2..ctor()", 2346verifier.VerifyIL("S3..ctor(object)", 2403verifier.VerifyIL("Program.Main", 2467verifier.VerifyIL("Program.Main", 2485verifier.VerifyIL("A<T>.S2..ctor()", 2494verifier.VerifyIL("A<T>.S3..ctor(int)", 2772verifier.VerifyIL("S1..ctor", @" 2788verifier.VerifyIL("S2..ctor", @" 2804verifier.VerifyIL("S3..ctor", @" 3182verifier.VerifyIL("Program.Main", 3910verifier.VerifyIL("S..ctor()", @" 3947verifier.VerifyIL("R..ctor()", @" 4027verifier.VerifyIL("S..ctor", @" 4073verifier.VerifyIL("S..ctor", @" 4174verifier.VerifyIL("S..ctor", @" 4205verifier.VerifyIL("S2..ctor", @" 4244verifier.VerifyIL("S2..ctor", @" 4277verifier.VerifyIL("S2..ctor", @" 4315verifier.VerifyIL("S2..ctor", @" 4355verifier.VerifyIL("S..ctor", @" 4405verifier.VerifyIL("S2..ctor", @" 4452verifier.VerifyIL("S..ctor", @" 4495verifier.VerifyIL("S..ctor", @" 4646verifier.VerifyIL("S<T>..ctor()", @" 4668verifier.VerifyIL("S<T>..ctor(bool)", @" 4714verifier.VerifyIL("S..ctor", @" 4746verifier.VerifyIL("S..ctor", @" 4774verifier.VerifyIL("S..ctor(bool)", @" 4784verifier.VerifyIL("S..ctor()", @"
Semantics\StructsTests.cs (5)
368CompileAndVerify(text).VerifyIL("Struct..ctor(decimal)", expectedIL); 400CompileAndVerify(c2).VerifyIL("C.M", @" 432CompileAndVerify(text).VerifyIL("C.M", @" 480CompileAndVerify(compilation).VerifyIL("C.M", @" 533CompileAndVerify(comp).VerifyIL("C.M", @"
Semantics\SwitchTests.cs (6)
3009CompileAndVerify(text, expectedOutput: "1").VerifyIL("C.Main", @" 3090CompileAndVerify(text, expectedOutput: "1").VerifyIL("C.Main", @" 3201CompileAndVerify(text, expectedOutput: "-1").VerifyIL("C.Main", @" 3313CompileAndVerify(text).VerifyIL("C.Main", @" 3495CompileAndVerify(text, expectedOutput: "12345678💥").VerifyIL("C.Main", @" 3618CompileAndVerify(text, expectedOutput: "123456789💥").VerifyIL("C.Main", @"
Semantics\TopLevelStatementsTests.cs (3)
8274CompileAndVerify(comp).VerifyIL("<top-level-statements-entry-point>", sequencePoints: WellKnownMemberNames.TopLevelStatementsEntryPointTypeName + "." + WellKnownMemberNames.TopLevelStatementsEntryPointMethodName, source: text, expectedIL: 8352CompileAndVerify(comp, expectedOutput: "3").VerifyIL("<top-level-statements-entry-point>", sequencePoints: WellKnownMemberNames.TopLevelStatementsEntryPointTypeName + "." + WellKnownMemberNames.TopLevelStatementsEntryPointMethodName, source: text, expectedIL: 8399CompileAndVerify(comp, expectedOutput: "3").VerifyIL("<top-level-statements-entry-point>", sequencePoints: WellKnownMemberNames.TopLevelStatementsEntryPointTypeName + "." + WellKnownMemberNames.TopLevelStatementsEntryPointMethodName, source: text, expectedIL:
Semantics\UninitializedNonNullableFieldTests.cs (10)
886verifier.VerifyIL("S1..ctor(string)", @" 901verifier.VerifyIL("S1..ctor(object, object)", @" 911verifier.VerifyIL("S1..ctor(string, string)", @" 1017verifier.VerifyIL("S1..ctor(object)", @" 1072verifier.VerifyIL("S1..ctor()", @" 1083verifier.VerifyIL("S1..ctor(string)", @" 1133verifier.VerifyIL("S1..ctor()", @" 1147verifier.VerifyIL("S1..ctor(object)", @" 1161verifier.VerifyIL("S1..ctor(object, object)", @" 1805verifier.VerifyIL("S..ctor", @"
Semantics\UnsafeTests.cs (5)
6000verifier.VerifyIL("C.M", """ 12135compilation.VerifyIL("Program.Store", @" 12164compilation.VerifyIL("Program.Load", @" 12251compilation.VerifyIL("Program.Load", @" 12280compilation.VerifyIL("Program.Store", @"
Semantics\UserDefinedConversionTests.cs (5)
1724verifier.VerifyIL("<top-level-statements-entry-point>", @" 1776verifier.VerifyIL("<top-level-statements-entry-point>", @" 1834verifier.VerifyIL("<top-level-statements-entry-point>", @" 1868verifier.VerifyIL("<top-level-statements-entry-point>", @" 1913verifier.VerifyIL("<top-level-statements-entry-point>", @"
Semantics\UsingDeclarationTests.cs (1)
633verifier.VerifyIL("<top-level-statements-entry-point>", """
Semantics\Utf8StringsLiteralsTests.cs (20)
424verifier.VerifyIL("C.Test1()", @" 433verifier.VerifyIL("C.Test2()", @" 443verifier.VerifyIL("C.Test3()", @" 1655verifier.VerifyIL("C.Test3()", @" 1708verifier.VerifyIL("C.Test3()", @" 1761verifier.VerifyIL("C.Test3()", @" 1823verifier.VerifyIL("C.Test3()", @" 1883verifier.VerifyIL("C.Test3()", @" 2010verifier.VerifyIL("C.Test3()", @" 2041verifier.VerifyIL("C.Test3()", @" 3340verifier.VerifyIL("C.Test3", """ 3387verifier.VerifyIL("C.Test3()", @" 3450verifier.VerifyIL("C.Test3()", @" 3500verifier.VerifyIL("C.Test3()", @" 3542verifier.VerifyIL("C.Test3()", @" 3591verifier.VerifyIL("C.Test3()", @" 3640verifier.VerifyIL("C.Test3()", @" 3690verifier.VerifyIL("C.Test3()", @" 3737verifier.VerifyIL("C.Test3()", @" 4067verifier.VerifyIL("C.Test3()", @"
Semantics\WarningVersionTests.cs (24)
161verifier.VerifyIL("Program..ctor", expectedIL); 173verifier.VerifyIL("Program..ctor", expectedIL); 183verifier.VerifyIL("Program..ctor", expectedIL); 197verifier.VerifyIL("Program..ctor", expectedIL); 239verifier.VerifyIL("Program..ctor", expectedIL); 251verifier.VerifyIL("Program..ctor", expectedIL); 262verifier.VerifyIL("Program..ctor", expectedIL); 276verifier.VerifyIL("Program..ctor", expectedIL); 325verifier.VerifyIL("Program..ctor", expectedIL); 340verifier.VerifyIL("Program..ctor", expectedIL); 353verifier.VerifyIL("Program..ctor", expectedIL); 370verifier.VerifyIL("Program..ctor", expectedIL); 449verifier.VerifyIL("Program..ctor", expectedIL); 461verifier.VerifyIL("Program..ctor", expectedIL); 471verifier.VerifyIL("Program..ctor", expectedIL); 485verifier.VerifyIL("Program..ctor", expectedIL); 536verifier.VerifyIL("Program..ctor", expectedIL); 548verifier.VerifyIL("Program..ctor", expectedIL); 559verifier.VerifyIL("Program..ctor", expectedIL); 572verifier.VerifyIL("Program..ctor", expectedIL); 623verifier.VerifyIL("Program..ctor", expectedIL); 635verifier.VerifyIL("Program..ctor", expectedIL); 645verifier.VerifyIL("Program..ctor", expectedIL); 659verifier.VerifyIL("Program..ctor", expectedIL);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (319)
Symbols\AnonymousTypesSymbolTests.cs (20)
319).VerifyIL( 337).VerifyIL( 346).VerifyIL( 355).VerifyIL( 364).VerifyIL( 404).VerifyIL( 433).VerifyIL( 649).VerifyIL( 658).VerifyIL( 677).VerifyIL( 685).VerifyIL( 784).VerifyIL( 802).VerifyIL( 842).VerifyIL( 871).VerifyIL( 934).VerifyIL( 943).VerifyIL( 952).VerifyIL( 1921CompileAndVerify(source).VerifyIL("C.Main", expectedIL); 1928this.CompileAndVerify(compilation).VerifyIL("C.Main", expectedIL);
Symbols\CheckedUserDefinedOperatorsTests.cs (18)
3937verifier.VerifyIL("Program.TestChecked", @" 3968verifier.VerifyIL("Program.TestUnchecked", @" 4041verifier.VerifyIL("Program.TestChecked", @" 4072verifier.VerifyIL("Program.TestUnchecked", @" 4897verifier.VerifyIL("Program.TestChecked", @" 4929verifier.VerifyIL("Program.TestUnchecked", @" 5007verifier.VerifyIL("Program.TestChecked", @" 5039verifier.VerifyIL("Program.TestUnchecked", @" 5791verifier.VerifyIL("Program.TestCheckedLong", @" 5824verifier.VerifyIL("Program.TestUncheckedLong", @" 5857verifier.VerifyIL("Program.TestCheckedInt", @" 5893verifier.VerifyIL("Program.TestUncheckedInt", @" 5929verifier.VerifyIL("Program.TestCheckedNullableLong", @" 5965verifier.VerifyIL("Program.TestUncheckedNullableLong", @" 6051verifier.VerifyIL("Program.TestChecked", @" 6084verifier.VerifyIL("Program.TestUnchecked", @" 6167verifier.VerifyIL("Program.TestChecked", @" 6200verifier.VerifyIL("Program.TestUnchecked", @"
Symbols\ConversionTests.cs (1)
2102CompileAndVerify(source).VerifyIL("C.Test", @"
Symbols\CovariantReturnTests.cs (32)
588CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 729CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 787CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 846CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base<object>, Derived<object, string>)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 908CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived<Q>)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 977CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1037CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base<object>, Derived<object, string>)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1101CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived<Q>)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1163CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1225CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base<object>, Derived<object, string>)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1292CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived<Q>)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1442CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1505CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1634CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 1911CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 2100CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 2234CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 2411CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived, Derived2)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 2529CompileAndVerify(SourceView(comp, assignments), verify: Verification.Skipped).VerifyIL("Program.M(Base, Derived, Derived2)", source: assignments, sequencePoints: "Program.M", expectedIL: @" 2648CompileAndVerify(vbComp, verify: Verification.Skipped).VerifyIL("Derived2.T(Base, Derived, Derived2)", source: vbSource, sequencePoints: "Derived2.T", expectedIL: @" 3241verifier.VerifyIL("Program.M1()", source: source, sequencePoints: "Program.M1", expectedIL: @" 3268verifier.VerifyIL("Program.M2()", source: source, sequencePoints: "Program.M2", expectedIL: @" 3294verifier.VerifyIL("Program.M3()", source: source, sequencePoints: "Program.M3", expectedIL: @" 3334verifier.VerifyIL("Program.M4()", source: source, sequencePoints: "Program.M4", expectedIL: @" 3404verifier.VerifyIL("Derived.M1()", source: source, sequencePoints: "Derived.M1", expectedIL: @" 3416verifier.VerifyIL("Derived.M2()", source: source, sequencePoints: "Derived.M2", expectedIL: @" 3427verifier.VerifyIL("Derived.M3()", source: source, sequencePoints: "Derived.M3", expectedIL: @" 3439verifier.VerifyIL("Derived.M4()", source: source, sequencePoints: "Derived.M4", expectedIL: @" 3450verifier.VerifyIL("Program.M1()", source: source, sequencePoints: "Program.M1", expectedIL: @" 3462verifier.VerifyIL("Program.M2()", source: source, sequencePoints: "Program.M2", expectedIL: @" 3473verifier.VerifyIL("Program.M3()", source: source, sequencePoints: "Program.M3", expectedIL: @" 3485verifier.VerifyIL("Program.M4()", source: source, sequencePoints: "Program.M4", expectedIL: @"
Symbols\DefaultInterfaceImplementationTests.cs (5)
49986verifier.VerifyIL("I2.Test<T>", 50848verifier.VerifyIL("I1.M1", 50901verifier.VerifyIL("I1.M1", 50954verifier.VerifyIL("I1.M1", 69147verifier.VerifyIL("C.M", """
Symbols\ExtendedPartialMethodsTests.cs (4)
1142verifier.VerifyIL("C.M2", expectedIL); 1150verifier.VerifyIL("C.M2", expectedIL); 1218verifier.VerifyIL("C.M2", expectedIL); 1228verifier.VerifyIL("C.M2", expectedIL);
Symbols\ExtensionMethodTests.cs (7)
877compilation.VerifyIL("N.C.M", 943compilation.VerifyIL("N.C.M", 2259compilation.VerifyIL("C.F", code); 2260compilation.VerifyIL("C.G", code); 2302compilation.VerifyIL("C.Main", 2383compilation.VerifyIL("C.M<T1, T2, T3, T4, T5>", 2654compilation.VerifyIL("C.Main",
Symbols\FunctionPointerTypeSymbolTests.cs (1)
1390verifier.VerifyIL("C.Main", expectedIL: @"
Symbols\GenericConstraintConversionTests.cs (2)
868compilation.VerifyIL("C<T1, T2, T3, T4, T5, T6>.M(T1, T2, T3, T5, T6)", 922compilation.VerifyIL("C<T1, T2, T3, T4, T5>.M(object, I, T3, T4)",
Symbols\GenericConstraintTests.cs (31)
1157compilation.VerifyIL("C.F1<T>()", expectedIL); 1158compilation.VerifyIL("C.F2<T>()", expectedIL); 1159compilation.VerifyIL("C.F3<T>()", expectedIL); 1216compilation.VerifyIL("C.F1<T>()", expectedIL); 1217compilation.VerifyIL("C.F2<T>()", expectedIL); 1218compilation.VerifyIL("C.F3<T>()", expectedIL); 1219compilation.VerifyIL("C.F4<T>()", expectedIL); 1220compilation.VerifyIL("C.F5<T>()", expectedIL); 1221compilation.VerifyIL("C.F6<T>()", expectedIL); 1256compilation.VerifyIL("B1<T>.F1<U>(U)", expectedIL); 1257compilation.VerifyIL("B1<T>.F2<U>(U)", expectedIL); 1258compilation.VerifyIL("B1<T>.F3<U>(U)", expectedIL); 1259compilation.VerifyIL("B1<T>.F4<U>(U)", expectedIL); 1260compilation.VerifyIL("B2<T>.F1<U>(U)", expectedIL); 1261compilation.VerifyIL("B2<T>.F2<U>(U)", expectedIL); 1262compilation.VerifyIL("B2<T>.F3<U>(U)", expectedIL); 1263compilation.VerifyIL("B2<T>.F4<U>(U)", expectedIL); 1302compilation.VerifyIL("C.F1<T>()", 1310compilation.VerifyIL("C.F2<T>()", 1317compilation.VerifyIL("C.F3<T>()", 1354compilation.VerifyIL("C.M<T, U, V>()", 1482compilation.VerifyIL("C<T1, T2>.M<U1, U2>(T1, T2, U1, U2)", 1591compilation.VerifyIL("C.M<T, U>(T, U)", 1656compilation.VerifyIL("B<T>.Swap<U>(T, U)", 1716compilation.VerifyIL("A.Swap<T, U>(T, U)", 2528compilation.VerifyIL("C<T>.ThrowT(T)", 4546compilation.VerifyIL("B.M1<T>(T)", 4628compilation.VerifyIL("B.M2<T>(T)", 4695compilation.VerifyIL("B.M3<T>(T)", 5090compilation.VerifyIL("C<T, U>.F1(T)", 5099compilation.VerifyIL("C<T, U>.F2(U)",
Symbols\IndexedPropertyTests.cs (18)
62compilation2.VerifyIL("B.Main()", 132compilation2.VerifyIL("B.Main()", 367compilation2.VerifyIL("B.GetAndSet(IA)", 391compilation2.VerifyIL("B.GetAndSetByRef(IA)", 410compilation2.VerifyIL("B.CompoundAssignment(IA)", 437compilation2.VerifyIL("B.CompoundAssignmentByRef(IA)", 459compilation2.VerifyIL("B.Increment(IA)", 486compilation2.VerifyIL("B.IncrementByRef(IA)", 731compilation2.VerifyIL("C.MissingArg(IA)", 763compilation2.VerifyIL("C.ValueArgs(IA)", 798compilation2.VerifyIL("C.RefArgs(IA)", 885compilation3.VerifyIL("C.M()", 1012compilation2.VerifyIL("C.Main()", 1102compilation2.VerifyIL("C.M(I)", 1565compilation3.VerifyIL("C.M(B)", 1977compilation2.VerifyIL("B.Main", 2416compilation2.VerifyIL("B.Main", 2635compilation2.VerifyIL("B.Main()",
Symbols\PartialPropertiesTests.cs (4)
892verifier.VerifyIL("C.P.get", """ 901verifier.VerifyIL("C.P.set", """ 977verifier.VerifyIL("C.P.get", """ 1305verifier.VerifyIL("Program.M", """
Symbols\Source\FileModifierTests.cs (4)
226verifier.VerifyIL("C@<tree 0>.M", @" 276verifier.VerifyIL("C@file2.M", @" 320verifier.VerifyIL("Program.Main", @" 733verifier.VerifyIL("C<T>@MyFile.M(T)", @"
Symbols\Source\PropertyTests.cs (4)
478compilation.VerifyIL("Program.Main", 664compilation.VerifyIL("Program.Main", 699verifier.VerifyIL("Program.Main", 2020compilation2.VerifyIL("C.M(B1)",
Symbols\Source\RecordTests.cs (14)
318verifier.VerifyIL("C.Equals(object)", @" 328verifier.VerifyIL("C.Equals(C)", @" 366verifier.VerifyIL("C.Equals(object)", @" 376verifier.VerifyIL("C.Equals(C)", @" 476verifier.VerifyIL("C.Equals(C)", @" 570verifier.VerifyIL("C.Equals(C)", @" 632verifier.VerifyIL("C.Equals(C)", @" 693verifier.VerifyIL("C.Equals(C)", @" 763verifier.VerifyIL("C..ctor(C)", @" 816verifier.VerifyIL("C..ctor(C)", @" 917verifier.VerifyIL("C..ctor(C)", @" 980verifier.VerifyIL("C.Equals(object)", @" 990verifier.VerifyIL("C.Equals(C)", @" 1172verifier.VerifyIL("C..ctor(int)", @"
Symbols\StaticAbstractMembersInInterfacesTests.cs (146)
8396verifier.VerifyIL("Test.M02<T, U>()", 8409verifier.VerifyIL("Test.M03<T, U>()", 8430verifier.VerifyIL("Test.M02<T, U>()", 8441verifier.VerifyIL("Test.M03<T, U>()", 8783verifier.VerifyIL("Test.M02<T, U>(T)", 8796verifier.VerifyIL("Test.M03<T, U>(T?)", 8826verifier.VerifyIL("Test.M02<T, U>(T)", 8839verifier.VerifyIL("Test.M03<T, U>(T?)", 8868verifier.VerifyIL("Test.M02<T, U>(T)", 8879verifier.VerifyIL("Test.M03<T, U>(T?)", 8916verifier.VerifyIL("Test.M02<T, U>(T)", 8929verifier.VerifyIL("Test.M03<T, U>(T?)", 8959verifier.VerifyIL("Test.M02<T, U>(T)", 8972verifier.VerifyIL("Test.M03<T, U>(T?)", 9001verifier.VerifyIL("Test.M02<T, U>(T)", 9012verifier.VerifyIL("Test.M03<T, U>(T?)", 9320verifier.VerifyIL("Test.M02<T, U>(T)", 9341verifier.VerifyIL("Test.M02<T, U>(T)", 9613verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, C<T>>)", 9648verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, C<T>>)", 9688verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, C<T>>)", 9722verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, C<T>>)", 10090verifier.VerifyIL("Test.MT1(I1)", 10113verifier.VerifyIL("Test.MT3(I1, dynamic)", 10160verifier.VerifyIL("Test.MT3(I1, dynamic)", 10548verifier.VerifyIL("Test.M02<T, U>(T)", 10561verifier.VerifyIL("Test.M04<T, U>(T?)", 10581verifier.VerifyIL("Test.M06<T, U>(I1<T>, T)", 10595verifier.VerifyIL("Test.M07<T, U>(T, I1<T>)", 10610verifier.VerifyIL("Test.M03<T, U>(T)", 10624verifier.VerifyIL("Test.M05<T, U>(T?)", 10653verifier.VerifyIL("Test.M02<T, U>(T)", 10666verifier.VerifyIL("Test.M04<T, U>(T?)", 10686verifier.VerifyIL("Test.M06<T, U>(I1<T>, T)", 10700verifier.VerifyIL("Test.M07<T, U>(T, I1<T>)", 10715verifier.VerifyIL("Test.M03<T, U>(T)", 10729verifier.VerifyIL("Test.M05<T, U>(T?)", 10823verifier.VerifyIL("Test.M02<T, U>(T)", 10837verifier.VerifyIL("Test.M06<T, U>(I1<T>, T)", 10852verifier.VerifyIL("Test.M07<T, U>(T, I1<T>)", 10867verifier.VerifyIL("Test.M03<T, U>(T)", 10888verifier.VerifyIL("Test.M02<T, U>(T)", 10901verifier.VerifyIL("Test.M06<T, U>(I1<T>, T)", 10915verifier.VerifyIL("Test.M07<T, U>(T, I1<T>)", 10929verifier.VerifyIL("Test.M03<T, U>(T)", 10997verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11032verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11071verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11104verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11207verifier.VerifyIL("Test.M03<T, U>(T, T)", 11229verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11272verifier.VerifyIL("Test.M03<T, U>(T, T)", 11292verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11376verifier.VerifyIL("Test.M03<T, U>(T, T)", 11399verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11425verifier.VerifyIL("Test.M03<T, U>(T, T)", 11448verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11487verifier.VerifyIL("Test.M03<T, U>(T, T)", 11508verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11532verifier.VerifyIL("Test.M03<T, U>(T, T)", 11553verifier.VerifyIL("Test.M04<T, U>(T?, T?)", 11718verifier.VerifyIL("Test.M02<T, U>(int, T)", 11731verifier.VerifyIL("Test.M04<T, U>(int?, T?)", 11764verifier.VerifyIL("Test.M06<T, U>(I1<T>, T)", 11778verifier.VerifyIL("Test.M07<T, U>(T, I1<T>)", 11793verifier.VerifyIL("Test.M03<T, U>(T)", 11807verifier.VerifyIL("Test.M05<T, U>(T?)", 11842verifier.VerifyIL("Test.M02<T, U>(int, T)", 11855verifier.VerifyIL("Test.M04<T, U>(int?, T?)", 11888verifier.VerifyIL("Test.M06<T, U>(I1<T>, T)", 11902verifier.VerifyIL("Test.M07<T, U>(T, I1<T>)", 11917verifier.VerifyIL("Test.M03<T, U>(T)", 11931verifier.VerifyIL("Test.M05<T, U>(T?)", 12005verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, T>)", 12037verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, T>)", 12076verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, T>)", 12107verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, T>)", 13147verifier.VerifyIL("Test.M02<T, U>()", 13166verifier.VerifyIL("Test.M02<T, U>()", 13232verifier.VerifyIL("Test.M02<T, U>()", 13252verifier.VerifyIL("Test.M02<T, U>()", 13323verifier.VerifyIL("Test.M02<T, U>()", 13340verifier.VerifyIL("Test.M03<T, U>()", 13361verifier.VerifyIL("Test.M02<T, U>()", 13376verifier.VerifyIL("Test.M03<T, U>()", 14023verifier.VerifyIL("Test.M02<T, U>()", 14041verifier.VerifyIL("Test.M03<T, U>()", 14062verifier.VerifyIL("Test.M02<T, U>()", 14077verifier.VerifyIL("Test.M03<T, U>()", 14525verifier.VerifyIL("Test.M02<T>()", 14663verifier.VerifyIL("Test.M02<T, U>()", 14693verifier.VerifyIL("Test.M02<T, U>()", 15081verifier.VerifyIL("Test.M02<T, U>()", 15105verifier.VerifyIL("Test.M02<T, U>()", 15353verifier.VerifyIL("Test.M02<T, U>()", 15375verifier.VerifyIL("Test.M02<T, U>()", 16517verifier.VerifyIL("C2.I1.M01()", 16621verifier.VerifyIL("C1.I1.M01()", 16767verifier.VerifyIL("C3.I1.M01()", 20842verifier.VerifyIL("C2.I1<C2>." + opName + "(C2, C1)", 20969verifier.VerifyIL("C1.I1<C1>." + opName + "(C1)", 21080verifier.VerifyIL("C1.I1<C1>." + opName + "(C1)", 21214verifier.VerifyIL("C1.I1<C1>." + opName + "(C1, int)", 21574verifier.VerifyIL("C3.I1<C2>." + opName + "(C2, C1)", 24486verifier.VerifyIL("C2.I1.get_M01", 24496verifier.VerifyIL("C2.I1.set_M01", 24718verifier.VerifyIL("C1.I1.set_M01", 24892verifier.VerifyIL("C3.I1.get_M01", 24902verifier.VerifyIL("C3.I1.set_M01", 27014verifier.VerifyIL("C2.I1.add_M01", 27025verifier.VerifyIL("C2.I1.remove_M01", 27350verifier.VerifyIL("C1.I1.add_M01", 27361verifier.VerifyIL("C1.I1.remove_M01", 27372verifier.VerifyIL("C3.I2.add_M02", 27383verifier.VerifyIL("C3.I2.remove_M02", 27557verifier.VerifyIL("C3.I1.add_M01", 27568verifier.VerifyIL("C3.I1.remove_M01", 29301verifier.VerifyIL("C2.I1<C2>." + opName + "(C2)", 29427verifier.VerifyIL("C1.I1<C1>." + opName + "(C1)", 30152verifier.VerifyIL("Test.M02<T, U>(T)", 30163verifier.VerifyIL("Test.M03<T, U>(T)", 30175verifier.VerifyIL("Test.M04<T, U>(T?)", 30199verifier.VerifyIL("Test.M05<T, U>()", 30218verifier.VerifyIL("Test.M02<T, U>(T)", 30229verifier.VerifyIL("Test.M03<T, U>(T)", 30241verifier.VerifyIL("Test.M04<T, U>(T?)", 30265verifier.VerifyIL("Test.M05<T, U>()", 30333verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, C<T>>)", 30366verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, C<T>>)", 30406verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, C<T>>)", 30438verifier.VerifyIL("Test.M02<T, U>(System.ValueTuple<int, C<T>>)", 30789verifier.VerifyIL("Test.M02<T, U>(int)", 30805verifier.VerifyIL("Test.M03<T, U>(int)", 30822verifier.VerifyIL("Test.M04<T, U>(int?)", 30851verifier.VerifyIL("Test.M05<T, U>()", 30875verifier.VerifyIL("Test.M02<T, U>(int)", 30886verifier.VerifyIL("Test.M03<T, U>(int)", 30898verifier.VerifyIL("Test.M04<T, U>(int?)", 30922verifier.VerifyIL("Test.M05<T, U>()", 31088verifier.VerifyIL("Test.M02<T, U>(T)", 31144verifier.VerifyIL("Test.M02<T, U>(int)", 31202verifier.VerifyIL("Test.M02<T, U>(T)", 31250verifier.VerifyIL("Test.M02<T, U>(T)", 31293verifier.VerifyIL("Test.M02<T, U>(int)", 31347verifier.VerifyIL("Test.M02<T, U>(T)", 31396verifier.VerifyIL("Test.M02<T, U>(int)",
Symbols\SymbolErrorTests.cs (1)
20819verifier.VerifyIL("A.ClassA.Main", """
Symbols\UnsignedRightShiftTests.cs (7)
119verifier.VerifyIL("C.Test1", actualIL.Replace("shr.un", "shr").Replace("shr", "shr.un")); 1172verifier.VerifyIL("C.Test1", actualIL.Replace("shr.un", "shr").Replace("shr", "shr.un")); 1979verifier.VerifyIL("C.Test1", actualIL.Replace("op_RightShift", "op_UnsignedRightShift")); 2231verifier.VerifyIL("C.Test1", actualIL.Replace("op_RightShift", "op_UnsignedRightShift")); 2373verifier.VerifyIL("C.Test1", actualIL.Replace("op_RightShift", "op_UnsignedRightShift")); 2507verifier.VerifyIL("C.Test1", actualIL.Replace("op_RightShift", "op_UnsignedRightShift")); 2604verifier.VerifyIL("C.Test1", actualIL.Replace("op_RightShift", "op_UnsignedRightShift"));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\LineSpanDirectiveTests.cs (1)
635verifier.VerifyIL("Program.Main", sequencePoints: "Program.Main", expectedIL:
Syntax\SyntaxTreeTests.cs (1)
98CompileAndVerify(compilation).VerifyIL("C.Main", @"
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (49)
CodeGen\WinMdEventTests.cs (16)
183verifier.VerifyIL("C.E.add", @" 195verifier.VerifyIL("C.E.remove", @" 219verifier.VerifyIL("C.E.add", @" 230verifier.VerifyIL("C.E.remove", @" 283verifier.VerifyIL("D.InstanceAdd", @" 304verifier.VerifyIL("D.InstanceRemove", @" 318verifier.VerifyIL("D.StaticAdd", @" 335verifier.VerifyIL("D.StaticRemove", @" 376verifier.VerifyIL("C.InstanceAssign", @" 397verifier.VerifyIL("C.StaticAssign", @" 465verifier.VerifyIL("C.InstanceInvoke", @" 477verifier.VerifyIL("C.StaticInvoke", @" 488verifier.VerifyIL("C.InstanceMemberAccess", @" 501verifier.VerifyIL("C.StaticMemberAccess", @" 513verifier.VerifyIL("C.InstanceReturn", @" 524verifier.VerifyIL("C.StaticReturn", @"
CodeGen\WinRTCollectionTests.cs (27)
93verifier.VerifyIL("Class1.Main", 193verifier.VerifyIL("Class1.Main", 258verifier.VerifyIL("Class1.Main", 450verifier.VerifyIL("AllMembers.TestIIterableMembers", 1848verifier.VerifyIL("AllMembers.TestIMapIntIntMembers", 2129verifier.VerifyIL("AllMembers.TestIMapIntStructMembers", 2419verifier.VerifyIL("AllMembers.TestIMapExplicitAddMembers", 2465verifier.VerifyIL("AllMembers.TestIMapViewMembers", 2481verifier.VerifyIL("AllMembers.TestIMapIntIMapViewIntStructMembers", 3208verifier.VerifyIL("AllMembers.TestIVectorIntIVectorViewIntIMapIntIntIMapViewIntIntMembers", 3774verifier.VerifyIL("AllMembers.TestIVectorStructIVectorViewStructIMapIntStructIMapViewIntStructMembers", 4451verifier.VerifyIL("AllMembers.TestISimpleInterfaceImplMembers", 4817verifier.VerifyIL("AllMembers.TestCollectionInitializers", 5005verifier.VerifyIL("AllMembers.TestExpressionTreeCompiler", 5203verifier.VerifyIL("AllMembers.TestLINQ", 5424verifier.VerifyIL("AllMembers.TestNamedArguments", 5561verifier.VerifyIL("AllMembers.TestNullableArgs", 5831verifier.VerifyIL("AllMembers.TestIBindableVectorMembers", 6061verifier.VerifyIL("AllMembers.TestIBindableIterableMembers", 6254verifier.VerifyIL("AllMembers.TestIBindableVectorIVectorIntMembers", 6616verifier.VerifyIL("AllMembers.TestIBindableIterableIIterableMembers", 6777verifier.VerifyIL("AllMembers.INotifyCollectionAndBindableVectorMembers", 7052verifier.VerifyIL("AllMembers.INotifyCollectionChangedMembers", 7179verifier.VerifyIL("AllMembers.INotifyCollectionChangedMembers", 7300verifier.VerifyIL("AllMembers.IPropertyChangedMembers", 7362verifier.VerifyIL("Test.C.GetEnumerator()", 7392verifier.VerifyIL("Test2.D.Main",
Metadata\WinMdEventTests.cs (6)
338verifier.VerifyIL("C.Main", 2458verifier.VerifyIL("A.Scenario1", 2507verifier.VerifyIL("A.Scenario2", 2579cv.VerifyIL("abcdef.goo()", @" 2670cv.VerifyIL("abcdef.goo()", ExpectedIl); 2703cv.VerifyIL("abcdef.goo()", @"
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (7)
CodeGen\WinRTCollectionTests.vb (2)
6288verifier.VerifyIL("Test.C.GetEnumerator()", <![CDATA[ 6325verifier.VerifyIL("Test2.D.Main", <![CDATA[
Emit\DynamicAnalysis\DynamicInstrumentationTests.vb (5)
61verifier.VerifyIL( 90verifier.VerifyIL( 332verifier.VerifyIL( 543verifier.VerifyIL( 727verifier.VerifyIL(