protected virtual void CheckMethodConfliction(TypeData type,
string name,
TypeData returnType,
TypedNodeList arguments)
{
MethodSignature sig =
new MethodSignature(type, name, returnType, arguments);
foreach (MethodData m in type.Methods) {
if (m.ConflictWith(sig)) {
string msg = "The signature: " + sig +
" conflicts with the earlier feature signature: " + m;
throw new MethodConflictionException(msg);
}
}
}