C# Class NSubstitute.Exceptions.CouldNotSetReturnDueToTypeMismatchException

Inheritance: CouldNotSetReturnException
显示文件 Open project: nsubstitute/NSubstitute

Public Methods

Method Description
CouldNotSetReturnDueToTypeMismatchException ( Type returnType, MethodInfo member ) : System

Protected Methods

Method Description
CouldNotSetReturnDueToTypeMismatchException ( SerializationInfo info, StreamingContext context ) : System

Private Methods

Method Description
DescribeProblem ( Type typeOfReturnValueOrNull, MethodInfo member ) : string

Method Details

CouldNotSetReturnDueToTypeMismatchException() protected method

protected CouldNotSetReturnDueToTypeMismatchException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

CouldNotSetReturnDueToTypeMismatchException() public method

public CouldNotSetReturnDueToTypeMismatchException ( Type returnType, MethodInfo member ) : System
returnType System.Type
member System.Reflection.MethodInfo
return System