Неуниверсальный тип 'System.Collections.IEnumerable' нельзя использовать с аргументами типа

using System.Collections.Generic;

public sealed class LoLQueue<T> where T: class
{
    private SingleLinkNode<T> mHe;
    private SingleLinkNode<T> mTa;

    public LoLQueue()
    {
        this.mHe = new SingleLinkNode<T>();
        this.mTa = this.mHe;
    }
}

Ошибка:

The non-generic type 'LoLQueue<T>.SingleLinkNode' cannot be used with type arguments

Почему я получаю это?

9
задан Danpe 3 August 2011 в 18:39
поделиться