Error del compilador CS0811
Actualización: noviembre 2007
Mensaje de error
El nombre completo de 'nombre' es demasiado largo para la información de depuración. Compile sin la opción '/debug'.
The fully qualified name for 'name' is too long for debug information. Compile without '/debug' option.
Existen restricciones de tamaño para los nombres de variable y tipo en la información de depuración.
Para corregir este error
- Si no es posible modificar el nombre, la única alternativa es compilar sin la opción /debug.
Ejemplo
El código siguiente genera el error CS0811:
// cs0811.cs
//Compile with: /debug
using System;
using System.Collections.Generic;
namespace TestNamespace
{
using Long = List<List<List<List<List<List<List<List<List<List<List<List<List
<List<List<List<List<List<List<List<List<List<List<List<List<List<List<List<int>>>>>>>>>>>>>>>>>>>>>>>>>>>>; // CS0811
class Test
{
static int Main()
{
return 1;
}
}
}