Can anyone explain to me why the following code throws System.Reflection.AmbiguousMatchException?

后端 未结 2 1113
时光取名叫无心
时光取名叫无心 2021-02-05 10:42
using System;
using System.Reflection;

namespace A
{
  interface IObjectWithId
  {
    TId Id { get; }
  }
  interface IEntityBase : IObjectWithId

        
2条回答
  •  眼角桃花
    2021-02-05 11:29

    I got this error when there were two implementations for an one interface method.

提交回复
热议问题