IDE: VS 2015 Version: 8.4.96.2033 Target (If relevant): All Description:
public class LinkedList<TValue, TNode>
where TNode : LinkedListNode<TValue, TNode> {
/*
This nested class is compiled with warnings in MS C#, but failed with errors in RO C#:
(E210) Generic parameter doesn't fulfill constraint "SharedProject1.LinkedListNode<TValue,TNode>" for "TNode"
*/
private class LinkedListIterator<TValue, TNode>
where TNode : LinkedListNode<TValue, TNode> {
/* If the above where constraint is removed, the error will be gone */
}
}
public class LinkedListNode<TValue, TNode>
where TNode : LinkedListNode<TValue, TNode> {}