1 write to _factory
ILCompiler.Compiler (1)
IL\ILImporter.Scanner.cs (1)
101
_factory
= (ILScanNodeFactory)compilation.NodeFactory;
63 references to _factory
ILCompiler.Compiler (63)
IL\ILImporter.Scanner.cs (63)
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);
335
return
_factory
.MethodEntrypointOrTentativeMethod(method);
567
MethodDesc asyncVariantMethod =
_factory
.TypeSystemContext.GetAsyncVariantMethod(method);
568
MethodDesc asyncVariantRuntimeDeterminedMethod =
_factory
.TypeSystemContext.GetAsyncVariantMethod(runtimeDeterminedMethod);
616
_dependencies.Add(
_factory
.ConstructedTypeSymbol(owningType), reason);
643
_dependencies.Add(
_factory
.VTable(method.OwningType), reason);
659
_dependencies.Add(type.IsValueType ?
_factory
.ExactCallableAddress(ctor) :
_factory
.CanonicalEntrypoint(ctor), reason);
687
_dependencies.Add(
_factory
.ConstructedTypeSymbol(method.Instantiation[0]), reason);
761
_factory
.MetadataManager.NoteOverridingMethod(method, directMethod);
873
_dependencies.Add(
_factory
.FatFunctionPointer(targetMethod), reason);
896
_dependencies.Add(
_factory
.StringAllocator(targetMethod), reason);
920
_dependencies.Add(
_factory
.ShadowNonConcreteMethod(concreteMethod), reason);
928
_dependencies.Add(
_factory
.CanonicalEntrypoint(targetMethod), reason);
940
_dependencies.Add(
_factory
.ConstructedTypeSymbol(_constrained), reason);
1011
_dependencies.Add(
_factory
.DispatchCell(methodToLookup), reason);
1024
_dependencies.Add(
_factory
.DispatchCell(method), reason);
1031
_dependencies.Add(
_factory
.VirtualMethodUse(slotDefiningMethod), reason);
1057
_dependencies.Add(
_factory
.ReadyToRunHelper(ReadyToRunHelperId.DelegateCtor, info), reason);
1072
_dependencies.Add(
_factory
.ConstructedTypeSymbol(_compilation.TypeSystemContext.ContinuationType), asyncReason);
1077
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null)), asyncReason);
1078
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null)), asyncReason);
1079
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null)), asyncReason);
1080
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null)), asyncReason);
1081
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null)), asyncReason);
1122
_dependencies.Add(
_factory
.CanonicalEntrypoint(targetMethod), reason);
1128
_dependencies.Add(
_factory
.MethodGenericDictionary(runtimeDeterminedResult), reason);
1162
_dependencies.Add(
_factory
.CanonicalEntrypoint(stub), "calli");
1184
if (!
_factory
.MetadataManager.IsReflectionBlocked(typeEqualityCheckType)
1186
condition =
_factory
.TypeMetadata(typeEqualityCheckMetadataType);
1188
condition =
_factory
.MaximallyConstructableType(typeEqualityCheckType);
1199
&& !
_factory
.TypeSystemContext.IsArrayVariantCastable(isinstCheckType))
1201
condition =
_factory
.MaximallyConstructableType(isinstCheckType);
1212
condition =
_factory
.AnalysisCharacteristic(intrinsicMethod.GetName());
1254
_dependencies.Add(
_factory
.NecessaryTypeSymbol(type), "Unbox");
1282
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1295
_dependencies.Add(
_factory
.MaximallyConstructableType(type), reason);
1322
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1346
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (MethodDesc)_canonMethodIL.GetObject(token));
1354
_dependencies.Add(
_factory
.RuntimeMethodHandle(method), "ldtoken");
1363
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (FieldDesc)_canonMethodIL.GetObject(token));
1371
_dependencies.Add(
_factory
.RuntimeFieldHandle(field), "ldtoken");
1423
fieldToReport =
_factory
.TypeSystemContext.GetFieldForInstantiatedType(fieldToReport.GetTypicalFieldDefinition(), (InstantiatedType)canonFieldOwningType);
1425
_dependencies.Add(
_factory
.NotReadOnlyField(fieldToReport), "Field written outside initializer");
1477
_dependencies.Add(
_factory
.ReadyToRunHelper(helperId, owningType), reason);
1499
_dependencies.Add(
_factory
.SerializedStringObject((string)_methodIL.GetObject(token)), "ldstr");
1559
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, typeForAccessCheck);
1567
_dependencies.Add(
_factory
.ConstructedTypeSymbol(type), reason);
1588
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1598
_dependencies.Add(
_factory
.ConstructedTypeSymbol(elementType.MakeArrayType()), "newarr");
1635
_dependencies.Add(
_factory
.NecessaryTypeSymbol(elementType), "ldelema");
2050
_dependencies.Add(
_factory
.CanonicalEntrypoint(targetMethod), reason);