Cosmos/source/Cosmos.Core.Plugs/System/Runtime/CompilerServices/RuntimeHelpersImpl.cs
Charles Betros 1147b18134 Install changes to remove dotnet cli.
include sqlite in vsix.
2017-05-26 18:30:53 -05:00

41 lines
971 B
C#

using System;
using System.Runtime.CompilerServices;
using Cosmos.IL2CPU.Plugs;
namespace Cosmos.Core.Plugs.System.Runtime.CompilerServices
{
[Plug(Target = typeof(RuntimeHelpers))]
public static class RuntimeHelpersImpl
{
public static void cctor()
{
}
#pragma warning disable 108,114
public static bool Equals(object o1, object o2)
#pragma warning restore 108,114
{
if (o1 == null
&& o2 == null)
{
return true;
}
if (o1 == null
|| o2 == null)
{
return false;
}
return object.Equals(o1, o2);
}
public static void ProbeForSufficientStack()
{
// no implementation yet, before threading not needed
}
public static int GetHashCode(object o)
{
throw new NotImplementedException();
}
}
}