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