1 instantiation of MSBuildEventSource
Microsoft.Build.Framework (1)
MSBuildEventSource.cs (1)
41public static MSBuildEventSource Log = new MSBuildEventSource();
125 references to MSBuildEventSource
Microsoft.Build (85)
BackEnd\BuildManager\BuildManager.cs (3)
512MSBuildEventSource.Log.BuildStart(); 818MSBuildEventSource.Log.CancelSubmissionsStart(); 1159MSBuildEventSource.Log.BuildStop();
BackEnd\Client\MSBuildClient.cs (2)
220MSBuildEventSource.Log.MSBuildServerBuildStart(descriptiveCommandLine); 228MSBuildEventSource.Log.MSBuildServerBuildStop(descriptiveCommandLine, _numConsoleWritePackets, _sizeOfConsoleWritePackets, _exitResult.MSBuildClientExitType.ToString(), _exitResult.MSBuildAppExitTypeString ?? string.Empty);
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); 877MSBuildEventSource.Log.ProjectCacheHandleBuildResultStart(plugin.Name, fileAccessContext.ProjectFullPath, targetNames); 897MSBuildEventSource.Log.ProjectCacheHandleBuildResultStop(plugin.Name, fileAccessContext.ProjectFullPath, targetNames); 960MSBuildEventSource.Log.ProjectCacheEndBuildStart(plugin.Name); 982MSBuildEventSource.Log.ProjectCacheEndBuildStop(plugin.Name);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (6)
782MSBuildEventSource.Log.RequestThreadProcStart(); 785MSBuildEventSource.Log.RequestThreadProcStop(); 1167if (MSBuildEventSource.Log.IsEnabled()) 1169MSBuildEventSource.Log.BuildProjectStart(_requestEntry.RequestConfiguration.ProjectFullPath, string.Join(", ", allTargets)); 1224if (MSBuildEventSource.Log.IsEnabled()) 1226MSBuildEventSource.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)
475MSBuildEventSource.Log.TargetUpToDateStart(); 478MSBuildEventSource.Log.TargetUpToDateStop((int)dependencyResult);
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
431MSBuildEventSource.Log.ExecuteTaskStart(_taskNode?.Name, taskLoggingContext.BuildEventContext.TaskId); 496MSBuildEventSource.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); 256MSBuildEventSource.Log.SdkResolverLoadResolversStart(); 264MSBuildEventSource.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)
57MSBuildEventSource.Log.ApplyLazyItemOperationsStart(_itemElement.ItemType); 62MSBuildEventSource.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 (4)
400MSBuildEventSource.Log.LoadAssemblyAndFindTypeStart(); 439MSBuildEventSource.Log.CreateLoadedTypeStart(loadedAssembly.FullName); 444MSBuildEventSource.Log.CreateLoadedTypeStop(loadedAssembly.FullName); 448MSBuildEventSource.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 (23)
AssemblyDependency\ReferenceTable.cs (4)
1376MSBuildEventSource.Log.RarRemoveReferencesMarkedForExclusionStart(); 1464MSBuildEventSource.Log.RarRemoveReferencesMarkedForExclusionStop(); 1629MSBuildEventSource.Log.RarComputeClosureStart(); 1640MSBuildEventSource.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)
501MSBuildEventSource.Log.CopyUpToDateStart(destPath); 525MSBuildEventSource.Log.CopyUpToDateStop(destPath, true); 649MSBuildEventSource.Log.CopyUpToDateStart(destItem.ItemSpec); 673MSBuildEventSource.Log.CopyUpToDateStop(destItem.ItemSpec, true); 907MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Name, true); 911MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Name, false); 925MSBuildEventSource.Log.CopyUpToDateStop(destinationFileState.Name, true);
FileIO\WriteLinesToFile.cs (3)
109MSBuildEventSource.Log.WriteLinesToFileUpToDateStart(); 120MSBuildEventSource.Log.WriteLinesToFileUpToDateStop(File.ItemSpec, true); 135MSBuildEventSource.Log.WriteLinesToFileUpToDateStop(File.ItemSpec, false);
GenerateResource.cs (2)
657MSBuildEventSource.Log.GenerateResourceOverallStart(); 926MSBuildEventSource.Log.GenerateResourceOverallStop();
NodePipeBase.cs (2)
131MSBuildEventSource.Log.PacketReadSize(packetLength); 183MSBuildEventSource.Log.PacketReadSize(packetLength);
MSBuild (7)
PerformanceLogEventListener.cs (1)
29Keywords = MSBuildEventSource.Keywords.PerformanceLog,
TypeLoader.cs (4)
400MSBuildEventSource.Log.LoadAssemblyAndFindTypeStart(); 439MSBuildEventSource.Log.CreateLoadedTypeStart(loadedAssembly.FullName); 444MSBuildEventSource.Log.CreateLoadedTypeStop(loadedAssembly.FullName); 448MSBuildEventSource.Log.LoadAssemblyAndFindTypeStop(_assemblyLoadInfo.AssemblyFile, numberOfTypesSearched);
XMake.cs (2)
656MSBuildEventSource.Log.MSBuildExeStart(commandLine); 1072MSBuildEventSource.Log.MSBuildExeStop(commandLine);