C# Class PowerAssert.Hints.EnumComparisonShowValuesHint

Because enums get erased into ints by the compiler, this helps show what the original values were
Inheritance: IHint
显示文件 Open project: PowerAssert/PowerAssert.Net

Public Methods

Method Description
TryGetHint ( ExpressionParser parser, Expression expression, string &hint ) : bool

Private Methods

Method Description
Check ( ExpressionParser parser, Expression x, Expression y ) : string>.Tuple
Parse ( ExpressionParser parser, Type enumType, Expression expression ) : string

Method Details

TryGetHint() public method

public TryGetHint ( ExpressionParser parser, Expression expression, string &hint ) : bool
parser PowerAssert.Infrastructure.ExpressionParser
expression System.Linq.Expressions.Expression
hint string
return bool