5 instantiations of ProjectLoggingContext
Microsoft.Build (3)
BackEnd\Components\Logging\NodeLoggingContext.cs (1)
87return new ProjectLoggingContext(this, request, configuration.ProjectFullPath, configuration.ToolsVersion, evaluationId);
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
94return (args, new ProjectLoggingContext(nodeLoggingContext, args));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1144_projectLoggingContext = new ProjectLoggingContext(
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TargetBuilder_Tests.cs (1)
1693return new ProjectLoggingContext(new NodeLoggingContext(_host, 1, false), entry);
BackEnd\TargetEntry_Tests.cs (1)
1193return new ProjectLoggingContext(new NodeLoggingContext(_host, 1, false), entry);
26 references to ProjectLoggingContext
Microsoft.Build (22)
BackEnd\Components\Logging\NodeLoggingContext.cs (6)
59internal ProjectLoggingContext LogProjectStarted(BuildRequestEntry requestEntry) 61(ProjectStartedEventArgs arg, ProjectLoggingContext ctx) = CreateProjectLoggingContext(requestEntry); 66internal (ProjectStartedEventArgs, ProjectLoggingContext) CreateProjectLoggingContext(BuildRequestEntry requestEntry) 69return ProjectLoggingContext.CreateLoggingContext(this, requestEntry); 78internal ProjectLoggingContext LogProjectStarted(BuildRequest request, BuildRequestConfiguration configuration) 96ProjectLoggingContext projectLoggingContext = LogProjectStarted(request, configuration);
BackEnd\Components\Logging\ProjectLoggingContext.cs (1)
78public static (ProjectStartedEventArgs, ProjectLoggingContext) CreateLoggingContext(
BackEnd\Components\Logging\TargetLoggingContext.cs (4)
29private ProjectLoggingContext _projectLoggingContext; 39internal TargetLoggingContext(ProjectLoggingContext projectLoggingContext, string projectFullPath, ProjectTargetInstance target, string parentTargetName, TargetBuiltReason buildReason) 48private static BuildEventContext CreateInitialContext(ProjectLoggingContext projectLoggingContext, 80internal ProjectLoggingContext ProjectLoggingContext
BackEnd\Components\RequestBuilder\ITargetBuilder.cs (1)
29Task<BuildResult> BuildTargets(ProjectLoggingContext projectLoggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targets, Lookup baseLookup, CancellationToken cancellationToken);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
25using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.ProjectLoggingContext; 89private ProjectLoggingContext _projectLoggingContext; 1274(ProjectStartedEventArgs args, ProjectLoggingContext ctx) = _nodeLoggingContext.CreateProjectLoggingContext(_requestEntry);
BackEnd\Components\RequestBuilder\TargetBuilder.cs (3)
17using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.ProjectLoggingContext; 76private ProjectLoggingContext _projectLoggingContext; 103public async Task<BuildResult> BuildTargets(ProjectLoggingContext loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targetNames, Lookup baseLookup, CancellationToken cancellationToken)
BackEnd\Components\RequestBuilder\TargetEntry.cs (4)
20using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.ProjectLoggingContext; 338internal List<TargetSpecification> GetDependencies(ProjectLoggingContext projectLoggingContext) 420internal async Task ExecuteTarget(ITaskBuilder taskBuilder, BuildRequestEntry requestEntry, ProjectLoggingContext projectLoggingContext, CancellationToken cancellationToken) 697internal List<TargetSpecification> GetErrorTargets(ProjectLoggingContext projectLoggingContext)
Microsoft.Build.Engine.UnitTests (4)
BackEnd\RequestBuilder_Tests.cs (1)
359public Task<BuildResult> BuildTargets(ProjectLoggingContext loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targets, Lookup baseLookup, CancellationToken cancellationToken)
BackEnd\TargetBuilder_Tests.cs (2)
24using ProjectLoggingContext = Microsoft.Build.BackEnd.Logging.ProjectLoggingContext; 1691private ProjectLoggingContext GetProjectLoggingContext(BuildRequestEntry entry)
BackEnd\TargetEntry_Tests.cs (1)
1191private ProjectLoggingContext GetProjectLoggingContext(BuildRequestEntry entry)