System.Security.Permissions.ReflectionPermissionFlag Enumeration

Assembly: Mscorlib.dll
Namespace: System.Security.Permissions
Summary
Specifies the permitted use of System.Reflection on members that are not visible.
C# Syntax:
[Flags]
[Serializable]
public enum ReflectionPermissionFlag
Remarks
This enumeration is used by ReflectionPermission. If no ReflectionPermission is granted, reflection is allowed only on visible members. Because ReflectionPermission can provide access to private class members and metadata, it is recommended that ReflectionPermission not be granted to Internet code.
See also:
System.Security.Permissions Namespace | ReflectionPermission | ReflectionPermissionAttribute

System.Security.Permissions.ReflectionPermissionFlag Member List:

Public Fields
AllFlags TypeInformation, MemberAccess, and ReflectionEmit are set.
MemberAccess Invocation of operations on all type members is allowed. If this flag is not set, only invocation of operations on visible type members is allowed.
NoFlags No reflection is allowed on types that are not visible.
ReflectionEmit Use of System.Reflection.Emit is allowed.
TypeInformation Reflection is allowed on members of a type that are not visible.

Hierarchy:


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.