1 instantiation of BuildCheckResult
Microsoft.Build (1)
BuildCheck\API\BuildCheckResult.cs (1)
19
public static BuildCheckResult Create(CheckRule rule, IMSBuildElementLocation location, params string[] messageArgs) => new
BuildCheckResult
(rule, location, messageArgs);
37 references to BuildCheckResult
CustomCheck (2)
Check1.cs (1)
45
context.ReportResult(
BuildCheckResult
.Create(
Check2.cs (1)
35
context.ReportResult(
BuildCheckResult
.Create(
CustomCheck2 (1)
Check3.cs (1)
35
context.ReportResult(
BuildCheckResult
.Create(
ErrorCustomCheck (2)
ErrorOnInitializeCheck.cs (1)
37
context.ReportResult(
BuildCheckResult
.Create(
ErrorWhenRegisteringActions.cs (1)
37
context.ReportResult(
BuildCheckResult
.Create(
Microsoft.Build (23)
BuildCheck\API\BuildCheckResult.cs (1)
19
public static
BuildCheckResult
Create(CheckRule rule, IMSBuildElementLocation location, params string[] messageArgs) => new BuildCheckResult(rule, location, messageArgs);
BuildCheck\API\CheckRule.cs (1)
50
/// Message format that will be used by the actual reports (<see cref="
BuildCheckResult
"/>) - those will just supply the actual arguments.
BuildCheck\Checks\DoubleWritesCheck.cs (1)
117
context.ReportResult(
BuildCheckResult
.Create(
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (2)
66
context.ReportResult(
BuildCheckResult
.Create(
91
context.ReportResult(
BuildCheckResult
.Create(
BuildCheck\Checks\PropertiesUsageCheck.cs (5)
151
context.ReportResult(
BuildCheckResult
.Create(
163
context.ReportResult(
BuildCheckResult
.Create(
208
context.ReportResult(
BuildCheckResult
.Create(
223
context.ReportResult(
BuildCheckResult
.Create(
234
context.ReportResult(
BuildCheckResult
.Create(
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
86
context.ReportResult(
BuildCheckResult
.Create(
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (10)
121
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
>
128
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
>
135
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
>
143
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
>
151
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
>
159
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
>
167
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
>
175
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
> resultHandler)
181
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
> resultHandler)
188
Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[],
BuildCheckResult
> resultHandler)
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
235
BuildCheckResult
result)
BuildCheck\Infrastructure\CheckWrapper.cs (1)
156
internal void ReportResult(
BuildCheckResult
result, ICheckContext checkContext, CheckConfigurationEffective config)
Microsoft.Build.BuildCheck.UnitTests (9)
BuildCheckManagerProviderTests.cs (1)
122
context.ReportResult(
BuildCheckResult
.Create(
MockBuildCheckRegistrationContext.cs (2)
16
public List<
BuildCheckResult
> Results { get; } = new();
54
private void ResultHandler(CheckWrapper wrapper, ICheckContext context, CheckConfigurationEffective[] configs,
BuildCheckResult
result)
SharedOutputPathCheck_Tests.cs (1)
131
foreach (
var
result in _registrationContext.Results)
TestAssets\CustomCheck\Check1.cs (1)
45
context.ReportResult(
BuildCheckResult
.Create(
TestAssets\CustomCheck\Check2.cs (1)
35
context.ReportResult(
BuildCheckResult
.Create(
TestAssets\CustomCheck2\Check3.cs (1)
35
context.ReportResult(
BuildCheckResult
.Create(
TestAssets\ErrorCustomCheck\ErrorOnInitializeCheck.cs (1)
37
context.ReportResult(
BuildCheckResult
.Create(
TestAssets\ErrorCustomCheck\ErrorWhenRegisteringActions.cs (1)
37
context.ReportResult(
BuildCheckResult
.Create(