[bcl] Add more reflection types to monotouch
[mono.git] / mcs / class / corlib / System.Security / PermissionSet.cs
index 54cc0c1b3607e186cd7fa80511c13b32f6fb082f..ce855e490521ca652be5b91b18338e50a8e354a5 100644 (file)
@@ -227,8 +227,10 @@ namespace System.Security {
                // - SecurityManager.InternalDemand (declarative)
                internal void CasOnlyDemand (int skip)
                {
+#if !MONO
                        Assembly current = null;
                        AppDomain domain = null;
+#endif
 
                        if (_ignored == null) {
                                // special case when directly called from CodeAccessPermission.Demand