尝试使用 Moonlight 代码由于缺少Kind
例如在
https://github.com/mono/moon/blob/master/class/System.Windows/Mono/Types.cs#L47
什么是Kind
,它的定义在哪里?
namespace Mono
{
/*
* The managed equivalent of the unmanaged Types
* TODO:
* - Find out when to call Free.
*/
internal sealed partial class Types {
class KindComparer : IEqualityComparer<Kind> {
public bool Equals (Kind x, Kind y)
{
return x == y;
}
public int GetHashCode (Kind obj)
{
return (int) obj;
}
}
这肯定是一个缺失的参考,但我不知道到底是什么。