29 references to VerifyThrowInvalidProjectFile
Microsoft.Build.Engine (29)
Engine\ProjectSchemaValidationHandler.cs (3)
165
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(!this.syntaxError, "SubCategoryForSchemaValidationErrors",
172
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false, "SubCategoryForSchemaValidationErrors", new BuildEventFileInfo(e),
178
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false, "SubCategoryForSchemaValidationErrors", new BuildEventFileInfo(e),
Shared\ProjectFileErrorUtilities.cs (1)
36
VerifyThrowInvalidProjectFile
(condition, null, projectFile, resourceName, args);
Shared\ProjectInSolution.cs (1)
324
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj != null, "SubCategoryForSolutionParsingErrors",
Shared\SolutionParser.cs (18)
402
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(
449
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false, "SubCategoryForSolutionParsingErrors",
478
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false, "SubCategoryForSolutionParsingErrors",
485
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false, "SubCategoryForSolutionParsingErrors",
493
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(
558
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(match.Success, "SubCategoryForSolutionParsingErrors",
576
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(match.Success, "SubCategoryForSolutionParsingErrors",
589
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(line != null, "SubCategoryForSolutionParsingErrors",
784
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj.RelativePath.IndexOfAny(Path.GetInvalidPathChars()) == -1,
791
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj.RelativePath.Length > 0,
1008
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(match.Success, "SubCategoryForSolutionParsingErrors",
1063
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(match.Success, "SubCategoryForSolutionParsingErrors",
1070
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(proj != null, "SubCategoryForSolutionParsingErrors",
1108
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(configurationNames.Length == 2, "SubCategoryForSolutionParsingErrors",
1120
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(fullConfigurationName == configurationNames[1].Trim(), "SubCategoryForSolutionParsingErrors",
1125
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(configurationPlatformParts.Length == 2, "SubCategoryForSolutionParsingErrors",
1170
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(nameValue.Length == 2, "SubCategoryForSolutionParsingErrors",
1222
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(configurationPlatformParts.Length <= 2, "SubCategoryForSolutionParsingErrors",
Solution\SolutionWrapperProject.cs (6)
97
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(solution.Version >= SolutionParser.slnFileMinVersion,
792
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false,
895
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false,
970
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false,
1246
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(false,
1722
ProjectFileErrorUtilities.
VerifyThrowInvalidProjectFile
(projectUniqueName != null,