1770 references to IsEnabled
Aspire.Hosting (44)
AspireEventSource.cs (44)
17if (IsEnabled()) 26if (IsEnabled()) 35if (IsEnabled()) 44if (IsEnabled()) 53if (IsEnabled()) 62if (IsEnabled()) 71if (IsEnabled()) 80if (IsEnabled()) 89if (IsEnabled()) 98if (IsEnabled()) 107if (IsEnabled()) 116if (IsEnabled()) 125if (IsEnabled()) 134if (IsEnabled()) 143if (IsEnabled()) 152if (IsEnabled()) 161if (IsEnabled()) 170if (IsEnabled()) 179if (IsEnabled()) 188if (IsEnabled()) 197if (IsEnabled()) 206if (IsEnabled()) 215if (IsEnabled()) 224if (IsEnabled()) 233if (IsEnabled()) 242if (IsEnabled()) 251if (IsEnabled()) 260if (IsEnabled()) 269if (IsEnabled()) 278if (IsEnabled()) 287if (IsEnabled()) 296if (IsEnabled()) 305if (IsEnabled()) 314if (IsEnabled()) 323if (IsEnabled()) 332if (IsEnabled()) 341if (IsEnabled()) 350if (IsEnabled()) 359if (IsEnabled()) 368if (IsEnabled()) 377if (IsEnabled()) 386if (IsEnabled()) 395if (IsEnabled()) 404if (IsEnabled())
dotnet-dev-certs (32)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (28)
150if (Log.IsEnabled()) 166if (Log.IsEnabled()) 178if (Log.IsEnabled()) 201if (Log.IsEnabled()) 307if (Log.IsEnabled()) 337if (Log.IsEnabled()) 346if (Log.IsEnabled()) 362if (Log.IsEnabled()) 367if (Log.IsEnabled()) 385if (Log.IsEnabled()) 415if (Log.IsEnabled()) 424if (Log.IsEnabled()) 454if (Log.IsEnabled()) 549if (Log.IsEnabled()) 563if (Log.IsEnabled()) 570if (Log.IsEnabled()) 582if (Log.IsEnabled()) 595if (Log.IsEnabled()) 615if (Log.IsEnabled()) 651if (Log.IsEnabled()) 730catch (Exception e) when (Log.IsEnabled()) 753catch (Exception ex) when (Log.IsEnabled()) 781catch (Exception ex) when (Log.IsEnabled()) 863if (Log.IsEnabled()) 878if (Log.IsEnabled()) 886catch (Exception ex) when (Log.IsEnabled()) 1007if (Log.IsEnabled()) 1014catch (Exception ex) when (Log.IsEnabled())
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
101if (Log.IsEnabled()) 252if (Log.IsEnabled()) 311if (Log.IsEnabled()) 349if (Log.IsEnabled())
ILCompiler.DependencyAnalysisFramework (4)
DependencyAnalyzer.cs (1)
358if (PerfEventSource.Log.IsEnabled())
EventSourceLogStrategy.cs (1)
61GraphEventSource.Log.IsEnabled();
PerfEventSource.cs (2)
33if (!Log.IsEnabled()) 42if (!Log.IsEnabled())
ILCompiler.ReadyToRun (7)
Compiler\PerfEventSource.cs (7)
33if (Log.IsEnabled()) 41if (Log.IsEnabled()) 49if (!Log.IsEnabled()) 58if (!Log.IsEnabled()) 67if (!Log.IsEnabled()) 76if (!Log.IsEnabled()) 85if (!Log.IsEnabled())
illink (2)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (32)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (28)
150if (Log.IsEnabled()) 166if (Log.IsEnabled()) 178if (Log.IsEnabled()) 201if (Log.IsEnabled()) 307if (Log.IsEnabled()) 337if (Log.IsEnabled()) 346if (Log.IsEnabled()) 362if (Log.IsEnabled()) 367if (Log.IsEnabled()) 385if (Log.IsEnabled()) 415if (Log.IsEnabled()) 424if (Log.IsEnabled()) 454if (Log.IsEnabled()) 549if (Log.IsEnabled()) 563if (Log.IsEnabled()) 570if (Log.IsEnabled()) 582if (Log.IsEnabled()) 595if (Log.IsEnabled()) 615if (Log.IsEnabled()) 651if (Log.IsEnabled()) 730catch (Exception e) when (Log.IsEnabled()) 753catch (Exception ex) when (Log.IsEnabled()) 781catch (Exception ex) when (Log.IsEnabled()) 863if (Log.IsEnabled()) 878if (Log.IsEnabled()) 886catch (Exception ex) when (Log.IsEnabled()) 1007if (Log.IsEnabled()) 1014catch (Exception ex) when (Log.IsEnabled())
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
101if (Log.IsEnabled()) 252if (Log.IsEnabled()) 311if (Log.IsEnabled()) 349if (Log.IsEnabled())
Microsoft.AspNetCore.Hosting (1)
Internal\HostingApplicationDiagnostics.cs (1)
91if (_eventSource.IsEnabled())
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionContext.cs (1)
719if (HttpConnectionsEventSource.Log.IsEnabled() || MetricsContext.ConnectionDurationEnabled)
Internal\HttpConnectionsEventSource.cs (1)
43if (IsEnabled())
Microsoft.AspNetCore.Server.Kestrel.Core (35)
Internal\Infrastructure\KestrelEventSource.cs (3)
99if (IsEnabled()) 124if (IsEnabled()) 234if (IsEnabled())
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (28)
150if (Log.IsEnabled()) 166if (Log.IsEnabled()) 178if (Log.IsEnabled()) 201if (Log.IsEnabled()) 307if (Log.IsEnabled()) 337if (Log.IsEnabled()) 346if (Log.IsEnabled()) 362if (Log.IsEnabled()) 367if (Log.IsEnabled()) 385if (Log.IsEnabled()) 415if (Log.IsEnabled()) 424if (Log.IsEnabled()) 454if (Log.IsEnabled()) 549if (Log.IsEnabled()) 563if (Log.IsEnabled()) 570if (Log.IsEnabled()) 582if (Log.IsEnabled()) 595if (Log.IsEnabled()) 615if (Log.IsEnabled()) 651if (Log.IsEnabled()) 730catch (Exception e) when (Log.IsEnabled()) 753catch (Exception ex) when (Log.IsEnabled()) 781catch (Exception ex) when (Log.IsEnabled()) 863if (Log.IsEnabled()) 878if (Log.IsEnabled()) 886catch (Exception ex) when (Log.IsEnabled()) 1007if (Log.IsEnabled()) 1014catch (Exception ex) when (Log.IsEnabled())
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
101if (Log.IsEnabled()) 252if (Log.IsEnabled()) 311if (Log.IsEnabled()) 349if (Log.IsEnabled())
Microsoft.Build (9)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
661if (MSBuildEventSource.Log.IsEnabled())
BackEnd\Components\RequestBuilder\RequestBuilder.cs (2)
1215if (MSBuildEventSource.Log.IsEnabled()) 1269if (MSBuildEventSource.Log.IsEnabled())
Construction\ProjectRootElement.cs (2)
1545if (MSBuildEventSource.Log.IsEnabled()) 1578if (MSBuildEventSource.Log.IsEnabled())
Evaluation\LazyItemEvaluator.IncludeOperation.cs (2)
116if (MSBuildEventSource.Log.IsEnabled()) 133if (MSBuildEventSource.Log.IsEnabled())
Graph\ProjectGraph.cs (2)
486if (MSBuildEventSource.Log.IsEnabled()) 506if (MSBuildEventSource.Log.IsEnabled())
Microsoft.Build.NuGetSdkResolver (11)
GlobalJsonReader.cs (2)
243if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.GlobalJsonReadStart(globalJsonPath, sdkResolverContext.ProjectFilePath, sdkResolverContext.SolutionFilePath); 282if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.GlobalJsonReadStop(globalJsonPath, sdkResolverContext.ProjectFilePath, sdkResolverContext.SolutionFilePath);
NuGetSdkLogger.cs (1)
85if (SdkResolverEventSource.Instance.IsEnabled())
NuGetSdkResolver.cs (8)
90if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.ResolveStart(sdkReference.Name, sdkReference.Version); 110if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.ResolveStop(sdkReference.Name, sdkReference.Version); 161if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.GetResultStart(sdk.Name, parsedSdkVersion.OriginalVersion); 167if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.LoadSettingsStart(); 185if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.LoadSettingsStop(); 203if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.RestorePackageStart(libraryIdentity.Name, libraryIdentity.Version.OriginalVersion); 215if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.RestorePackageStop(libraryIdentity.Name, libraryIdentity.Version.OriginalVersion); 268if (SdkResolverEventSource.Instance.IsEnabled()) SdkResolverEventSource.Instance.GetResultStop(sdk.Name, parsedSdkVersion.OriginalVersion, result?.Path, result == null ? 0 : (result.Success ? 1 : 0));
Microsoft.CodeAnalysis (7)
CodeAnalysisEventSource.Common.cs (4)
40if (IsEnabled()) 68if (IsEnabled()) 129if (IsEnabled()) 155if (IsEnabled())
SourceGeneration\GeneratorDriver.cs (1)
580if (CodeAnalysisEventSource.Log.IsEnabled())
SourceGeneration\Nodes\InputNode.cs (1)
181if (!CodeAnalysisEventSource.Log.IsEnabled())
SourceGeneration\Nodes\NodeExtensions.cs (1)
14if (CodeAnalysisEventSource.Log.IsEnabled())
Microsoft.CodeAnalysis.Workspaces (5)
Log\EtwLogger.cs (1)
22=> _source.IsEnabled() && isEnabledPredicate(functionId);
src\roslyn\src\Compilers\Core\Portable\CodeAnalysisEventSource.Common.cs (4)
40if (IsEnabled()) 68if (IsEnabled()) 129if (IsEnabled()) 155if (IsEnabled())
Microsoft.Extensions.Caching.Hybrid (5)
Internal\DefaultHybridCache.cs (1)
154bool eventSourceEnabled = HybridCacheEventSource.Log.IsEnabled();
Internal\DefaultHybridCache.L2.cs (1)
214if (HybridCacheEventSource.Log.IsEnabled())
Internal\DefaultHybridCache.StampedeStateT.cs (1)
163bool eventSourceEnabled = HybridCacheEventSource.Log.IsEnabled();
Internal\DefaultHybridCache.TagInvalidation.cs (1)
257if (HybridCacheEventSource.Log.IsEnabled())
Internal\HybridCacheEventSource.cs (1)
230Debug.Assert(IsEnabled(), $"Missing check to {nameof(HybridCacheEventSource)}.{nameof(Log)}.{nameof(IsEnabled)} from {caller}");
Microsoft.Extensions.Caching.Hybrid.Tests (2)
HybridCacheEventSourceTests.cs (1)
228Skip.IfNot(listener.Source.IsEnabled(), "Event source not enabled");
TestEventListener.cs (1)
40Assert.True(Source.IsEnabled(), "should report as enabled");
Microsoft.Extensions.Http.Diagnostics.Tests (8)
Latency\Internal\HttpRequestLatencyListenerTest.cs (8)
54Assert.False(es.IsEnabled()); 59Assert.False(esSockets.IsEnabled()); 64Assert.False(esHttp.IsEnabled()); 69Assert.False(esNameRes.IsEnabled()); 87Assert.False(es.IsEnabled()); 113Assert.True(esSockets.IsEnabled()); 118Assert.True(esHttp.IsEnabled()); 123Assert.True(esNameRes.IsEnabled());
Microsoft.Extensions.Logging.EventSource (4)
LoggingEventSource.cs (4)
236if (IsEnabled()) 247if (IsEnabled()) 324if (IsEnabled()) 350if (IsEnabled())
MSBuild (4)
OutOfProcTaskHostNode.cs (2)
579if (MSBuildEventSource.Log.IsEnabled()) 606if (MSBuildEventSource.Log.IsEnabled())
XMake.cs (2)
874if (MSBuildEventSource.Log.IsEnabled()) 1347if (MSBuildEventSource.Log.IsEnabled())
NuGet.Commands (22)
RestoreCommand\DependencyGraphResolver.cs (4)
214if (CommandsEventSource.Instance.IsEnabled()) 223if (CommandsEventSource.Instance.IsEnabled()) 918if (CommandsEventSource.Instance.IsEnabled()) 1401if (CommandsEventSource.Instance.IsEnabled())
RestoreCommand\RestoreCommand.cs (6)
283if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_BuildAssetsFileStart(_request.Project.FilePath); 292if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_BuildAssetsFileStop(_request.Project.FilePath); 597if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_CalcNoOpRestoreStart(_request.Project.FilePath); 599if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_CalcNoOpRestoreStop(_request.Project.FilePath); 756if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_BuildRestoreGraphStart(_request.Project.FilePath); 770if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreCommand_BuildRestoreGraphStop(_request.Project.FilePath);
RestoreCommand\RestoreResult.cs (8)
192if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteAssetsFileStart(LockFilePath); 198if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteAssetsFileStop(LockFilePath); 201if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteCacheFileStart(CacheFilePath); 205if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteCacheFileStop(CacheFilePath); 208if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WritePackagesLockFileStart(_newPackagesLockFilePath); 212if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WritePackagesLockFileStop(_newPackagesLockFilePath); 215if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteDgSpecFileStart(_dependencyGraphSpecFilePath); 219if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreResult_WriteDgSpecFileStop(_dependencyGraphSpecFilePath);
RestoreCommand\RestoreRunner.cs (4)
261if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreRunner_RestoreProjectStart(request.Project.FilePath); 263if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreRunner_RestoreProjectStop(request.Project.FilePath); 294if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreRunner_CommitAsyncStart(summaryRequest.InputPath); 296if (CommandsEventSource.Instance.IsEnabled()) CommandsEventSource.Instance.RestoreRunner_CommitAsyncStop(summaryRequest.InputPath);
NuGet.Common (2)
Migrations\MigrationRunner.cs (2)
28if (CommonEventSource.Instance.IsEnabled()) CommonEventSource.Instance.MigrationRunner_RunStart(); 68if (CommonEventSource.Instance.IsEnabled()) CommonEventSource.Instance.MigrationRunner_RunStop(expectedMigrationFilename, migrationPerformed ? 1 : 0);
NuGet.Configuration (3)
Settings\SettingsFile.cs (2)
112if (ConfigurationEventSource.Instance.IsEnabled()) ConfigurationEventSource.Instance.SettingsFile_FileReadStart(ConfigFilePath, isMachineWide ? 1 : 0, isReadOnly ? 1 : 0); 132if (ConfigurationEventSource.Instance.IsEnabled()) ConfigurationEventSource.Instance.SettingsFile_FileReadStop(ConfigFilePath, isMachineWide ? 1 : 0, isReadOnly ? 1 : 0);
Settings\SettingsLoadingContext.cs (1)
77if (ConfigurationEventSource.Instance.IsEnabled()) ConfigurationEventSource.Instance.SettingsLoadingContext_FileRead(fileInfo.FullName, isMachineWide ? 1 : 0, isReadOnly ? 1 : 0);
RepoTasks (32)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (28)
150if (Log.IsEnabled()) 166if (Log.IsEnabled()) 178if (Log.IsEnabled()) 201if (Log.IsEnabled()) 307if (Log.IsEnabled()) 337if (Log.IsEnabled()) 346if (Log.IsEnabled()) 362if (Log.IsEnabled()) 367if (Log.IsEnabled()) 385if (Log.IsEnabled()) 415if (Log.IsEnabled()) 424if (Log.IsEnabled()) 454if (Log.IsEnabled()) 549if (Log.IsEnabled()) 563if (Log.IsEnabled()) 570if (Log.IsEnabled()) 582if (Log.IsEnabled()) 595if (Log.IsEnabled()) 615if (Log.IsEnabled()) 651if (Log.IsEnabled()) 730catch (Exception e) when (Log.IsEnabled()) 753catch (Exception ex) when (Log.IsEnabled()) 781catch (Exception ex) when (Log.IsEnabled()) 863if (Log.IsEnabled()) 878if (Log.IsEnabled()) 886catch (Exception ex) when (Log.IsEnabled()) 1007if (Log.IsEnabled()) 1014catch (Exception ex) when (Log.IsEnabled())
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
101if (Log.IsEnabled()) 252if (Log.IsEnabled()) 311if (Log.IsEnabled()) 349if (Log.IsEnabled())
System.Collections.Concurrent (4)
System\Collections\Concurrent\ConcurrentBag.cs (1)
172if (CDSCollectionETWBCLProvider.Log.IsEnabled())
System\Collections\Concurrent\ConcurrentStack.cs (3)
381if (CDSCollectionETWBCLProvider.Log.IsEnabled()) 595if (count == 1 && CDSCollectionETWBCLProvider.Log.IsEnabled()) 613if (count == 1 && CDSCollectionETWBCLProvider.Log.IsEnabled())
System.Data.Common (11)
System\Data\Common\DataCommonEventSource.cs (11)
30if (!Log.IsEnabled()) return; 37if (!Log.IsEnabled()) return; 44if (!Log.IsEnabled()) return; 51if (!Log.IsEnabled()) return; 58if (!Log.IsEnabled()) return; 65if (!Log.IsEnabled()) return; 73if (Log.IsEnabled()) 85internal long EnterScope<T1>(string format, T1 arg1) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1)) : 0; 88internal long EnterScope<T1, T2>(string format, T1 arg1, T2 arg2) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2)) : 0; 91internal long EnterScope<T1, T2, T3>(string format, T1 arg1, T2 arg2, T3 arg3) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2, arg3)) : 0; 94internal long EnterScope<T1, T2, T3, T4>(string format, T1 arg1, T2 arg2, T3 arg3, T4 arg4) => Log.IsEnabled() ? EnterScope(string.Format(format, arg1, arg2, arg3, arg4)) : 0;
System.Data.OleDb (1)
System\Data\Common\DataCommonEventSource.cs (1)
24if (!Log.IsEnabled())
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\MetricsEventSource.cs (1)
529|| !Parent.IsEnabled());
System.Net.Http (301)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (2)
41if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Match({UriPrefix} & {uri})"); 99if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Equals({this},{other}) returns {equals}");
src\runtime\src\libraries\Common\src\System\Net\DebugSafeHandle.cs (1)
35if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\runtime\src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (2)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Creating SafeHandle"); 25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateHelper.cs (5)
40if (NetEventSource.Log.IsEnabled()) 49if (NetEventSource.Log.IsEnabled()) 57if (NetEventSource.Log.IsEnabled()) 70if (NetEventSource.Log.IsEnabled()) 78if (NetEventSource.Log.IsEnabled())
System\Net\Http\DelegatingHandler.cs (1)
31if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, value);
System\Net\Http\Headers\ByteArrayHeaderParser.cs (1)
52if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_http_parser_invalid_base64_string, base64String, e.Message));
System\Net\Http\Headers\HeaderUtilities.cs (1)
138if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, SR.Format(SR.net_http_log_headers_invalid_quality, qualityParameter.Value));
System\Net\Http\Headers\HttpHeaders.cs (2)
887if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, SR.Format(SR.net_http_log_headers_no_newlines, descriptor.Name, rawValue)); 899if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.HeadersInvalidValue(descriptor.Name, rawValue);
System\Net\Http\HttpClient.cs (8)
99if (NetEventSource.Log.IsEnabled()) NetEventSource.UriBaseAddress(this, value); 200if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 274if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 495if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 550if (HttpTelemetry.Log.IsEnabled() && telemetryStarted) 640if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e); 650if (HttpTelemetry.Log.IsEnabled()) 662if (HttpTelemetry.Log.IsEnabled() && telemetryStarted)
System\Net\Http\HttpContent.cs (3)
85if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 417if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e); 681if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e);
System\Net\Http\HttpMessageHandler.cs (1)
16if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this);
System\Net\Http\HttpMessageInvoker.cs (3)
25if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, handler); 103HttpTelemetry.Log.IsEnabled() && 110if (HttpTelemetry.Log.IsEnabled() && telemetryStarted)
System\Net\Http\HttpRequestMessage.cs (1)
78if (NetEventSource.Log.IsEnabled())
System\Net\Http\HttpResponseMessage.cs (2)
49if (NetEventSource.Log.IsEnabled()) 136if (value is not null && NetEventSource.Log.IsEnabled())
System\Net\Http\MultipartContent.cs (3)
180if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 230if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 303if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex);
System\Net\Http\NetEventSource.Http.cs (4)
24Debug.Assert(Log.IsEnabled()); 35Debug.Assert(Log.IsEnabled()); 58Debug.Assert(Log.IsEnabled()); 69Debug.Assert(Log.IsEnabled());
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.cs (10)
95if (NetEventSource.Log.IsEnabled()) 103if (NetEventSource.Log.IsEnabled()) 120if (NetEventSource.Log.IsEnabled()) 194if (NetEventSource.Log.IsEnabled()) 298if (NetEventSource.Log.IsEnabled()) 323if (NetEventSource.Log.IsEnabled()) 335if (NetEventSource.Log.IsEnabled()) 345if (NetEventSource.Log.IsEnabled()) 354if (NetEventSource.Log.IsEnabled()) 367if (NetEventSource.Log.IsEnabled() && response.StatusCode == HttpStatusCode.Unauthorized)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (3)
54if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(digestResponse, $"Algorithm not supported: {algorithm}"); 67if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(digestResponse, "Nonce missing"); 78if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(digestResponse, "Realm missing");
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.NtAuth.cs (4)
52if (NetEventSource.Log.IsEnabled()) 82if (NetEventSource.Log.IsEnabled()) 96if (NetEventSource.Log.IsEnabled()) 125if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (1)
422if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (7)
270if (NetEventSource.Log.IsEnabled()) Trace($"{this}"); 519if (NetEventSource.Log.IsEnabled()) 529if (NetEventSource.Log.IsEnabled()) 544if (NetEventSource.Log.IsEnabled()) 644if (NetEventSource.Log.IsEnabled()) 1009if (NetEventSource.Log.IsEnabled()) Trace($"Unexpected exception while evaluating connections for eviction: {e}"); 1031if (NetEventSource.Log.IsEnabled()) Trace("Disposing the pool.");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (8)
41if (NetEventSource.Log.IsEnabled()) connection.Trace("Found expired HTTP/1.1 connection in pool."); 48if (NetEventSource.Log.IsEnabled()) connection.Trace("Found invalid HTTP/1.1 connection in pool."); 53if (NetEventSource.Log.IsEnabled()) connection.Trace("Found usable HTTP/1.1 connection in pool."); 231if (NetEventSource.Log.IsEnabled()) 252if (NetEventSource.Log.IsEnabled()) Trace("Creating new HTTP/1.1 connection for pool."); 308if (NetEventSource.Log.IsEnabled()) Trace($"HTTP/1.1 connection failed: {e}"); 330if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP/1.1 connection when returning to pool. Connection lifetime expired."); 340if (NetEventSource.Log.IsEnabled()) Trace("");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (19)
96if (NetEventSource.Log.IsEnabled()) Trace($"No available HTTP/2 connections; request queued."); 104if (NetEventSource.Log.IsEnabled()) connection.Trace("Found expired HTTP/2 connection in pool."); 112if (NetEventSource.Log.IsEnabled()) connection.Trace("Found HTTP/2 connection in pool without available streams."); 133if (NetEventSource.Log.IsEnabled()) connection.Trace("Found usable HTTP/2 connection in pool."); 153if (NetEventSource.Log.IsEnabled()) 175if (NetEventSource.Log.IsEnabled()) Trace("Creating new HTTP/2 connection for pool."); 273if (NetEventSource.Log.IsEnabled()) Trace($"HTTP2 connection failed: {e}"); 304if (NetEventSource.Log.IsEnabled()) Trace("Server does not support HTTP2; disabling HTTP2 use and proceeding with HTTP/1.1 connection"); 335if (NetEventSource.Log.IsEnabled()) Trace("Downgrading queued HTTP2 request to HTTP/1.1"); 351if (NetEventSource.Log.IsEnabled()) Trace("Discarding downgraded HTTP/1.1 connection because HTTP/1.1 connection limit is exceeded"); 378if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(isNewConnection)}={isNewConnection}"); 392if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP2 connection return to pool. Connection lifetime expired."); 463if (NetEventSource.Log.IsEnabled()) connection.Trace("Put HTTP2 connection in pool."); 469if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP2 connection returned to pool. Pool was disposed."); 486if (NetEventSource.Log.IsEnabled()) connection.Trace("New HTTP2 connection is unusable due to no available streams."); 512if (NetEventSource.Log.IsEnabled()) connection.Trace(""); 520if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(connection.WaitForAvailableStreamsAsync)} completed, {nameof(usable)}={usable}"); 539if (NetEventSource.Log.IsEnabled()) connection.Trace("HTTP2 connection no longer usable"); 550if (NetEventSource.Log.IsEnabled()) connection.Trace("");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (15)
155if (NetEventSource.Log.IsEnabled()) Trace($"No available HTTP/3 connections; request queued."); 164if (NetEventSource.Log.IsEnabled()) connection.Trace("Found expired HTTP/3 connection in pool."); 176if (NetEventSource.Log.IsEnabled()) connection.Trace("Found HTTP/3 connection in pool without available streams."); 197if (NetEventSource.Log.IsEnabled()) connection.Trace("Found usable HTTP/3 connection in pool."); 222if (NetEventSource.Log.IsEnabled()) 249if (NetEventSource.Log.IsEnabled()) Trace("Creating new HTTP/3 connection for pool."); 333if (NetEventSource.Log.IsEnabled()) Trace($"HTTP3 connection failed: {e}"); 364if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(isNewConnection)}={isNewConnection}"); 378if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP3 connection return to pool. Connection lifetime expired."); 451if (NetEventSource.Log.IsEnabled()) connection.Trace("Put HTTP3 connection in pool."); 457if (NetEventSource.Log.IsEnabled()) connection.Trace("Disposing HTTP3 connection returned to pool. Pool was disposed."); 486if (NetEventSource.Log.IsEnabled()) connection.Trace(""); 494if (NetEventSource.Log.IsEnabled()) connection.Trace($"{nameof(connection.WaitForAvailableStreamsAsync)} completed, {nameof(usable)}={usable}"); 513if (NetEventSource.Log.IsEnabled()) connection.Trace("HTTP3 connection no longer usable"); 529if (NetEventSource.Log.IsEnabled()) connection.Trace("");
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (6)
22bool withTelemetry = HttpTelemetry.Log.IsEnabled() 49if (HttpTelemetry.Log.IsEnabled() || GlobalHttpSettings.MetricsHandler.IsGloballyEnabled) 58if (HttpTelemetry.Log.IsEnabled()) 72if (NetEventSource.Log.IsEnabled()) connection.Trace("Dequeued waiting request."); 77if (NetEventSource.Log.IsEnabled()) 104if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (1)
131if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\CookieHelper.cs (1)
31if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\CreditManager.cs (4)
25if (NetEventSource.Log.IsEnabled()) owner.Trace($"{name}. {nameof(initialCredit)}={initialCredit}"); 60if (NetEventSource.Log.IsEnabled()) _owner.Trace($"{_name}. requested={amount}, no credit available."); 90if (NetEventSource.Log.IsEnabled()) _owner.Trace($"{_name}. {nameof(amount)}={amount}, current={_current}"); 170if (NetEventSource.Log.IsEnabled()) _owner.Trace($"{_name}. requested={amount}, current={_current}, granted={granted}");
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (53)
177if (NetEventSource.Log.IsEnabled()) TraceConnection(_stream); 227if (NetEventSource.Log.IsEnabled()) Trace($"Initial connection-level WINDOW_UPDATE, windowUpdateAmount={windowUpdateAmount}"); 277if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_shutdown)}={_shutdown}, {nameof(_abortException)}={_abortException}"); 327if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_streamsInUse)}={_streamsInUse}"); 378if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(result)}={result}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 392if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_outgoingBuffer.ActiveLength)}={_outgoingBuffer.ActiveLength}"); 412if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(initialFrame)}={initialFrame}"); 449if (initialFrame && NetEventSource.Log.IsEnabled()) 508if (NetEventSource.Log.IsEnabled()) Trace($"Frame 0: {frameHeader}."); 567if (NetEventSource.Log.IsEnabled()) Trace($"Frame {frameNum}: {frameHeader}."); 620if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(ProcessIncomingFramesAsync)}: {e.Message}"); 654if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}"); 757if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}"); 859if (NetEventSource.Log.IsEnabled()) Trace($"Applying setting {(SettingId)settingId}={settingValue}"); 941if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newValue)}={newValue}, {nameof(_streamsInUse)}={_streamsInUse}, {nameof(_availableStreamsWaiter)}?={_availableStreamsWaiter is not null}"); 955if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(newSize)}={newSize}"); 1006if (NetEventSource.Log.IsEnabled()) Trace($"Received PING frame, content:{pingContentLong} ack: {frameHeader.AckFlag}"); 1029if (NetEventSource.Log.IsEnabled()) Trace($"{frameHeader}. {nameof(amount)}={amount}"); 1079if (NetEventSource.Log.IsEnabled()) Trace(frameHeader.StreamId, $"{nameof(protocolError)}={protocolError}"); 1138if (NetEventSource.Log.IsEnabled()) Trace(frameHeader.StreamId, $"{nameof(lastStreamId)}={lastStreamId}, {nameof(errorCode)}={errorCode}"); 1252if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(writeBytes)}={writeBytes}"); 1285if (NetEventSource.Log.IsEnabled()) Trace($"Unexpected exception in {nameof(ProcessOutgoingFramesAsync)}: {e}"); 1304if (NetEventSource.Log.IsEnabled()) thisRef.Trace("Started writing."); 1325if (NetEventSource.Log.IsEnabled()) state.thisRef.Trace($"Started writing. {nameof(pingContent)}={state.pingContent}"); 1342if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.streamId, $"Started writing. {nameof(s.errorCode)}={s.errorCode}"); 1365if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(HeartBeat)}: {e.Message}"); 1378if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(index)}={index}"); 1391if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(index)}={index}, {nameof(value)}={value}"); 1404if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(name)}={name}, {nameof(values)}={string.Join(", ", values)}"); 1417if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(values)}={string.Join(Encoding.ASCII.GetString(separator ?? []), values)}"); 1430if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(value)}={value}"); 1443if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(bytes.Length)}={bytes.Length}"); 1452if (NetEventSource.Log.IsEnabled()) Trace(""); 1524if (NetEventSource.Log.IsEnabled()) Trace(""); 1664if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(Id); 1689if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.http2Stream.StreamId, $"Started writing. Total header bytes={s.headerBytes.Length}"); 1702if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.http2Stream.StreamId, $"Wrote HEADERS frame. Length={current.Length}, flags={flags}"); 1714if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.http2Stream.StreamId, $"Wrote CONTINUATION frame. Length={current.Length}, flags={flags}"); 1722if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop(); 1767if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.streamId, $"Started writing. {nameof(writeBuffer.Length)}={writeBuffer.Length}"); 1787if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.streamId, "Started writing."); 1800if (NetEventSource.Log.IsEnabled()) s.thisRef.Trace(s.streamId, $"Started writing. {nameof(s.amount)}={s.amount}"); 1812if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(amount)}={amount}"); 1819if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_pendingWindowUpdate)} {_pendingWindowUpdate} < {ConnectionWindowThreshold}."); 1832if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(_pendingWindowUpdate)}={_pendingWindowUpdate}"); 1844if (NetEventSource.Log.IsEnabled()) this.Trace("Number of untransmitted PING and SETTING frames exceeded limit."); 1866if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(abortException)}=={abortException}"); 1874if (NetEventSource.Log.IsEnabled()) Trace($"Abort called while already aborting. {nameof(abortException)}={abortException}"); 1900if (NetEventSource.Log.IsEnabled()) Trace(""); 2050if (NetEventSource.Log.IsEnabled()) Trace($"Sending request: {request}"); 2095if (NetEventSource.Log.IsEnabled()) Trace($"Sending request content failed: {e}"); 2131if (NetEventSource.Log.IsEnabled()) 2155if (NetEventSource.Log.IsEnabled()) Trace(http2Stream.StreamId, "");
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (28)
151if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(initialWindowSize)}={initialWindowSize}"); 186if (NetEventSource.Log.IsEnabled()) Trace($"{_request.Content}"); 212if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 235if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(writeStream.BytesWritten); 238if (NetEventSource.Log.IsEnabled()) Trace($"Finished sending request body."); 242if (NetEventSource.Log.IsEnabled()) Trace($"Failed to send request body: {e}"); 336if (NetEventSource.Log.IsEnabled()) Trace($"Waiting to send request body content for 100-Continue."); 351if (NetEventSource.Log.IsEnabled()) thisRef.Trace($"100-Continue timer expired."); 370if (NetEventSource.Log.IsEnabled()) Trace($"Stream reset. Request={_requestCompletionState}, Response={_responseCompletionState}."); 387if (NetEventSource.Log.IsEnabled()) Trace($"Stream complete. Request={_requestCompletionState}, Response={_responseCompletionState}."); 404if (NetEventSource.Log.IsEnabled()) Trace(""); 559if (NetEventSource.Log.IsEnabled()) Trace($"Invalid request pseudo-header ID {index}."); 582if (NetEventSource.Log.IsEnabled()) Trace($"Invalid request pseudo-header ID {index}."); 615if (NetEventSource.Log.IsEnabled()) Trace($"Status code is {statusCode}"); 630if (NetEventSource.Log.IsEnabled()) Trace("Received extra status header."); 637if (NetEventSource.Log.IsEnabled()) Trace($"Status pseudo-header received in {_responseProtocolState} state."); 651if (NetEventSource.Log.IsEnabled()) Trace("Received 100-Continue status."); 670if (NetEventSource.Log.IsEnabled()) Trace($"Expecting 100 Continue but received final status {statusCode}."); 679if (NetEventSource.Log.IsEnabled()) Trace($"{descriptor.Name}: {Encoding.ASCII.GetString(value)}"); 700if (NetEventSource.Log.IsEnabled()) Trace("Received header before status."); 744if (NetEventSource.Log.IsEnabled()) Trace($"Invalid response pseudo-header '{Encoding.ASCII.GetString(name)}'."); 803if (NetEventSource.Log.IsEnabled()) Trace("Trailing headers received without endStream"); 944if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(resetException)}={resetException}, {nameof(resetStreamErrorCode)}={resetStreamErrorCode}"); 1055if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 1071if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)_response.StatusCode); 1097if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {_response}"); 1560if (NetEventSource.Log.IsEnabled()) _http2Stream?.Trace(""); 1567if (NetEventSource.Log.IsEnabled()) _http2Stream?.Trace($"Error: {e}");
System\Net\Http\SocketsHttpHandler\Http2StreamWindowManager.cs (7)
30if (NetEventSource.Log.IsEnabled()) stream.Trace($"[FlowControl] InitialClientStreamWindowSize: {StreamWindowSize}, StreamWindowThreshold: {StreamWindowThreshold}, WindowScaleThresholdMultiplier: {WindowScaleThresholdMultiplier}"); 118if (NetEventSource.Log.IsEnabled()) stream.Trace($"[FlowControl] Updated Stream Window. StreamWindowSize: {StreamWindowSize}, StreamWindowThreshold: {StreamWindowThreshold}"); 123if (NetEventSource.Log.IsEnabled()) stream.Trace($"[FlowControl] StreamWindowSize reached the configured maximum of {MaxStreamWindowSize}."); 222if (NetEventSource.Log.IsEnabled()) connection.Trace($"[FlowControl] Sending RTT PING with payload {_pingCounter}"); 233if (NetEventSource.Log.IsEnabled()) connection.Trace($"[FlowControl] Unexpected PING ACK in state {_state}"); 248if (NetEventSource.Log.IsEnabled()) connection.Trace($"[FlowControl] Unexpected RTT PING ACK payload {payload}, should be {_pingCounter}."); 277if (NetEventSource.Log.IsEnabled()) connection.Trace($"[FlowControl] Updated MinRtt: {MinRtt.TotalMilliseconds} ms");
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (14)
155if (closeTask.IsFaulted && NetEventSource.Log.IsEnabled()) 195if (NetEventSource.Log.IsEnabled()) Trace($"_availableRequestStreamsCount = {_availableRequestStreamsCount}"); 216if (NetEventSource.Log.IsEnabled()) Trace($"_availableRequestStreamsCount = {_availableRequestStreamsCount}"); 232if (NetEventSource.Log.IsEnabled()) Trace($"_availableRequestStreamsCount = {_availableRequestStreamsCount} + bidirectionalStreamsCountIncrement = {args.BidirectionalIncrement}"); 336if (NetEventSource.Log.IsEnabled()) Trace($"Sending request: {request}"); 373if (NetEventSource.Log.IsEnabled() && !ReferenceEquals(firstException, abortException)) 412if (NetEventSource.Log.IsEnabled()) 431if (NetEventSource.Log.IsEnabled()) 634if (NetEventSource.Log.IsEnabled()) 758if (NetEventSource.Log.IsEnabled()) 776if (NetEventSource.Log.IsEnabled()) 861if (NetEventSource.Log.IsEnabled()) Trace($"Applying setting {(Http3SettingType)settingId}={settingValue}"); 961_startTimestamp = HttpTelemetry.Log.IsEnabled() || (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled && _settings._metrics!.RequestsQueueDuration.Enabled) ? Stopwatch.GetTimestamp() : 0; 983if (HttpTelemetry.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (17)
272if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {_response}"); 408if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 419if (NetEventSource.Log.IsEnabled()) 433if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)_response.StatusCode); 479if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 514if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(bytesWritten); 619if (NetEventSource.Log.IsEnabled()) 662if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(_connection.Id); 767if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop(); 928if (NetEventSource.Log.IsEnabled()) 974if (NetEventSource.Log.IsEnabled()) Trace($"Server closed response stream before entire header payload could be read. {headersLength:N0} bytes remaining."); 1023if (NetEventSource.Log.IsEnabled()) Trace($"Response contains invalid static header index '{index}'."); 1046if (NetEventSource.Log.IsEnabled()) Trace($"Received unknown pseudo-header '{descriptor.Name}'."); 1052if (NetEventSource.Log.IsEnabled()) Trace("Received extra status header."); 1083if (NetEventSource.Log.IsEnabled()) Trace(message); 1120if (NetEventSource.Log.IsEnabled()) Trace($"Expecting 100 Continue but received final status {statusCode}."); 1143if (NetEventSource.Log.IsEnabled()) Trace($"Received headers without :status.");
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (35)
90if (NetEventSource.Log.IsEnabled()) TraceConnection(_stream); 103if (NetEventSource.Log.IsEnabled()) Trace("Connection closing."); 186if (NetEventSource.Log.IsEnabled()) Trace($"Error performing read ahead: {error}"); 266if (NetEventSource.Log.IsEnabled()) Trace("Read-ahead task observed data before the request was sent."); 273if (NetEventSource.Log.IsEnabled()) Trace($"Error performing read ahead: {error}"); 552if (NetEventSource.Log.IsEnabled()) Trace($"Sending request: {request}"); 557if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStart(Id); 561if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestHeadersStop(); 571if (NetEventSource.Log.IsEnabled()) Trace($"Request content is not null, start processing it. hasExpectContinueHeader = {hasExpectContinueHeader}"); 633if (NetEventSource.Log.IsEnabled() && !async) 643if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 675if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStart(); 703if (NetEventSource.Log.IsEnabled()) Trace($"Current {response.StatusCode} response is an interim response or not expected, need to read for a final response."); 724if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)response.StatusCode); 774if (NetEventSource.Log.IsEnabled()) Trace("Request is fully sent."); 837if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {response}"); 866if (NetEventSource.Log.IsEnabled()) Trace($"Error sending request: {error}"); 968if (NetEventSource.Log.IsEnabled()) connection.Trace("Cancellation requested. Disposing of the connection."); 976if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStart(); 994if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.RequestContentStop(stream.BytesWritten); 996if (NetEventSource.Log.IsEnabled()) Trace("Finished sending request content."); 1013if (NetEventSource.Log.IsEnabled()) Trace($"Sending request content for Expect: 100-continue."); 1028if (NetEventSource.Log.IsEnabled()) Trace($"Canceling request content for Expect: 100-continue."); 1573if (NetEventSource.Log.IsEnabled()) Trace($"Writing {source.Length} bytes."); 1579if (NetEventSource.Log.IsEnabled()) Trace($"Writing {source.Length} bytes."); 1639if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1655if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1774if (NetEventSource.Log.IsEnabled()) Trace($"Received {count} bytes."); 1792return NetEventSource.Log.IsEnabled() 1799if (NetEventSource.Log.IsEnabled()) Trace($"Received {count} bytes."); 1822if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1856if (NetEventSource.Log.IsEnabled()) Trace($"Received {bytesRead} bytes."); 1867if (NetEventSource.Log.IsEnabled()) Trace($"Copying {count} bytes to stream."); 2056if (NetEventSource.Log.IsEnabled()) 2122if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (9)
143if (HttpTelemetry.Log.IsEnabled()) 165if (HttpTelemetry.Log.IsEnabled()) 277if (NetEventSource.Log.IsEnabled()) Trace("Marking connection for eviction per ShouldEvictConnection callback."); 283if (NetEventSource.Log.IsEnabled()) Trace($"{nameof(SocketsHttpHandler.ShouldEvictConnection)} threw an exception: {e}"); 332if (NetEventSource.Log.IsEnabled()) connection.Trace($"Exception from asynchronous processing: {e}"); 346if (NetEventSource.Log.IsEnabled()) Trace("Scavenging connection. Connection was evicted."); 356if (NetEventSource.Log.IsEnabled()) Trace($"Scavenging connection. Idle {TimeSpan.FromMilliseconds(idleTicks)} > {pooledConnectionIdleTimeout}."); 367if (NetEventSource.Log.IsEnabled()) Trace($"Scavenging connection. Lifetime {TimeSpan.FromMilliseconds(lifetimeTicks)} > {pooledConnectionLifetime}."); 374if (NetEventSource.Log.IsEnabled()) Trace($"Scavenging connection. Keep-Alive timeout exceeded, unexpected data or EOF received.");
System\Net\Http\SocketsHttpHandler\HttpConnectionPoolManager.cs (2)
208if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Exception when subscribing to NetworkChange.NetworkAddressChanged: {e}"); 436if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Exception from {_proxy.GetType().Name}.GetProxy({request.RequestUri}): {ex}");
System\Net\Http\SocketsHttpHandler\HttpContentReadStream.cs (2)
80if (NetEventSource.Log.IsEnabled()) 89if (NetEventSource.Log.IsEnabled())
System\Net\Http\SocketsHttpHandler\PreAuthCredentialCache.cs (3)
23if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{cred.Domain}],[{cred.UserName}]"); 40if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Removing key:[{key}]"); 56if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {(mostSpecificMatch == null ? "null" : "(" + mostSpecificMatch.UserName + ":" + mostSpecificMatch.Domain + ")")}");
System\Net\Http\SocketsHttpHandler\RawConnectionStream.cs (1)
18if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this);
System\Net\Http\SocketsHttpHandler\RedirectHandler.cs (6)
42if (NetEventSource.Log.IsEnabled()) 55if (HttpTelemetry.Log.IsEnabled()) 59if (NetEventSource.Log.IsEnabled()) 68if (NetEventSource.Log.IsEnabled()) 136if (NetEventSource.Log.IsEnabled()) 147if (NetEventSource.Log.IsEnabled())
System\Net\Http\StreamContent.cs (1)
45if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, content);
System\Net\Http\StreamToStreamCopy.cs (1)
105if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, e);
System.Net.Http.WinHttpHandler (42)
src\runtime\src\libraries\Common\src\Interop\Windows\SChannel\UnmanagedCertificateContext.IntPtr.cs (1)
39if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(certContext, $"Adding remote certificate:{cert}");
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateHelper.cs (5)
40if (NetEventSource.Log.IsEnabled()) 49if (NetEventSource.Log.IsEnabled()) 57if (NetEventSource.Log.IsEnabled()) 70if (NetEventSource.Log.IsEnabled()) 78if (NetEventSource.Log.IsEnabled())
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateValidation.Windows.cs (1)
95if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(chainContext, $"CertVerifyCertificateChainPolicy returned: {errorCode}. Status: {status.dwError}");
System\Net\Http\WinHttpCookieContainerAdapter.cs (2)
39if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(cookieContainer, $"Added cookie: {cookieHeader}"); 44if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(cookieContainer, $"Ignoring invalid cookie: {cookieHeader}");
System\Net\Http\WinHttpHandler.cs (11)
823if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Proxy accessType={accessType}"); 1010if (NetEventSource.Log.IsEnabled() && 1062if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"error={lastError}"); 1150if (NetEventSource.Log.IsEnabled()) 1454if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "HTTP/2 with TLS client cert supported"); 1458if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "HTTP/2 with TLS client cert not supported"); 1469if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Multiple HTTP/2 connections enabled."); 1473if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Multiple HTTP/2 connections cannot be enabled."); 1521if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"HTTP/2 option supported, setting to {optionData}"); 1525if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "HTTP/2 option not supported"); 1644if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"error={lastError}");
System\Net\Http\WinHttpRequestCallback.cs (14)
37if (NetEventSource.Log.IsEnabled()) WinHttpTraceHelper.TraceCallbackStatus(null, handle, context, internetStatus); 41if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, "Environment.HasShutdownStarted returned True"); 147if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(state, $"Removed cached certificate for {connectedIPAddress}"); 151if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(state, $"No cached certificate for {connectedIPAddress} to remove"); 291if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(state, $"Error getting WINHTTP_OPTION_SERVER_CERT_CONTEXT, {lastError}"); 346if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(state, $"ipAddress: {ipAddress}"); 352if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(state, $"Error getting WINHTTP_OPTION_CONNECTION_INFO, {lastError}"); 364if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(state, $"Skipping certificate validation. ipAddress: {ipAddress}, Thumbprint: {serverCertificate.Thumbprint}"); 370if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(state, $"Certificate validation is required! IPAddress = {ipAddress}, Thumbprint: {serverCertificate.Thumbprint}"); 389if (NetEventSource.Log.IsEnabled()) 442if (NetEventSource.Log.IsEnabled()) WinHttpTraceHelper.TraceAsyncError(state, asyncResult); 483if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(state, "QUERY_DATA_AVAILABLE - ERROR_WINHTTP_OPERATION_CANCELLED"); 496if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(state, "API_READ_DATA - ERROR_WINHTTP_OPERATION_CANCELLED"); 509if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(state, "API_WRITE_DATA - ERROR_WINHTTP_OPERATION_CANCELLED");
System\Net\Http\WinHttpRequestState.cs (1)
194if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GCHandle=0x{ToIntPtr():X}, disposed={_disposed != 0}, disposing={disposing}");
System\Net\Http\WinHttpResponseParser.cs (1)
352if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(requestHandle, nameof(Interop.WinHttp.WINHTTP_PROTOCOL_FLAG_HTTP2));
System\Net\Http\WinHttpResponseStream.cs (2)
353if (NetEventSource.Log.IsEnabled()) NetEventSource.Info("before dispose"); 355if (NetEventSource.Log.IsEnabled()) NetEventSource.Info("after dispose");
System\Net\Http\WinHttpTraceHelper.cs (2)
14Debug.Assert(NetEventSource.Log.IsEnabled()); 24Debug.Assert(NetEventSource.Log.IsEnabled());
System.Net.HttpListener (54)
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (5)
49if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 347if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Invoking callback"); 351if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "*** OFFLOADED the user callback ****"); 369if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "No callback to invoke"); 432if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Waiting for completion event {waitHandle}");
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
System\Net\HttpListener.cs (6)
156if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"mapped uriPrefix: {uriPrefix} to registeredPrefix: {registeredPrefix}"); 166if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 222if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"uriPrefix: {uriPrefix}"); 240if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 302if (NetEventSource.Log.IsEnabled()) NetEventSource.Info("HttpListenerRequest::Close()"); 307if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Close {exception}");
System\Net\HttpListenerException.cs (4)
16if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}"); 21if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}"); 26if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}"); 34if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}");
System\Net\HttpListenerRequest.cs (5)
30if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "uri:" + uri + " setCookieHeader:" + setCookieHeader); 41if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "CookieParser returned cookie: " + cookie.ToString()); 186if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "_keepAlive=" + _keepAlive); 239if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_clientCertificate:{ClientCertificate}"); 246if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this);
System\Net\HttpListenerRequestUriBuilder.cs (9)
90if (NetEventSource.Log.IsEnabled()) 115if (NetEventSource.Log.IsEnabled()) 163if (NetEventSource.Log.IsEnabled()) 252if (NetEventSource.Log.IsEnabled()) 267if (NetEventSource.Log.IsEnabled()) 273if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_to_utf8, unicodeString, e.Message)); 284if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_percent_value, escapedCharacter)); 323if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_bytes, GetOctetsAsString(_rawOctets), e.Message)); 328if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, SR.Format(SR.net_log_listener_cant_convert_to_utf8, decodedString, e.Message));
System\Net\HttpListenerResponse.cs (8)
175if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"name={name}, value={value}"); 181if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"name={name}, value={value}"); 189if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"cookie: {cookie}"); 195if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Entering Set-Cookie: {Headers[HttpResponseHeader.SetCookie]}, Set-Cookie2: {Headers[HttpKnownHeaderNames.SetCookie2]}"); 209if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Now looking at index:{index} cookie: {cookie}"); 239if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Exiting Set-Cookie: {Headers[HttpResponseHeader.SetCookie]} Set-Cookie2: {Headers[HttpKnownHeaderNames.SetCookie2]}"); 244if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"url={url}"); 257if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"cookie: {cookie}");
System\Net\HttpRequestStream.cs (3)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset); 34if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset); 67if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "_closed:" + _closed);
System\Net\HttpResponseStream.cs (4)
47if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset); 61if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "buffer.Length:" + buffer.Length + " count:" + count + " offset:" + offset); 68if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"asyncResult:{asyncResult}"); 81if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "_closed:" + _closed);
System\Net\Managed\HttpListener.Managed.cs (4)
51if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Start {exception}"); 85if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Stop {exception}"); 115if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Abort {exception}"); 141if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Dispose {exception}");
System\Net\ServiceNameStore.cs (3)
148if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.Format(SR.net_log_listener_spn_add, spn, uriPrefix)); 156else if (NetEventSource.Log.IsEnabled()) 178if (NetEventSource.Log.IsEnabled())
System.Net.Mail (12)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
System\Net\Mail\MailMessage.cs (2)
41if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _message); 50if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _message);
System\Net\Mail\MailPriority.cs (2)
193if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _headers); 219if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _envelopeHeaders);
System\Net\Mail\SmtpClient.cs (4)
94if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _transport); 362if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{nameof(pickupDirectory)}={pickupDirectory}"); 418if (NetEventSource.Log.IsEnabled()) 539if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, e);
System\Net\Mail\SmtpTransport.cs (1)
100if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _connection);
System.Net.NameResolution (34)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
System\Net\Dns.cs (29)
36if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, name); 48if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 54if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 79if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 90if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostNameOrAddress, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 121if (NetEventSource.Log.IsEnabled()) 160if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 168if (NetEventSource.Log.IsEnabled()) NetEventSource.Info((IPAddress)s, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 209if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"Invalid address '{address}'"); 220if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostNameOrAddress, addresses); 300if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, ipHostEntry); 313if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, ipHostEntry); 333if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, ex); 342if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, ipHostEntry); 375if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, ex); 380if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, ipHostEntry); 486if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Returning NXDOMAIN for 'invalid' domain"); 526if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost name resolution failed, falling back to 'localhost'"); 532if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, $"{hostName} DNS lookup failed with {errorCode}"); 539if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost name returned empty, falling back to 'localhost'"); 571if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(Localhost, $"localhost IPv6 resolution failed, retrying with '{IPv6Localhost}'"); 608if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"{address} DNS lookup failed with {errorCode}"); 636if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(address, $"forward lookup for '{name}' failed with {errorCode}"); 695if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(hostName, $"Invalid address '{ipAddress}'"); 814if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost name returned empty, falling back to 'localhost'"); 823if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost name returned empty, falling back to 'localhost'"); 835if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostName, "RFC 6761: Localhost name resolution failed, falling back to 'localhost'"); 867if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(Localhost, $"localhost IPv6 resolution failed, retrying with '{IPv6Localhost}'"); 880if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(Localhost, $"localhost IPv6 resolution failed, retrying with '{IPv6Localhost}'");
System\Net\NameResolutionTelemetry.cs (3)
62public static bool AnyDiagnosticsEnabled() => !OperatingSystem.IsWasi() && (Log.IsEnabled() || NameResolutionMetrics.IsEnabled() || NameResolutionActivity.IsTracingEnabled()); 72if (IsEnabled()) 102if (IsEnabled())
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\NetEventSource.NetworkInformation.cs (1)
24Debug.Assert(IsEnabled());
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (1)
216if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(ex);
System.Net.Primitives (18)
src\runtime\src\libraries\Common\src\System\Net\CredentialCacheKey.cs (2)
41if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Match({UriPrefix} & {uri})"); 99if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Equals({this},{other}) returns {equals}");
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
System\Net\CookieContainer.cs (2)
571if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"uri:{uri} headerName:{headerName} setCookieHeader:{setCookieHeader}"); 596if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"CookieParser returned cookie:{cookie}");
System\Net\CredentialCache.cs (11)
42if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{cred.Domain}],[{cred.UserName}]"); 68if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Adding key:[{key}], cred:[{credential.Domain}],[{credential.UserName}]"); 85if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Short-circuiting because the dictionary is null."); 93if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Removing key:[{key}]"); 114if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Short-circuiting because the dictionary is null."); 122if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Removing key:[{key}]"); 134if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "CredentialCache::GetCredential short-circuiting because the dictionary is null."); 140if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {(mostSpecificMatch == null ? "null" : "(" + mostSpecificMatch.UserName + ":" + mostSpecificMatch.Domain + ")")}"); 153if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "CredentialCache::GetCredential short-circuiting because the dictionary is null."); 162if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returning {((match == null) ? "null" : "(" + match.UserName + ":" + match.Domain + ")")}"); 377if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Equals({this},{other}) returns {equals}");
System\Net\SocketException.cs (1)
59if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"{NativeErrorCode}:{Message}");
System.Net.Quic (59)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\SafeHandleCache.cs (5)
55if (NetEventSource.Log.IsEnabled()) 85if (NetEventSource.Log.IsEnabled()) 121if (NetEventSource.Log.IsEnabled()) 135if (NetEventSource.Log.IsEnabled()) 148if (NetEventSource.Log.IsEnabled())
src\runtime\src\libraries\Common\src\System\Net\Security\SslKeyLogger.cs (1)
30if (NetEventSource.Log.IsEnabled())
System\Net\Quic\Internal\MsQuicApi.cs (9)
87if (NetEventSource.Log.IsEnabled()) 105if (NetEventSource.Log.IsEnabled()) 123if (NetEventSource.Log.IsEnabled()) 137if (NetEventSource.Log.IsEnabled()) 155if (NetEventSource.Log.IsEnabled()) 168if (NetEventSource.Log.IsEnabled()) 181if (NetEventSource.Log.IsEnabled()) 188if (NetEventSource.Log.IsEnabled()) 205if (NetEventSource.Log.IsEnabled())
System\Net\Quic\Internal\MsQuicConfiguration.cs (2)
57if (NetEventSource.Log.IsEnabled()) 75if (NetEventSource.Log.IsEnabled())
System\Net\Quic\Internal\MsQuicSafeHandle.cs (4)
38if (NetEventSource.Log.IsEnabled()) 65if (NetEventSource.Log.IsEnabled()) 121if (NetEventSource.Log.IsEnabled()) 138if (NetEventSource.Log.IsEnabled())
System\Net\Quic\Internal\MsQuicTlsSecret.cs (1)
35if (NetEventSource.Log.IsEnabled())
System\Net\Quic\QuicConnection.cs (14)
260if (NetEventSource.Log.IsEnabled()) 269if (NetEventSource.Log.IsEnabled()) 337if (NetEventSource.Log.IsEnabled()) 498if (NetEventSource.Log.IsEnabled()) 506if (NetEventSource.Log.IsEnabled()) 530if (NetEventSource.Log.IsEnabled()) 609if (NetEventSource.Log.IsEnabled()) 645if (NetEventSource.Log.IsEnabled()) 706if (NetEventSource.Log.IsEnabled()) 714if (NetEventSource.Log.IsEnabled()) 789if (NetEventSource.Log.IsEnabled()) 799if (NetEventSource.Log.IsEnabled()) 807if (NetEventSource.Log.IsEnabled()) 827if (NetEventSource.Log.IsEnabled())
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
166if (NetEventSource.Log.IsEnabled())
System\Net\Quic\QuicListener.cs (10)
65if (NetEventSource.Log.IsEnabled()) 260if (NetEventSource.Log.IsEnabled()) 273if (NetEventSource.Log.IsEnabled()) 309if (NetEventSource.Log.IsEnabled()) 330if (NetEventSource.Log.IsEnabled()) 341if (NetEventSource.Log.IsEnabled()) 378if (NetEventSource.Log.IsEnabled()) 388if (NetEventSource.Log.IsEnabled()) 396if (NetEventSource.Log.IsEnabled()) 415if (NetEventSource.Log.IsEnabled())
System\Net\Quic\QuicStream.cs (10)
312if (NetEventSource.Log.IsEnabled()) 373if (NetEventSource.Log.IsEnabled()) 402if (NetEventSource.Log.IsEnabled()) 512if (NetEventSource.Log.IsEnabled()) 558if (NetEventSource.Log.IsEnabled()) 720if (NetEventSource.Log.IsEnabled()) 730if (NetEventSource.Log.IsEnabled()) 738if (NetEventSource.Log.IsEnabled()) 760if (NetEventSource.Log.IsEnabled()) 800if (NetEventSource.Log.IsEnabled())
System.Net.Requests (65)
src\runtime\src\libraries\Common\src\System\Net\ContextAwareResult.cs (8)
259if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 280if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting identity capture"); 288if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting capture"); 305if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_context:{_context}"); 310if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Skipping capture"); 323if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Completing synchronously"); 334if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_context(set):{_context != null} userToken:{userToken}"); 366if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Context set, calling callback.");
src\runtime\src\libraries\Common\src\System\Net\LazyAsyncResult.cs (5)
49if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 347if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Invoking callback"); 351if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "*** OFFLOADED the user callback ****"); 369if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "No callback to invoke"); 432if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Waiting for completion event {waitHandle}");
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
System\Net\CommandStream.cs (5)
47if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "closing control Stream"); 75if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 199if (NetEventSource.Log.IsEnabled()) 208if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Sending command {sendCommand}"); 661if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Received response: {responseString.Substring(0, completeLength - 2)}");
System\Net\FtpControlStream.cs (5)
240if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Command:{entry?.Command} Description:{response?.StatusDescription}"); 483if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 718if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting Connect()"); 732if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "starting Accept()"); 1179if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"CheckValid({response.StatusBuffer})");
System\Net\FtpDataStream.cs (2)
30if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 65if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"state = {closeState}");
System\Net\FtpWebRequest.cs (25)
485if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, uri); 524if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Method: {_methodInfo.Method}"); 586if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 593if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 607if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Method: {_methodInfo.Method}"); 670if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 702if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 714if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Method: {_methodInfo.Method}"); 755if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 766if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Method: {_methodInfo.Method}"); 794if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 834if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 884if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Request being submitted"); 1044if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 1049if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "aborting connection"); 1077if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Releasing connection: {_connection}"); 1093if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this); 1159if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"exp:{exception} completedRequest:{completedRequest}"); 1211if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"stream:{stream} conn:{connection} exp:{exception} completedRequest:{completedRequest}"); 1237if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Releasing connect:{connection}"); 1242if (NetEventSource.Log.IsEnabled()) NetEventSource.Associate(this, _connection); 1319if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"state:{stage}"); 1383if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Releasing connection: {connection}"); 1455if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, exception); 1677if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Returns {_ftpWebResponse} with stream {_ftpWebResponse._responseStream}");
System\Net\TimerThread.cs (12)
311if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime}"); 359if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime} Cancel (success)"); 365if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime} Cancel (failure)"); 377if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "TimerQueue tried to Fire a Sentinel."); 390if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime}::Fire() Not firing ({StartTime} <= {nowMilliseconds} < {Expiration})"); 399if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"TimerThreadTimer#{StartTime}::Fire() Firing ({StartTime} <= {nowMilliseconds} >= " + Expiration + ")"); 427if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"exception in callback: {exception}"); 553if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Waiting for {waitDuration}ms"); 560if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, "Awoke, cause: Shutdown"); 565if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Awoke, cause {(waitResult == WaitHandle.WaitTimeout ? "Timeout" : "Prod")}"); 591if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, exception); 607if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, "Stop");
System.Net.Security (120)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
611if (NetEventSource.Log.IsEnabled())
src\runtime\src\libraries\Common\src\System\Net\DebugSafeHandle.cs (1)
35if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\runtime\src\libraries\Common\src\System\Net\DebugSafeHandleZeroOrMinusOneIsInvalid.cs (2)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Creating SafeHandle"); 25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\SafeHandleCache.cs (5)
55if (NetEventSource.Log.IsEnabled()) 85if (NetEventSource.Log.IsEnabled()) 121if (NetEventSource.Log.IsEnabled()) 135if (NetEventSource.Log.IsEnabled()) 148if (NetEventSource.Log.IsEnabled())
src\runtime\src\libraries\Common\src\System\Net\Security\SslKeyLogger.cs (1)
30if (NetEventSource.Log.IsEnabled())
src\runtime\src\libraries\Common\src\System\Net\Security\SSPIHandleCache.cs (1)
34if (NetEventSource.Log.IsEnabled() && !ExceptionCheck.IsFatal(e))
System\Net\CertificateValidationPal.cs (2)
60if (NetEventSource.Log.IsEnabled()) 80if (NetEventSource.Log.IsEnabled())
System\Net\CertificateValidationPal.Unix.cs (1)
94if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.RemoteCertificate(result);
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (2)
295if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"package={clientOptions.Package}, spn={_spn}, requiredProtectionLevel={_protectionLevel}"); 307if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, SR.net_ntlm_not_possible_default_cred);
System\Net\NegotiateAuthenticationPal.Unix.cs (20)
45if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, ex); 69if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(null, ex); 141if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 189if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Peer SPN-> '{_spn}'"); 195if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "using DefaultCredentials"); 200if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_ntlm_not_possible_default_cred); 205if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_nego_not_supported_empty_target_with_defaultcreds); 237if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Peer SPN-> '{_spn}'"); 243if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "using DefaultCredentials"); 280if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SSPIWrapper.InitializeSecurityContext() returns statusCode:{statusCode}"); 294if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SSPIWrapper.AcceptSecurityContext() returns statusCode:{statusCode}"); 320if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"need continue _securityContext:{_securityContext}"); 505if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 559if (NetEventSource.Log.IsEnabled()) 619if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, gex); 629if (NetEventSource.Log.IsEnabled()) 653if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex); 692if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, gex); 707if (NetEventSource.Log.IsEnabled()) 726if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, ex);
System\Net\Security\NegotiateAuthentication.cs (8)
435if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spn_kerberos); 441if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spn_disabled); 447if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spn_cbt); 453if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spns); 463if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_no_spn_whensupported); 468if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_spn_failed_always); 473if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, SR.net_log_listener_spn, clientSpn); 476if (NetEventSource.Log.IsEnabled())
System\Net\Security\NetSecurityTelemetry.cs (1)
47public static bool AnyTelemetryEnabled() => Log.IsEnabled() || s_activitySource.HasListeners();
System\Net\Security\SslSessionsCache.cs (8)
119if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Not found, Current Cache Count = {s_cachedCreds.Count}"); 128if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Not found or invalid, Current Cache Count = {s_cachedCreds.Count}"); 132if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Found a cached Handle = {credentials}"); 163if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Refused to cache an Invalid Handle {creds}, Current Cache Count = {s_cachedCreds.Count}"); 188if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Caching New Handle = {creds}, Current Cache Count = {s_cachedCreds.Count}"); 195if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"CacheCredential() (locked retry) Found already cached Handle = {credentials}"); 201if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"CacheCredential() Ignoring incoming handle = {creds} since found already cached Handle = {credentials}"); 244if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, $"Scavenged cache, New Cache Count = {s_cachedCreds.Count}");
System\Net\Security\SslStream.cs (1)
228if (NetEventSource.Log.IsEnabled()) NetEventSource.Log.SslStreamCtor(this, innerStream);
System\Net\Security\SslStream.IO.cs (14)
78if (NetSecurityTelemetry.Log.IsEnabled()) 111if (NetSecurityTelemetry.Log.IsEnabled()) 338if (NetEventSource.Log.IsEnabled()) 383if (NetEventSource.Log.IsEnabled()) 391if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, token.Status); 434if (NetEventSource.Log.IsEnabled()) 464if (NetEventSource.Log.IsEnabled() && _lastFrame.AlertDescription != TlsAlertDescription.CloseNotify) NetEventSource.Error(this, $"Received TLS alert {_lastFrame.AlertDescription}"); 483if (NetEventSource.Log.IsEnabled()) 497if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Failed to parse TLS hello."); 517if (NetEventSource.Log.IsEnabled()) 569if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, "invalid TLS frame size"); 627if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Ignoring unsolicited renegotiated certificate."); 957if (NetEventSource.Log.IsEnabled()) 1114if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, "invalid TLS frame size");
System\Net\Security\SslStream.Protocol.cs (38)
163if (NetEventSource.Log.IsEnabled()) 178if (NetEventSource.Log.IsEnabled()) 217if (NetEventSource.Log.IsEnabled()) 246if (NetEventSource.Log.IsEnabled()) 298if (NetEventSource.Log.IsEnabled()) 307if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Selected cert = {_selectedClientCertificate}"); 312if (NetEventSource.Log.IsEnabled()) 331if (NetEventSource.Log.IsEnabled()) 338if (NetEventSource.Log.IsEnabled()) 343if (NetEventSource.Log.IsEnabled()) 358if (NetEventSource.Log.IsEnabled()) 368if (NetEventSource.Log.IsEnabled()) 398if (NetEventSource.Log.IsEnabled()) 420if (NetEventSource.Log.IsEnabled()) 424if (NetEventSource.Log.IsEnabled()) 454if (NetEventSource.Log.IsEnabled()) 463if (NetEventSource.Log.IsEnabled()) 501if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Selected cert = {selectedCert}"); 589if (NetEventSource.Log.IsEnabled()) 608if (NetEventSource.Log.IsEnabled()) 658if (NetEventSource.Log.IsEnabled()) 663if (NetEventSource.Log.IsEnabled()) 674if (NetEventSource.Log.IsEnabled()) 679if (NetEventSource.Log.IsEnabled()) 693if (NetEventSource.Log.IsEnabled()) 792if (NetEventSource.Log.IsEnabled() && wedged.Failed) 800if (NetEventSource.Log.IsEnabled()) 897if (NetEventSource.Log.IsEnabled()) 1006if (NetEventSource.Log.IsEnabled()) 1029if (NetEventSource.Log.IsEnabled()) NetEventSource.DumpBuffer(this, buffer.Span); 1039if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"ERROR {token.Status}"); 1072if (NetEventSource.Log.IsEnabled() && status.ErrorCode == SecurityStatusPalErrorCode.OK) 1230if (NetEventSource.Log.IsEnabled() && sslAuthenticationOptions.RemoteCertRequired) 1309if (NetEventSource.Log.IsEnabled()) 1355if (NetEventSource.Log.IsEnabled()) 1363if (NetEventSource.Log.IsEnabled()) 1393if (NetEventSource.Log.IsEnabled()) 1463if (!NetEventSource.Log.IsEnabled())
System\Net\Security\SslStream.TlsSessionWedge.cs (1)
103if (NetEventSource.Log.IsEnabled())
System\Net\Security\SslStreamCertificateContext.cs (2)
80if (!chainStatus && NetEventSource.Log.IsEnabled()) 93if (!chainStatus && NetEventSource.Log.IsEnabled())
System\Net\Security\SslStreamCertificateContext.Linux.cs (9)
145if (NetEventSource.Log.IsEnabled()) 156if (NetEventSource.Log.IsEnabled()) 174if (NetEventSource.Log.IsEnabled()) 183if (NetEventSource.Log.IsEnabled()) 217if (NetEventSource.Log.IsEnabled()) 258if (NetEventSource.Log.IsEnabled()) 344if (NetEventSource.Log.IsEnabled()) 367if (NetEventSource.Log.IsEnabled()) 378if (NetEventSource.Log.IsEnabled())
System.Net.Sockets (128)
src\runtime\src\libraries\Common\src\System\Net\DebugSafeHandleMinusOneIsInvalid.cs (2)
20if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Creating SafeHandle"); 25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, _trace);
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
System\Net\Sockets\SafeSocketHandle.cs (3)
80if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"shouldClose={shouldClose}"); 101if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"abortive={abortive}, shouldClose ={shouldClose}"); 141if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle}");
System\Net\Sockets\SafeSocketHandle.Unix.cs (3)
262if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} Following 'non-abortive' branch."); 293if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle}, setsockopt():{errorCode}"); 329if (NetEventSource.Log.IsEnabled())
System\Net\Sockets\SafeSocketHandle.Unix.OptionTracking.cs (4)
45if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetLingerOption returned errorCode:{errorCode}"); 74if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetSockOpt({level},{name}) returned errorCode:{errorCode}"); 91if (NetEventSource.Log.IsEnabled() && errorCode != SocketError.Success) NetEventSource.Info(this, $"SetLingerOption returned errorCode:{errorCode}"); 104if (NetEventSource.Log.IsEnabled() && errorCode != SocketError.Success) NetEventSource.Info(this, $"GetSockOpt({level},{name}) returned errorCode:{errorCode}");
System\Net\Sockets\Socket.cs (97)
84if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, addressFamily); 283if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetAvailable returns errorCode:{errorCode}"); 418if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"value:{value} willBlock:{_willBlock} willBlockInternal:{_willBlockInternal}"); 455if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"_isConnected:{_isConnected}"); 793if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, localEP); 797if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"localEP:{localEP}"); 853if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"DST:{remoteEP}"); 985if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"timeout = {_closeTimeout}"); 995if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"timeout = {_closeTimeout}"); 1014if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, backlog); 1051if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint}"); 1055if (SocketsTelemetry.Log.IsEnabled()) SocketsTelemetry.Log.AcceptStart(socketAddress); 1093if (NetEventSource.Log.IsEnabled()) NetEventSource.Accepted(socket, socket.RemoteEndPoint!, socket.LocalEndPoint); 1152if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint}"); 1163if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1167else if (SocketsTelemetry.Log.IsEnabled()) 1199if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint} size:{size}"); 1211if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1214else if (SocketsTelemetry.Log.IsEnabled()) 1220if (NetEventSource.Log.IsEnabled()) 1256if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1259else if (SocketsTelemetry.Log.IsEnabled()) 1344if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::SendFile() SRC:{LocalEndPoint} DST:{RemoteEndPoint} fileName:{fileName}"); 1360if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} size:{size} remoteEP:{remoteEP}"); 1374else if (SocketsTelemetry.Log.IsEnabled()) 1383if (NetEventSource.Log.IsEnabled()) NetEventSource.DumpBuffer(this, buffer, offset, size); 1456else if (SocketsTelemetry.Log.IsEnabled()) 1497else if (SocketsTelemetry.Log.IsEnabled()) 1549if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint} size:{size}"); 1560if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1563else if (SocketsTelemetry.Log.IsEnabled()) 1569if (NetEventSource.Log.IsEnabled()) NetEventSource.DumpBuffer(this, buffer, offset, bytesTransferred); 1601if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1604else if (SocketsTelemetry.Log.IsEnabled()) 1647if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC:{LocalEndPoint} DST:{RemoteEndPoint}"); 1658if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, new SocketException((int)errorCode)); 1661else if (SocketsTelemetry.Log.IsEnabled()) 1701else if (SocketsTelemetry.Log.IsEnabled()) 1720if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, errorCode); 1788else if (SocketsTelemetry.Log.IsEnabled()) 1807if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, errorCode); 1822if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SRC{LocalEndPoint} size:{size} remoteEP:{remoteEP}"); 1844if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException); 1851else if (SocketsTelemetry.Log.IsEnabled()) 1889if (NetEventSource.Log.IsEnabled()) NetEventSource.DumpBuffer(this, buffer, offset, size); 1968if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException); 1975else if (SocketsTelemetry.Log.IsEnabled()) 2044if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException); 2048else if (SocketsTelemetry.Log.IsEnabled()) 2070if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"WindowsIoctl returns errorCode:{errorCode}"); 2090if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"optionLevel:{optionLevel} optionName:{optionName} optionValue:{optionValue}"); 2099if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"optionLevel:{optionLevel} optionName:{optionName} optionValue:{optionValue}"); 2104if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetSockOpt returns errorCode:{errorCode}"); 2125if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"optionLevel:{optionLevel} optionName:{optionName} optionValue:{optionValue}"); 2182if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetSockOpt optionLevel:{optionLevel} optionName:{optionName} returns errorCode:{errorCode}"); 2217if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetSockOpt returns errorCode:{errorCode}"); 2242if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetSockOpt returns errorCode:{errorCode}"); 2266if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetSockOpt returns errorCode:{errorCode}"); 2303if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetRawSockOpt optionLevel:{optionLevel} optionName:{optionName} returned errorCode:{errorCode}"); 2358if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Poll returns socketCount:{(int)errorCode}"); 2483if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"UnsafeNclNativeMethods.OSSOCK.DisConnectEx returns:{errorCode}"); 2574if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"::DoBeginSendFile() SRC:{LocalEndPoint} DST:{RemoteEndPoint} fileName:{fileName}"); 2674if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"size:{size}"); 2689if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"size:{size} returning AsyncResult:{asyncResult}"); 2819if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"how:{how}"); 2824if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"Shutdown returns errorCode:{errorCode}"); 2864if (SocketsTelemetry.Log.IsEnabled()) SocketsTelemetry.Log.AcceptStart(_rightEndPoint!); 2919if (NetEventSource.Log.IsEnabled()) NetEventSource.ConnectedAsyncDns(this); 3387if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException); 3396if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"connection to:{endPointSnapshot}"); 3402if (NetEventSource.Log.IsEnabled()) NetEventSource.Connected(this, LocalEndPoint, RemoteEndPoint); 3407if (NetEventSource.Log.IsEnabled()) 3432if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Calling _handle.Dispose()"); 3445if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Calling _handle.CloseAsIs()"); 3457if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} ioctlsocket(FIONBIO):{errorCode}"); 3463if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Calling _handle.CloseAsIs()"); 3470if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} shutdown():{errorCode}"); 3478if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} setsockopt():{errorCode}"); 3488if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} recv():{errorCode}"); 3500if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"handle:{handle} ioctlsocket(FIONREAD):{errorCode}"); 3525if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Calling _handle.CloseAsIs() for non-owned handle"); 3548if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"timeout = {_closeTimeout}"); 3621if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "skipping the call"); 3628if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetSockOpt returns errorCode:{errorCode}"); 3662if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetMulticastOption returns errorCode:{errorCode}"); 3676if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetIPv6MulticastOption returns errorCode:{errorCode}"); 3691if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetLingerOption returns errorCode:{errorCode}"); 3707if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetLingerOption returns errorCode:{errorCode}"); 3723if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetMulticastOption returns errorCode:{errorCode}"); 3740if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"GetIPv6MulticastOption returns errorCode:{errorCode}"); 3773if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"SetBlocking returns errorCode:{errorCode}"); 3782if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, $"errorCode:{errorCode} willBlock:{_willBlock} willBlockInternal:{_willBlockInternal}"); 3865if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "now connected"); 3911if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "!Disposed"); 3928if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, socketException, memberName: callerName); 3944if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"errorCode:{errorCode}, disconnectOnFailure:{disconnectOnFailure}"); 3951if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, "Invalidating socket.");
System\Net\Sockets\SocketAsyncEventArgs.cs (7)
566(SocketsTelemetry.Log.IsEnabled() && (operation == SocketAsyncOperation.Connect || operation == SocketAsyncOperation.Accept))) 902if (SocketsTelemetry.Log.IsEnabled()) LogBytesTransferEvents(_connectSocket?.SocketType, SocketAsyncOperation.Connect, internalArgs.BytesTransferred); 988if (SocketsTelemetry.Log.IsEnabled()) LogBytesTransferEvents(socket?.SocketType, SocketAsyncOperation.Connect, bytesTransferred); 1000if (NetEventSource.Log.IsEnabled() && bytesTransferred > 0) 1018if (NetEventSource.Log.IsEnabled()) 1039if (NetEventSource.Log.IsEnabled()) 1120if (SocketsTelemetry.Log.IsEnabled()) LogBytesTransferEvents(_currentSocket?.SocketType, _completedOperation, bytesTransferred);
System\Net\Sockets\SocketAsyncEventArgs.Unix.cs (1)
333Debug.Assert(NetEventSource.Log.IsEnabled());
System\Net\Sockets\SocketPal.Unix.cs (3)
96if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, socket); 1153if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, socket); 2171if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(null, res);
System\Net\Sockets\TCPClient.cs (3)
33if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, family); 49if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, localEP); 61if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, hostname);
System\Net\Sockets\TCPListener.cs (2)
25if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, localEP); 36if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this, localaddr);
System\Net\Sockets\UDPClient.cs (1)
223if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(this);
System.Net.WebSockets (93)
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.Associate.cs (1)
35Debug.Assert(IsEnabled());
src\runtime\src\libraries\Common\src\System\Net\Logging\NetEventSource.Common.cs (2)
74Debug.Assert(IsEnabled()); 99Debug.Assert(IsEnabled());
System\Net\WebSockets\AsyncMutex.cs (2)
70if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Waiting to enter, queue length {-gate}"); 196if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Unblocking next waiter on exit, remaining queue length {-_gate}", nameof(Exit));
System\Net\WebSockets\ManagedWebSocket.cs (61)
153if (NetEventSource.Log.IsEnabled()) 177if (NetEventSource.Log.IsEnabled()) 185else if (NetEventSource.Log.IsEnabled()) 226if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 238if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"{nameof(_disposed)}={_disposed}"); 252if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"State transition from {state} to {_state}"); 267if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(mutex); 272if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(mutex); 278if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(mutex); 283if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(mutex); 299if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 313if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 323if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 353if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 365if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 372if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 382if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 389if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 399if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 408if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 416if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 441if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 449if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 469if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"State transition from {state} to {_state}"); 480if (NetEventSource.Log.IsEnabled()) NetEventSource.SendFrameAsyncStarted(this, opcode.ToString(), payloadBuffer.Length); 501if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_sendMutex); 539if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 553if (NetEventSource.Log.IsEnabled()) 576if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 592if (NetEventSource.Log.IsEnabled()) 603if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_sendMutex); 616if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 632if (NetEventSource.Log.IsEnabled()) 785if (NetEventSource.Log.IsEnabled()) NetEventSource.ReceiveAsyncPrivateStarted(this, payloadBuffer.Length); 793if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_receiveMutex); 809if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Reading the next frame header"); 854if (NetEventSource.Log.IsEnabled()) 943if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"bytesRead={numBytesRead}"); 989if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Data frame fully processed"); 1002if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(_receiveMutex); 1007if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 1039if (NetEventSource.Log.IsEnabled()) NetEventSource.ReceiveAsyncPrivateCompleted(this); 1079if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"State transition from {state} to {_state}"); 1144if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_receiveMutex); 1149if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 1177if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(_receiveMutex); 1189if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 1210if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Processing incoming Ping"); 1221if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Processing incoming Pong"); 1231if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Received Unsolicited Pong. Skipping."); 1293if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, errorMessage); 1443if (NetEventSource.Log.IsEnabled()) NetEventSource.CloseAsyncPrivateStarted(this); 1467if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, "Waiting for a close frame"); 1484if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexEntered(_receiveMutex); 1496if (NetEventSource.Log.IsEnabled()) NetEventSource.MutexExited(_receiveMutex); 1531if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, exc); 1536if (NetEventSource.Log.IsEnabled()) NetEventSource.CloseAsyncPrivateCompleted(this); 1590if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"State transition from {state} to {_state}"); 1623if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"bytesRead={numRead}"); 1769if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"_state={state}, _disposed={disposed}, _keepAlivePingState.Exception={keepAliveException}"); 1915if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(thisObj, e);
System\Net\WebSockets\ManagedWebSocket.KeepAlive.cs (15)
30if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 42if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Cannot send keep-alive frame in {nameof(_state)}={_state}"); 55if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this); 66if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"KeepAlive already faulted, skipping... (exception: {_keepAlivePingState.Exception.Message})"); 76if (NetEventSource.Log.IsEnabled()) 107if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceException(this, e); 122if (NetEventSource.Log.IsEnabled()) NetEventSource.KeepAlivePingSent(this, pingPayload); 166if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"pongPayload={pongPayload}"); 170if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Not waiting for Pong. Skipping."); 176if (NetEventSource.Log.IsEnabled()) NetEventSource.PongResponseReceived(this, pongPayload); 183if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"Expected payload {PingPayload}. Skipping."); 209if (NetEventSource.Log.IsEnabled()) NetEventSource.TraceErrorMsg(this, exc); 213if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"WebSocket already disposed, skipping..."); 219if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"WebSocket is already closed, skipping..."); 229if (NetEventSource.Log.IsEnabled()) NetEventSource.Trace(this, $"WebSocket is already aborted, skipping...");
System\Net\WebSockets\NetEventSource.WebSockets.cs (12)
56Debug.Assert(Log.IsEnabled()); 63Debug.Assert(Log.IsEnabled()); 70Debug.Assert(Log.IsEnabled()); 93Debug.Assert(Log.IsEnabled()); 112Debug.Assert(Log.IsEnabled()); 119Debug.Assert(Log.IsEnabled()); 138Debug.Assert(Log.IsEnabled()); 145Debug.Assert(Log.IsEnabled()); 164Debug.Assert(Log.IsEnabled()); 171Debug.Assert(Log.IsEnabled()); 190Debug.Assert(Log.IsEnabled()); 197Debug.Assert(Log.IsEnabled());
System.Private.CoreLib (151)
src\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncHelpers.RuntimeAsyncYielder.cs (1)
20if (TplEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\ConfigurableArrayPool.cs (5)
84if (log.IsEnabled()) 104if (log.IsEnabled()) 149if (log.IsEnabled()) 219if (log.IsEnabled()) 267if (log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (8)
68if (log.IsEnabled()) 86if (log.IsEnabled()) 118if (log.IsEnabled()) 179if (log.IsEnabled() && array.Length != 0) 198if (log.IsEnabled()) 218if (!log.IsEnabled()) 274log.IsEnabled()) 488if (log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\CounterGroup.cs (5)
88if (!_eventSource.IsEnabled()) 94Debug.Assert((s_counterGroupEnabledList == null && !_eventSource.IsEnabled()) 95|| (_eventSource.IsEnabled() && s_counterGroupEnabledList!.Contains(this)) 97|| (!_eventSource.IsEnabled() && !s_counterGroupEnabledList!.Contains(this))); 233if (_eventSource.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (22)
335if (!IsEnabled()) 828if (IsEnabled()) 842if (IsEnabled()) 859if (IsEnabled()) 880if (IsEnabled()) 894if (IsEnabled()) 911if (IsEnabled()) 932if (IsEnabled()) 950if (IsEnabled()) 973if (IsEnabled()) 1002if (IsEnabled()) 1023if (IsEnabled()) 1048if (IsEnabled()) 1070if (IsEnabled()) 1092if (IsEnabled()) 1113if (IsEnabled()) 1148if (IsEnabled()) 1360if (IsEnabled()) 1446/// method signature. Even if you use this for rare events, this call should be guarded by an <see cref="IsEnabled()"/> 1469/// method signature. Even if you use this for rare events, this call should be guarded by an <see cref="IsEnabled()"/> 1486/// particular method signature. Even if you use this for rare events, this call should be guarded by an <see cref="IsEnabled()"/> 1990if (IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\FrameworkEventSource.cs (2)
38if (IsEnabled()) 73if (IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (8)
88if (!this.IsEnabled()) 110if (!this.IsEnabled()) 145if (!this.IsEnabled()) 186if (!this.IsEnabled()) 228if (!this.IsEnabled()) 279if (!this.IsEnabled()) 336if (!this.IsEnabled()) 515if (!this.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncProfilerEventSource.cs (1)
119if (keywords == 0 && IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncVoidMethodBuilder.cs (2)
78if (TplEventSource.Log.IsEnabled()) 118if (TplEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\TaskAwaiter.cs (2)
255if (log.IsEnabled()) 285bool bEtwLogEnabled = innerEtwLog.IsEnabled();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\YieldAwaitable.cs (1)
76if (TplEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Lock.cs (3)
566if (areContentionEventsEnabled && NativeRuntimeEventSource.Log.IsEnabled()) 639if (areContentionEventsEnabled && NativeRuntimeEventSource.Log.IsEnabled()) 699if (areContentionEventsEnabled && NativeRuntimeEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Overlapped.cs (1)
188if (NativeRuntimeEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.cs (3)
156if (NativeRuntimeEventSource.Log.IsEnabled()) 232if (NativeRuntimeEventSource.Log.IsEnabled()) 302if (NativeRuntimeEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.GateThread.cs (1)
115if (ThreadPool.EnableWorkerTracking && NativeRuntimeEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.HillClimbing.cs (3)
174if (NativeRuntimeEventSource.Log.IsEnabled()) 350if (NativeRuntimeEventSource.Log.IsEnabled()) 418if (NativeRuntimeEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WaitThread.cs (2)
40if (NativeRuntimeEventSource.Log.IsEnabled()) 75if (NativeRuntimeEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\PortableThreadPool.WorkerThread.cs (3)
46if (NativeRuntimeEventSource.Log.IsEnabled()) 70if (NativeRuntimeEventSource.Log.IsEnabled()) 217if (NativeRuntimeEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs (25)
1001if (TplEventSource.Log.IsEnabled()) 1322if (TplEventSource.Log.IsEnabled()) 1832if (TplEventSource.Log.IsEnabled() && 2211if (TplEventSource.Log.IsEnabled()) 2227if (TplEventSource.Log.IsEnabled()) 2236if (TplEventSource.Log.IsEnabled()) 2463bool etwIsEnabled = log.IsEnabled(); 3134bool etwIsEnabled = log.IsEnabled(); 3472if (TplEventSource.Log.IsEnabled()) 3619bool etwIsEnabled = log.IsEnabled(); 3802if (TplEventSource.Log.IsEnabled()) 4694if (log.IsEnabled()) 5967if (TplEventSource.Log.IsEnabled()) 6009if (TplEventSource.Log.IsEnabled()) 6239if (TplEventSource.Log.IsEnabled()) 6266if (TplEventSource.Log.IsEnabled()) 6319if (TplEventSource.Log.IsEnabled()) 6582if (TplEventSource.Log.IsEnabled()) 6597if (TplEventSource.Log.IsEnabled()) 6652if (TplEventSource.Log.IsEnabled()) 6806if (TplEventSource.Log.IsEnabled()) 6841if (TplEventSource.Log.IsEnabled()) 7579if (TplEventSource.Log.IsEnabled()) 7689if (TplEventSource.Log.IsEnabled()) 7715if (TplEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskContinuation.cs (9)
279if (TplEventSource.Log.IsEnabled()) 314if (TplEventSource.Log.IsEnabled() && !continuationTask.IsCanceled) 404if (log.IsEnabled()) 422if (log.IsEnabled() && log.TasksSetActivityIds && c.m_continuationId != 0) 591if (log.IsEnabled()) 639if (!log.IsEnabled() && context == null) 646if (log.IsEnabled() && log.TasksSetActivityIds && m_continuationId != 0) 673if (log.IsEnabled() && log.TasksSetActivityIds && m_continuationId != 0) 836if (log.IsEnabled() && task != null)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory_T.cs (11)
529if (TplEventSource.Log.IsEnabled()) 651if (TplEventSource.Log.IsEnabled()) 667if (TplEventSource.Log.IsEnabled()) 770if (TplEventSource.Log.IsEnabled()) 792if (TplEventSource.Log.IsEnabled()) 887if (TplEventSource.Log.IsEnabled()) 909if (TplEventSource.Log.IsEnabled()) 1012if (TplEventSource.Log.IsEnabled()) 1034if (TplEventSource.Log.IsEnabled()) 1145if (TplEventSource.Log.IsEnabled()) 1167if (TplEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskFactory.cs (8)
1558if (TplEventSource.Log.IsEnabled()) 1567if (TplEventSource.Log.IsEnabled()) 1573if (TplEventSource.Log.IsEnabled()) 1628if (TplEventSource.Log.IsEnabled()) 1637if (TplEventSource.Log.IsEnabled()) 1643if (TplEventSource.Log.IsEnabled()) 2283if (TplEventSource.Log.IsEnabled()) 2299if (TplEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TaskScheduler.cs (2)
187if (TplEventSource.Log.IsEnabled()) 228if (TplEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\TplEventSource.cs (14)
38AsyncInstrumentation.UpdateTplFlags(IsEnabled() ? AsyncInstrumentation.DefaultTplFlags : AsyncInstrumentation.Flags.Disabled); 199if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.TaskTransfer | Keywords.Tasks)) 270if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.Tasks)) 315if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.TaskTransfer | Keywords.Tasks)) 363if (IsEnabled() && IsEnabled(EventLevel.Verbose, Keywords.Tasks)) 376if (IsEnabled() && IsEnabled(EventLevel.Verbose, Keywords.TaskStops)) 389if (IsEnabled() && IsEnabled(EventLevel.Verbose, Keywords.Tasks)) 407if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.TaskTransfer | Keywords.Tasks)) 438if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalityOperation)) 466if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalityRelation)) 474if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalityOperation)) 482if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalitySynchronousWork)) 492if (IsEnabled() && IsEnabled(EventLevel.Informational, Keywords.AsyncCausalitySynchronousWork)) 549if (IsEnabled() && IsEnabled(EventLevel.Warning, Keywords.AsyncMethod))
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\ThreadPoolWorkQueue.cs (4)
557if (!FrameworkEventSource.Log.IsEnabled()) 579if (_loggingEnabled && FrameworkEventSource.Log.IsEnabled()) 648if (_loggingEnabled && FrameworkEventSource.Log.IsEnabled()) 938if (workQueue._loggingEnabled && FrameworkEventSource.Log.IsEnabled())
src\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\WaitHandle.cs (4)
174if (sendWaitEvents && NativeRuntimeEventSource.Log.IsEnabled()) 189if (sendWaitEvents && NativeRuntimeEventSource.Log.IsEnabled()) 429if (sendWaitEvents && NativeRuntimeEventSource.Log.IsEnabled()) 441if (sendWaitEvents && NativeRuntimeEventSource.Log.IsEnabled())
System\Exception.NativeAot.cs (1)
131if (isFirstFrame && NativeRuntimeEventSource.Log.IsEnabled())
System.ServiceModel.Primitives (1)
Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
33return WcfEventSource.Instance.IsEnabled() &&
System.Threading (1)
System\Threading\Barrier.cs (1)
687if (CdsSyncEtwBCLProvider.Log.IsEnabled())
System.Threading.Tasks.Dataflow (27)
Blocks\ActionBlock.cs (1)
117if (etwLog.IsEnabled())
Blocks\BatchBlock.cs (2)
92if (etwLog.IsEnabled()) 642if (etwLog.IsEnabled())
Blocks\BatchedJoinBlock.cs (2)
110if (etwLog.IsEnabled()) 359if (etwLog.IsEnabled())
Blocks\BroadcastBlock.cs (4)
99if (etwLog.IsEnabled()) 258if (etwLog.IsEnabled()) 835if (etwLog.IsEnabled()) 996if (etwLog.IsEnabled())
Blocks\BufferBlock.cs (2)
81if (etwLog.IsEnabled()) 259if (etwLog.IsEnabled())
Blocks\JoinBlock.cs (3)
103if (etwLog.IsEnabled()) 322if (etwLog.IsEnabled()) 1271if (etwLog.IsEnabled())
Blocks\TransformBlock.cs (1)
162if (etwLog.IsEnabled())
Blocks\TransformManyBlock.cs (1)
161if (etwLog.IsEnabled())
Blocks\WriteOnceBlock.cs (3)
99if (etwLog.IsEnabled()) 124if (etwLog.IsEnabled()) 199if (etwLog.IsEnabled())
Internal\SourceCore.cs (2)
757if (etwLog.IsEnabled()) 970if (etwLog.IsEnabled())
Internal\SpscTargetCore.cs (2)
174if (etwLog.IsEnabled()) 348if (etwLog.IsEnabled())
Internal\TargetCore.cs (2)
376if (etwLog.IsEnabled()) 798(etwLog = DataflowEtwProvider.Log).IsEnabled())
Internal\TargetRegistry.cs (2)
100if (etwLog.IsEnabled()) 161if (etwLog.IsEnabled())
System.Threading.Tasks.Parallel (10)
System\Threading\Tasks\Parallel.cs (10)
220if (ParallelEtwProvider.Log.IsEnabled()) 360if (ParallelEtwProvider.Log.IsEnabled()) 965if (ParallelEtwProvider.Log.IsEnabled()) 1003if (ParallelEtwProvider.Log.IsEnabled()) 1103if (ParallelEtwProvider.Log.IsEnabled()) 1138if (ParallelEtwProvider.Log.IsEnabled()) 2532if (ParallelEtwProvider.Log.IsEnabled()) 2594if (ParallelEtwProvider.Log.IsEnabled()) 2739if (ParallelEtwProvider.Log.IsEnabled()) 2787if (ParallelEtwProvider.Log.IsEnabled())
System.Transactions.Local (362)
System\Transactions\CommittableTransaction.cs (9)
40if (etwLog.IsEnabled()) 49if (etwLog.IsEnabled()) 70if (etwLog.IsEnabled()) 83if (etwLog.IsEnabled()) 114if (etwLog.IsEnabled()) 123if (etwLog.IsEnabled()) 150if (etwLog.IsEnabled()) 159if (etwLog.IsEnabled()) 183if (etwLog.IsEnabled())
System\Transactions\DependentTransaction.cs (2)
35if (etwLog.IsEnabled()) 62if (etwLog.IsEnabled())
System\Transactions\DurableEnlistmentState.cs (2)
97if (etwLog.IsEnabled()) 148if (etwLog.IsEnabled())
System\Transactions\Enlistment.cs (2)
497if (etwLog.IsEnabled()) 508if (etwLog.IsEnabled())
System\Transactions\Oletx\DtcTransactionManager.cs (1)
123if (etwLog.IsEnabled())
System\Transactions\Oletx\OletxCommittableTransaction.cs (2)
39if (etwLog.IsEnabled()) 52if (etwLog.IsEnabled())
System\Transactions\Oletx\OletxDependentTransaction.cs (4)
25if (etwLog.IsEnabled()) 36if (etwLog.IsEnabled()) 49if (etwLog.IsEnabled()) 56if (etwLog.IsEnabled())
System\Transactions\Oletx\OletxEnlistment.cs (37)
73if (etwLog.IsEnabled()) 118if (etwLog.IsEnabled()) 141if (etwLog.IsEnabled()) 163if (etwLog.IsEnabled()) 173if (etwLog.IsEnabled()) 288if (etwLog.IsEnabled()) 304if (etwLog.IsEnabled()) 361if (etwLog.IsEnabled()) 400if (etwLog.IsEnabled()) 424if (etwLog.IsEnabled()) 479if (etwLog.IsEnabled()) 503if (etwLog.IsEnabled()) 564if (etwLog.IsEnabled()) 607if (etwLog.IsEnabled()) 649if (etwLog.IsEnabled()) 660if (etwLog.IsEnabled()) 670if (etwLog.IsEnabled()) 681if (etwLog.IsEnabled()) 813if (etwLog.IsEnabled()) 826if (etwLog.IsEnabled()) 837if (etwLog.IsEnabled()) 854if (etwLog.IsEnabled()) 921if ((ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) && etwLog.IsEnabled()) 936if (etwLog.IsEnabled()) 947if (etwLog.IsEnabled()) 962if (etwLog.IsEnabled()) 1005if (etwLog.IsEnabled()) 1020if (etwLog.IsEnabled()) 1031if (etwLog.IsEnabled()) 1060if (etwLog.IsEnabled()) 1075if (etwLog.IsEnabled()) 1089if (etwLog.IsEnabled()) 1115(ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) && etwLog.IsEnabled()) 1124if (etwLog.IsEnabled()) 1137if (etwLog.IsEnabled()) 1165(ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) && etwLog.IsEnabled()) 1174if (etwLog.IsEnabled())
System\Transactions\Oletx\OletxResourceManager.cs (12)
101if (etwLog.IsEnabled()) 123if (etwLog.IsEnabled()) 183if (etwLog.IsEnabled()) 401if (etwLog.IsEnabled()) 528if (etwLog.IsEnabled()) 566if (etwLog.IsEnabled()) 608if (etwLog.IsEnabled()) 643if (etwLog.IsEnabled()) 684if (etwLog.IsEnabled()) 695if (etwLog.IsEnabled()) 704if (etwLog.IsEnabled()) 771if (etwLog.IsEnabled())
System\Transactions\Oletx\OletxTransaction.cs (29)
64if (etwLog.IsEnabled()) 71if (etwLog.IsEnabled()) 100if (etwLog.IsEnabled()) 107if (etwLog.IsEnabled()) 147if (etwLog.IsEnabled()) 154if (etwLog.IsEnabled()) 165if (etwLog.IsEnabled()) 178if (etwLog.IsEnabled()) 183if (etwLog.IsEnabled()) 199if (etwLog.IsEnabled()) 211if (etwLog.IsEnabled()) 236if (etwLog.IsEnabled()) 246if (etwLog.IsEnabled()) 257if (etwLog.IsEnabled()) 275if (etwLog.IsEnabled()) 288if (etwLog.IsEnabled()) 306if (etwLog.IsEnabled()) 321if (etwLog.IsEnabled()) 349if (etwLog.IsEnabled()) 366if (etwLog.IsEnabled()) 390if (etwLog.IsEnabled()) 423if (etwLog.IsEnabled()) 443if (etwLog.IsEnabled()) 455if (etwLog.IsEnabled()) 987if (etwLog.IsEnabled()) 1065if (etwLog.IsEnabled()) 1101if (etwLog.IsEnabled()) 1111if (etwLog.IsEnabled()) 1121if (etwLog.IsEnabled())
System\Transactions\Oletx\OletxTransactionManager.cs (6)
70if (etwLog.IsEnabled()) 354if (etwLog.IsEnabled()) 393if (etwLog.IsEnabled()) 470if (etwLog.IsEnabled()) 711if (etwLog.IsEnabled()) 785if (etwLog.IsEnabled())
System\Transactions\Oletx\OletxVolatileEnlistment.cs (53)
78if (etwLog.IsEnabled()) 85if (etwLog.IsEnabled()) 130if (etwLog.IsEnabled()) 156if (etwLog.IsEnabled()) 169if (etwLog.IsEnabled()) 187if (etwLog.IsEnabled()) 228if (etwLog.IsEnabled()) 262if ((ex.ErrorCode == OletxHelper.XACT_E_CONNECTION_DOWN || ex.ErrorCode == OletxHelper.XACT_E_TMNOTAVAILABLE) && etwLog.IsEnabled()) 278if (etwLog.IsEnabled()) 289if (etwLog.IsEnabled()) 334if (etwLog.IsEnabled()) 366if (etwLog.IsEnabled()) 398if (etwLog.IsEnabled()) 421if (etwLog.IsEnabled()) 475if (etwLog.IsEnabled()) 494if (etwLog.IsEnabled()) 518if (etwLog.IsEnabled()) 535if (etwLog.IsEnabled()) 599if (etwLog.IsEnabled()) 618if (etwLog.IsEnabled()) 633if (etwLog.IsEnabled()) 672if (etwLog.IsEnabled()) 679if (etwLog.IsEnabled()) 711if (etwLog.IsEnabled()) 768if (etwLog.IsEnabled()) 774if (etwLog.IsEnabled()) 837if (etwLog.IsEnabled()) 867if (etwLog.IsEnabled()) 897if (etwLog.IsEnabled()) 919if (etwLog.IsEnabled()) 964if (etwLog.IsEnabled()) 977if (etwLog.IsEnabled()) 1026if (etwLog.IsEnabled()) 1060if (etwLog.IsEnabled()) 1070if (etwLog.IsEnabled()) 1105if (etwLog.IsEnabled()) 1141if (etwLog.IsEnabled()) 1151if (etwLog.IsEnabled()) 1167if (etwLog.IsEnabled()) 1210if (etwLog.IsEnabled()) 1234if (etwLog.IsEnabled()) 1276if (etwLog.IsEnabled()) 1286if (etwLog.IsEnabled()) 1302if (etwLog.IsEnabled()) 1316if (etwLog.IsEnabled()) 1352if (etwLog.IsEnabled()) 1361if (etwLog.IsEnabled()) 1382if (etwLog.IsEnabled()) 1417if (etwLog.IsEnabled()) 1426if (etwLog.IsEnabled()) 1438if (etwLog.IsEnabled()) 1458if (etwLog.IsEnabled()) 1475if (etwLog.IsEnabled())
System\Transactions\PreparingEnlistment.cs (8)
17if (etwLog.IsEnabled()) 28if (etwLog.IsEnabled()) 37if (etwLog.IsEnabled()) 48if (etwLog.IsEnabled()) 57if (etwLog.IsEnabled()) 68if (etwLog.IsEnabled()) 77if (etwLog.IsEnabled()) 91if (etwLog.IsEnabled())
System\Transactions\SinglePhaseEnlistment.cs (12)
15if (etwLog.IsEnabled()) 26if (etwLog.IsEnabled()) 35if (etwLog.IsEnabled()) 46if (etwLog.IsEnabled()) 56if (etwLog.IsEnabled()) 67if (etwLog.IsEnabled()) 77if (etwLog.IsEnabled()) 84if (etwLog.IsEnabled()) 92if (etwLog.IsEnabled()) 102if (etwLog.IsEnabled()) 109if (etwLog.IsEnabled()) 117if (etwLog.IsEnabled())
System\Transactions\Transaction.cs (36)
156if (etwLog.IsEnabled()) 173if (etwLog.IsEnabled()) 184if (etwLog.IsEnabled()) 193if (etwLog.IsEnabled()) 206if (etwLog.IsEnabled()) 350if (etwLog.IsEnabled()) 365if (etwLog.IsEnabled()) 382if (etwLog.IsEnabled()) 389if (etwLog.IsEnabled()) 414if (etwLog.IsEnabled()) 450if (etwLog.IsEnabled()) 476if (etwLog.IsEnabled()) 506if (etwLog.IsEnabled()) 524if (etwLog.IsEnabled()) 554if (etwLog.IsEnabled()) 566if (etwLog.IsEnabled()) 580if (etwLog.IsEnabled()) 590if (etwLog.IsEnabled()) 604if (etwLog.IsEnabled()) 616if (etwLog.IsEnabled()) 641if (etwLog.IsEnabled()) 655if (etwLog.IsEnabled()) 680if (etwLog.IsEnabled()) 693if (etwLog.IsEnabled()) 707if (etwLog.IsEnabled()) 719if (etwLog.IsEnabled()) 735if (etwLog.IsEnabled()) 756if (etwLog.IsEnabled()) 823if (etwLog.IsEnabled()) 840if (etwLog.IsEnabled()) 896if (etwLog.IsEnabled()) 923if (etwLog.IsEnabled()) 937if (etwLog.IsEnabled()) 968if (etwLog.IsEnabled()) 981if (etwLog.IsEnabled()) 1007if (etwLog.IsEnabled())
System\Transactions\TransactionException.cs (7)
25if (etwLog.IsEnabled()) 45if (etwLog.IsEnabled()) 55if (etwLog.IsEnabled()) 128if (etwLog.IsEnabled()) 166if (etwLog.IsEnabled()) 243if (etwLog.IsEnabled()) 297if (etwLog.IsEnabled())
System\Transactions\TransactionInformation.cs (6)
22if (etwLog.IsEnabled()) 33if (etwLog.IsEnabled()) 47if (etwLog.IsEnabled()) 65if (etwLog.IsEnabled()) 81if (etwLog.IsEnabled()) 93if (etwLog.IsEnabled())
System\Transactions\TransactionInterop.cs (17)
53if (etwLog.IsEnabled()) 85if (etwLog.IsEnabled()) 103if (etwLog.IsEnabled()) 129if (etwLog.IsEnabled()) 180if (etwLog.IsEnabled()) 193if (etwLog.IsEnabled()) 203if (etwLog.IsEnabled()) 238if (etwLog.IsEnabled()) 252if (etwLog.IsEnabled()) 265if (etwLog.IsEnabled()) 277if (etwLog.IsEnabled()) 304if (etwLog.IsEnabled()) 328if (etwLog.IsEnabled()) 367if (etwLog.IsEnabled()) 430if (etwLog.IsEnabled()) 466if (etwLog.IsEnabled()) 489if (etwLog.IsEnabled())
System\Transactions\TransactionManager.cs (21)
152if (etwLog.IsEnabled()) 177if (etwLog.IsEnabled()) 187if (etwLog.IsEnabled()) 195if (etwLog.IsEnabled()) 218if (etwLog.IsEnabled()) 246if (etwLog.IsEnabled()) 254if (etwLog.IsEnabled()) 272if (etwLog.IsEnabled()) 292if (etwLog.IsEnabled()) 302if (etwLog.IsEnabled()) 309if (etwLog.IsEnabled()) 318if (etwLog.IsEnabled()) 326if (etwLog.IsEnabled()) 334if (etwLog.IsEnabled()) 349if (etwLog.IsEnabled()) 356if (etwLog.IsEnabled()) 366if (etwLog.IsEnabled()) 381if (etwLog.IsEnabled()) 387if (etwLog.IsEnabled()) 458if (etwLog.IsEnabled()) 489if (etwLog.IsEnabled())
System\Transactions\TransactionScope.cs (40)
59if (etwLog.IsEnabled()) 74if (etwLog.IsEnabled()) 92if (etwLog.IsEnabled()) 100if (etwLog.IsEnabled()) 118if (etwLog.IsEnabled()) 146if (etwLog.IsEnabled()) 164if (etwLog.IsEnabled()) 172if (etwLog.IsEnabled()) 190if (etwLog.IsEnabled()) 232if (etwLog.IsEnabled()) 250if (etwLog.IsEnabled()) 258if (etwLog.IsEnabled()) 270if (etwLog.IsEnabled()) 314if (etwLog.IsEnabled()) 332if (etwLog.IsEnabled()) 340if (etwLog.IsEnabled()) 357if (etwLog.IsEnabled()) 369if (etwLog.IsEnabled()) 386if (etwLog.IsEnabled()) 398if (etwLog.IsEnabled()) 411if (etwLog.IsEnabled()) 424if (etwLog.IsEnabled()) 489if (etwLog.IsEnabled()) 507if (etwLog.IsEnabled()) 513if (etwLog.IsEnabled()) 523if (etwLog.IsEnabled()) 595if (etwLog.IsEnabled()) 633if (etwLog.IsEnabled()) 640if (etwLog.IsEnabled()) 694if (etwLog.IsEnabled()) 745if (etwLog.IsEnabled()) 763if (etwLog.IsEnabled()) 770if (etwLog.IsEnabled()) 782if (etwLog.IsEnabled()) 831if (etwLog.IsEnabled()) 843if (etwLog.IsEnabled()) 855if (etwLog.IsEnabled()) 871if (etwLog.IsEnabled()) 882if (etwLog.IsEnabled()) 890if (etwLog.IsEnabled())
System\Transactions\TransactionState.cs (47)
301if (etwLog.IsEnabled()) 313if (etwLog.IsEnabled()) 325if (etwLog.IsEnabled()) 337if (etwLog.IsEnabled()) 349if (etwLog.IsEnabled()) 361if (etwLog.IsEnabled()) 373if (etwLog.IsEnabled()) 385if (etwLog.IsEnabled()) 397if (etwLog.IsEnabled()) 425if (etwLog.IsEnabled()) 577if (etwLog.IsEnabled()) 588if (etwLog.IsEnabled()) 723if (etwLog.IsEnabled()) 749if (etwLog.IsEnabled()) 775if (etwLog.IsEnabled()) 1002if (etwLog.IsEnabled()) 1029if (etwLog.IsEnabled()) 1064if (etwLog.IsEnabled()) 1245if (etwLog.IsEnabled()) 1402if (etwLog.IsEnabled()) 1533if (etwLog.IsEnabled()) 1596if (etwLog.IsEnabled()) 2069if (etwLog.IsEnabled()) 2084if (etwLog.IsEnabled()) 2189if (etwLog.IsEnabled()) 2200if (etwLog.IsEnabled()) 2311if (etwLog.IsEnabled()) 2340if (etwLog.IsEnabled()) 2370if (etwLog.IsEnabled()) 2431if (etwLog.IsEnabled()) 2944if (etwLog.IsEnabled()) 3088if (etwLog.IsEnabled()) 3158if (etwLog.IsEnabled()) 3268if (etwLog.IsEnabled()) 3281if (etwLog.IsEnabled()) 3328if (etwLog.IsEnabled()) 3417if (etwLog.IsEnabled()) 3444if (etwLog.IsEnabled()) 3600if (etwLog.IsEnabled()) 3846if (etwLog.IsEnabled()) 4048if (etwLog.IsEnabled()) 4141if (etwLog.IsEnabled()) 4185if (etwLog.IsEnabled()) 4254if (etwLog.IsEnabled()) 4269if (etwLog.IsEnabled()) 4615if (etwLog.IsEnabled()) 4651if (etwLog.IsEnabled())
System\Transactions\VolatileEnlistmentMultiplexing.cs (4)
267if (etwLog.IsEnabled()) 276if (etwLog.IsEnabled()) 358if (etwLog.IsEnabled()) 367if (etwLog.IsEnabled())
System\Transactions\VolatileEnlistmentState.cs (5)
142if (etwLog.IsEnabled()) 214if (etwLog.IsEnabled()) 367if (etwLog.IsEnabled()) 410if (etwLog.IsEnabled()) 444if (etwLog.IsEnabled())