38 references to ExecutionEnvironment
System.Private.CoreLib (38)
Internal\Reflection\Augments\ReflectionAugments.cs (9)
115
ExecutionEnvironment executionEnvironment = ReflectionCoreExecution.
ExecutionEnvironment
;
133
ExecutionEnvironment executionEnvironment = ReflectionCoreExecution.
ExecutionEnvironment
;
160
ExecutionEnvironment executionEnvironment = ReflectionCoreExecution.
ExecutionEnvironment
;
177
ExecutionEnvironment executionEnvironment = ReflectionCoreExecution.
ExecutionEnvironment
;
442
ReflectionCoreExecution.
ExecutionEnvironment
.GetEnumInfo(runtimeType.TypeHandle, out string[] unsortedNames, out object[] unsortedValues, out bool isFlags);
482
IntPtr invokeThunk = ReflectionCoreExecution.
ExecutionEnvironment
.GetDynamicInvokeThunk(methodInvoker);
491
return ReflectionCoreExecution.
ExecutionEnvironment
.GetDelegateMethod(del);
496
return ReflectionCoreExecution.
ExecutionEnvironment
.GetMethodBaseFromStartAddressIfAvailable(methodStartAddress);
506
IntPtr pStaticClassConstructionContext = ReflectionCoreExecution.
ExecutionEnvironment
.GetStaticClassConstructionContext(typeHandle);
Internal\Reflection\Core\Execution\ExecutionDomain.cs (1)
93
QTypeDefinition qTypeDefinition = ReflectionCoreExecution.
ExecutionEnvironment
.GetMetadataForNamedType(typeHandle);
Internal\Reflection\Core\Execution\ExecutionEnvironment.cs (1)
114
exception = ReflectionCoreExecution.
ExecutionEnvironment
.CreateNonInvokabilityException(exceptionPertainant);
Internal\Runtime\Augments\RuntimeAugments.cs (1)
82
throw ReflectionCoreExecution.
ExecutionEnvironment
.CreateMissingMetadataException(Type.GetTypeFromMethodTable(mt));
System\Reflection\Assembly.NativeAot.cs (1)
40
return (uint)Internal.Reflection.Core.Execution.ReflectionCoreExecution.
ExecutionEnvironment
.AssemblyBinder.GetLoadedAssembliesCount();
System\Reflection\Runtime\Assemblies\NativeFormat\NativeFormatRuntimeAssembly.cs (3)
117
return ReflectionCoreExecution.
ExecutionEnvironment
.GetManifestResourceInfo(this, resourceName);
122
return ReflectionCoreExecution.
ExecutionEnvironment
.GetManifestResourceNames(this);
128
return ReflectionCoreExecution.
ExecutionEnvironment
.GetManifestResourceStream(this, name);
System\Reflection\Runtime\Assemblies\RuntimeAssemblyInfo.cs (1)
273
AssemblyBinder binder = ReflectionCoreExecution.
ExecutionEnvironment
.AssemblyBinder;
System\Reflection\Runtime\CustomAttributes\NativeFormat\NativeFormatCustomAttributeData.cs (1)
203
throw ReflectionCoreExecution.
ExecutionEnvironment
.CreateMissingMetadataException(attributeType);
System\Reflection\Runtime\FieldInfos\NativeFormat\NativeFormatRuntimeFieldInfo.cs (1)
144
return ReflectionCoreExecution.
ExecutionEnvironment
.TryGetFieldAccessor(this._reader, this.DeclaringType.TypeHandle, this.FieldType.TypeHandle, _fieldHandle);
System\Reflection\Runtime\FieldInfos\RuntimeFieldInfo.cs (2)
210
_lazyFieldAccessor = fieldAccessor = ReflectionCoreExecution.
ExecutionEnvironment
.CreateLiteralFieldAccessor(defaultValue, FieldType.TypeHandle);
216
throw ReflectionCoreExecution.
ExecutionEnvironment
.CreateNonInvokabilityException(this);
System\Reflection\Runtime\General\Dispensers.cs (1)
73
AssemblyBinder binder = ReflectionCoreExecution.
ExecutionEnvironment
.AssemblyBinder;
System\Reflection\Runtime\General\Helpers.cs (1)
127
throw ReflectionCoreExecution.
ExecutionEnvironment
.CreateMissingMetadataException(delegateType.ToType());
System\Reflection\Runtime\General\TypeUnifier.cs (7)
127
if (!ReflectionCoreExecution.
ExecutionEnvironment
.TryGetArrayTypeForElementType(elementTypeHandle, out typeHandle))
132
if (!ReflectionCoreExecution.
ExecutionEnvironment
.TryGetMultiDimArrayTypeForElementType(elementTypeHandle, rank, out typeHandle))
215
if (!ReflectionCoreExecution.
ExecutionEnvironment
.TryGetByRefTypeForTargetType(elementTypeHandle, out typeHandle))
259
if (!ReflectionCoreExecution.
ExecutionEnvironment
.TryGetPointerTypeForTargetType(elementTypeHandle, out typeHandle))
314
if (ReflectionCoreExecution.
ExecutionEnvironment
.TryGetFunctionPointerTypeForComponents(returnTypeHandle, parameterTypeHandles, isUnmanaged, out RuntimeTypeHandle typeHandle))
339
TryGetConstructedGenericTypeDelegate del = s_tryGetConstructedGenericTypeWithConstraintCheck ??= ReflectionCoreExecution.
ExecutionEnvironment
.TryGetConstructedGenericTypeForComponents;
347
TryGetConstructedGenericTypeDelegate del = s_tryGetConstructedGenericTypeNoConstraintCheck ??= ReflectionCoreExecution.
ExecutionEnvironment
.TryGetConstructedGenericTypeForComponentsNoConstraintCheck;
System\Reflection\Runtime\General\TypeUnifier.NativeFormat.cs (1)
74
if (!ReflectionCoreExecution.
ExecutionEnvironment
.TryGetNamedTypeForMetadata(new QTypeDefinition(metadataReader, typeDefHandle), out typeHandle))
System\Reflection\Runtime\MethodInfos\NativeFormat\NativeFormatMethodCommon.cs (1)
30
return ReflectionCoreExecution.
ExecutionEnvironment
.GetMethodInvoker(DeclaringType, new QMethodDefinition(Reader, MethodHandle), methodArguments, exceptionPertainant, out exception);
System\Reflection\Runtime\MethodInfos\RuntimeNamedMethodInfo.cs (1)
148
ReflectionCoreExecution.
ExecutionEnvironment
.ValidateGenericMethodConstraints(methodInfo);
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (2)
214
ReflectionCoreExecution.
ExecutionEnvironment
.GetInterfaceMap(this.ToType(), interfaceType, out MethodInfo[] interfaceMethods, out MethodInfo[] targetMethods);
540
throw ReflectionCoreExecution.
ExecutionEnvironment
.CreateMissingMetadataException(this.ToType());
System\Runtime\InteropServices\TypeMapLazyDictionary.NativeAot.cs (2)
61
throw ReflectionCoreExecution.
ExecutionEnvironment
.CreateMissingMetadataException(typeMapGroup);
104
throw ReflectionCoreExecution.
ExecutionEnvironment
.CreateMissingMetadataException(typeMapGroup);
System\RuntimeExceptionHelpers.cs (1)
349
return ReflectionCoreExecution.
ExecutionEnvironment
!= null;