mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 05:05:00 +00:00
optimize<*>: remove deprecated apis (older than .NET 6)
This commit is contained in:
parent
890ff29ac7
commit
338f91357e
8 changed files with 677 additions and 749 deletions
|
@ -215,11 +215,7 @@ namespace SourceGit.Views.Widgets {
|
|||
|
||||
if (!added) Changes.Add(c);
|
||||
|
||||
#if NET48
|
||||
int sepIdx = c.Path.IndexOf("/", StringComparison.Ordinal);
|
||||
#else
|
||||
int sepIdx = c.Path.IndexOf('/', StringComparison.Ordinal);
|
||||
#endif
|
||||
if (sepIdx < 0) {
|
||||
GetOrAddTreeNode(Nodes, c.Path, c, false);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue