1 write to _compilation
ILCompiler.Compiler (1)
IL\ILImporter.Scanner.cs (1)
101_compilation = compilation;
53 references to _compilation
ILCompiler.Compiler (53)
IL\ILImporter.Scanner.cs (53)
136if (_compilation.HasLazyStaticConstructor(owningType)) 166_dependencies.Add(_compilation.NodeFactory.MethodEntrypoint(_compilation.NodeFactory.TypeSystemContext.GetCoreLibEntryPoint("System"u8, "Type"u8, "GetTypeFromMethodTable"u8, null)), reason); 181_dependencies.Add(_compilation.NodeFactory.MethodEntrypoint(_compilation.NodeFactory.TypeSystemContext.GetCoreLibEntryPoint("Internal.Runtime.CompilerHelpers"u8, "SharedCodeHelpers"u8, "GetClassHandleFromMethodParam"u8, null)), reason); 189DefType asyncHelpers = _compilation.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 216_compilation.TypeSystemContext.EnsureLoadableType(type.ConvertToCanonForm(CanonicalFormKind.Specific)); 222_compilation.TypeSystemContext.EnsureLoadableMethod(method.GetCanonMethodTarget(CanonicalFormKind.Specific)); 228GenericDictionaryLookup lookup = _compilation.ComputeGenericLookup(_canonMethod, helperId, helperArgument); 233return _compilation.NodeFactory.ReadyToRunHelperFromDictionaryLookup(lookup.HelperId, lookup.HelperObject, _canonMethod); 238return _compilation.NodeFactory.ReadyToRunHelperFromTypeLookup(lookup.HelperId, lookup.HelperObject, _canonMethod.OwningType); 244return _compilation.GetHelperEntrypoint(helper); 283_dependencies.Add(_compilation.ComputeConstantLookup(ReadyToRunHelperId.TypeHandleForCasting, catchType), "EH"); 328_dependencies.Add(_compilation.ComputeConstantLookup(ReadyToRunHelperId.TypeHandleForCasting, type), "IsInst/CastClass"); 336_compilation.DetectGenericCycles(_canonMethod, method); 548_compilation.TypeSystemContext.EnsureLoadableMethod(method); 552_compilation.NodeFactory.MetadataManager.GetDependenciesDueToAccess(ref _dependencies, _compilation.NodeFactory, _canonMethodIL, method); 683_dependencies.Add(_compilation.ComputeConstantLookup(ReadyToRunHelperId.ObjectAllocator, method.Instantiation[0]), reason); 857targetOfLookup = _compilation.TypeSystemContext.GetMethodForRuntimeDeterminedType(targetMethod.GetTypicalMethodDefinition(), (RuntimeDeterminedType)_constrained); 859targetOfLookup = _compilation.TypeSystemContext.GetMethodForInstantiatedType(targetMethod.GetTypicalMethodDefinition(), (InstantiatedType)_constrained); 895targetMethod = _compilation.ExpandIntrinsicForCallsite(targetMethod, _canonMethod); 966instParam = _compilation.NodeFactory.MethodGenericDictionary(concreteMethod); 971instParam = _compilation.NodeFactory.ConstructedTypeSymbol(concreteMethod.OwningType); 1000if (!_compilation.NeedsRuntimeLookup(constrainedHelperId, constrainedCallInfo)) 1009MethodDesc methodToLookup = _compilation.GetTargetOfGenericVirtualMethodCall(runtimeDeterminedMethod); 1011_compilation.DetectGenericCycles( 1037else if (_compilation.NeedsSlotUseTracking(method.OwningType)) 1062DelegateCreationInfo info = _compilation.GetDelegateCtor(canonDelegateType, targetForDelegate, constraintForDelegate, opcode == ILOpcode.ldvirtftn); 1079AsyncResumptionStub resumptionStub = _compilation.TypeSystemContext.GetAsyncResumptionStub(_canonMethod, _compilation.TypeSystemContext.GeneratedAssembly.GetGlobalModuleType()); 1080_dependencies.Add(_compilation.NodeFactory.MethodEntrypoint(resumptionStub), asyncReason); 1082_dependencies.Add(_factory.ConstructedTypeSymbol(_compilation.TypeSystemContext.ContinuationType), asyncReason); 1084DefType asyncHelpers = _compilation.TypeSystemContext.SystemModule.GetKnownType("System.Runtime.CompilerServices"u8, "AsyncHelpers"u8); 1086_dependencies.Add(_compilation.GetHelperEntrypoint(ReadyToRunHelper.AllocContinuation), asyncReason); 1123CompilerTypeSystemContext context = _compilation.TypeSystemContext; 1175MethodDesc stub = _compilation.PInvokeILProvider.GetCalliStub( 1357reference = _compilation.ComputeConstantLookup(helperId, type); 1390_dependencies.Add(_compilation.GetFieldRvaData(field), "InitializeArray/CreateSpan RVA data"); 1435_compilation.NodeFactory.MetadataManager.GetDependenciesDueToAccess(ref _dependencies, _compilation.NodeFactory, _canonMethodIL, canonField); 1477_dependencies.Add(_compilation.GetFieldRvaData(field), reason); 1478if (_compilation.HasLazyStaticConstructor(canonField.OwningType)) 1685if (_compilation.TypeSystemContext.Target.PointerSize == 4) 1695if (_compilation.TypeSystemContext.Target.Architecture is TargetArchitecture.ARM or TargetArchitecture.X86) 1700if (_compilation.TypeSystemContext.Target.Architecture is TargetArchitecture.ARM) 1706else if (_compilation.TypeSystemContext.Target.Architecture == TargetArchitecture.ARM64) 1717if (_compilation.TypeSystemContext.Target.Architecture is TargetArchitecture.ARM or TargetArchitecture.X86) 1721if (_compilation.TypeSystemContext.Target.Architecture is TargetArchitecture.ARM) 1727else if (_compilation.TypeSystemContext.Target.Architecture == TargetArchitecture.ARM64) 2032return _compilation.TypeSystemContext.GetWellKnownType(wellKnownType); 2048CompilerTypeSystemContext context = _compilation.TypeSystemContext; 2086_dependencies.Add(_compilation.NodeFactory.MethodGenericDictionary(runtimeDeterminedResult), reason);