Белешка
Приступ овој страници захтева ауторизацију. Можете покушати да се пријавите или промените директоријуме.
Приступ овој страници захтева ауторизацију. Можете покушати да промените директоријуме.
'type1' : generic type parameter already constrained by 'type2'
Remarks
A constraint was specified more than once.
For more information on generics, see Generics.
Example
The following example generates C3215:
// C3215.cpp
// compile with: /clr
interface struct A {};
generic <class T>
where T : A,A
ref class C {}; // C3215
Possible resolution:
// C3215b.cpp
// compile with: /clr /c
interface struct A {};
generic <class T>
where T : A
ref class C {};