JetBrains / JetBrains/resharper-unity
Warn when ambigious class is used
Open
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
In the solution NewBehaviourScript exists in both Assets and Assets/Editor
so the code
`var cube = GameObject.Find("Cube").GetComponent();`
`Assert.IsNotNull(cube, "test");`
should be confused, which one to use.
[New Unity Project (7).zip](https://github.com/JetBrains/resharper-unity/files/2115103/New.Unity.Project.7.zip)
Contributor guide
Assessment
This issue has not been assessed yet.