https://roslyn.codeplex.com/workitem/246 affects usage of code with the latest build of Roslyn with Moq v4.2. The workaround involves ensuring a closure is created. Updating affected tests to make ToString() calls on local variables to create these closures. |
||
|---|---|---|
| .. | ||
| AssociatedValidatorProviderTest.cs | ||
| CompareAttributeTest.cs | ||
| DataAnnotationsModelValidatorProviderTest.cs | ||
| DataAnnotationsModelValidatorTest.cs | ||
| DataMemberModelValidatorProviderTest.cs | ||
| ErrorModelValidatorTest.cs | ||
| InvalidModelValidatorProviderTest.cs | ||
| MaxLengthAttributeAdapterTest.cs | ||
| MinLengthAttributeAdapterTest.cs | ||
| ModelStateDictionaryTest.cs | ||
| ModelValidationNodeTest.cs | ||
| RangeAttributeAdapterTest.cs | ||
| RequiredAttributeAdapterTest.cs | ||
| StringLengthAttributeAdapterTest.cs | ||