1 write to _factory
ILCompiler.Compiler (1)
IL\ILImporter.Scanner.cs (1)
101
_factory
= (ILScanNodeFactory)compilation.NodeFactory;
61 references to _factory
ILCompiler.Compiler (61)
IL\ILImporter.Scanner.cs (61)
152
_dependencies.Add(
_factory
.ReadyToRunHelper(ReadyToRunHelperId.GetNonGCStaticBase, method.OwningType), "Owning type cctor");
174
_dependencies.Add(
_factory
.NecessaryTypeSymbol(method.OwningType), reason);
189
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContexts"u8, null)), reason);
190
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContexts"u8, null)), reason);
207
CodeBasedDependencyAlgorithm.AddDependenciesDueToMethodCodePresence(ref _unconditionalDependencies,
_factory
, _canonMethod, _canonMethodIL);
208
CodeBasedDependencyAlgorithm.AddConditionalDependenciesDueToMethodCodePresence(ref conditionalDependencies,
_factory
, _canonMethod);
323
return
_factory
.MethodEntrypointOrTentativeMethod(method);
478
MethodDesc asyncVariantMethod =
_factory
.TypeSystemContext.GetAsyncVariantMethod(method);
479
MethodDesc asyncVariantRuntimeDeterminedMethod =
_factory
.TypeSystemContext.GetAsyncVariantMethod(runtimeDeterminedMethod);
527
_dependencies.Add(
_factory
.ConstructedTypeSymbol(owningType), reason);
554
_dependencies.Add(
_factory
.VTable(method.OwningType), reason);
570
_dependencies.Add(type.IsValueType ?
_factory
.ExactCallableAddress(ctor) :
_factory
.CanonicalEntrypoint(ctor), reason);
598
_dependencies.Add(
_factory
.ConstructedTypeSymbol(method.Instantiation[0]), reason);
664
_factory
.MetadataManager.NoteOverridingMethod(method, directMethod);
776
_dependencies.Add(
_factory
.FatFunctionPointer(targetMethod), reason);
799
_dependencies.Add(
_factory
.StringAllocator(targetMethod), reason);
823
_dependencies.Add(
_factory
.ShadowNonConcreteMethod(concreteMethod), reason);
831
_dependencies.Add(
_factory
.CanonicalEntrypoint(targetMethod), reason);
843
_dependencies.Add(
_factory
.ConstructedTypeSymbol(_constrained), reason);
914
_dependencies.Add(
_factory
.RuntimeMethodHandle(methodToLookup), reason);
927
_dependencies.Add(
_factory
.InterfaceDispatchCell(method), reason);
934
_dependencies.Add(
_factory
.VirtualMethodUse(slotDefiningMethod), reason);
960
_dependencies.Add(
_factory
.ReadyToRunHelper(ReadyToRunHelperId.DelegateCtor, info), reason);
975
_dependencies.Add(
_factory
.ConstructedTypeSymbol(_compilation.TypeSystemContext.ContinuationType), asyncReason);
980
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null)), asyncReason);
981
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null)), asyncReason);
982
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null)), asyncReason);
983
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null)), asyncReason);
984
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null)), asyncReason);
1014
_dependencies.Add(
_factory
.CanonicalEntrypoint(stub), "calli");
1036
if (!
_factory
.MetadataManager.IsReflectionBlocked(typeEqualityCheckType)
1038
condition =
_factory
.TypeMetadata(typeEqualityCheckMetadataType);
1040
condition =
_factory
.MaximallyConstructableType(typeEqualityCheckType);
1051
&& !
_factory
.TypeSystemContext.IsArrayVariantCastable(isinstCheckType))
1053
condition =
_factory
.MaximallyConstructableType(isinstCheckType);
1064
condition =
_factory
.AnalysisCharacteristic(intrinsicMethod.GetName());
1106
_dependencies.Add(
_factory
.NecessaryTypeSymbol(type), "Unbox");
1134
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1147
_dependencies.Add(
_factory
.MaximallyConstructableType(type), reason);
1174
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1198
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (MethodDesc)_canonMethodIL.GetObject(token));
1206
_dependencies.Add(
_factory
.RuntimeMethodHandle(method), "ldtoken");
1215
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (FieldDesc)_canonMethodIL.GetObject(token));
1223
_dependencies.Add(
_factory
.RuntimeFieldHandle(field), "ldtoken");
1275
fieldToReport =
_factory
.TypeSystemContext.GetFieldForInstantiatedType(fieldToReport.GetTypicalFieldDefinition(), (InstantiatedType)canonFieldOwningType);
1277
_dependencies.Add(
_factory
.NotReadOnlyField(fieldToReport), "Field written outside initializer");
1329
_dependencies.Add(
_factory
.ReadyToRunHelper(helperId, owningType), reason);
1351
_dependencies.Add(
_factory
.SerializedStringObject((string)_methodIL.GetObject(token)), "ldstr");
1411
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, typeForAccessCheck);
1419
_dependencies.Add(
_factory
.ConstructedTypeSymbol(type), reason);
1440
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1450
_dependencies.Add(
_factory
.ConstructedTypeSymbol(elementType.MakeArrayType()), "newarr");
1487
_dependencies.Add(
_factory
.NecessaryTypeSymbol(elementType), "ldelema");
1832
_dependencies.Add(
_factory
.CanonicalEntrypoint(targetMethod), reason);