Unlimited Technique          Unlimited Wisdom

1001010000101001000010010001000010000101101110111 1101010010010101011110010101110101011010101010101

导航

2005年7月18日 #

How to convert a type specified to a object type in IL.

摘要: There are two kinds of type in the IL: value type and non-value type. It can bejudged from the IsValueType property of a object type. e.g. typeof(String).IsValueType.ValueType includes Int(16, 32, 63)... 阅读全文

posted @ 2005-07-18 11:29 bughole 阅读(277) 评论(0) 推荐(0)

How to deal with the ‘void’ in IL

摘要: If there is a method returning a object type, it invokes a method returning null. Then the ‘ldnull’ instruction should be added after the invoking instruction.The description is demonstrat... 阅读全文

posted @ 2005-07-18 09:55 bughole 阅读(240) 评论(0) 推荐(0)