From 29531a29a5c3737736fb444099dafd141433b9b7 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 28 Oct 2015 14:14:48 -0400 Subject: [PATCH] Use 'using SD = System.Diagnostics' to avoid ambiguous references. --- mcs/class/corlib/Test/System.Threading/ThreadTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcs/class/corlib/Test/System.Threading/ThreadTest.cs b/mcs/class/corlib/Test/System.Threading/ThreadTest.cs index 622396e2212..8be40d46b9a 100644 --- a/mcs/class/corlib/Test/System.Threading/ThreadTest.cs +++ b/mcs/class/corlib/Test/System.Threading/ThreadTest.cs @@ -15,7 +15,7 @@ using System.Security.Principal; using System.Threading; using System.Reflection; using System.Collections.Generic; -using System.Diagnostics; +using SD = System.Diagnostics; using NUnit.Framework; @@ -1257,7 +1257,7 @@ namespace MonoTests.System.Threading public void GetStackTraces () { var m = typeof (Thread).GetMethod ("Mono_GetStackTraces", BindingFlags.NonPublic|BindingFlags.Static); if (m != null) { - var res = (Dictionary)typeof (Thread).GetMethod ("Mono_GetStackTraces", BindingFlags.NonPublic|BindingFlags.Static).Invoke (null, null); + var res = (Dictionary)typeof (Thread).GetMethod ("Mono_GetStackTraces", BindingFlags.NonPublic|BindingFlags.Static).Invoke (null, null); foreach (var t in res.Keys) { var st = res [t].ToString (); } -- GitLab