10 instantiations of BuildCheckConfigurationException
Microsoft.Build (10)
BuildCheck\API\CheckConfiguration.cs (1)
145
throw new
BuildCheckConfigurationException
(
BuildCheck\Checks\PropertiesUsageCheck.cs (1)
82
throw new
BuildCheckConfigurationException
(
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (3)
279
throw new
BuildCheckConfigurationException
(
297
throw new
BuildCheckConfigurationException
(message, e);
735
throw new
BuildCheckConfigurationException
(
BuildCheck\Infrastructure\ConfigurationProvider.cs (2)
99
throw new
BuildCheckConfigurationException
("Custom configuration should be equal between projects");
201
throw new
BuildCheckConfigurationException
($"Parsing editorConfig data failed", exception, BuildCheckConfigurationErrorScope.EditorConfigParser);
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (3)
146
throw new
BuildCheckConfigurationException
($"UnexpectedToken: {tokenKind}", BuildCheckConfigurationErrorScope.EditorConfigParser);
310
throw new
BuildCheckConfigurationException
($"UnexpectedToken: {tokenKind}", BuildCheckConfigurationErrorScope.EditorConfigParser);
408
throw new
BuildCheckConfigurationException
($"UnexpectedValue: {lastChar}", BuildCheckConfigurationErrorScope.EditorConfigParser);
9 references to BuildCheckConfigurationException
Microsoft.Build (5)
BuildCheck\Infrastructure\BuildCheckManagerProvider.cs (3)
219
catch (
BuildCheckConfigurationException
e)
330
catch (
BuildCheckConfigurationException
e)
729
catch (
BuildCheckConfigurationException
)
BuildCheck\Infrastructure\ConfigurationProvider.cs (2)
85
/// <throws><see cref="
BuildCheckConfigurationException
"/> If CustomConfigurationData differs in a build for a same ruleId</throws>
189
/// <exception cref="
BuildCheckConfigurationException
"></exception>
Microsoft.Build.BuildCheck.UnitTests (4)
CheckConfiguration_Test.cs (2)
111
var
exception = Should.Throw<
BuildCheckConfigurationException
>(() =>
ConfigurationProvider_Tests.cs (2)
149
Should.Throw<
BuildCheckConfigurationException
>(() =>
181
Should.Throw<
BuildCheckConfigurationException
>(() =>