9 references to VerifyThrowArgument
Microsoft.Build.Utilities.Core (9)
CommandLineBuilder.cs (1)
520
ErrorUtilities.
VerifyThrowArgument
(
FrameworkLocationHelper.cs (6)
635
ErrorUtilities.
VerifyThrowArgument
(visualStudioSpec.SupportedDotNetFrameworkVersions.Contains(dotNetFrameworkVersion), "FrameworkLocationHelper.UnsupportedFrameworkVersion", dotNetFrameworkVersion);
645
ErrorUtilities.
VerifyThrowArgument
(visualStudioSpec.SupportedDotNetFrameworkVersions.Contains(dotNetFrameworkVersion), "FrameworkLocationHelper.UnsupportedFrameworkVersion", dotNetFrameworkVersion);
670
ErrorUtilities.
VerifyThrowArgument
(visualStudioSpec.SupportedDotNetFrameworkVersions.Contains(dotNetFrameworkVersion), "FrameworkLocationHelper.UnsupportedFrameworkVersion", dotNetFrameworkVersion);
680
ErrorUtilities.
VerifyThrowArgument
(visualStudioSpec.SupportedDotNetFrameworkVersions.Contains(dotNetFrameworkVersion), "FrameworkLocationHelper.UnsupportedFrameworkVersion", dotNetFrameworkVersion);
1119
ErrorUtilities.
VerifyThrowArgument
(VisualStudioSpecDict.Value.TryGetValue(version, out VisualStudioSpec spec), "FrameworkLocationHelper.UnsupportedVisualStudioVersion", version);
1125
ErrorUtilities.
VerifyThrowArgument
(DotNetFrameworkSpecDict.Value.TryGetValue(version, out DotNetFrameworkSpec spec), "FrameworkLocationHelper.UnsupportedFrameworkVersion", version);
TaskItem.cs (2)
247
ErrorUtilities.
VerifyThrowArgument
(!FileUtilities.ItemSpecModifiers.IsItemSpecModifier(metadataName),
269
ErrorUtilities.
VerifyThrowArgument
(!FileUtilities.ItemSpecModifiers.IsDerivableItemSpecModifier(metadataName),