2 instantiations of BuildCheckResult
Microsoft.Build (2)
BuildCheck\API\BuildCheckResult.cs (2)
18public static BuildCheckResult Create(CheckRule rule, IMSBuildElementLocation location, params string[] messageArgs) => new BuildCheckResult(rule, location, messageArgs); 21params string[] messageArgs) => new BuildCheckResult(rule, location, messageArgs) { _isBuiltIn = true };
44 references to BuildCheckResult
CustomCheck (2)
Check1.cs (1)
46context.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 (30)
BuildCheck\API\BuildCheckResult.cs (2)
18public static BuildCheckResult Create(CheckRule rule, IMSBuildElementLocation location, params string[] messageArgs) => new BuildCheckResult(rule, location, messageArgs); 20internal static BuildCheckResult CreateBuiltIn(CheckRule rule, IMSBuildElementLocation location,
BuildCheck\API\CheckRule.cs (1)
83/// Message format that will be used by the actual reports (<see cref="BuildCheckResult"/>) - those will just supply the actual arguments.
BuildCheck\Checks\CopyAlwaysCheck.cs (1)
80context.ReportResult(BuildCheckResult.Create(
BuildCheck\Checks\DoubleWritesCheck.cs (1)
114context.ReportResult(BuildCheckResult.CreateBuiltIn(
BuildCheck\Checks\EmbeddedResourceCheck.cs (1)
75context.ReportResult(BuildCheckResult.Create(
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (2)
66context.ReportResult(BuildCheckResult.CreateBuiltIn( 91context.ReportResult(BuildCheckResult.CreateBuiltIn(
BuildCheck\Checks\PreferProjectReferenceCheck.cs (2)
71context.ReportResult(BuildCheckResult.Create( 99context.ReportResult(BuildCheckResult.Create(
BuildCheck\Checks\PropertiesUsageCheck.cs (5)
149context.ReportResult(BuildCheckResult.CreateBuiltIn( 161context.ReportResult(BuildCheckResult.CreateBuiltIn( 206context.ReportResult(BuildCheckResult.CreateBuiltIn( 221context.ReportResult(BuildCheckResult.CreateBuiltIn( 232context.ReportResult(BuildCheckResult.CreateBuiltIn(
BuildCheck\Checks\SharedOutputPathCheck.cs (1)
77context.ReportResult(BuildCheckResult.CreateBuiltIn(
BuildCheck\Checks\TargetFrameworkConfusionCheck.cs (1)
53context.ReportResult(BuildCheckResult.Create(
BuildCheck\Infrastructure\BuildCheckCentralContext.cs (11)
134Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 141Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 150Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 158Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 166Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 174Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 182Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 190Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> 198Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 204Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler) 211Action<CheckWrapper, ICheckContext, CheckConfigurationEffective[], BuildCheckResult> resultHandler)
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
248BuildCheckResult result)
BuildCheck\Infrastructure\CheckWrapper.cs (1)
153internal 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(); 57private void ResultHandler(CheckWrapper wrapper, ICheckContext context, CheckConfigurationEffective[] configs, BuildCheckResult result)
SharedOutputPathCheck_Tests.cs (1)
132foreach (var result in _registrationContext.Results)
TestAssets\CustomCheck\Check1.cs (1)
46context.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(