2 instantiations of Violation
Microsoft.Activities.Build (2)
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (2)
93
this.violations.Add(new
Violation
(fileName, message));
199
this.violations.Add(new
Violation
(fileName, violation, violationLocation));
13 references to Violation
Microsoft.Activities.Build (13)
Microsoft\Activities\Build\Expressions\ExpressionsBuildExtension.cs (1)
42
List<ValidationBuildExtension.
Violation
> violations = ReportDeferredValidationErrorsTask.LoadDeferredValidationErrors(deferredValidationErrorsFilePath);
Microsoft\Activities\Build\Validation\DeferredValidationTask.cs (3)
38
List<ValidationBuildExtension.
Violation
> violations = ReportDeferredValidationErrorsTask.LoadDeferredValidationErrors(this.DeferredValidationErrorsFilePath);
51
private static bool ErrorExists(List<ValidationBuildExtension.
Violation
> violations)
55
foreach (ValidationBuildExtension.
Violation
violation in violations)
Microsoft\Activities\Build\Validation\ReportDeferredValidationErrorsTask.cs (6)
38
List<ValidationBuildExtension.
Violation
> violations = LoadDeferredValidationErrors(this.DeferredValidationErrorsFilePath);
42
foreach (ValidationBuildExtension.
Violation
violation in violations)
52
internal static List<ValidationBuildExtension.
Violation
> LoadDeferredValidationErrors(string filePath)
54
List<ValidationBuildExtension.
Violation
> violations = null;
57
DataContractSerializer serializer = new DataContractSerializer(typeof(List<ValidationBuildExtension.
Violation
>));
58
violations = (List<ValidationBuildExtension.
Violation
>)serializer.ReadObject(stream);
Microsoft\Activities\Build\Validation\ValidationBuildExtension.cs (3)
29
List<
Violation
> violations;
42
this.violations = new List<
Violation
>();
68
DataContractSerializer serializer = new DataContractSerializer(typeof(List<
Violation
>));