Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.11.1
Description
Simple if statements can be converted to conditionals. Specifically if one thing is happening in each block:
ie:
if (nullible) { return $"System.Nullable<{typeof(bool)}>"; } else { return typeof(bool).ToString(); }
can become:
return nullible ? $"System.Nullable<{typeof(bool)}>" : typeof(bool).ToString();
Attachments
Issue Links
- links to