public void ReturnsList_When_IsDelegate() { DelegateDeclarationSyntax del = GetNode <DelegateDeclarationSyntax>("delegate void Test<T>();"); Assert.True(del.GetTypeParameterList() == del.TypeParameterList); }