C# Class System.Linq.Expressions.Tests.BinaryLogicalTests

显示文件 Open project: dotnet/corefx

Public Methods

Method Description
AndAlso_TestData ( ) : IEnumerable
InvalidMethod_TestData ( ) : IEnumerable
Operator_IncorrectMethod_TestData ( ) : IEnumerable
OrElse_TestData ( ) : IEnumerable

Private Methods

Method Description
AndAlso_BinaryOperatorNotDefined_ThrowsInvalidOperationException ( ) : void
AndAlso_CannotReduce ( ) : void
AndAlso_LeftIsWriteOnly_ThrowsArgumentException ( Expression unreadableExpression ) : void
AndAlso_LeftNull_ThrowsArgumentNullException ( ) : void
AndAlso_Method ( int leftValue, int rightValue, int expectedValue, bool calledMethod, bool useInterpreter ) : void
AndAlso_Method_ExpressionDoesntMatchMethodParameters_ThrowsInvalidOperationException ( ) : void
AndAlso_NoMethod_DoesntHaveTwoParameters_ThrowsInvalidOperationException ( int parameterCount ) : void
AndAlso_NoMethod_ExpressionDoesntMatchMethodParameters_ThrowsInvalidOperationException ( ) : void
AndAlso_NoMethod_NoTrueFalseOperator_ThrowsArgumentException ( string name ) : void
AndAlso_NoMethod_NotStatic_ThrowsInvalidOperationException ( ) : void
AndAlso_NoMethod_ParamsDontMatchOperator_ThrowsInvalidOperationException ( ) : void
AndAlso_NoMethod_ReturnTypeNotEqualToParameterTypes_ThrowsArgumentException ( ) : void
AndAlso_NoMethod_TrueOperatorIncorrectMethod_ThrowsArgumentException ( TypeBuilder builder, Type returnType, Type parameterTypes ) : void
AndAlso_NoMethod_VoidReturnType_ThrowsArgumentException ( ) : void
AndAlso_RightIsWriteOnly_ThrowsArgumentException ( Expression unreadableExpression ) : void
AndAlso_RightNull_ThrowsArgumentNullException ( ) : void
AndAlso_UserDefinedOperator ( int leftValue, int rightValue, int expectedValue, bool calledMethod, bool useInterpreter ) : void
AndAlso_UserDefinedOperator_HasMethodNotOperator ( bool useInterpreter ) : void
CheckBoolAndAlsoTest ( bool useInterpreter ) : void
CheckBoolAndTest ( bool useInterpreter ) : void
CheckBoolOrElseTest ( bool useInterpreter ) : void
CheckBoolOrTest ( bool useInterpreter ) : void
GetTypeBuilder ( ) : TypeBuilder
ImplicitConversionToBool_ThrowsArgumentException ( ) : void
InvalidMethod_ThrowsArgumentException ( MethodInfo method ) : void
MethodDeclaringTypeHasNoTrueFalseOperator_ThrowsArgumentException ( ) : void
MethodParametersNotEqual_ThrowsArgumentException ( ) : void
Method_DoesntHaveTwoParameters_ThrowsArgumentException ( Type type, string methodName ) : void
Method_FalseOperatorIncorrectMethod_ThrowsArgumentException ( TypeBuilder builder, Type returnType, Type parameterTypes ) : void
Method_NoTrueFalseOperator_ThrowsArgumentException ( string name ) : void
Method_ParamsDontMatchOperator_ThrowsInvalidOperationException ( ) : void
Method_ReturnTypeNotEqualToParameterTypes_ThrowsArgumentException ( ) : void
Method_TrueOperatorIncorrectMethod_ThrowsArgumentException ( TypeBuilder builder, Type returnType, Type parameterTypes ) : void
OrElse_BinaryOperatorNotDefined_ThrowsInvalidOperationException ( ) : void
OrElse_CannotReduce ( ) : void
OrElse_ExpressionDoesntMatchMethodParameters_ThrowsInvalidOperationException ( ) : void
OrElse_LeftIsWriteOnly_ThrowsArgumentException ( Expression unreadableExpression ) : void
OrElse_LeftNull_ThrowsArgumentNullException ( ) : void
OrElse_Method ( int leftValue, int rightValue, int expectedValue, bool calledMethod, bool useInterpreter ) : void
OrElse_NoMethod_DoesntHaveTwoParameters_ThrowsInvalidOperationException ( int parameterCount ) : void
OrElse_NoMethod_ExpressionDoesntMatchMethodParameters_ThrowsInvalidOperationException ( ) : void
OrElse_NoMethod_NoTrueFalseOperator_ThrowsArgumentException ( string name ) : void
OrElse_NoMethod_NotStatic_ThrowsInvalidOperationException ( ) : void
OrElse_NoMethod_ParamsDontMatchOperator_ThrowsInvalidOperationException ( ) : void
OrElse_NoMethod_ReturnTypeNotEqualToParameterTypes_ThrowsArgumentException ( ) : void
OrElse_NoMethod_TrueOperatorIncorrectMethod_ThrowsArgumentException ( TypeBuilder builder, Type returnType, Type parameterTypes ) : void
OrElse_NoMethod_VoidReturnType_ThrowsArgumentException ( ) : void
OrElse_RightIsWriteOnly_ThrowsArgumentException ( Expression unreadableExpression ) : void
OrElse_RightNull_ThrowsArgumentNullException ( ) : void
OrElse_UserDefinedOperator ( int leftValue, int rightValue, int expectedValue, bool calledMethod, bool useInterpreter ) : void
OrElse_UserDefinedOperator_HasMethodNotOperator ( bool useInterpreter ) : void
ToStringTest ( ) : void
VerifyBoolAnd ( bool a, bool b, bool useInterpreter ) : void
VerifyBoolAndAlso ( bool a, bool b, bool useInterpreter ) : void
VerifyBoolOr ( bool a, bool b, bool useInterpreter ) : void
VerifyBoolOrElse ( bool a, bool b, bool useInterpreter ) : void

Method Details

AndAlso_TestData() public static method

public static AndAlso_TestData ( ) : IEnumerable
return IEnumerable

InvalidMethod_TestData() public static method

public static InvalidMethod_TestData ( ) : IEnumerable
return IEnumerable

Operator_IncorrectMethod_TestData() public static method

public static Operator_IncorrectMethod_TestData ( ) : IEnumerable
return IEnumerable

OrElse_TestData() public static method

public static OrElse_TestData ( ) : IEnumerable
return IEnumerable