10 references to Throw
Microsoft.Build (10)
Definition\ToolsetConfigurationReader.cs (1)
142InvalidToolsetDefinitionException.Throw(ex, "ConfigFileReadError", ElementLocation.Create(ex.Source, ex.Line, 0).LocationString, ex.BareMessage);
Definition\ToolsetReader.cs (2)
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 (6)
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); 304InvalidToolsetDefinitionException.Throw(ex, "RegistryReadError", ex.Source, ex.Message);
Errors\InvalidToolsetDefinitionException.cs (1)
153Throw(null, resourceName, args);