5 instantiations of ValidationContext
Microsoft.Build.Engine.OM.UnitTests (5)
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (3)
71
ViewValidation.Verify(viewItems, realItems, ViewValidation.Verify, new
ValidationContext
(this));
91
ViewValidation.Verify(view, real, new
ValidationContext
(this));
330
context ??= new
ValidationContext
();
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (1)
158
var validationContext = new
ValidationContext
(pair);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (1)
191
var context = new
ValidationContext
();
49 references to ValidationContext
Microsoft.Build.Engine.OM.UnitTests (49)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (29)
242
public static void VerifySameLocationWithException(Func<ElementLocation> expectedGetter, Func<ElementLocation> actualGetter,
ValidationContext
context = null)
248
public static void VerifySameLocation(ElementLocation expected, ElementLocation actual,
ValidationContext
context = null)
367
public static void ValidateEqualWithException<T>(Func<T> viewGetter, Func<T> realGetter,
ValidationContext
context = null)
376
private static void VerifyProjectElementViewInternal(ProjectElement viewXml, ProjectElement realXml,
ValidationContext
context = null)
414
private static void VerifyProjectElementContainerView(ProjectElementContainer viewXml, ProjectElementContainer realXml,
ValidationContext
context = null)
497
public static void VerifyProjectElement(ProjectElement viewXml, ProjectElement realXml,
ValidationContext
context = null)
516
public static void Verify(ProjectRootElement viewXml, ProjectRootElement realXml,
ValidationContext
context = null)
563
public static void Verify(ProjectChooseElement viewXml, ProjectChooseElement realXml,
ValidationContext
context = null)
577
public static void Verify(ProjectWhenElement viewXml, ProjectWhenElement realXml,
ValidationContext
context = null)
592
public static void Verify(ProjectOtherwiseElement viewXml, ProjectOtherwiseElement realXml,
ValidationContext
context = null)
607
public static void Verify(ProjectExtensionsElement viewXml, ProjectExtensionsElement realXml,
ValidationContext
context = null)
619
public static void Verify(ProjectMetadataElement viewXml, ProjectMetadataElement realXml,
ValidationContext
context = null)
633
public static void Verify(ProjectTaskElement viewXml, ProjectTaskElement realXml,
ValidationContext
context = null)
697
public static void Verify(ProjectOutputElement viewXml, ProjectOutputElement realXml,
ValidationContext
context = null)
715
public static void Verify(ProjectUsingTaskBodyElement viewXml, ProjectUsingTaskBodyElement realXml,
ValidationContext
context = null)
729
public static void Verify(ProjectUsingTaskParameterElement viewXml, ProjectUsingTaskParameterElement realXml,
ValidationContext
context = null)
747
public static void Verify(UsingTaskParameterGroupElement viewXml, UsingTaskParameterGroupElement realXml,
ValidationContext
context = null)
759
public static void Verify(ProjectUsingTaskElement viewXml, ProjectUsingTaskElement realXml,
ValidationContext
context = null)
791
public static void Verify(ProjectTargetElement viewXml, ProjectTargetElement realXml,
ValidationContext
context = null)
824
public static void Verify(ProjectImportElement viewXml, ProjectImportElement realXml,
ValidationContext
context = null)
847
public static void Verify(ProjectImportGroupElement viewXml, ProjectImportGroupElement realXml,
ValidationContext
context = null)
859
public static void Verify(ProjectItemDefinitionElement viewXml, ProjectItemDefinitionElement realXml,
ValidationContext
context = null)
872
public static void Verify(ProjectItemDefinitionGroupElement viewXml, ProjectItemDefinitionGroupElement realXml,
ValidationContext
context = null)
884
public static void Verify(ProjectItemElement viewXml, ProjectItemElement realXml,
ValidationContext
context = null)
914
public static void Verify(ProjectItemGroupElement viewXml, ProjectItemGroupElement realXml,
ValidationContext
context = null)
926
public static void Verify(ProjectPropertyElement viewXml, ProjectPropertyElement realXml,
ValidationContext
context = null)
939
public static void Verify(ProjectPropertyGroupElement viewXml, ProjectPropertyGroupElement realXml,
ValidationContext
context = null)
951
public static void Verify(ProjectSdkElement viewXml, ProjectSdkElement realXml,
ValidationContext
context = null)
964
public static void Verify(ProjectOnErrorElement viewXml, ProjectOnErrorElement realXml,
ValidationContext
context = null)
ObjectModelRemoting\Helpers\ViewValidation.cs (8)
107
private static bool VerifyCheckType<T>(object view, object real,
ValidationContext
context, Action<T, T,
ValidationContext
> elementValidator)
123
public static void VerifyFindType(object view, object real,
ValidationContext
context = null)
296
public static void Verify<T>(IEnumerable<T> viewCollection, IEnumerable<T> realCollection, Action<T, T,
ValidationContext
> validator,
ValidationContext
context = null)
315
public static void Verify<T>(IDictionary<string, T> viewCollection, IDictionary<string, T> realCollection, Action<T, T,
ValidationContext
> validator,
ValidationContext
context = null)
334
public static void Verify<T>(IEnumerable<T> viewXmlCollection, IEnumerable<T> realXmlCollection,
ValidationContext
context = null)
ObjectModelRemoting\Helpers\ViewValidation.evaluation.cs (10)
99
public static void Verify(ProjectProperty view, ProjectProperty real,
ValidationContext
context)
131
public static void Verify(ProjectMetadata view, ProjectMetadata real,
ValidationContext
context)
164
public static void Verify(ProjectItemDefinition view, ProjectItemDefinition real,
ValidationContext
context)
206
public static void Verify(ProjectItem view, ProjectItem real,
ValidationContext
context = null)
256
private static void Verify(SdkReference view, SdkReference real,
ValidationContext
context = null)
271
private static void Verify(SdkResult view, SdkResult real,
ValidationContext
context = null)
285
private static void Verify(ResolvedImport view, ResolvedImport real,
ValidationContext
context = null)
293
private static void Verify(List<string> viewProps, List<string> realProps,
ValidationContext
context = null)
310
public static void Verify(Project view, Project real,
ValidationContext
context = null)
321
public static void Verify(ProjectPair pair,
ValidationContext
context = null)
ObjectModelRemoting\LinkedEvaluationModify_Tests.cs (1)
158
var
validationContext = new ValidationContext(pair);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (1)
191
var
context = new ValidationContext();