Assert.Fail ("#11");
} catch (NotSupportedException) {}
-#if NET_4_0
Assert.AreEqual (TypeAttributes.Public, gparam.Attributes, "#12");
-#else
- try {
- var x = gparam.Attributes;
- Assert.Fail ("#12");
- } catch (NotSupportedException) {}
-#endif
Assert.IsFalse (gparam.HasElementType, "#13");
Assert.IsFalse (gparam.IsArray, "#14");
Assert.IsFalse (gparam.IsByRef, "#15");
Assert.IsFalse (gparam.IsGenericTypeDefinition, "#10");
}
-#if !NET_4_0
- [Category ("NotDotNet")]
-#endif
[Test]
// CompilerContext no longer supported
[Category ("NotWorking")]