aviso do compilador (nível 2) CS0467
Mensagem de erro
Ambigüidade entre 'method' método e não-método 'não method'.Usando o método de agrupar.
Os membros herdados com a mesma assinatura de interfaces diferentes, causar ambigüidade erro.
Exemplo
O exemplo a seguir gera CS0467.
// CS0467.cs
interface IList
{
int Count { get; set; }
}
interface ICounter
{
void Count(int i);
}
interface IListCounter : IList, ICounter {}
class Driver
{
void Test(IListCounter x)
{
x.Count = 1;
x.Count(1); // CS0467
// To resolve change the method name "Count" to another name.
}
static void Main()
{
}
}