public static GetNameWithParameterList ( IMethodReference value ) : string | ||
value | IMethodReference | |
리턴 | string |
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(); }