This repository has been archived by the owner. It is now read-only.
This repository has been archived by the owner. It is now read-only.
RECS0096 fires on partial classes where not used #378
Open
Description
internal class Class1<T>
where T : class, new()
{
public T GetItem()
{
T x = new T();
return x;
}
}
internal partial class Class1<T> // fires here
{
public object BaseItem()
{
return new object();
}
}
Removing the Type parameter makes the second portion a different type, but the parameters are required on ALL declarations of the type.
Metadata
Metadata
Assignees
Labels
No labels