2

Closed

ValidationResult.ToString() error

description

The ToString method returns en error when evaluated with a ValidationResult that has no errors.

StackTrace:
at System.Diagnostics.Contracts.__ContractsRuntime.TriggerFailure(ContractFailureKind kind, String msg, String userMessage, String conditionTxt, Exception inner)
at System.Diagnostics.Contracts.__ContractsRuntime.ReportFailure(ContractFailureKind kind, String msg, String conditionTxt, Exception inner)
at System.Diagnostics.Contracts.__ContractsRuntime.Ensures(Boolean condition, String msg, String conditionTxt)
at MvvmValidation.NumberedListValidationResultFormatter.Format(ValidationResult validationResult)
at MvvmValidation.ValidationResult.ToString(IValidationResultFormatter formatter)
at MvvmValidation.ValidationResult.ToString()

file attachments

Closed Mar 24, 2014 at 8:51 PM by pglazkov
Fixed. You can download the updated binaries and the source code from here: https://mvvmvalidation.codeplex.com/releases/view/99525.
Also uploaded the updated version to NuGet.

comments