MethodBuilder.GetGenericMethodDefinition 메서드

정의

이 메서드를 반환합니다.

public:
 override System::Reflection::MethodInfo ^ GetGenericMethodDefinition();
public override System.Reflection.MethodInfo GetGenericMethodDefinition ();
override this.GetGenericMethodDefinition : unit -> System.Reflection.MethodInfo
Public Overrides Function GetGenericMethodDefinition () As MethodInfo

반환

MethodBuilder의 현재 인스턴스입니다.

예외

현재 메서드는 제네릭이 아닙니다. 즉, IsGenericMethod 속성이 false를 반환합니다.

설명

생성 MethodBuilder 된 제네릭 메서드를 직접 내보내는 데 사용할 수 없습니다. 내보낸 메서드는 제네릭 메서드 정의입니다.

자세한 내용은 MethodBase.IsGenericMethodMethodInfo.GetGenericMethodDefinition를 참조하세요. 제네릭 형식에 대한 자세한 내용은 를 참조하세요 Type.IsGenericType.

적용 대상

추가 정보