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);
23 references to InvalidToolsetDefinitionException
Microsoft.Build (21)
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);
Definition\ToolsetRegistryReader.cs (9)
14using InvalidToolsetDefinitionException = Microsoft.Build.Exceptions.InvalidToolsetDefinitionException; 88InvalidToolsetDefinitionException.Throw(ex, "RegistryReadError", ex.Source, ex.Message); 186InvalidToolsetDefinitionException.Throw(ex, "RegistryReadError", ex.Source, ex.Message); 217InvalidToolsetDefinitionException.Throw(ex, "RegistryReadError", ex.Source, ex.Message); 250InvalidToolsetDefinitionException.Throw(ex, "RegistryReadError", ex.Source, ex.Message); 259InvalidToolsetDefinitionException.Throw(ex, "RegistryReadError", ex.Source, ex.Message); 295InvalidToolsetDefinitionException.Throw("PropertyNameInRegistryHasZeroLength", toolsetWrapper.Name); 304InvalidToolsetDefinitionException.Throw(ex, "RegistryReadError", ex.Source, ex.Message); 335InvalidToolsetDefinitionException.Throw("NonStringDataInRegistry", wrapper.Name + "@" + valueName);
Microsoft.Build.Engine.UnitTests (1)
Definition\ToolsetReader_Tests.cs (1)
20using InvalidToolsetDefinitionException = Microsoft.Build.Exceptions.InvalidToolsetDefinitionException;
MSBuild (1)
XMake.cs (1)
955catch (InvalidToolsetDefinitionException e)