From: hammett <ha...@uo...> - 2004-10-22 22:09:52
|
Scary! I'll rewrite the WriteILForMethod today !!! Microsoft (R) .NET Framework PE Verifier Version 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::ToString] [offset 0x0000002E] [opcode stloc] [found objref 'System.String'] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::ToString] [offset 0x0000003C] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected objref 'System.String'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Equals] [offset 0x0000004C] [opcode ldind.i4] [found address of SByte] [expected address of Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Equals] [offset 0x0000004D] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Equals] [offset 0x0000004D] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Equals] [offset 0x0000005B] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::GetHashCode] [offset 0x0000002F] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::GetHashCode] [offset 0x0000002F] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::GetHashCode] [offset 0x0000003D] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000077] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x0000006A] [opcode stloc] [found address of SByte] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x0000006A] [opcode stloc] [found address of SByte] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000078] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int64] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int64] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000077] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int64] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000077] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Double] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Double] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000077] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Double] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Double] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Double] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000077] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Double] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000077] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000077] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x0000006A] [opcode stloc] [found address of Int64] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x0000006A] [opcode stloc] [found address of Int64] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Sum] [offset 0x00000078] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int64] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::get_Valid] [offset 0x0000002E] [opcode ldind.i4] [found address of SByte] [expected address of Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::get_Valid] [offset 0x0000002F] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::get_Valid] [offset 0x0000002F] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::get_Valid] [offset 0x0000003D] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Subtract] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Subtract] [offset 0x00000069] [opcode stloc] [found Int32] [expected objref 'System.Reflection.MethodInfo'] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::Subtract] [offset 0x00000077] [opcode ret] [found objref 'System.Reflection.MethodInfo'] [expected Int32] Unexpected type on the stack. [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::GetObjectData] [offset 0x00000020] [opcode callvirt] fall thru end of the method [IL]: Error: [e:\dev\projects\digitalgravity\castle\trunk\tools\bin\generatedassembly.dll : ProxyTypeSpecializedServiceClass_ISerializable::GetObjectData] [HRESULT 0x80004005] - Unspecified error 45 Errors Verifying GeneratedAssembly.dll -- Cheers, hammett http://www.digitalcraftsmen.com.br/~hammett |
From: hammett <ha...@uo...> - 2004-10-23 01:22:09
|
FIXED! Phew! And the WriteILForMethod now is even shorter. -- Cheers, hammett http://www.digitalcraftsmen.com.br/~hammett |