From 5189e49fbd548b6754ce4c1d1bfbeeefdf6a4034 Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Fri, 5 Apr 2013 00:29:22 +0200 Subject: [PATCH] Control: update obsolete attributes --- src/Numerics/Threading/CommonParallel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Numerics/Threading/CommonParallel.cs b/src/Numerics/Threading/CommonParallel.cs index 9e4399ac..c6397e28 100644 --- a/src/Numerics/Threading/CommonParallel.cs +++ b/src/Numerics/Threading/CommonParallel.cs @@ -54,7 +54,7 @@ namespace MathNet.Numerics.Threading /// The body to be invoked for each iteration. /// The argument is null. /// At least one invocation of the body threw an exception. - [Obsolete("Scheduled for removal in v3.0.")] + [Obsolete("Use a more efficient overload instead. Scheduled for removal in v3.0.")] public static void For(int fromInclusive, int toExclusive, Action body) { if (body == null) throw new ArgumentNullException("body"); @@ -149,6 +149,7 @@ namespace MathNet.Numerics.Threading /// The body to be invoked for each iteration. /// The argument is null. /// At least one invocation of the body threw an exception. + [Obsolete("Use a more efficient overload instead. Scheduled for removal in v3.0.")] public static void For(T[] array, Action body) { if (body == null)