ParameterValueConstraint.ValidateParameterValue Method |
Validates the value passed to the parameter.
Namespace: PostSharp.Constraints
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
protected abstract void ValidateParameterValue( ParameterInfo parameter, IExpression expression )
Parameters
- parameter
- Type: System.Reflection.ParameterInfo
The parameter to which the current constraint has been applied. - expression
- Type: PostSharp.Reflection.MethodBody.IExpression
The expression passed to the parameter.