You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using System;
public class B2
{
public Action a = () => {
dynamic d = 1;
Test (d);
};
static decimal Test (dynamic arg)
{
return 3m;
}
}
class M
{
static void Main ()
{
new B2 ();
}
}
peverify output .exe
Expected Behavior:
Valid IL produced by compiler.
Actual Behavior:
Microsoft (R) .NET Framework PE Verifier. Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
[IL]: Error: [c.exe : B2::.ctor][offset 0x00000008][found ref ('this' ptr) 'B2'][expected ref 'System.Object'] Unexpected type on the stack.
The text was updated successfully, but these errors were encountered:
Version Used: 1.2.0.60317
Steps to Reproduce:
Expected Behavior:
Valid IL produced by compiler.
Actual Behavior:
Microsoft (R) .NET Framework PE Verifier. Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
[IL]: Error: [c.exe : B2::.ctor][offset 0x00000008][found ref ('this' ptr) 'B2'][expected ref 'System.Object'] Unexpected type on the stack.
The text was updated successfully, but these errors were encountered: