Skip to content

Conversation

@Akarinnnnn
Copy link
Contributor

Problems caused by misuse callback or call-result has been a FAQ to our library. This pr: annotating callback or call-result types to async interface methods is helpful for developers to view which type to use. Another aspect is there attributes is essential for static analyzers to analyze is their usage correct.

The next step is, write a Roslyn analyzer Steamworks.Net.Analyzers. This static analyzer is applicable to projects uses Roslyn compiler. For example, project referenced analyzer NuGet package. If my remember is correct, Unity also uses Roslyn compiler after MonoBleedingEdge. This means Unity is potentially benefited to by editing some compiler flags or place analyzer DLL into a directory.

@Akarinnnnn
Copy link
Contributor Author

This huge change has been spilt into #724 #725.

@Akarinnnnn Akarinnnnn closed this Jul 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant