16 using System.Collections.Generic;
19 namespace ErrorManagement {
38 aux.AppendFormat(
"The instance method '{0}' has been called from the static method '{1}', whithout using an object. ",
39 instanceMethod, staticMethod);
40 this.Description = aux.ToString();
InstanceMethodCallFromStaticMethodError(string instanceMethod, string staticMethod, Location location)
Constructor
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 an instance method is called from a static one, whithout using an ob...
System.Text.StringBuilder StringBuilder
Represents an adapter of existing features in every error.