a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
416 B
C#
24 lines
416 B
C#
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
public class G<T>
|
|
{
|
|
}
|
|
|
|
namespace dynamic
|
|
{
|
|
public class C : G<dynamic>
|
|
{
|
|
public static int Main ()
|
|
{
|
|
var da = typeof (C).GetCustomAttributes (typeof (System.Runtime.CompilerServices.DynamicAttribute), false) [0] as DynamicAttribute;
|
|
|
|
if (!da.TransformFlags.SequenceEqual (new bool[] { false, true }))
|
|
return 1;
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
|