I made some changes to the
mcs/tools/type-reflector/CSharpTypeDisplayer.cs (only tested using
MS.NET)

- Does this also compile / work on mono?
- Sorry - I haven't figured out (yet) to do a diff against the cvs. If
this change is ok, can somebody please commit the changes I made?

After the changes type-reflector.exe prints more complete attribute
constructors:

$ type-reflector.exe --output=c# DataColumn

returns:

[System.ComponentModel.DefaultPropertyAttribute("ColumnName")]
[System.ComponentModel.ToolboxItemAttribute("")]
[System.Reflection.DefaultMemberAttribute("Item")]
[System.ComponentModel.DesignTimeVisibleAttribute]
[System.ComponentModel.EditorAttribute("Microsoft.VSDesigner.Data.Design
.DataColumnEditor", "System.Drawing.Design.UITypeEditor")]
[System.ComponentModel.DesignerAttribute("System.Windows.Forms.Design.Co
mponentDocumentDesigner", "System.ComponentModel.Design.IRootDesigner")]
[System.ComponentModel.DesignerCategoryAttribute("Component")]
[System.ComponentModel.TypeConverterAttribute("System.ComponentModel.Com
ponentConverter")]
class      System.Data.DataColumn
  {
  }
 .
.
 .


Steinar

Attachment: CSharpTypeDisplayer.cs
Description: CSharpTypeDisplayer.cs

Reply via email to