Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetProvider()

static DebugProvider System.Diagnostics.Debug.SetProvider ( DebugProvider provider)
inlinestatic

Definition at line 214 of file Debug.cs.

215 {
216 if (provider == null)
217 {
218 throw new ArgumentNullException("provider");
219 }
220 return Interlocked.Exchange(ref s_provider, provider);
221 }
static volatile DebugProvider s_provider
Definition Debug.cs:170
static int Exchange(ref int location1, int value)

References System.Threading.Interlocked.Exchange(), and System.Diagnostics.Debug.s_provider.