Methods with value type parameters passed by reference are missing
natewallace opened this issue · 0 comments
natewallace commented
Take the following method:
/// <summary>example method</summary>
/// <param name="p1">example paramter that is passed by reference</param>
public void ExampleMetho(ref int p1)
{
{
This member will not show up in the members list generated by calling the DocReader.Read method.
I believe the issue is that the MemberIdMap class is generating an id for this parameter type from the reflected type which will have a name of System.Int32& because of the ref modifier. The id found in the xml comments file generated by visual studio will have an id for this parameter type of System.Int@. The result being that the member from the xml comment file isn't found in the MemberIdMap and is therefore excluded from the results.