src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add a class which extends System.ValueType to this Module
/// If this class already exists, throw an exception
/// </summary>
/// <param name="attrSet">attributes of this class</param>
/// <param name="nsName">name space name</param>
/// <param name="name">class name</param>
/// <returns>a descriptor for this new class</returns>
Add a class which extends System.ValueType to this Module
If this class already exists, throw an exception
Add a class which extends System . ValueType to this Module If this class already exists throw an exception
public ClassDef AddValueClass(TypeAttr attrSet, string nsName, string name) {
            ClassDef aClass = AddClass(attrSet,nsName,name);
            aClass.SuperType = MSCorLib.mscorlib.ValueType();
            aClass.MakeValueClass();
            return aClass;
        }
public ClassDef AddValueClass ( TypeAttr attrSet , string nsName , string name ) { ClassDef aClass = AddClass ( attrSet , nsName , name ) ; aClass . SuperType = MSCorLib . mscorlib . ValueType ( ) ; aClass . MakeValueClass ( ) ; return aClass ; }
Add a class which extends System.ValueType to this Module
If this class already exists, throw an exception
Add a class which extends System . ValueType to this Module If this class already exists throw an exception
a descriptor for this new class
a descriptor for this new class
attrSet
TypeAttr
attributes of this class
attributes of this class
nsName
string
name space name
name space name
name
string
None