'member'는 사용되지 않습니다: '텍스트'
클래스 멤버가 사용되지 않는 특성으로 표시되었으므로 클래스 멤버를 참조할 때 오류가 발생합니다.
예시
다음 샘플에서는 CS0619를 생성합니다.
using System;
public class C
{
[Obsolete("Use NewMethod instead", true)] // generates an error on use
public static void OldMethod()
{
}
// this is the method you should be using
public static void NewMethod()
{
}
}
class MyClass
{
public static void Main()
{
C.OldMethod(); // CS0619
}
}
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET