Beispiel #1
0
 internal PropertyGen(TypeGen owner, MethodAttributes attrs, Type type, string name)
 {
     _owner           = owner;
     _attrs           = attrs;
     _type            = type;
     Name             = name;
     _indexParameters = new ParameterGenCollection(owner.TypeMapper);
 }
Beispiel #2
0
 internal ParameterGen(ParameterGenCollection owner, int position, Type parameterType, ParameterAttributes attributes, string name, bool va)
 {
     this.owner         = owner;
     this.position      = position;
     this.parameterType = parameterType;
     this.attributes    = attributes;
     this.name          = name;
     this.va            = va;
 }
 internal ParameterGen(ParameterGenCollection owner, int position, Type parameterType, ParameterAttributes attributes, string name, bool va)
     : base(owner.TypeMapper)
 {
     _owner              = owner;
     Position            = position;
     Type                = parameterType;
     ParameterAttributes = attributes;
     Name                = name;
     IsParameterArray    = va;
 }
Beispiel #4
0
 internal SignatureGen(Type returnType, ITypeMapper typeMapper)
     : base(typeMapper)
 {
     _parameters = new ParameterGenCollection(typeMapper);
     TypedThis   = (T)this;
     if (returnType != null)
     {
         ReturnParameter = new ParameterGen(_parameters, 0, returnType, 0, null, false);
     }
 }