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