I'm having trouble using the following overload:
```
Must<T, TProperty>(Func<TProperty, bool> predicate)
```
The presence of the generic T in the method definition prevents concise usage such as:
```
RuleFor(x => x.Title).Must(s => !string.IsNullOrWhiteSpace(s) || s.Length == 0);
```
Instead I must type:
```
RuleFor(x => x.Title).Must((string s) => !string.IsNullOrWhiteSpace(s) || s.Length == 0);
```
The class being validated (T) is not used anywhere in the predicate and can be removed from the method signature.
Comments: I'm actually have similar problems in other parts of my project in the XAML. When I open the project there are errors but they're gone when I compile.
```
Must<T, TProperty>(Func<TProperty, bool> predicate)
```
The presence of the generic T in the method definition prevents concise usage such as:
```
RuleFor(x => x.Title).Must(s => !string.IsNullOrWhiteSpace(s) || s.Length == 0);
```
Instead I must type:
```
RuleFor(x => x.Title).Must((string s) => !string.IsNullOrWhiteSpace(s) || s.Length == 0);
```
The class being validated (T) is not used anywhere in the predicate and can be removed from the method signature.
Comments: I'm actually have similar problems in other parts of my project in the XAML. When I open the project there are errors but they're gone when I compile.