1 write to _compilation
ILCompiler.Compiler (1)
IL\ILImporter.Scanner.cs (1)
97_compilation = compilation;
47 references to _compilation
ILCompiler.Compiler (47)
IL\ILImporter.Scanner.cs (47)
132if (_compilation.HasLazyStaticConstructor(owningType)) 162_dependencies.Add(_compilation.NodeFactory.MethodEntrypoint(_compilation.NodeFactory.TypeSystemContext.GetCoreLibEntryPoint("System"u8, "Type"u8, "GetTypeFromMethodTable"u8, null)), reason); 177_dependencies.Add(_compilation.NodeFactory.MethodEntrypoint(_compilation.NodeFactory.TypeSystemContext.GetCoreLibEntryPoint("Internal.Runtime.CompilerHelpers"u8, "SharedCodeHelpers"u8, "GetClassHandleFromMethodParam"u8, null)), reason); 185DefType asyncHelpers = _compilation.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 212GenericDictionaryLookup lookup = _compilation.ComputeGenericLookup(_canonMethod, helperId, helperArgument); 217return _compilation.NodeFactory.ReadyToRunHelperFromDictionaryLookup(lookup.HelperId, lookup.HelperObject, _canonMethod); 222return _compilation.NodeFactory.ReadyToRunHelperFromTypeLookup(lookup.HelperId, lookup.HelperObject, _canonMethod.OwningType); 228return _compilation.GetHelperEntrypoint(helper); 267_dependencies.Add(_compilation.ComputeConstantLookup(ReadyToRunHelperId.TypeHandleForCasting, catchType), "EH"); 309_dependencies.Add(_compilation.ComputeConstantLookup(ReadyToRunHelperId.TypeHandleForCasting, type), "IsInst/CastClass"); 317_compilation.DetectGenericCycles(_canonMethod, method); 423_compilation.TypeSystemContext.EnsureLoadableMethod(method); 427_compilation.NodeFactory.MetadataManager.GetDependenciesDueToAccess(ref _dependencies, _compilation.NodeFactory, _canonMethodIL, method); 446AsyncResumptionStub resumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(_canonMethod, _compilation.TypeSystemContext.GeneratedAssembly.GetGlobalModuleType()); 447_dependencies.Add(_compilation.NodeFactory.MethodEntrypoint(resumptionStub), asyncReason); 449_dependencies.Add(_factory.ConstructedTypeSymbol(_compilation.TypeSystemContext.ContinuationType), asyncReason); 451DefType asyncHelpers = _compilation.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 453_dependencies.Add(_compilation.GetHelperEntrypoint(ReadyToRunHelper.AllocContinuation), asyncReason); 575_dependencies.Add(_compilation.ComputeConstantLookup(ReadyToRunHelperId.ObjectAllocator, method.Instantiation[0]), reason); 741targetOfLookup = _compilation.TypeSystemContext.GetMethodForRuntimeDeterminedType(targetMethod.GetTypicalMethodDefinition(), (RuntimeDeterminedType)_constrained); 743targetOfLookup = _compilation.TypeSystemContext.GetMethodForInstantiatedType(targetMethod.GetTypicalMethodDefinition(), (InstantiatedType)_constrained); 779targetMethod = _compilation.ExpandIntrinsicForCallsite(targetMethod, _canonMethod); 850instParam = _compilation.NodeFactory.MethodGenericDictionary(concreteMethod); 855instParam = _compilation.NodeFactory.ConstructedTypeSymbol(concreteMethod.OwningType); 884if (!_compilation.NeedsRuntimeLookup(constrainedHelperId, constrainedCallInfo)) 893MethodDesc methodToLookup = _compilation.GetTargetOfGenericVirtualMethodCall(runtimeDeterminedMethod); 895_compilation.DetectGenericCycles( 921else if (_compilation.NeedsSlotUseTracking(method.OwningType)) 946DelegateCreationInfo info = _compilation.GetDelegateCtor(canonDelegateType, targetForDelegate, constraintForDelegate, opcode == ILOpcode.ldvirtftn); 979MethodDesc stub = _compilation.PInvokeILProvider.GetCalliStub( 1161reference = _compilation.ComputeConstantLookup(helperId, type); 1226_compilation.NodeFactory.MetadataManager.GetDependenciesDueToAccess(ref _dependencies, _compilation.NodeFactory, _canonMethodIL, canonField); 1268_dependencies.Add(_compilation.GetFieldRvaData(field), reason); 1269if (_compilation.HasLazyStaticConstructor(canonField.OwningType)) 1476if (_compilation.TypeSystemContext.Target.PointerSize == 4) 1486if (_compilation.TypeSystemContext.Target.Architecture is TargetArchitecture.ARM or TargetArchitecture.X86) 1491if (_compilation.TypeSystemContext.Target.Architecture is TargetArchitecture.ARM) 1497else if (_compilation.TypeSystemContext.Target.Architecture == TargetArchitecture.ARM64) 1508if (_compilation.TypeSystemContext.Target.Architecture is TargetArchitecture.ARM or TargetArchitecture.X86) 1512if (_compilation.TypeSystemContext.Target.Architecture is TargetArchitecture.ARM) 1518else if (_compilation.TypeSystemContext.Target.Architecture == TargetArchitecture.ARM64) 1748return _compilation.TypeSystemContext.GetWellKnownType(wellKnownType);