2 instantiations of InvalidToolsetDefinitionException
Microsoft.Build (2)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
32
new(typeof(InvalidToolsetDefinitionException), (msg, inner) => new
InvalidToolsetDefinitionException
(msg, inner)),
Errors\InvalidToolsetDefinitionException.cs (1)
174
throw new
InvalidToolsetDefinitionException
(message, errorCode, innerException);
14 references to InvalidToolsetDefinitionException
Microsoft.Build (12)
BackEnd\Components\Communications\SerializationContractInitializer.cs (1)
32
new(typeof(
InvalidToolsetDefinitionException
), (msg, inner) => new InvalidToolsetDefinitionException(msg, inner)),
Definition\ToolsetConfigurationReader.cs (4)
14
using InvalidToolsetDefinitionException = Microsoft.Build.Exceptions.
InvalidToolsetDefinitionException
;
95
InvalidToolsetDefinitionException
.Throw(
142
InvalidToolsetDefinitionException
.Throw(ex, "ConfigFileReadError", ElementLocation.Create(ex.Source, ex.Line, 0).LocationString, ex.BareMessage);
172
InvalidToolsetDefinitionException
.Throw("InvalidToolsetValueInConfigFileValue", location.LocationString);
Definition\ToolsetReader.cs (7)
18
using InvalidToolsetDefinitionException = Microsoft.Build.Exceptions.
InvalidToolsetDefinitionException
;
477
InvalidToolsetDefinitionException
.Throw("MSBuildToolsPathNotSupportedInSubToolsets", toolsVersion.Name, toolsVersion.Source.LocationString, subToolsetVersion);
492
InvalidToolsetDefinitionException
.Throw("ConflictingValuesOfMSBuildToolsPath", toolsVersion.Name, toolsVersion.Source.LocationString);
504
InvalidToolsetDefinitionException
.Throw("ErrorCreatingToolset", toolsVersion.Name, e.Message);
553
InvalidToolsetDefinitionException
.Throw("InvalidPropertyNameInToolset", property.Name, property.Source.LocationString, baseMessage);
586
InvalidToolsetDefinitionException
.Throw(ex, "ErrorEvaluatingToolsetPropertyExpression", property.Value, property.Source.LocationString, ex.BaseMessage);
607
InvalidToolsetDefinitionException
.Throw(ex, "InvalidPropertyNameInToolset", property.Name, property.Source.LocationString, ex.Message);
Microsoft.Build.Engine.UnitTests (1)
Definition\ToolsetReader_Tests.cs (1)
20
using InvalidToolsetDefinitionException = Microsoft.Build.Exceptions.
InvalidToolsetDefinitionException
;
MSBuild (1)
XMake.cs (1)
955
catch (
InvalidToolsetDefinitionException
e)