throw new MissingMethodException(Environment.GetResourceString("MissingConstructor_Name", FullName));
}
-#if !DISABLE_CAS_USE
+#if FEATURE_MONO_CAS
// If we're creating a delegate, we're about to call a
// constructor taking an integer to represent a target
// method. Since this is very difficult (and expensive)
new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand();
#endif // FEATURE_CORECLR
}
-#endif // !DISABLE_CAS_USE
+#endif // FEATURE_MONO_CAS
if (invokeMethod.GetParametersNoCopy().Length == 0)
{
if (args.Length != 0)