Split local declaration and assignment
Property | Value |
---|---|
Id | RR0194 |
Applicable Syntax | local variable declaration |
Syntax Span | equals token |
Enabled by Default | ✓ |
Usage
Example #1
before.cs
var s = GetValue();
after.cs
string s;
s = GetValue();
Configuration
roslynator_refactoring.split_local_declaration_and_assignment.enabled = true|false