You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Removing the Type parameter makes the second portion a different type, but the parameters are required on ALL declarations of the type.
The text was updated successfully, but these errors were encountered: