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