|
From: <esc...@sc...> - 2007-01-07 11:01:22
|
I found a bug and made a hack fix for it. Someone who knows the code
better should review the change. I attached the file. The error involves
generic collections as far as I can tell. Generates help files after the
fix.
Thanks,
Schneider
File:
\ndoc\src\Core\ReflectionEngine\MemberID.cs
Method:
/// <summary>
///
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
public static string GetTypeName(Type type)
{
// XML Documentation file appends a "@" to reference and out types, not
a "&"
//string result = type.FullName.Replace("&", "@").Replace('+',
'#');
string result;
if (type.FullName != null)
{
result = type.FullName.Replace("&", "@").Replace('+', '#');
}
else
{
result=type.Name;
}
return result;
}
|