mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
* Fix AutoFishing crash * Fix all warnings * Remove DotNetZip. * Fix the usage of HttpClient.
24 lines
No EOL
508 B
C#
24 lines
No EOL
508 B
C#
/*
|
|
MIT License
|
|
Copyright (c) 2019 Laurent Kempé
|
|
https://github.com/laurentkempe/DynamicRun/blob/master/LICENSE
|
|
*/
|
|
|
|
using System.Reflection;
|
|
using System.Runtime.Loader;
|
|
|
|
namespace DynamicRun.Builder
|
|
{
|
|
internal class SimpleUnloadableAssemblyLoadContext : AssemblyLoadContext
|
|
{
|
|
public SimpleUnloadableAssemblyLoadContext()
|
|
: base(true)
|
|
{
|
|
}
|
|
|
|
protected override Assembly? Load(AssemblyName assemblyName)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
} |