microsoft / microsoft/Microsoft.Unity.Analyzers
Could you introduce these two analyzers about async method to unity analyser?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 812
- Forks
- 88
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 11
Description
I found two useful analyzers in ErrorProne.NET/
Two in the red box can avoid careless mistakes that wanted to return the task types originally.
Two in the green box can prevent async void method from being misused.
I think should support both UniTask and awaitable of Unity 6.0.
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the two analyzer categories shown in the linked ErrorProne.NET reference and compare them with the Microsoft.Unity.Analyzers project. Determine the required coverage for UniTask and Unity 6.0 awaitable methods, then define tests that demonstrate detection of careless task returns and misused async void methods.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, unity
- Domain
- devtools, game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100