Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ LoadUnmanagedDllFromPath()

IntPtr System.Runtime.Loader.AssemblyLoadContext.LoadUnmanagedDllFromPath ( string unmanagedDllPath)
inlineprotectedinherited

Definition at line 510 of file AssemblyLoadContext.cs.

511 {
512 if (unmanagedDllPath == null)
513 {
514 throw new ArgumentNullException("unmanagedDllPath");
515 }
516 if (unmanagedDllPath.Length == 0)
517 {
518 throw new ArgumentException(SR.Argument_EmptyPath, "unmanagedDllPath");
519 }
521 {
522 throw new ArgumentException(SR.Format(SR.Argument_AbsolutePathRequired, unmanagedDllPath), "unmanagedDllPath");
523 }
525 }
static bool IsPartiallyQualified(ReadOnlySpan< char > path)
static IntPtr Load(string libraryPath)

References System.SR.Argument_AbsolutePathRequired, System.SR.Argument_EmptyPath, System.SR.Format(), System.IO.PathInternal.IsPartiallyQualified(), and System.Runtime.InteropServices.NativeLibrary.Load().

Referenced by Internal.Runtime.InteropServices.IsolatedComponentLoadContext.LoadUnmanagedDll().