mono / api-doc-tools

.NET Reference API Toolchain
MIT License
68 stars 48 forks source link

No distinction between versions re. getters and setters #410

Closed mairaw closed 5 years ago

mairaw commented 5 years ago

Example: https://docs.microsoft.com/en-us/dotnet/api/system.servicemodel.nettcpbinding.reliablesession?view=netframework-4.7.2

It seems that mdoc is not knowing how to handle the different signatures between versions. Get and set should exist on the later versions like we used to have on MSDN.

.NET Framework 3.0: .property instance class System.ServiceModel.OptionalReliableSession ReliableSession() { .get instance class System.ServiceModel.OptionalReliableSession System.ServiceModel.NetTcpBinding::get_ReliableSession() } // end of property NetTcpBinding::ReliableSession

.NET Framework 4.8: .property instance class System.ServiceModel.OptionalReliableSession ReliableSession() { .get instance class System.ServiceModel.OptionalReliableSession System.ServiceModel.NetTcpBinding::get_ReliableSession() .set instance void System.ServiceModel.NetTcpBinding::set_ReliableSession(class System.ServiceModel.OptionalReliableSession) } // end of property NetTcpBinding::ReliableSession

joelmartinez commented 5 years ago

A few implementation notes for when we work on this:

joelmartinez commented 5 years ago

This has been resolved with mdoc 5.7.4.10