Compiler Error C3224
'type' : no overloaded generic class takes 'number' generic type arguments
The compiler failed to find an appropriate overload.
The following sample generates C3224:
// C3224.cs
// compile with: /target:library
public class C<T> {}
public class C<T,U> {}
And then,
// C3224b.cpp
// compile with: /clr
#using "C3224.dll"
int main() {
C<int,int,int>^ c = gcnew C<int,int,int>(); // C3224
C<int,int>^ c2 = gcnew C<int,int>(); // OK
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for