57 instantiations of BuildRequestEntry
Microsoft.Build (1)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (1)
373BuildRequestEntry entry = new BuildRequestEntry(request, _configCache[request.ConfigurationId]);
Microsoft.Build.Engine.UnitTests (56)
BackEnd\BuildRequestEntry_Tests.cs (11)
26BuildRequestEntry entry = new BuildRequestEntry(request, config); 37BuildRequestEntry entry = new BuildRequestEntry(null!, null!); 46BuildRequestEntry entry = new BuildRequestEntry(request, config); 95BuildRequestEntry entry = new BuildRequestEntry(request, config); 117BuildRequestEntry entry = new BuildRequestEntry(request, config); 146BuildRequestEntry entry = new BuildRequestEntry(request, config); 184BuildRequestEntry entry = new BuildRequestEntry(request, config); 200BuildRequestEntry entry = new BuildRequestEntry(request, config); 217BuildRequestEntry entry = new BuildRequestEntry(request, config); 240BuildRequestEntry entry = new BuildRequestEntry(request, config); 260BuildRequestEntry entry = new BuildRequestEntry(request, config);
BackEnd\IntrinsicTask_Tests.cs (2)
3958BuildRequestEntry entry = new BuildRequestEntry(new BuildRequest(1 /* submissionId */, 0, 1, new string[] { "t" }, null, BuildEventContext.Invalid, null), new BuildRequestConfiguration(1, new BuildRequestData("projectFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0")); 3993var entry = new BuildRequestEntry(new BuildRequest(1 /* submissionId */, 0, 1, new string[] { targetName }, null, BuildEventContext.Invalid, null), new BuildRequestConfiguration(1, new BuildRequestData("projectFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0"));
BackEnd\RequestBuilder_Tests.cs (5)
89BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 119BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 153BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 192BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 230BuildRequestEntry entry = new BuildRequestEntry(request, configuration);
BackEnd\TargetBuilder_Tests.cs (32)
105BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 126BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 152BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 181BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 366BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 506BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 532BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 558BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 588BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 623BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 655BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 686BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 712BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 748BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 774BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 801BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 831BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 875BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 902BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 929BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 961BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1059BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1094BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1145BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1205BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1247BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1293BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1324BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1398BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1431BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1458BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target, BuildRequestDataFlags.SkipNonexistentTargets), cache[1]); 1712BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, targets), cache[1]);
BackEnd\TargetEntry_Tests.cs (5)
84BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[] { "foo" }), config); 99BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[] { "foo" }), config); 113BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[] { "foo" }), config); 1028BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[] { "foo" }), config); 1046BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[1] { "foo" }), config);
BackEnd\TaskHost_Tests.cs (1)
80BuildRequestEntry entry = new BuildRequestEntry(buildRequest, configuration);
130 references to BuildRequestEntry
Microsoft.Build (58)
BackEnd\Components\BuildRequestEngine\BuildRequestEngine.cs (31)
66private readonly List<BuildRequestEntry> _requests; 71private readonly Dictionary<int, BuildRequestEntry> _requestsByGlobalRequestId; 135_requests = new List<BuildRequestEntry>(); 137_requestsByGlobalRequestId = new Dictionary<int, BuildRequestEntry>(); 222var requestsToShutdown = new List<BuildRequestEntry>(_requests); 230var requestsToWait = new List<BuildRequestEntry>(_requests.Count); 231foreach (BuildRequestEntry entry in requestsToShutdown) 251foreach (BuildRequestEntry entry in requestsToWait) 271foreach (BuildRequestEntry entry in requestsToShutdown) 373BuildRequestEntry entry = new BuildRequestEntry(request, _configCache[request.ConfigurationId]); 402BuildRequestEntry entry = _requestsByGlobalRequestId[unblocker.BlockedRequestId]; 482BuildRequestEntry entry = _requestsByGlobalRequestId[response.GlobalRequestId]; 525foreach (BuildRequestEntry currentEntry in _requests) 634private void BuildRequestEntry_StateChanged(BuildRequestEntry entry, BuildRequestEntryState newState) 723BuildRequestEntry activeEntry = null; 724BuildRequestEntry firstReadyEntry = null; 726var completedEntries = new List<BuildRequestEntry>(); 728foreach (BuildRequestEntry currentEntry in _requests) 766foreach (BuildRequestEntry completedEntry in completedEntries) 802foreach (BuildRequestEntry completedEntry in completedEntries) 913private void ActivateBuildRequest(BuildRequestEntry entry) 959private static void BeginDeactivateBuildRequest(BuildRequestEntry entry) 971private static void WaitForDeactivateCompletion(BuildRequestEntry entry) 987private void Builder_OnNewBuildRequests(BuildRequestEntry issuingEntry, FullyQualifiedBuildRequest[] newRequests) 1004private void Builder_OnBlockedRequest(BuildRequestEntry issuingEntry, int blockingGlobalRequestId, string blockingTarget, BuildResult partialBuildResult = null) 1040BuildRequestEntry issuingEntry = unsubmittedRequest.IssuingEntry; 1113private void IssueBuildRequests(BuildRequestEntry issuingEntry, FullyQualifiedBuildRequest[] newRequests) 1459public readonly BuildRequestEntry IssuingEntry; 1471public PendingUnsubmittedBuildRequests(BuildRequestEntry issuingEntry, FullyQualifiedBuildRequest[] newRequests) 1486private PendingUnsubmittedBuildRequests(BuildRequestEntry issuingEntry, int blockingGlobalRequestId, string blockingTarget) 1495public PendingUnsubmittedBuildRequests(BuildRequestEntry issuingEntry, int blockingGlobalRequestId, string blockingTarget, BuildResult partialBuildResult)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (1)
22internal delegate void BuildRequestEntryStateChangedDelegate(BuildRequestEntry entry, BuildRequestEntryState newState);
BackEnd\Components\Logging\NodeLoggingContext.cs (2)
59internal ProjectLoggingContext LogProjectStarted(BuildRequestEntry requestEntry) 66internal (ProjectStartedEventArgs, ProjectLoggingContext) CreateProjectLoggingContext(BuildRequestEntry requestEntry)
BackEnd\Components\Logging\ProjectLoggingContext.cs (2)
32internal ProjectLoggingContext(NodeLoggingContext nodeLoggingContext, BuildRequestEntry requestEntry) 79NodeLoggingContext nodeLoggingContext, BuildRequestEntry requestEntry)
BackEnd\Components\RequestBuilder\IRequestBuilder.cs (4)
16internal delegate void NewBuildRequestsDelegate(BuildRequestEntry issuingEntry, FullyQualifiedBuildRequest[] requests); 22internal delegate void BuildRequestCompletedDelegate(BuildRequestEntry completedEntry); 31internal delegate void BuildRequestBlockedDelegate(BuildRequestEntry issuingEntry, int blockingGlobalRequestId, string blockingTarget, BuildResult partialBuildResult); 63void BuildRequest(NodeLoggingContext nodeLoggingContext, BuildRequestEntry entry);
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\ITaskBuilder.cs (1)
54Task<WorkUnitResult> ExecuteTask(TargetLoggingContext targetLoggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback, ProjectTargetInstanceChild task, TaskExecutionMode mode, Lookup lookupForInference, Lookup lookupForExecution, CancellationToken cancellationToken);
BackEnd\Components\RequestBuilder\RequestBuilder.cs (6)
74private BuildRequestEntry _requestEntry; 170internal BuildRequestEntry RequestEntry 197public void BuildRequest(NodeLoggingContext loggingContext, BuildRequestEntry entry) 571internal static bool IsBuilderUsingLegacyThreadingSemantics(IBuildComponentHost host, BuildRequestEntry entry) 895BuildRequestEntry entryToComplete = _requestEntry; 1064private void RaiseBuildRequestCompleted(BuildRequestEntry entryToComplete)
BackEnd\Components\RequestBuilder\TargetBuilder.cs (2)
61private BuildRequestEntry _requestEntry; 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)
79private BuildRequestEntry _requestEntry; 169BuildRequestEntry requestEntry, 288internal BuildRequestEntry RequestEntry 420internal async Task ExecuteTarget(ITaskBuilder taskBuilder, BuildRequestEntry requestEntry, ProjectLoggingContext projectLoggingContext, CancellationToken cancellationToken)
BackEnd\Components\RequestBuilder\TaskBuilder.cs (2)
68private BuildRequestEntry _buildRequestEntry; 152public async Task<WorkUnitResult> ExecuteTask(TargetLoggingContext loggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback, ProjectTargetInstanceChild taskInstance, TaskExecutionMode mode, Lookup inferLookup, Lookup executeLookup, CancellationToken cancellationToken)
BackEnd\Components\RequestBuilder\TaskHost.cs (2)
55private BuildRequestEntry _requestEntry; 115public TaskHost(IBuildComponentHost host, BuildRequestEntry requestEntry, ElementLocation taskLocation, ITargetBuilderCallback targetBuilderCallback)
Microsoft.Build.Engine.UnitTests (72)
BackEnd\BuildRequestEngine_Tests.cs (4)
58private BuildRequestEntry _entry; 81public void BuildRequest(NodeLoggingContext context, BuildRequestEntry entry) 168public void RaiseRequestComplete(BuildRequestEntry entry) 173public void RaiseRequestBlocked(BuildRequestEntry entry, int blockingId, string blockingTarget)
BackEnd\BuildRequestEntry_Tests.cs (11)
26BuildRequestEntry entry = new BuildRequestEntry(request, config); 37BuildRequestEntry entry = new BuildRequestEntry(null!, null!); 46BuildRequestEntry entry = new BuildRequestEntry(request, config); 95BuildRequestEntry entry = new BuildRequestEntry(request, config); 117BuildRequestEntry entry = new BuildRequestEntry(request, config); 146BuildRequestEntry entry = new BuildRequestEntry(request, config); 184BuildRequestEntry entry = new BuildRequestEntry(request, config); 200BuildRequestEntry entry = new BuildRequestEntry(request, config); 217BuildRequestEntry entry = new BuildRequestEntry(request, config); 240BuildRequestEntry entry = new BuildRequestEntry(request, config); 260BuildRequestEntry entry = new BuildRequestEntry(request, config);
BackEnd\IntrinsicTask_Tests.cs (2)
3958BuildRequestEntry entry = new BuildRequestEntry(new BuildRequest(1 /* submissionId */, 0, 1, new string[] { "t" }, null, BuildEventContext.Invalid, null), new BuildRequestConfiguration(1, new BuildRequestData("projectFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0")); 3993var entry = new BuildRequestEntry(new BuildRequest(1 /* submissionId */, 0, 1, new string[] { targetName }, null, BuildEventContext.Invalid, null), new BuildRequestConfiguration(1, new BuildRequestData("projectFile", new Dictionary<string, string>(), "3.5", Array.Empty<string>(), null), "2.0"));
BackEnd\MockTaskBuilder.cs (1)
83public Task<WorkUnitResult> ExecuteTask(TargetLoggingContext targetLoggingContext, BuildRequestEntry requestEntry, ITargetBuilderCallback targetBuilderCallback, ProjectTargetInstanceChild task, TaskExecutionMode mode, Lookup lookupForInference, Lookup lookupForExecution, CancellationToken cancellationToken)
BackEnd\RequestBuilder_Tests.cs (10)
28private BuildRequestEntry _newBuildRequests_Entry; 32private BuildRequestEntry _buildRequestCompleted_Entry; 89BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 119BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 153BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 192BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 230BuildRequestEntry entry = new BuildRequestEntry(request, configuration); 291private void NewBuildRequestsCallback(BuildRequestEntry entry, FullyQualifiedBuildRequest[] requests) 310private void BuildRequestCompletedCallback(BuildRequestEntry entry) 359public Task<BuildResult> BuildTargets(ProjectLoggingContext loggingContext, BuildRequestEntry entry, IRequestBuilderCallback callback, (string name, TargetBuiltReason reason)[] targets, Lookup baseLookup, CancellationToken cancellationToken)
BackEnd\TargetBuilder_Tests.cs (33)
105BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 126BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 152BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 181BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 366BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 506BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 532BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 558BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 588BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 623BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 655BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 686BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 712BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 748BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 774BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 801BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 831BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 875BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 902BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 929BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 961BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1059BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1094BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1145BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1205BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1247BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1293BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1324BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1398BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1431BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target), cache[1]); 1458BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, target, BuildRequestDataFlags.SkipNonexistentTargets), cache[1]); 1691private ProjectLoggingContext GetProjectLoggingContext(BuildRequestEntry entry) 1712BuildRequestEntry entry = new BuildRequestEntry(CreateNewBuildRequest(1, targets), cache[1]);
BackEnd\TargetEntry_Tests.cs (6)
84BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[] { "foo" }), config); 99BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[] { "foo" }), config); 113BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[] { "foo" }), config); 1028BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[] { "foo" }), config); 1046BuildRequestEntry requestEntry = new BuildRequestEntry(CreateNewBuildRequest(1, new string[1] { "foo" }), config); 1191private ProjectLoggingContext GetProjectLoggingContext(BuildRequestEntry entry)
BackEnd\TaskHost_Tests.cs (5)
80BuildRequestEntry entry = new BuildRequestEntry(buildRequest, configuration); 1477public void BuildRequest(NodeLoggingContext nodeLoggingContext, BuildRequestEntry entry) 1525private void MockIRequestBuilderCallback_OnBuildRequestBlocked(BuildRequestEntry issuingEntry, int blockingGlobalRequestId, string blockingTarget, IBuildResults partialBuildResult = null) 1533private void MockIRequestBuilderCallback_OnBuildRequestCompleted(BuildRequestEntry completedEntry) 1541private void MockIRequestBuilderCallback_OnNewBuildRequests(BuildRequestEntry issuingEntry, FullyQualifiedBuildRequest[] requests)