From 689707ac7a7ea63efe3d64ba14dcffd2c0173eb7 Mon Sep 17 00:00:00 2001 From: mterwoord_cp <7cd3fd84a0151ea055c2f79e4d2eef9576fe9afesxUZAwxD> Date: Sun, 1 Nov 2009 09:34:29 +0000 Subject: [PATCH] --- .../CustomImplementation/System/Drawing1/ColorImpl.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source2/IL2PCU/Cosmos.IL2CPU/CustomImplementation/System/Drawing1/ColorImpl.cs b/source2/IL2PCU/Cosmos.IL2CPU/CustomImplementation/System/Drawing1/ColorImpl.cs index 4d530d4ef..cebd6a6f1 100644 --- a/source2/IL2PCU/Cosmos.IL2CPU/CustomImplementation/System/Drawing1/ColorImpl.cs +++ b/source2/IL2PCU/Cosmos.IL2CPU/CustomImplementation/System/Drawing1/ColorImpl.cs @@ -4,7 +4,7 @@ using Cosmos.IL2CPU.Plugs; using System.Drawing; namespace Cosmos.IL2CPU.IL.CustomImplementations.System.Drawing { - [Plug(TargetName = "System.Drawing.Color, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] + [Plug(Target = typeof(Color))] public static class ColorImpl { public static string ToString(ref Color aThis) { @@ -41,6 +41,10 @@ namespace Cosmos.IL2CPU.IL.CustomImplementations.System.Drawing { //* */ } + public static long get_Value(ref Color aThis) + { + return 0; + } } } \ No newline at end of file