diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-16 15:23:34 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-08-16 15:23:34 +0200 |
| commit | 8c7cd405658cbe7e4d64be189549b8125300964f (patch) | |
| tree | 409ce325828c665bd0b285a09d40a5a924d73419 /src/CompilerServices/CompilerServices.cs | |
| parent | ea5ba40d536aa80b56db118c3e8e077790c24359 (diff) | |
Correct bug 'Instanciing from code instead of IML'
set currentInterface to default one if null
modifié : Crow.OpenTK.nuspec
modifié : src/CompilerServices/CompilerServices.cs
modifié : src/GraphicObjects/Container.cs
modifié : src/GraphicObjects/GraphicObject.cs
modifié : src/GraphicObjects/PrivateContainer.cs
modifié : src/GraphicObjects/TemplatedControl.cs
modifié : src/Interface.cs
Diffstat (limited to 'src/CompilerServices/CompilerServices.cs')
| -rw-r--r-- | src/CompilerServices/CompilerServices.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CompilerServices/CompilerServices.cs b/src/CompilerServices/CompilerServices.cs index 79d3745d..7a73574b 100644 --- a/src/CompilerServices/CompilerServices.cs +++ b/src/CompilerServices/CompilerServices.cs @@ -13,8 +13,8 @@ namespace Crow public static class CompilerServices { static MethodInfo miAddBinding = typeof(GraphicObject).GetMethod ("BindMember"); - static FieldInfo miSetCurIface = typeof(GraphicObject). - GetField ("CurrentInterface", BindingFlags.NonPublic | BindingFlags.Instance); + static FieldInfo miSetCurIface = typeof(GraphicObject).GetField ("currentInterface", + BindingFlags.NonPublic | BindingFlags.Instance); public static void emitSetCurInterface(ILGenerator il){ il.Emit (OpCodes.Ldloc_0); |