16 using System.Collections.Generic;
19 namespace ErrorManagement
41 aux.AppendFormat(
"No overload for method '{0}' takes '{1}' arguments.", id, args);
42 this.Description = aux.ToString();
This class encapsulates a location in a specific file. Implements an Inmutable pattern. So it can be used in any context, that is his internal fields never change.
Represents a error produced when the argument and parameter number is different.
System.Text.StringBuilder StringBuilder
Represents an adapter of existing features in every error.
ArgumentNumberError(string id, int args, Location loc)
Constructor of ArgumentNumberError