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