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