1 instantiation of MSBuildEventSource
Microsoft.Build.Framework (1)
MSBuildEventSource.cs (1)
41public static MSBuildEventSource Log = new MSBuildEventSource();
148 references to MSBuildEventSource
Microsoft.Build (99)
BackEnd\BuildManager\BuildManager.cs (3)
550MSBuildEventSource.Log.BuildStart(); 840MSBuildEventSource.Log.CancelSubmissionsStart(); 1184MSBuildEventSource.Log.BuildStop();
BackEnd\Client\MSBuildClient.cs (2)
205MSBuildEventSource.Log.MSBuildServerBuildStart(descriptiveCommandLine); 213MSBuildEventSource.Log.MSBuildServerBuildStop(descriptiveCommandLine, _numConsoleWritePackets, _sizeOfConsoleWritePackets, _exitResult.MSBuildClientExitType.ToString(), _exitResult.MSBuildAppExitTypeString ?? string.Empty);
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (12)
282MSBuildEventSource.Log.NodeReuseScanStart(); 284MSBuildEventSource.Log.NodeReuseScanStop(possibleRunningNodesList.Count); 300MSBuildEventSource.Log.NodeConnectStart(nodeId); 349MSBuildEventSource.Log.NodePipeConnectStart(nodeId, nodeToReuse.Id); 351MSBuildEventSource.Log.NodePipeConnectStop(nodeId, nodeToReuse.Id, succeeded: nodeStream != null); 363MSBuildEventSource.Log.NodeConnectStop(nodeId, nodeToReuse.Id, isReused: true); 405MSBuildEventSource.Log.NodeLaunchStart(nodeId); 407MSBuildEventSource.Log.NodeLaunchStop(nodeId, msbuildProcess.Id); 416MSBuildEventSource.Log.NodePipeConnectStart(nodeId, msbuildProcess.Id); 418MSBuildEventSource.Log.NodePipeConnectStop(nodeId, msbuildProcess.Id, succeeded: nodeStream != null); 425MSBuildEventSource.Log.NodeConnectStop(nodeId, msbuildProcess.Id, isReused: false); 1341MSBuildEventSource.Log.PacketReadSize(_currentPacketLength);
BackEnd\Components\ProjectCache\ProjectCacheService.cs (11)
230MSBuildEventSource.Log.ProjectCacheCreatePluginInstanceStart(pluginAssemblyPath); 249MSBuildEventSource.Log.ProjectCacheCreatePluginInstanceStop(pluginAssemblyPath, pluginTypeName); 261MSBuildEventSource.Log.ProjectCacheBeginBuildStart(pluginTypeName); 366MSBuildEventSource.Log.ProjectCacheBeginBuildStop(pluginTypeName); 625MSBuildEventSource.Log.ProjectCacheGetCacheResultStart(plugin.Name, buildRequest.ProjectFullPath, targetNames ?? MSBuildConstants.DefaultTargetsMarker); 659if (MSBuildEventSource.Log.IsEnabled()) 662MSBuildEventSource.Log.ProjectCacheGetCacheResultStop(plugin.Name, buildRequest.ProjectFullPath, targetNames ?? "<default>", cacheResultType); 903MSBuildEventSource.Log.ProjectCacheHandleBuildResultStart(plugin.Name, fileAccessContext.ProjectFullPath, targetNames); 923MSBuildEventSource.Log.ProjectCacheHandleBuildResultStop(plugin.Name, fileAccessContext.ProjectFullPath, targetNames); 986MSBuildEventSource.Log.ProjectCacheEndBuildStart(plugin.Name); 1008MSBuildEventSource.Log.ProjectCacheEndBuildStop(plugin.Name);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (6)
784MSBuildEventSource.Log.RequestThreadProcStart(); 787MSBuildEventSource.Log.RequestThreadProcStop(); 1203if (MSBuildEventSource.Log.IsEnabled()) 1205MSBuildEventSource.Log.BuildProjectStart(_requestEntry.RequestConfiguration.ProjectFullPath, string.Join(", ", allTargets)); 1261if (MSBuildEventSource.Log.IsEnabled()) 1263MSBuildEventSource.Log.BuildProjectStop(_requestEntry.RequestConfiguration.ProjectFullPath,
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
491MSBuildEventSource.Log.TargetStart(currentTargetEntry.Name); 493MSBuildEventSource.Log.TargetStop(currentTargetEntry.Name, currentTargetEntry.Result?.TargetResultCodeToString() ?? string.Empty);
BackEnd\Components\RequestBuilder\TargetEntry.cs (2)
476MSBuildEventSource.Log.TargetUpToDateStart(); 479MSBuildEventSource.Log.TargetUpToDateStop((int)dependencyResult);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
456MSBuildEventSource.Log.ExecuteTaskStart(_taskNode?.Name, taskLoggingContext.BuildEventContext.TaskId); 521MSBuildEventSource.Log.ExecuteTaskStop(_taskNode?.Name, taskLoggingContext.BuildEventContext.TaskId);
BackEnd\Components\RequestBuilder\TaskHost.cs (4)
363MSBuildEventSource.Log.ExecuteTaskYieldStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 392MSBuildEventSource.Log.ExecuteTaskYieldStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 393MSBuildEventSource.Log.ExecuteTaskReacquireStart(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId); 395MSBuildEventSource.Log.ExecuteTaskReacquireStop(_taskLoggingContext.TaskName, _taskLoggingContext.BuildEventContext.TaskId);
BackEnd\Components\SdkResolution\CachingSdkResolverService.cs (2)
44MSBuildEventSource.Log.CachedSdkResolverServiceResolveSdkStart(sdk.Name, solutionPath ?? string.Empty, projectPath ?? string.Empty); 82MSBuildEventSource.Log.CachedSdkResolverServiceResolveSdkStop(sdk.Name, solutionPath ?? string.Empty, projectPath ?? string.Empty, result.Success, wasResultCached);
BackEnd\Components\SdkResolution\HostedSdkResolverServiceBase.cs (1)
63MSBuildEventSource.Log.SdkResolverServiceNodeShutDownSet();
BackEnd\Components\SdkResolution\OutOfProcNodeSdkResolverService.cs (2)
76MSBuildEventSource.Log.OutOfProcSdkResolverServiceRequestSdkPathFromMainNodeStart(submissionId, sdk.Name, solutionPath, projectPath); 96MSBuildEventSource.Log.OutOfProcSdkResolverServiceRequestSdkPathFromMainNodeStop(submissionId, sdk.Name, solutionPath, projectPath, _lastResponse.Success, wasResultCached);
BackEnd\Components\SdkResolution\SdkResolverLoader.cs (6)
47MSBuildEventSource.Log.SdkResolverLoadAllResolversStart(); 68MSBuildEventSource.Log.SdkResolverLoadAllResolversStop(resolvers.Count); 76MSBuildEventSource.Log.SdkResolverFindResolversManifestsStart(); 85MSBuildEventSource.Log.SdkResolverFindResolversManifestsStop(allResolversManifests?.Count ?? 0); 283MSBuildEventSource.Log.SdkResolverLoadResolversStart(); 291MSBuildEventSource.Log.SdkResolverLoadResolversStop(manifest.DisplayName ?? string.Empty, resolvers.Count);
BackEnd\Components\SdkResolution\SdkResolverService.cs (2)
332MSBuildEventSource.Log.SdkResolverResolveSdkStart(); 358MSBuildEventSource.Log.SdkResolverResolveSdkStop(sdkResolver.Name, sdk.Name, solutionPath ?? string.Empty, projectPath ?? string.Empty, result?.Path ?? string.Empty, result?.Success ?? false);
BackEnd\Node\OutOfProcNode.cs (2)
461MSBuildEventSource.Log.OutOfProcNodeShutDownStart(); 546MSBuildEventSource.Log.OutOfProcNodeShutDownStop(_shutdownReason.ToString());
Construction\ProjectRootElement.cs (6)
1551if (MSBuildEventSource.Log.IsEnabled()) 1553MSBuildEventSource.Log.SaveStart(_projectFileLocation.LocationString); 1584if (MSBuildEventSource.Log.IsEnabled()) 1586MSBuildEventSource.Log.SaveStop(_projectFileLocation.LocationString); 2100MSBuildEventSource.Log.LoadDocumentStart(fullPath); 2130MSBuildEventSource.Log.LoadDocumentStop(fullPath);
Evaluation\Evaluator.cs (14)
322MSBuildEventSource.Log.EvaluateStart(root.ProjectFileLocation.File); 369MSBuildEventSource.Log.EvaluateStop(root.ProjectFileLocation.File); 648MSBuildEventSource.Log.EvaluatePass0Start(_projectRootElement.ProjectFileLocation.File); 662MSBuildEventSource.Log.EvaluatePass0Stop(projectFile); 665MSBuildEventSource.Log.EvaluatePass1Start(projectFile); 680MSBuildEventSource.Log.EvaluatePass1Stop(projectFile); 683MSBuildEventSource.Log.EvaluatePass2Start(projectFile); 694MSBuildEventSource.Log.EvaluatePass2Stop(projectFile); 702MSBuildEventSource.Log.EvaluatePass3Start(projectFile); 737MSBuildEventSource.Log.EvaluatePass3Stop(projectFile); 740MSBuildEventSource.Log.EvaluatePass4Start(projectFile); 771MSBuildEventSource.Log.EvaluatePass4Stop(projectFile); 776MSBuildEventSource.Log.EvaluatePass5Start(projectFile); 830MSBuildEventSource.Log.EvaluatePass5Stop(projectFile);
Evaluation\LazyItemEvaluator.cs (2)
82MSBuildEventSource.Log.EvaluateConditionStart(condition); 95MSBuildEventSource.Log.EvaluateConditionStop(condition, result);
Evaluation\LazyItemEvaluator.IncludeOperation.cs (4)
116if (MSBuildEventSource.Log.IsEnabled()) 118MSBuildEventSource.Log.ExpandGlobStart(_rootDirectory ?? string.Empty, glob, string.Join(", ", excludePatternsForGlobs)); 133if (MSBuildEventSource.Log.IsEnabled()) 135MSBuildEventSource.Log.ExpandGlobStop(_rootDirectory ?? string.Empty, glob, string.Join(", ", excludePatternsForGlobs));
Evaluation\LazyItemEvaluator.LazyItemOperation.cs (2)
58MSBuildEventSource.Log.ApplyLazyItemOperationsStart(_itemElement.ItemType); 63MSBuildEventSource.Log.ApplyLazyItemOperationsStop(_itemElement.ItemType);
Evaluation\ProjectParser.cs (2)
116MSBuildEventSource.Log.ParseStart(projectRootElement.ProjectFileLocation.File); 121MSBuildEventSource.Log.ParseStop(projectRootElement.ProjectFileLocation.File);
Graph\ProjectGraph.cs (4)
457if (MSBuildEventSource.Log.IsEnabled()) 469MSBuildEventSource.Log.ProjectGraphConstructionStart(etwArgs); 477if (MSBuildEventSource.Log.IsEnabled()) 479MSBuildEventSource.Log.ProjectGraphConstructionStop(measurementInfo.ETWArgs);
TypeLoader.cs (6)
458MSBuildEventSource.Log.FallbackAssemblyLoadStart(typeName); 461MSBuildEventSource.Log.FallbackAssemblyLoadStop(typeName); 536MSBuildEventSource.Log.LoadAssemblyAndFindTypeStart(); 578MSBuildEventSource.Log.CreateLoadedTypeStart(loadedAssembly.FullName); 582MSBuildEventSource.Log.CreateLoadedTypeStop(loadedAssembly.FullName); 586MSBuildEventSource.Log.LoadAssemblyAndFindTypeStop(_assemblyLoadInfo.AssemblyFile, numberOfTypesSearched);
Microsoft.Build.Framework (10)
MSBuildEventSource.cs (1)
41public static MSBuildEventSource Log = new MSBuildEventSource();
ReuseableStringBuilder.cs (6)
266MSBuildEventSource.Log.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: capacity, oldCapacity: 0, type: "miss"); 275MSBuildEventSource.Log.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: newCapacity, oldCapacity: returned.Capacity, type: "miss-need-bigger"); 284MSBuildEventSource.Log.ReusableStringBuilderFactoryStart(hash: returned.GetHashCode(), newCapacity: capacity, oldCapacity: returned.Capacity, type: "hit"); 319MSBuildEventSource.Log.ReusableStringBuilderFactoryStop(hash: returningBuilder.GetHashCode(), returningCapacity: returningBuilder.Capacity, returningLength: returningLength, type: "discard"); 345MSBuildEventSource.Log.ReusableStringBuilderFactoryUnbalanced(oldHash: oldSharedBuilder.GetHashCode(), newHash: returningBuilder.GetHashCode()); 348MSBuildEventSource.Log.ReusableStringBuilderFactoryStop(hash: returningBuilder.GetHashCode(), returningCapacity: returningBuilder.Capacity, returningLength: returningLength, type: returning._borrowedBuilder != returningBuilder ? "return-new" : "return");
StringBuilderCache.cs (3)
54MSBuildEventSource.Log.ReusableStringBuilderFactoryStart(hash: sb.GetHashCode(), newCapacity: capacity, oldCapacity: sb.Capacity, type: "sbc-hit"); 63MSBuildEventSource.Log.ReusableStringBuilderFactoryStart(hash: stringBuilder.GetHashCode(), newCapacity: capacity, oldCapacity: stringBuilder.Capacity, type: "sbc-miss"); 96MSBuildEventSource.Log.ReusableStringBuilderFactoryStop(hash: sb.GetHashCode(), returningCapacity: sb.Capacity, returningLength: sb.Length, type: sb.Capacity <= MAX_BUILDER_SIZE ? "sbc-return" : "sbc-discard");
Microsoft.Build.Tasks.Core (24)
AssemblyDependency\ReferenceTable.cs (4)
1387MSBuildEventSource.Log.RarRemoveReferencesMarkedForExclusionStart(); 1475MSBuildEventSource.Log.RarRemoveReferencesMarkedForExclusionStop(); 1640MSBuildEventSource.Log.RarComputeClosureStart(); 1651MSBuildEventSource.Log.RarComputeClosureStop();
AssemblyDependency\ResolveAssemblyReference.cs (5)
1110MSBuildEventSource.Log.RarLogResultsStart(); 1339MSBuildEventSource.Log.RarLogResultsStop(); 2211MSBuildEventSource.Log.RarOverallStart(); 2703MSBuildEventSource.Log.RarOverallStop(_assemblyNames?.Length ?? -1, _assemblyFiles?.Length ?? -1, _resolvedFiles?.Length ?? -1, _resolvedDependencyFiles?.Length ?? -1, _copyLocalFiles?.Length ?? -1, _findDependencies); 2720MSBuildEventSource.Log.RarOverallStop(_assemblyNames?.Length ?? -1, _assemblyFiles?.Length ?? -1, _resolvedFiles?.Length ?? -1, _resolvedDependencyFiles?.Length ?? -1, _copyLocalFiles?.Length ?? -1, _findDependencies);
Copy.cs (7)
531MSBuildEventSource.Log.CopyUpToDateStart(destAbsolutePath); 555MSBuildEventSource.Log.CopyUpToDateStop(destAbsolutePath.OriginalValue, true); 698MSBuildEventSource.Log.CopyUpToDateStart(destAbsolutePath); 723MSBuildEventSource.Log.CopyUpToDateStop(destAbsolutePath.OriginalValue, true); 961MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Path.OriginalValue, true); 965MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Path.OriginalValue, false); 978MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Path.OriginalValue, true);
FileIO\WriteLinesToFile.cs (4)
318MSBuildEventSource.Log.WriteLinesToFileUpToDateStart(); 327MSBuildEventSource.Log.WriteLinesToFileUpToDateStop(filePath.OriginalValue, true); 333MSBuildEventSource.Log.WriteLinesToFileUpToDateStop(filePath.OriginalValue, false); 343MSBuildEventSource.Log.WriteLinesToFileUpToDateStop(filePath.OriginalValue, false);
GenerateResource.cs (2)
657MSBuildEventSource.Log.GenerateResourceOverallStart(); 926MSBuildEventSource.Log.GenerateResourceOverallStop();
NodePipeBase.cs (2)
125MSBuildEventSource.Log.PacketReadSize(packetLength); 175MSBuildEventSource.Log.PacketReadSize(packetLength);
MSBuild (15)
OutOfProcTaskHostNode.cs (4)
560if (MSBuildEventSource.Log.IsEnabled()) 564MSBuildEventSource.Log.TaskHostBuildProjectFileStart(projectFilesJoined, targetNamesJoined); 587if (MSBuildEventSource.Log.IsEnabled()) 589MSBuildEventSource.Log.TaskHostBuildProjectFileStop(projectFilesJoined!, success);
PerformanceLogEventListener.cs (1)
29Keywords = MSBuildEventSource.Keywords.PerformanceLog,
TypeLoader.cs (6)
458MSBuildEventSource.Log.FallbackAssemblyLoadStart(typeName); 461MSBuildEventSource.Log.FallbackAssemblyLoadStop(typeName); 536MSBuildEventSource.Log.LoadAssemblyAndFindTypeStart(); 578MSBuildEventSource.Log.CreateLoadedTypeStart(loadedAssembly.FullName); 582MSBuildEventSource.Log.CreateLoadedTypeStop(loadedAssembly.FullName); 586MSBuildEventSource.Log.LoadAssemblyAndFindTypeStop(_assemblyLoadInfo.AssemblyFile, numberOfTypesSearched);
XMake.cs (4)
673if (MSBuildEventSource.Log.IsEnabled()) 675MSBuildEventSource.Log.MSBuildExeStart(string.Join(" ", commandLine)); 1086if (MSBuildEventSource.Log.IsEnabled()) 1088MSBuildEventSource.Log.MSBuildExeStop(string.Join(" ", commandLine));