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