private GetMethodSource ( IMethod method ) : string | ||
method | IMethod | |
리턴 | string |
private string GetMethodSource(IMethod method)
{
if (method == null || method.SourceCode == null)
return string.Empty;
if (method.SourceCode.Contains("\r\n"))
return method.SourceCode;
return method.SourceCode.Replace("\n", "\r\n");
}