Error del compilador C3913
una propiedad predeterminada debe estar indexada
Una propiedad predeterminada se definió incorrectamente.
Para obtener más información, consulta property.
El ejemplo siguiente genera el error C3913:
// C3913.cpp
// compile with: /clr /c
ref struct X {
property int default { // C3913
// try the following line instead
// property int default[int] {
int get(int) { return 0; }
void set(int, int) {}
}
};