38 references to InvalidSubmissionId
Microsoft.Build (11)
BackEnd\BuildManager\BuildManager.cs (1)
1048
(_overallBuildSuccess && loggingService.HasBuildSubmissionLoggedErrors(BuildEventContext.
InvalidSubmissionId
)))
BackEnd\BuildManager\CacheAggregator.cs (1)
93
BuildEventContext.
InvalidSubmissionId
,
BackEnd\Components\Logging\LoggingService.cs (3)
210
/// A list of build submission IDs that have logged errors. If an error is logged outside of a submission, the submission ID is <see cref="BuildEventContext.
InvalidSubmissionId
"/>.
215
/// A list of build submission IDs that have logged errors through buildcheck. If an error is logged outside of a submission, the submission ID is <see cref="BuildEventContext.
InvalidSubmissionId
"/>.
1656
int submissionId = errorEvent.BuildEventContext?.SubmissionId ?? BuildEventContext.
InvalidSubmissionId
;
BackEnd\Components\SdkResolution\SdkResolverService.cs (3)
144
BuildEventContext.
InvalidSubmissionId
, // disables GetResolverState/SetResolverState
451
if (submissionId != BuildEventContext.
InvalidSubmissionId
)
532
if (submissionId != BuildEventContext.
InvalidSubmissionId
)
Construction\Solution\SolutionProjectGenerator.cs (1)
217
int submissionId = BuildEventContext.
InvalidSubmissionId
)
Definition\Project.cs (1)
3731
BuildEventContext.
InvalidSubmissionId
,
Instance\ProjectInstance.cs (1)
3079
int submissionId = BuildEventContext.
InvalidSubmissionId
,
Microsoft.Build.Engine.UnitTests (22)
BackEnd\CacheAggregator_Tests.cs (1)
283
aggregatedBuildResult.SubmissionId.ShouldBe(BuildEventContext.
InvalidSubmissionId
);
BackEnd\SdkResolverService_Tests.cs (21)
55
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
98
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
115
SdkResolverException e = Should.Throw<SdkResolverException>(() => service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true));
130
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
145
service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
,
194
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
211
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
225
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
243
service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
259
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
292
const int submissionId = BuildEventContext.
InvalidSubmissionId
;
309
const int submissionId = BuildEventContext.
InvalidSubmissionId
;
367
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
373
result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, new SdkReference("foo", "2.0.0", null), _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
449
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
486
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
533
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
579
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
626
_ => service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true));
656
BuildEventContext.
InvalidSubmissionId
,
687
BuildEventContext.
InvalidSubmissionId
,
Microsoft.Build.Framework (2)
BuildEventContext.cs (2)
64
: this(
InvalidSubmissionId
, nodeId, InvalidEvaluationId, InvalidProjectInstanceId, projectContextId, targetId, taskId)
78
: this(
InvalidSubmissionId
, nodeId, InvalidEvaluationId, projectInstanceId, projectContextId, targetId, taskId)
Microsoft.Build.Utilities.Core (3)
MuxLogger.cs (3)
678
buildEvent.BuildEventContext.SubmissionId != BuildEventContext.
InvalidSubmissionId
))
721
buildEvent.BuildEventContext.SubmissionId != BuildEventContext.
InvalidSubmissionId
))
1216
buildEvent.BuildEventContext.SubmissionId == BuildEventContext.
InvalidSubmissionId
&& eventIsErrorOrWarning)))