57 instantiations of ReflectionPermission
mscorlib (25)
system\appdomain.cs (1)
188
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert();
system\delegateserializationholder.cs (2)
32
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Demand();
248
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Demand();
system\diagnostics\eventing\eventsource.cs (1)
3804
(new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess)).Assert();
system\diagnostics\stacktrace.cs (1)
134
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert();
system\reflection\emit\dynamicmethod.cs (3)
465
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Demand();
502
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Demand();
507
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Demand();
system\rttype.cs (1)
5390
ps.AddPermission(new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess));
system\security\codeaccesssecurityengine.cs (1)
511
demandSet.AddPermission(new
ReflectionPermission
(ReflectionPermissionFlag.RestrictedMemberAccess));
system\security\permissions\permissionattributes.cs (2)
506
return new
ReflectionPermission
( PermissionState.Unrestricted );
510
return new
ReflectionPermission
( m_flag );
system\security\permissions\reflectionpermission.cs (5)
185
return new
ReflectionPermission
( PermissionState.Unrestricted );
190
return(new
ReflectionPermission
(flag_union));
242
return new
ReflectionPermission
( newFlags );
249
return new
ReflectionPermission
(PermissionState.Unrestricted);
253
return new
ReflectionPermission
((ReflectionPermissionFlag)m_flags);
system\security\permissiontoken.cs (2)
160
s_reflectPerm = new
ReflectionPermission
(PermissionState.Unrestricted);
248
s_reflectPerm = new
ReflectionPermission
(PermissionState.Unrestricted);
system\security\policy\applicationsecuritymanager.cs (1)
170
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert();
system\security\securitymanager.cs (1)
563
new
ReflectionPermission
(PermissionState.Unrestricted),
system\security\util\xmlutil.cs (4)
305
return new
ReflectionPermission
( permState );
415
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert();
487
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert();
621
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert();
PresentationFramework (3)
src\Framework\MS\Internal\AppModel\Journaling.cs (1)
726
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert();
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (1)
151
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert(); // BlessedAssert
src\Shared\MS\Internal\SecurityHelper.cs (1)
307
_reflectionPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
System (9)
compmod\system\componentmodel\IntSecurity.cs (1)
15
public static readonly CodeAccessPermission FullReflection = new
ReflectionPermission
(PermissionState.Unrestricted);
misc\SecurityUtils.cs (2)
47
memberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
56
restrictedMemberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.RestrictedMemberAccess);
net\System\Net\HttpWebRequest.cs (1)
5453
new
ReflectionPermission
(PermissionState.Unrestricted).Assert();
regex\system\text\regularexpressions\compiledregexrunnerfactory.cs (1)
31
new
ReflectionPermission
(PermissionState.Unrestricted).Assert();
regex\system\text\regularexpressions\RegexCompiler.cs (4)
137
new
ReflectionPermission
(PermissionState.Unrestricted).Assert();
199
new
ReflectionPermission
(PermissionState.Unrestricted).Assert();
237
new
ReflectionPermission
(PermissionState.Unrestricted).Assert();
3082
new
ReflectionPermission
(PermissionState.Unrestricted).Assert();
System.Activities (3)
System\Activities\Expressions\OperatorPermissionHelper.cs (1)
42
ReflectionPermission reflectionMemberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
System\Activities\Runtime\CallbackWrapper.cs (1)
287
myPermissionSet.AddPermission(new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess));
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
496
ReflectionPermission reflectionPerm = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
System.AddIn (1)
System\Addin\Hosting\AddInServer.cs (1)
123
permissionSet.AddPermission(new
ReflectionPermission
(PermissionState.Unrestricted));
System.Configuration (1)
System\Configuration\TypeUtil.cs (1)
252
private static readonly ReflectionPermission s_memberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
138
new System.Security.Permissions.
ReflectionPermission
(System.Security.Permissions.ReflectionPermissionFlag.MemberAccess).Assert();
System.Data.Entity (1)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (1)
568
internal static readonly ReflectionPermission MemberAccessReflectionPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
System.Data.Linq (2)
parent\parent\misc\SecurityUtils.cs (2)
47
memberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
56
restrictedMemberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.RestrictedMemberAccess);
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
48
CreateModulePermissionSet.AddPermission(new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess));
System.Drawing (1)
commonui\System\Drawing\Printing\PrintDocument.cs (1)
137
new
ReflectionPermission
(PermissionState.Unrestricted).Assert();
System.Runtime.Serialization (1)
System\Runtime\Serialization\Globals.cs (1)
1135
memberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
System.Web (3)
IntSecurity.cs (1)
56
_reflection = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
parent\parent\parent\Misc\SecurityUtils.cs (2)
47
memberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
56
restrictedMemberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.RestrictedMemberAccess);
System.Windows.Forms (2)
misc\SecurityUtils.cs (2)
47
memberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess);
56
restrictedMemberAccessPermission = new
ReflectionPermission
(ReflectionPermissionFlag.RestrictedMemberAccess);
System.Xml (3)
System\Xml\Xslt\XslCompiledTransform.cs (3)
58
MemberAccessPermissionSet.AddPermission(new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess));
279
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Assert();
319
new
ReflectionPermission
(ReflectionPermissionFlag.MemberAccess).Demand();
59 references to ReflectionPermission
mscorlib (16)
system\security\permissions\reflectionpermission.cs (11)
96
m_flags =
ReflectionPermission
.AllFlagsAndMore;
160
return m_flags ==
ReflectionPermission
.AllFlagsAndMore;
181
ReflectionPermission
operand = (
ReflectionPermission
)other;
205
ReflectionPermission
operand = (
ReflectionPermission
)target;
235
ReflectionPermission
operand = (
ReflectionPermission
)target;
264
if ((type & ~
ReflectionPermission
.AllFlagsAndMore) != 0)
295
m_flags =
ReflectionPermission
.AllFlagsAndMore;
311
return
ReflectionPermission
.GetTokenIndex();
system\security\permissiontoken.cs (1)
96
private static volatile
ReflectionPermission
s_reflectPerm = null;
system\security\securitymanager.cs (4)
577
ReflectionPermission
reflectionPermission = null;
584
reflectionPermissionFlags =
ReflectionPermission
.AllFlagsAndMore;
593
reflectionPermission = grantSet.GetPermission(BuiltInPermissionIndex.ReflectionPermissionIndex) as
ReflectionPermission
;
614
reflectionPermission = deniedSet.GetPermission(BuiltInPermissionIndex.ReflectionPermissionIndex) as
ReflectionPermission
;
PresentationFramework (3)
src\Framework\MS\Internal\AppModel\Journaling.cs (1)
737
ReflectionPermission
.RevertAssert();
src\Framework\MS\Internal\AppModel\ReturnEventSaver.cs (1)
164
ReflectionPermission
.RevertAssert();
src\Shared\MS\Internal\SecurityHelper.cs (1)
318
static
ReflectionPermission
_reflectionPermission = null;
System (5)
misc\SecurityUtils.cs (4)
40
private static volatile
ReflectionPermission
memberAccessPermission = null;
41
private static volatile
ReflectionPermission
restrictedMemberAccessPermission = null;
43
private static
ReflectionPermission
MemberAccessPermission
53
private static
ReflectionPermission
RestrictedMemberAccessPermission {
net\System\Net\HttpWebRequest.cs (1)
5474
ReflectionPermission
.RevertAssert();
System.Activities (2)
System\Activities\Expressions\OperatorPermissionHelper.cs (1)
42
ReflectionPermission
reflectionMemberAccessPermission = new ReflectionPermission(ReflectionPermissionFlag.MemberAccess);
System\Activities\XamlIntegration\ActivityXamlServices.cs (1)
496
ReflectionPermission
reflectionPerm = new ReflectionPermission(ReflectionPermissionFlag.MemberAccess);
System.Configuration (1)
System\Configuration\TypeUtil.cs (1)
252
private static readonly
ReflectionPermission
s_memberAccessPermission = new ReflectionPermission(ReflectionPermissionFlag.MemberAccess);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlCachedBuffer.cs (1)
143
System.Security.Permissions.
ReflectionPermission
.RevertAssert();
System.Data.Entity (3)
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (3)
64
/// <permission cref="System.Security.Permissions.
ReflectionPermission
">
445
gen.Emit(OpCodes.Callvirt, typeof(
ReflectionPermission
).GetMethod("Demand"));
568
internal static readonly
ReflectionPermission
MemberAccessReflectionPermission = new ReflectionPermission(ReflectionPermissionFlag.MemberAccess);
System.Data.Linq (4)
parent\parent\misc\SecurityUtils.cs (4)
40
private static volatile
ReflectionPermission
memberAccessPermission = null;
41
private static volatile
ReflectionPermission
restrictedMemberAccessPermission = null;
43
private static
ReflectionPermission
MemberAccessPermission
53
private static
ReflectionPermission
RestrictedMemberAccessPermission {
System.Runtime.Serialization (11)
System\Runtime\Serialization\Globals.cs (2)
1127
static
ReflectionPermission
memberAccessPermission;
1128
public static
ReflectionPermission
MemberAccessPermission
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
129
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
205
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
99
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
130
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
System\Runtime\Serialization\XmlDataContract.cs (1)
349
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
130
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
216
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
112
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
142
if (memberAccessFlag && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
System.ServiceModel (5)
System\ServiceModel\Description\ServiceDescription.cs (1)
172
if (securityException != null && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
System\ServiceModel\Dispatcher\InvokerUtil.cs (4)
90
if (requiresMemberAccess && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
129
if (requiresMemberAccess && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
174
if (requiresMemberAccess && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
221
if (requiresMemberAccess && securityException.PermissionType.Equals(typeof(
ReflectionPermission
)))
System.Web (4)
parent\parent\parent\Misc\SecurityUtils.cs (4)
40
private static volatile
ReflectionPermission
memberAccessPermission = null;
41
private static volatile
ReflectionPermission
restrictedMemberAccessPermission = null;
43
private static
ReflectionPermission
MemberAccessPermission
53
private static
ReflectionPermission
RestrictedMemberAccessPermission {
System.Windows.Forms (4)
misc\SecurityUtils.cs (4)
40
private static volatile
ReflectionPermission
memberAccessPermission = null;
41
private static volatile
ReflectionPermission
restrictedMemberAccessPermission = null;
43
private static
ReflectionPermission
MemberAccessPermission
53
private static
ReflectionPermission
RestrictedMemberAccessPermission {