23 references to VerifyThrowInvalidProjectFile
Microsoft.Build (23)
Construction\Solution\ProjectInSolution.cs (2)
416
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj != null || solutionFolder != null, "SubCategoryForSolutionParsingErrors",
458
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj != null || solutionFolder != null, "SubCategoryForSolutionParsingErrors",
Construction\Solution\SolutionFile.cs (18)
571
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(
874
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(
941
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false, "SubCategoryForSolutionParsingErrors",
987
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false, "SubCategoryForSolutionParsingErrors",
995
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(
1056
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(match.Success, "SubCategoryForSolutionParsingErrors",
1074
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(match.Success, "SubCategoryForSolutionParsingErrors",
1100
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(line != null, "SubCategoryForSolutionParsingErrors",
1284
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj.RelativePath.IndexOfAny(Path.GetInvalidPathChars()) == -1,
1291
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj.RelativePath.Length > 0,
1506
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(match.Success, "SubCategoryForSolutionParsingErrors",
1606
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(match.Success, "SubCategoryForSolutionParsingErrors",
1614
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj != null, "SubCategoryForSolutionParsingErrors",
1655
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(configurationNames.Length == 2, "SubCategoryForSolutionParsingErrors",
1667
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(fullConfigurationName == configurationNames[1].Trim(), "SubCategoryForSolutionParsingErrors",
1680
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(
1732
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(nameValue.Length == 2, "SubCategoryForSolutionParsingErrors",
1780
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(configurationPlatformParts.Length <= 2, "SubCategoryForSolutionParsingErrors",
Construction\Solution\SolutionProjectGenerator.cs (2)
287
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(dependencyProject != null, "SubCategoryForSolutionParsingErrors", new BuildEventFileInfo(solutionFile.FullPath), "SolutionParseProjectDepNotFoundError", project.ProjectGuid, dependencyProjectGuid);
698
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(
ProjectFileErrorUtilities.cs (1)
72
VerifyThrowInvalidProjectFile
(condition, null, projectFile, resourceName, args);