82 references to MethodEntrypoint
ILCompiler.Compiler (75)
Compiler\DelegateCreationInfo.cs (3)
240factory.MethodEntrypoint(initMethod), 244factory.MethodEntrypoint(invokeThunk)); 300factory.MethodEntrypoint(systemDelegate.GetKnownMethod(initializeMethodName, null)),
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (1)
26=> factory.MethodEntrypoint(factory.TypeSystemContext.SystemModule.GetType("Internal.Metadata.NativeFormat"u8, entityName).GetMethod(propertyName, null));
Compiler\DependencyAnalysis\DelegateMarshallingDataNode.cs (3)
36new DependencyListEntry(factory.MethodEntrypoint(stateManager.GetOpenStaticDelegateMarshallingThunk(_type)), "Delegate Marshalling Stub"), 37new DependencyListEntry(factory.MethodEntrypoint(stateManager.GetClosedDelegateMarshallingThunk(_type)), "Delegate Marshalling Stub"), 38new DependencyListEntry(factory.MethodEntrypoint(stateManager.GetForwardDelegateCreationThunk(_type)), "Delegate Marshalling Stub"),
Compiler\DependencyAnalysis\DelegateMarshallingStubMapNode.cs (3)
54writer.GetUnsignedConstant(_externalReferences.GetIndex(factory.MethodEntrypoint(_interopStateManager.GetOpenStaticDelegateMarshallingThunk(delegateType)))), 55writer.GetUnsignedConstant(_externalReferences.GetIndex(factory.MethodEntrypoint(_interopStateManager.GetClosedDelegateMarshallingThunk(delegateType)))), 56writer.GetUnsignedConstant(_externalReferences.GetIndex(factory.MethodEntrypoint(_interopStateManager.GetForwardDelegateCreationThunk(delegateType))))
Compiler\DependencyAnalysis\EETypeNode.cs (7)
405factory.MethodEntrypoint(canonImpl, impl.OwningType.IsValueType); 483result.Add(new CombinedDependencyListEntry(factory.MethodEntrypoint(defaultIntfMethod), factory.VirtualMethodUse(interfaceMethod), "Interface method")); 546result.Add(new CombinedDependencyListEntry(factory.MethodEntrypoint(defaultIntfMethod), factory.VirtualMethodUse(interfaceMethod), "Interface method")); 655dependencies.Add(factory.MethodEntrypoint(method.GetCanonMethodTarget(CanonicalFormKind.Specific)), 1026implSymbol = factory.MethodEntrypoint(canonImplMethod, implMethod.OwningType.IsValueType); 1080objData.EmitReloc(factory.MethodEntrypoint(canonFinalizerMethod), RelocType.IMAGE_REL_BASED_RELPTR32); 1082objData.EmitPointerReloc(factory.MethodEntrypoint(canonFinalizerMethod));
Compiler\DependencyAnalysis\FatFunctionPointerNode.cs (1)
74: factory.MethodEntrypoint(canonMethod, _isUnboxingStub);
Compiler\DependencyAnalysis\GenericDictionaryNode.cs (1)
161factory.MethodEntrypoint(method.GetCanonMethodTarget(CanonicalFormKind.Specific)),
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (1)
53dependencies.Add(factory.MethodEntrypoint(_method, getUnboxingStub), "GVM Dependency - Canon method");
Compiler\DependencyAnalysis\InvalidExternalTypeMapNode.cs (1)
27new DependencyListEntry(context.MethodEntrypoint(ThrowingMethodStub), "Throwing method stub for invalid type map"),
Compiler\DependencyAnalysis\InvalidProxyTypeMapNode.cs (1)
30new DependencyListEntry(context.MethodEntrypoint(ThrowingMethodStub), "Throwing method stub for invalid type map"),
Compiler\DependencyAnalysis\ModuleInitializerListNode.cs (1)
135IMethodNode entrypoint = factory.MethodEntrypoint(module.GetGlobalModuleType().GetStaticConstructor());
Compiler\DependencyAnalysis\ModuleUseBasedDependencyAlgorithm.cs (1)
17dependencyList.Add(factory.MethodEntrypoint(moduleCctor), "Module with a static constructor");
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (3)
249IMethodNode methodEntryPointNode = factory.MethodEntrypoint(_method, IsUnboxingStub); 953yield return new DependencyListEntry(context.MethodEntrypoint(_type.GetStaticConstructor().GetCanonMethodTarget(CanonicalFormKind.Specific)), "cctor for template"); 1046ISymbolNode cctorSymbol = factory.MethodEntrypoint(canonCctorMethod);
Compiler\DependencyAnalysis\NodeFactory.cs (12)
307IMethodNode entrypoint = MethodEntrypoint(method, unboxingStub: false); 361return new AddressTakenMethodNode(MethodEntrypoint(method, unboxingStub: false)); 524return EagerCctorTable.NewNode(MethodEntrypoint(method)); 1131return _tentativeMethods.GetOrAdd((IMethodBodyNode)MethodEntrypoint(method, unboxingStub)); 1134return MethodEntrypoint(method, unboxingStub); 1165return MethodEntrypoint(method, isUnboxingStub); 1183return MethodEntrypoint(method); 1220return MethodEntrypoint(method, unboxingStub); 1296new ShadowConcreteMethodNode(key, _factory.MethodEntrypoint(key.GetCanonMethodTarget(CanonicalFormKind.Specific))); 1314new ShadowNonConcreteMethodNode(key, _factory.MethodEntrypoint(key.GetCanonMethodTarget(CanonicalFormKind.Specific))); 1349symbol = MethodEntrypoint(method); 1704=> writer.GetUnsignedConstant(table.GetIndex(factory.MethodEntrypoint(method)));
Compiler\DependencyAnalysis\ReadyToRunGenericHelperNode.cs (1)
195return factory.MethodEntrypoint(factory.TypeSystemContext.GetHelperEntryPoint("ThrowHelpers"u8, "ThrowUnavailableType"u8));
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (3)
52dependencies.Add(factory.MethodEntrypoint(invokeStub), "Reflection invoke"); 61dependencies.Add(factory.MethodEntrypoint(method, unboxingStub: true), "Reflection unboxing stub"); 200writer.GetUnsignedConstant(_externalReferences.GetIndex(factory.MethodEntrypoint(invokeStub))));
Compiler\DependencyAnalysis\ScannedMethodNode.cs (1)
62_dependencies.Add(new DependencyListEntry(factory.MethodEntrypoint(nonUnboxingMethod, false), "Non-unboxing method"));
Compiler\DependencyAnalysis\SealedVTableNode.cs (3)
141node = factory.MethodEntrypoint(implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !implMethod.Signature.IsStatic && declType.IsValueType); 201node = factory.MethodEntrypoint(targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !targetMethod.Signature.IsStatic && declType.IsValueType); 236node = factory.MethodEntrypoint(canonImplMethod, unboxingStub: implMethod.OwningType.IsValueType && !implMethod.Signature.IsStatic);
Compiler\DependencyAnalysis\StackTraceLineNumbersNode.cs (2)
57var entrypointSymbol = factory.MethodEntrypoint(mapping.Method); 76var entrypointSymbol = factory.MethodEntrypoint(mapping.Method);
Compiler\DependencyAnalysis\StackTraceMethodMappingNode.cs (1)
128objData.EmitReloc(factory.MethodEntrypoint(entry.Method), RelocType.IMAGE_REL_BASED_RELPTR32);
Compiler\DependencyAnalysis\StringAllocatorMethodNode.cs (1)
57factory.MethodEntrypoint(_allocationMethod),
Compiler\DependencyAnalysis\StructMarshallingDataNode.cs (3)
37yield return new DependencyListEntry(factory.MethodEntrypoint(stateManager.GetStructMarshallingManagedToNativeThunk(_type)), "Struct Marshalling stub"); 38yield return new DependencyListEntry(factory.MethodEntrypoint(stateManager.GetStructMarshallingNativeToManagedThunk(_type)), "Struct Marshalling stub"); 39yield return new DependencyListEntry(factory.MethodEntrypoint(stateManager.GetStructMarshallingCleanupThunk(_type)), "Struct Marshalling stub");
Compiler\DependencyAnalysis\StructMarshallingStubMapNode.cs (3)
79writer.GetUnsignedConstant(_externalReferences.GetIndex(factory.MethodEntrypoint(_interopStateManager.GetStructMarshallingManagedToNativeThunk(structType)))), 80writer.GetUnsignedConstant(_externalReferences.GetIndex(factory.MethodEntrypoint(_interopStateManager.GetStructMarshallingNativeToManagedThunk(structType)))), 81writer.GetUnsignedConstant(_externalReferences.GetIndex(factory.MethodEntrypoint(_interopStateManager.GetStructMarshallingCleanupThunk(structType)))));
Compiler\DependencyAnalysis\TentativeInstanceMethodNode.cs (1)
37return helper == null ? RealBody: factory.MethodEntrypoint(helper);
Compiler\DependencyAnalysis\TentativeMethodNode.cs (1)
36return helper == null ? RealBody : factory.MethodEntrypoint(helper);
Compiler\DependencyAnalysis\UnboxingStubNode.cs (1)
35ISymbolNode node = factory.MethodEntrypoint(Method);
Compiler\ILScanner.cs (1)
205entryPoint = _compilation.NodeFactory.MethodEntrypoint(methodDesc);
Compiler\RootingServiceProvider.cs (1)
30IMethodNode methodEntryPoint = _factory.MethodEntrypoint(canonMethod);
Compiler\UsageBasedMetadataManager.cs (1)
273dependencies.Add(factory.MethodEntrypoint(moduleCctor), "Module with a static constructor");
IL\ILImporter.Scanner.cs (10)
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); 186_dependencies.Add(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContexts"u8, null)), reason); 187_dependencies.Add(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContexts"u8, null)), reason); 447_dependencies.Add(_compilation.NodeFactory.MethodEntrypoint(resumptionStub), asyncReason); 454_dependencies.Add(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureExecutionContext"u8, null)), asyncReason); 455_dependencies.Add(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("CaptureContinuationContext"u8, null)), asyncReason); 456_dependencies.Add(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("RestoreContextsOnSuspension"u8, null)), asyncReason); 457_dependencies.Add(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionNoContinuationContext"u8, null)), asyncReason); 458_dependencies.Add(_factory.MethodEntrypoint(asyncHelpers.GetKnownMethod("FinishSuspensionWithContinuationContext"u8, null)), asyncReason);
src\runtime\src\coreclr\tools\Common\Compiler\DependencyAnalysis\MethodReadOnlyDataNode.cs (1)
24IMethodNode owningBody = factory.MethodEntrypoint(_owningMethod);
src\runtime\src\coreclr\tools\Common\Compiler\DependencyAnalysis\MethodReadWriteDataNode.cs (1)
24IMethodNode owningBody = factory.MethodEntrypoint(_owningMethod);
ILCompiler.RyuJit (7)
Compiler\DependencyAnalysis\MethodCodeNode.cs (1)
114return factory.MethodEntrypoint(nonUnboxingMethod, false);
Compiler\DependencyAnalysis\RyuJitNodeFactory.cs (1)
31return MethodEntrypoint(((ArrayType)method.OwningType).GetArrayMethod(ArrayMethodKind.AddressWithHiddenArg));
JitInterface\CorInfoImpl.RyuJit.cs (5)
61entryPoint = (void*)ObjectToHandle(_compilation.NodeFactory.MethodEntrypoint(asyncResumptionStub)); 768return _compilation.NodeFactory.MethodEntrypoint(_compilation.NodeFactory.TypeSystemContext.GetCoreLibEntryPoint("System"u8, "Type"u8, "GetTypeFromMethodTable"u8, null)); 770return _compilation.NodeFactory.MethodEntrypoint(_compilation.NodeFactory.TypeSystemContext.GetCoreLibEntryPoint("Internal.Runtime.CompilerHelpers"u8, "SharedCodeHelpers"u8, "GetClassHandleFromMethodParam"u8, null)); 810entryPoint = _compilation.NodeFactory.MethodEntrypoint(methodDesc); 827pResult = CreateConstLookupToSymbol(_compilation.NodeFactory.MethodEntrypoint(method));