2005-08-02 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / corlib / System / TypedReference.cs
old mode 100755 (executable)
new mode 100644 (file)
index afebe3b..8cb2c55
@@ -6,10 +6,7 @@
 //   Paolo Molaro (lupus@ximian.com)
 //
 // (C) Ximian, Inc.  http://www.ximian.com
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -33,6 +30,7 @@
 
 using System.Reflection;
 using System.Runtime.CompilerServices;
+using System.Security.Permissions;
 
 namespace System 
 {
@@ -62,6 +60,7 @@ namespace System
 
                [MonoTODO]
                [CLSCompliant (false)]
+               [ReflectionPermission (SecurityAction.LinkDemand, MemberAccess = true)]
                public static TypedReference MakeTypedReference (object target, FieldInfo[] flds) 
                {
                        if (target == null) {