c# - Adding description to dynamically generated methods in Reflection.Emit -


i have used reflection.emit dynamically generate types , methods. works fine, want include descriptive information method others can use more easily. normall including above method:

    /// <summary>     /// descriptive information     /// </summary>     /// <param name="paramname1">paramname1 description</param>     /// <param name="paramname2">paramname2 description</param>     /// <param name="gltypefieldreference"></param>     /// <returns>information return type</returns> 

is possible include information reflection.emit, , if so, how?

no, because not part of il metadata. instead, compiler writes optional .xml file goes alongside dll, , typebuilder etc doesn't handle in way. of course write xml file separately - schema should available somewhere.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -