36 references to InvalidSubmissionId
Microsoft.Build (10)
BackEnd\BuildManager\BuildManager.cs (1)
1038
(_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 (2)
442
if (submissionId != BuildEventContext.
InvalidSubmissionId
)
511
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 (21)
BackEnd\CacheAggregator_Tests.cs (1)
283
aggregatedBuildResult.SubmissionId.ShouldBe(BuildEventContext.
InvalidSubmissionId
);
BackEnd\SdkResolverService_Tests.cs (20)
57
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
99
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
115
SdkResolverException e = Should.Throw<SdkResolverException>(() => SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true));
129
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
146
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
162
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
175
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
192
SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
207
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
239
const int submissionId = BuildEventContext.
InvalidSubmissionId
;
255
const int submissionId = BuildEventContext.
InvalidSubmissionId
;
312
var result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
318
result = service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, new SdkReference("foo", "2.0.0", null), _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
393
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
429
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
475
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
520
var result = SdkResolverService.Instance.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true);
567
_ => service.ResolveSdk(BuildEventContext.
InvalidSubmissionId
, sdk, _loggingContext, new MockElementLocation("file"), "sln", "projectPath", interactive: false, isRunningInVisualStudio: false, failOnUnresolvedSdk: true));
597
BuildEventContext.
InvalidSubmissionId
,
628
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)))