Trying to use Moonlight code I get error due to missing Kind e.g. at
https://github.com/mono/moon/blob/master/class/System.Windows/Mono/Types.cs#L47
What is Kind and where its definition is?
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;
}
}
It's most certainly a missing reference but I don't know what exactly.
Ref: https://github.com/mono/moon/blob/cb343939d3f5731d8c1509beb90c051c63a83903/src/type.h.in