diff --git a/src/Numerics/Random/MersenneTwister.cs b/src/Numerics/Random/MersenneTwister.cs index 345ea3ec..f58ba7cf 100644 --- a/src/Numerics/Random/MersenneTwister.cs +++ b/src/Numerics/Random/MersenneTwister.cs @@ -3,7 +3,7 @@ // http://numerics.mathdotnet.com // http://github.com/mathnet/mathnet-numerics // -// Copyright (c) 2009-2013 Math.NET +// Copyright (c) 2009-2017 Math.NET // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation @@ -69,13 +69,12 @@ using System; using System.Collections.Generic; using System.Runtime.Serialization; -#if PORTABLE -using System; -#else +#if !PORTABLE using System.Runtime; using System.Threading; #endif + namespace MathNet.Numerics.Random { /// diff --git a/src/Numerics/Random/SystemRandomSource.cs b/src/Numerics/Random/SystemRandomSource.cs index 06a64c6a..8320851f 100644 --- a/src/Numerics/Random/SystemRandomSource.cs +++ b/src/Numerics/Random/SystemRandomSource.cs @@ -32,9 +32,7 @@ using System.Collections.Generic; using System.Runtime.Serialization; using MathNet.Numerics.Threading; -#if PORTABLE -using System; -#else +#if !PORTABLE using System.Runtime; using System.Threading; #endif