Exemple #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();
 }
Exemple #2
0
 public Method(string identifier, TypeOf returnType, Member info)
     : base(info)
 {
     this.Identifier = identifier;
     this.ReturnType = returnType;
     this.ParameterTypes = TypeOf.EmptyList();
 }
 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);
     }
 }
 public Method(string identifier, TypeOf returnType, Member info) : base(info)
 {
     this.Identifier     = identifier;
     this.ReturnType     = returnType;
     this.ParameterTypes = TypeOf.EmptyList();
 }
 public Method(string identifier, TypeOf returnType, List <TypeOf> parameterTypes, Member info) : base(info)
 {
     this.Identifier     = identifier;
     this.ReturnType     = returnType;
     this.ParameterTypes = parameterTypes.AsReadOnly();
 }