kswoll / WootzJs

C# to Javascript Compiler implemented via Roslyn
MIT License
110 stars 21 forks source link

The "CLR" does not handle types like the .NET CLR #31

Open AndersMalmgren opened 8 years ago

AndersMalmgren commented 8 years ago

For example consider this

    public interface IHandle<in TMessage>
    {
        void Handle(TMessage message);
    }

Foo implements IHandle<string>

This returns false System.Console.WriteLine(foo is IHandle<string>);

Running this in the standard CLR will return true