Home All Groups Group Topic Archive Search About

CodeDom in 2.0 and Asymmetric Access Modifiers

Author
27 Dec 2005 2:52 AM
joao
I'm trying to generate the following in CodeDom but can't figure out
how:

public Class Class1
{
     internal string m_Name;
     public string Name
     {
          get {
              return m_Name;
          }
          internal set {
               m_Name = value;
          }
     }
}

Maybe there's some UserData I could set to change the access modifier?
Any help would be appreciated! Thank you.

AddThis Social Bookmark Button