From ba5b34ab990afc76246a93af4011582ca69fbc86 Mon Sep 17 00:00:00 2001 From: Next Turn <45985406+NextTurn@users.noreply.github.com> Date: Fri, 13 Sep 2019 21:15:38 +0800 Subject: [PATCH] Minor fix in Native Hosting doc (dotnet/core-setup#8210) Commit migrated from https://github.com/dotnet/core-setup/commit/9042fe6c81aa3b47f58ccd94ff02e42f9f7a4e46 --- docs/installer/design-docs/native-hosting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installer/design-docs/native-hosting.md b/docs/installer/design-docs/native-hosting.md index 185c132..b2f1a70 100644 --- a/docs/installer/design-docs/native-hosting.md +++ b/docs/installer/design-docs/native-hosting.md @@ -331,7 +331,7 @@ int load_assembly_and_get_function_pointer_fn( Calling this function will load the specified assembly in isolation (into its own `AssemblyLoadContext`) and it will use `AssemblyDependencyResolver` on it to provide dependency resolution. Once loaded it will find the specified type and method and return a native function pointer to that method. The method's signature can be specified via the delegate type name. * `assembly_path` - Path to the assembly to load. In case of complex component, this should be the main assembly of the component (the one with the `.deps.json` next to it). Note that this does not have to be the assembly from which the `type_name` and `method_name` are. * `type_name` - Assembly qualified type name to find -* `method_name` - Name of the method on the `type_name` to find. The method must be `public static` and must match the signature of `delegate_type_name`. +* `method_name` - Name of the method on the `type_name` to find. The method must be `static` and must match the signature of `delegate_type_name`. * `delegate_type_name` - Assembly qualified delegate type name for the method signature, or null. If this is null, the method signature is assumed to be: ```C# public delegate int ComponentEntryPoint(IntPtr args, int sizeBytes); -- 2.7.4