Permalink
Browse files

Enable stopwatch extension methods for .NET Core

I suspect Stopwatch wasn't available in earlier versions of .NET
Standard - or possibly not in netstandard1.1 when we targeted that.
But it's fine for netstandard1.3.
  • Loading branch information...
jskeet committed Jun 13, 2017
1 parent cb717e2 commit f5aa6b09edc9338111114e4e8ea425be37f99cce
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/NodaTime/Extensions/StopwatchExtensions.cs
@@ -1,7 +1,6 @@
// Copyright 2014 The Noda Time Authors. All rights reserved.
// Use of this source code is governed by the Apache License 2.0,
// as found in the LICENSE.txt file.
#if !PCL
using System.Diagnostics;
using JetBrains.Annotations;
using NodaTime.Utility;
@@ -25,4 +24,3 @@ public static Duration ElapsedDuration([NotNull] this Stopwatch stopwatch)
}
}
}
#endif

0 comments on commit f5aa6b0

Please sign in to comment.