Skip to content

Commit 098af0d

Browse files
committed
Remove C# 6.0 nameof operator usage
1 parent 45f0160 commit 098af0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GitVersionCore/IncrementStrategyFinder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private static VersionField SimpleIncrement(IncrementStrategy strategy)
5757
case IncrementStrategy.Patch:
5858
return VersionField.Patch;
5959
default:
60-
throw new ArgumentOutOfRangeException(nameof(strategy), strategy, null);
60+
throw new ArgumentOutOfRangeException("strategy", strategy, null);
6161
}
6262
}
6363

0 commit comments

Comments
 (0)