Closed ljw1004 closed 8 years ago
[copied from https://github.com/ljw1004/blog/issues/3 @sohra]
My example is RfcommServiceProvider.StartAdvertising(StreamSocketListener) listed on MSDN as being in the UniversalApiContract at version 1. My code was calling this and being flagged as version specific.
An overload was added in version 2 RfcommServiceProvider.StartAdvertising(StreamSocketListener, bool) and I'm guessing this is what was causing my code to be flagged.
The analyzer should consider the parameters to distinguish which overload is being called and if, in fact, it is actually version-specific or not.
Thanks for reporting this @sohra. I've made the change and will push a new version out to NuGet later today.
[copied from https://github.com/ljw1004/blog/issues/3 @sohra]
My example is RfcommServiceProvider.StartAdvertising(StreamSocketListener) listed on MSDN as being in the UniversalApiContract at version 1. My code was calling this and being flagged as version specific.
An overload was added in version 2 RfcommServiceProvider.StartAdvertising(StreamSocketListener, bool) and I'm guessing this is what was causing my code to be flagged.
The analyzer should consider the parameters to distinguish which overload is being called and if, in fact, it is actually version-specific or not.