컴파일러 오류 CS0811

업데이트: 2007년 11월

오류 메시지

'name'의 정규화된 이름이 너무 길어 정보를 디버깅할 수 없습니다. '/debug' 옵션을 사용하지 않고 컴파일하십시오.
The fully qualified name for 'name' is too long for debug information. Compile without '/debug' option.

디버그 정보의 변수 및 형식 이름에는 크기 제약 조건이 있습니다.

이 오류를 해결하려면

  • 이름을 수정할 수 없는 경우 유일한 대체 방법은 /debug 옵션을 사용하지 않고 컴파일하는 것입니다.

예제

다음 코드에서는 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;
        }
    }
}