Skip to content

Commit 2c54af4

Browse files
Update src/ReactiveUI.Validation/Collections/ValidationText.cs
Co-authored-by: Artyom V. Gorchakov <worldbeater-dev@yandex.ru>
1 parent 17f0792 commit 2c54af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactiveUI.Validation/Collections/ValidationText.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public void Clear()
243243

244244
if (ReferenceEquals(this, None))
245245
{
246-
throw new InvalidOperationException("Adding to ValidationText.None is unsupported.");
246+
throw new InvalidOperationException("Clearing ValidationText.None is unsupported.");
247247
}
248248

249249
_texts = Array.Empty<string>();

0 commit comments

Comments
 (0)