| Thread | Last Post | Replies |
|
| Using Reflection Emit and Creating Instances | 28 Mar 2008 16:25 GMT | 4 |
I am trying to use the Reflection Emit capability of the framework to dynamically inherit a base class. I want to call the base classes constructor with arguments passed into the new classes constructor. I think I am close, but get the following error trying to activate the new ...
|
| Should Executing Assembly By Name be this sloooow.... | 28 Mar 2008 10:57 GMT | 8 |
I'm wondering why ExecuteAssemblyByName takes aprox. 6 seconds to load a small assembly and display a Winform, when it only takes 1.8 seconds
|
| how to use CLR classes in another CLR project? I get link error | 28 Mar 2008 06:12 GMT | 1 |
I have two CLR projects, now I want to use clr classes defined in one clr project in another clr project, but I got link error. anyone knows how to get this problem fixed any idea will be appreciated, thanks in advance.
|
| is there some instruction level overhead to dynamicMethod? | 20 Mar 2008 17:56 GMT | 15 |
i've tried to get a performance improvement by using dynamicMethod, but couldn't understand why it was so slow. so, as a test, i copied the il from a decompiled method, then made a dynamicMethod with the same il in the same program and found the
|
| Retrieving all properties by reflection | 18 Mar 2008 18:41 GMT | 3 |
I would like to retrieve all properties of a type with the following conditions: - should include private properties, also from base classes - polymorphic properties should be there only once
|
| Array.CreateInstance failure | 17 Mar 2008 10:45 GMT | 3 |
Bellow is a little except that creates a static array dynamically. However it creates a two dimensional one instead of a single dimensional. Why???? public static void Main(string[] args)
|
| LoadLibrary in-memory implementation for managed dlls | 13 Mar 2008 15:13 GMT | 3 |
I have a in-memory library loader (much like http://www.joachim-bauch.de/tutorials/load_dll_memory.html) and now I would like to make it support loading managed DLL (mixed-mode assemblies).
|
| ILGenerator.Emit crashes if using SerializationFieldInfo | 11 Mar 2008 19:12 GMT | 1 |
ILGenerator.Emit(OpCode, FieldInfo) method throws ArgumentNullException if the input parameter is an instance of System.Runtime.Serialization.SerializationFieldInfo class. I believe this is a bug in the framework (I am running on .NET2.0). Could you please help me if
|
| DynamicMethod as an object | 08 Mar 2008 00:39 GMT | 3 |
According to my understanding, the dynamic code generated using the DynamicMethod class is part of the DynamicMethod instance and is subject to garbage collection just like any other object, once no longer used. This must mean (correct me if I'm wrong) that the dynamically ...
|
| Reflection and BaseTypes.... | 03 Mar 2008 14:05 GMT | 5 |
Ok, I am HOPING this is simple and I am missing the quite in front of my face answer I have not drunk enought caffine to answer. I have a method that accepts objects of an unknown type and origin. I am looking to "normailze" their storage in a 5 object database
|