GetNameWithParameterList() 공개 정적인 메소드

public static GetNameWithParameterList ( IMethodReference value ) : string
value IMethodReference
리턴 string
예제 #1
0
        public static string GetNameWithDeclaringType(IMethodReference value)
        {
            ITypeReference typeReference = value.DeclaringType as ITypeReference;

            if (typeReference != null)
            {
                return(Helper.GetNameWithResolutionScope(typeReference) + "." + Helper.GetNameWithParameterList(value));
            }

            IArrayType arrayType = value.DeclaringType as IArrayType;

            if (arrayType != null)
            {
                return(arrayType.ToString() + "." + Helper.GetNameWithParameterList(value));
            }

            throw new NotSupportedException();
        }