42 references to IsAttached
mscorlib (8)
system\diagnostics\assert.cs (2)
84if (Debugger.IsAttached == true) 112if (Debugger.IsAttached)
system\diagnostics\debugger.cs (4)
67if (!Debugger.IsAttached) 98if (!Debugger.IsAttached) 122if (Debugger.IsAttached) 181if (Debugger.IsAttached)
system\diagnostics\logswitch.cs (1)
112if (Debugger.IsAttached)
system\threading\Tasks\TaskScheduler.cs (1)
312if (Debugger.IsAttached)
PresentationCore (2)
Core\CSharp\System\Windows\Diagnostics\VisualDiagnostics.cs (2)
298System.Diagnostics.Debugger.IsAttached || 419get { return s_IsEnableVisualTreeChangedAllowed ?? System.Diagnostics.Debugger.IsAttached; }
PresentationFramework (1)
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
1205if (Debugger.IsAttached)
System (1)
compmod\system\diagnostics\assertwrapper.cs (1)
159if (!System.Diagnostics.Debugger.IsAttached) {
System.Activities (8)
System\Activities\Activity.cs (5)
437Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 451Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 465Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "This should only be called on the root."); 539Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "only callable on the root"); 548Fx.Assert(this.rootProperties != null || System.Diagnostics.Debugger.IsAttached, "only callable on the root");
System\Activities\Debugger\SourceLocationProvider.cs (1)
135if (System.Diagnostics.Debugger.IsAttached)
System\Activities\Debugger\ThreadWorkerController.cs (1)
92if (Debugger.IsAttached)
System\Activities\Runtime\ActivityExecutor.cs (1)
965if (System.Diagnostics.Debugger.IsAttached)
System.AddIn (1)
System\Addin\Hosting\AddInStore.cs (1)
559if(Debugger.IsAttached)
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
1786System.Diagnostics.Debugger.IsAttached) {
System.Data.Services (1)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
72System.Diagnostics.Debugger.IsAttached || this.instance != null,
System.ServiceModel (1)
System\ServiceModel\Dispatcher\ErrorBehavior.cs (1)
247if (System.Diagnostics.Debugger.IsAttached)
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (2)
98if (Debugger.IsAttached) 111if (Debugger.IsAttached)
System.Web (9)
Cache\SqlCacheDependency.cs (3)
655if (!System.Diagnostics.Debugger.IsAttached && DateTime.UtcNow > waitLimit) { 814if (!System.Diagnostics.Debugger.IsAttached && DateTime.UtcNow > waitLimit) { 1031if (!System.Diagnostics.Debugger.IsAttached && DateTime.UtcNow > waitLimit) {
HttpContext.cs (2)
1789if (CompilationUtil.IsDebuggingEnabled(this) || System.Diagnostics.Debugger.IsAttached) 1826if (CompilationUtil.IsDebuggingEnabled(this) || System.Diagnostics.Debugger.IsAttached) {
HttpRuntime.cs (1)
1950if (!System.Diagnostics.Debugger.IsAttached && DateTime.UtcNow > waitLimit) {
IdleTimeoutMonitor.cs (1)
74if (System.Diagnostics.Debugger.IsAttached)
Util\AppVerifier.cs (1)
134if (Debugger.IsAttached) {
Util\Debug.cs (1)
845return (NativeMethods.IsDebuggerPresent() || System.Diagnostics.Debugger.IsAttached);
System.Web.Services (1)
System\Web\Services\Protocols\RemoteDebugger.cs (1)
52enabled = !CompModSwitches.DisableRemoteDebugging.Enabled && Debugger.IsAttached && Connection != null;
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Application.cs (1)
3658if (Debugger.IsAttached) {
winforms\Managed\System\WinForms\Control.cs (1)
309private static bool checkForIllegalCrossThreadCalls = Debugger.IsAttached;
winforms\Managed\System\WinForms\NativeWindow.cs (1)
287if (Debugger.IsAttached) {
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
444if (!Debugger.IsAttached)
WindowsBase (2)
Base\MS\Internal\AvTrace.cs (1)
262return Debugger.IsAttached || SafeNativeMethods.IsDebuggerPresent();
Shared\MS\Win32\HwndWrapper.cs (1)
391if( System.Diagnostics.Debugger.IsAttached )