You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
parent
e9207cf623
commit
ef583813eb
@ -0,0 +1,65 @@
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Threading;
|
||||
|
||||
namespace System.Runtime.Loader
|
||||
{
|
||||
partial class AssemblyLoadContext
|
||||
{
|
||||
static IntPtr InitializeAssemblyLoadContext (IntPtr assemblyLoadContext, bool representsTPALoadContext, bool isCollectible)
|
||||
{
|
||||
return IntPtr.Zero;
|
||||
}
|
||||
|
||||
static void PrepareForAssemblyLoadContextRelease (IntPtr nativeAssemblyLoadContext, IntPtr assemblyLoadContextStrong)
|
||||
{
|
||||
}
|
||||
|
||||
static IntPtr InternalLoadUnmanagedDllFromPath (string unmanagedDllPath)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
[System.Security.DynamicSecurityMethod] // Methods containing StackCrawlMark local var has to be marked DynamicSecurityMethod
|
||||
Assembly InternalLoadFromPath (string assemblyPath, string nativeImagePath)
|
||||
{
|
||||
StackCrawlMark stackMark = StackCrawlMark.LookForMyCaller;
|
||||
|
||||
assemblyPath = assemblyPath.Replace ('\\', Path.DirectorySeparatorChar);
|
||||
// TODO: Handle nativeImagePath
|
||||
return InternalLoadFile (assemblyPath, ref stackMark);
|
||||
}
|
||||
|
||||
internal Assembly InternalLoad (byte[] arrAssembly, byte[] arrSymbols)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public static Assembly[] GetLoadedAssemblies ()
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public static AssemblyLoadContext GetLoadContext (Assembly assembly)
|
||||
{
|
||||
throw new NotImplementedException ();
|
||||
}
|
||||
|
||||
public void SetProfileOptimizationRoot (string directoryPath)
|
||||
{
|
||||
}
|
||||
|
||||
public void StartProfileOptimization (string profile)
|
||||
{
|
||||
}
|
||||
|
||||
[MethodImplAttribute (MethodImplOptions.InternalCall)]
|
||||
extern static Assembly InternalLoadFile (string assemblyFile, ref StackCrawlMark stackMark);
|
||||
|
||||
internal static Assembly DoAssemblyResolve (string name)
|
||||
{
|
||||
return AssemblyResolve (null, new ResolveEventArgs (name));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user