Ejemplo n.º 1
0
 public Method(string identifier, TypeOf returnType, List<TypeOf> parameterTypes, Member info)
     : base(info)
 {
     this.Identifier = identifier;
     this.ReturnType = returnType;
     this.ParameterTypes = parameterTypes.AsReadOnly();
 }
Ejemplo n.º 2
0
 public Method(string identifier, TypeOf returnType, Member info)
     : base(info)
 {
     this.Identifier = identifier;
     this.ReturnType = returnType;
     this.ParameterTypes = TypeOf.EmptyList();
 }
Ejemplo n.º 3
0
 public override bool Equals(object otherObj)
 {
     if (otherObj is TypeOf)
     {
         TypeOf type = (TypeOf)otherObj;
         return((IsVoid && type.IsVoid) || obj.Equals(type.obj));
     }
     else
     {
         return(false);
     }
 }
Ejemplo n.º 4
0
 public Method(string identifier, TypeOf returnType, Member info) : base(info)
 {
     this.Identifier     = identifier;
     this.ReturnType     = returnType;
     this.ParameterTypes = TypeOf.EmptyList();
 }
Ejemplo n.º 5
0
 public Method(string identifier, TypeOf returnType, List <TypeOf> parameterTypes, Member info) : base(info)
 {
     this.Identifier     = identifier;
     this.ReturnType     = returnType;
     this.ParameterTypes = parameterTypes.AsReadOnly();
 }