CodeDOM question: explicit conversion operator generation

  • Thread starter Thread starter aurawind2k
  • Start date Start date
A

aurawind2k

I would like to generate through CodeDom an explicit conversion
operator. Is there a way of doing this?
 
I would like to generate through CodeDom an explicit conversion
operator. Is there a way of doing this?

Here is a small example of what I am looking to generate:


public static explicit operator ConvertedType(OriginalType orig)
{
ConvertedType result = new ConvertedType();
//Do Something
return result;
}
 
Back
Top