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