monkey0506 / native-generic-delegates

Generic C# delegates for P/Invoke.
Other
8 stars 0 forks source link

Add release tracking analyzer metadata #2

Closed monkey0506 closed 1 month ago

monkey0506 commented 1 year ago

Describe the issue

The interceptors branch currently generates Diagnostics when the custom marshaling behavior is defined in an unsupported way. Future versions of this library may add additional diagnostics. Release tracking analyzer metadata should be supported for the diagnostics this library produces.

Proposed solution

Utilize the Microsoft guide to enable release tracking analyzer metadata for this library.

Additional considerations

I am unclear on what constitutes a "release" in this context. For example, is this feature only supported for NuGet packages, or would a GitHub Release meet that criteria? Additional research (or community feedback) will be required to ensure that this is implemented properly.

monkey0506 commented 9 months ago

Development for this issue has moved to the interceptors branch with a6d0462.

monkey0506 commented 1 month ago

Currently there are no diagnostics generated, so this no longer applies. If diagnostics are added in the future, they can follow the recommended pattern.