103 references to INVOCATION_FLAGS
mscorlib (103)
system\delegate.cs (2)
688
bool nonW8PMethod = (rtMethod.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0;
689
bool nonW8PType = (rtType.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0;
system\reflection\ConstructorInfo.cs (31)
178
private
INVOCATION_FLAGS
m_invocationFlags;
210
internal
INVOCATION_FLAGS
InvocationFlags
215
if ((m_invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_INITIALIZED) == 0)
217
INVOCATION_FLAGS
invocationFlags =
INVOCATION_FLAGS
.INVOCATION_FLAGS_IS_CTOR; // this is a given
229
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_INVOKE;
233
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_CTOR_INVOKE;
240
if ( (invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY) == 0 &&
245
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY;
251
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_IS_DELEGATE_CTOR;
256
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API;
259
m_invocationFlags = invocationFlags |
INVOCATION_FLAGS
.INVOCATION_FLAGS_INITIALIZED;
600
INVOCATION_FLAGS
invocationFlags = InvocationFlags;
602
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_INVOKE) != 0)
609
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
631
if ((invocationFlags &(
INVOCATION_FLAGS
.INVOCATION_FLAGS_RISKY_METHOD |
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY)) != 0)
634
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_RISKY_METHOD) != 0)
636
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY) != 0)
706
INVOCATION_FLAGS
invocationFlags = InvocationFlags;
711
if ((invocationFlags & (
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_INVOKE |
INVOCATION_FLAGS
.INVOCATION_FLAGS_CONTAINS_STACK_POINTERS |
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_CTOR_INVOKE)) != 0)
715
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
724
if ((invocationFlags & (
INVOCATION_FLAGS
.INVOCATION_FLAGS_RISKY_METHOD |
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY |
INVOCATION_FLAGS
.INVOCATION_FLAGS_IS_DELEGATE_CTOR)) != 0)
727
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_RISKY_METHOD) != 0)
729
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY) != 0)
731
RuntimeMethodHandle.PerformSecurityCheck(null, this, m_declaringType, (uint)(m_invocationFlags |
INVOCATION_FLAGS
.INVOCATION_FLAGS_CONSTRUCTOR_INVOKE));
733
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_IS_DELEGATE_CTOR) != 0)
system\reflection\emit\dynamicilgenerator.cs (12)
76
if (ProfileAPICheck && (rtType.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
560
if (ProfileAPICheck && (rtType.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
573
if (rtField != null && (rtField.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
587
if (rtField != null && (rtField.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
590
if ((rtType.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
601
if (ProfileAPICheck && (rtMeth.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
613
if ((rtMeth.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
616
if ((rtType.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
627
if (ProfileAPICheck && (rtMeth.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
639
if ((rtMeth.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
642
if ((rtType.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
658
if (ProfileAPICheck && (rtMeth.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
system\reflection\emit\modulebuilder.cs (4)
208
if ((method.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
224
if ((method.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
247
if (rtField != null && (rtField.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
503
if (rtType != null && (rtType.InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
system\reflection\fieldinfo.cs (21)
405
private
INVOCATION_FLAGS
m_invocationFlags;
430
internal
INVOCATION_FLAGS
InvocationFlags
434
if ((m_invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_INITIALIZED) == 0)
439
INVOCATION_FLAGS
invocationFlags = 0;
448
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_INVOKE;
456
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_SPECIAL_FIELD;
459
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_SPECIAL_FIELD;
466
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY;
471
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_FIELD_SPECIAL_CAST;
476
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API;
480
m_invocationFlags = invocationFlags |
INVOCATION_FLAGS
.INVOCATION_FLAGS_INITIALIZED;
556
INVOCATION_FLAGS
invocationFlags = InvocationFlags;
559
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_INVOKE) != 0)
577
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
585
if ((invocationFlags & (
INVOCATION_FLAGS
.INVOCATION_FLAGS_SPECIAL_FIELD |
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY)) != 0)
635
INVOCATION_FLAGS
invocationFlags = InvocationFlags;
638
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_INVOKE) != 0)
652
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
661
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY) != 0)
662
PerformVisibilityCheckOnField(m_fieldHandle, obj, m_declaringType, m_fieldAttributes, (uint)(m_invocationFlags & ~
INVOCATION_FLAGS
.INVOCATION_FLAGS_SPECIAL_FIELD));
system\reflection\methodinfo.cs (21)
144
private
INVOCATION_FLAGS
m_invocationFlags;
185
internal
INVOCATION_FLAGS
InvocationFlags
190
if ((m_invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_INITIALIZED) == 0)
192
INVOCATION_FLAGS
invocationFlags =
INVOCATION_FLAGS
.INVOCATION_FLAGS_UNKNOWN;
205
invocationFlags =
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_INVOKE;
212
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY) == 0)
218
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY;
228
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY;
238
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API;
241
m_invocationFlags = invocationFlags |
INVOCATION_FLAGS
.INVOCATION_FLAGS_INITIALIZED;
678
else if ((InvocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_CONTAINS_STACK_POINTERS) != 0)
715
INVOCATION_FLAGS
invocationFlags = InvocationFlags;
718
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
727
if ((invocationFlags & (
INVOCATION_FLAGS
.INVOCATION_FLAGS_RISKY_METHOD |
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY)) != 0)
730
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_RISKY_METHOD) != 0)
733
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NEED_SECURITY) != 0)
781
INVOCATION_FLAGS
invocationFlags = InvocationFlags;
786
if ((invocationFlags & (
INVOCATION_FLAGS
.INVOCATION_FLAGS_NO_INVOKE |
INVOCATION_FLAGS
.INVOCATION_FLAGS_CONTAINS_STACK_POINTERS)) != 0)
system\rttype.cs (10)
2654
private
INVOCATION_FLAGS
m_invocationFlags;
2693
internal
INVOCATION_FLAGS
InvocationFlags
2697
if ((m_invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_INITIALIZED) == 0)
2699
INVOCATION_FLAGS
invocationFlags =
INVOCATION_FLAGS
.INVOCATION_FLAGS_UNKNOWN;
2702
invocationFlags |=
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API;
2704
m_invocationFlags = invocationFlags |
INVOCATION_FLAGS
.INVOCATION_FLAGS_INITIALIZED;
5462
INVOCATION_FLAGS
invocationFlags = InvocationFlags;
5463
if ((invocationFlags &
INVOCATION_FLAGS
.INVOCATION_FLAGS_NON_W8P_FX_API) != 0)
5531
RuntimeMethodHandle.PerformSecurityCheck(instance, ace.m_hCtorMethodHandle, this, (uint)
INVOCATION_FLAGS
.INVOCATION_FLAGS_CONSTRUCTOR_INVOKE);
system\runtimehandles.cs (2)
1276
internal static
INVOCATION_FLAGS
GetSecurityFlags(IRuntimeMethodInfo handle)
1278
return (
INVOCATION_FLAGS
)RuntimeMethodHandle.GetSpecialSecurityFlags(handle);