String can be empty so return early if so
This commit is contained in:
parent
c8039d249e
commit
f5ec3e2a27
|
@ -127,6 +127,8 @@ namespace de4dot.code.renamer {
|
|||
}
|
||||
|
||||
protected static string upperFirst(string s) {
|
||||
if (string.IsNullOrEmpty(s))
|
||||
return string.Empty;
|
||||
return s.Substring(0, 1).ToUpperInvariant() + s.Substring(1);
|
||||
}
|
||||
}
|
||||
|
|
2
dot10
2
dot10
|
@ -1 +1 @@
|
|||
Subproject commit d7ccb50d4ea85a48c05132dff8ae1e38c4dcbba2
|
||||
Subproject commit 47d3c156d6b725cc7d020dfcd8b17a025205985f
|
Loading…
Reference in New Issue
Block a user