JetBrains / JetBrains/resharper-unity

Investigate null patterns for UnityEngine.Object subclasses

Open
#1,804 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.2k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

Investigate how various C# 8 null patterns work with `UnityEngine.Object` subclasses' custom equality operator. Would they make a good alternative for refactoring `myComponent?.Foo()` to something less ambiguous?

Contributor guide

Open the contributing guide

Research direction

Investigate C# 8 null patterns against the custom equality operator on UnityEngine.Object subclasses, using the myComponent?.Foo() example as the comparison point. Determine whether any pattern is a less ambiguous refactoring alternative; the issue does not name files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
devtools
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.