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);
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);
753
_factory
.MetadataManager.NoteOverridingMethod(method, directMethod);
865
_dependencies.Add(
_factory
.FatFunctionPointer(targetMethod), reason);
888
_dependencies.Add(
_factory
.StringAllocator(targetMethod), reason);
912
_dependencies.Add(
_factory
.ShadowNonConcreteMethod(concreteMethod), reason);
920
_dependencies.Add(
_factory
.CanonicalEntrypoint(targetMethod), reason);
932
_dependencies.Add(
_factory
.ConstructedTypeSymbol(_constrained), reason);
1003
_dependencies.Add(
_factory
.DispatchCell(methodToLookup), reason);
1016
_dependencies.Add(
_factory
.DispatchCell(method), reason);
1023
_dependencies.Add(
_factory
.VirtualMethodUse(slotDefiningMethod), reason);
1049
_dependencies.Add(
_factory
.ReadyToRunHelper(ReadyToRunHelperId.DelegateCtor, info), reason);
1064
_dependencies.Add(
_factory
.ConstructedTypeSymbol(_compilation.TypeSystemContext.ContinuationType), asyncReason);
1069
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null)), asyncReason);
1070
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null)), asyncReason);
1071
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null)), asyncReason);
1072
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null)), asyncReason);
1073
_dependencies.Add(
_factory
.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null)), asyncReason);
1103
_dependencies.Add(
_factory
.CanonicalEntrypoint(stub), "calli");
1125
if (!
_factory
.MetadataManager.IsReflectionBlocked(typeEqualityCheckType)
1127
condition =
_factory
.TypeMetadata(typeEqualityCheckMetadataType);
1129
condition =
_factory
.MaximallyConstructableType(typeEqualityCheckType);
1140
&& !
_factory
.TypeSystemContext.IsArrayVariantCastable(isinstCheckType))
1142
condition =
_factory
.MaximallyConstructableType(isinstCheckType);
1153
condition =
_factory
.AnalysisCharacteristic(intrinsicMethod.GetName());
1195
_dependencies.Add(
_factory
.NecessaryTypeSymbol(type), "Unbox");
1223
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1236
_dependencies.Add(
_factory
.MaximallyConstructableType(type), reason);
1263
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1287
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (MethodDesc)_canonMethodIL.GetObject(token));
1295
_dependencies.Add(
_factory
.RuntimeMethodHandle(method), "ldtoken");
1304
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (FieldDesc)_canonMethodIL.GetObject(token));
1312
_dependencies.Add(
_factory
.RuntimeFieldHandle(field), "ldtoken");
1364
fieldToReport =
_factory
.TypeSystemContext.GetFieldForInstantiatedType(fieldToReport.GetTypicalFieldDefinition(), (InstantiatedType)canonFieldOwningType);
1366
_dependencies.Add(
_factory
.NotReadOnlyField(fieldToReport), "Field written outside initializer");
1418
_dependencies.Add(
_factory
.ReadyToRunHelper(helperId, owningType), reason);
1440
_dependencies.Add(
_factory
.SerializedStringObject((string)_methodIL.GetObject(token)), "ldstr");
1500
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, typeForAccessCheck);
1508
_dependencies.Add(
_factory
.ConstructedTypeSymbol(type), reason);
1529
_factory
.MetadataManager.GetDependenciesDueToAccess(ref _dependencies,
_factory
, _methodIL, (TypeDesc)_canonMethodIL.GetObject(token));
1539
_dependencies.Add(
_factory
.ConstructedTypeSymbol(elementType.MakeArrayType()), "newarr");
1576
_dependencies.Add(
_factory
.NecessaryTypeSymbol(elementType), "ldelema");
1967
_dependencies.Add(
_factory
.CanonicalEntrypoint(targetMethod), reason);