Hello...i'm using EL 5.0 and i have a wcf operation that takes a ref parameter...
void Test(ref MyClass obj);
If I set the [ValidationBehavior] on my service I get an exception when the service host opens.
It comes down to file ValidationFactory.cs and method ...
protected virtual Validator WrapAndInstrumentValidator(Validator validator, Type type)
var validatorWrapperType = typeof(GenericValidatorWrapper<>).MakeGenericType(type);
The MakeGenericType won't work with ref or out parameters. I believe this should probably use GetElementType.
Is this by design? or should this work and i'm doing something wrong?