C# Class Cilador.Fody.Tests.Common.MethodValidator

Provides a way to complete some validation of a cloned method against its source method.
Show file Open project: rileywhite/Cilador

Public Methods

Method Description
ValidateMethod ( MethodInfo actualMethod, MethodInfo expectedMethod ) : void

Validates an actual method (the cloned version) against an expected method (its source).

Private Methods

Method Description
ValidateExceptionHandlingClause ( ExceptionHandlingClause actualExceptionHandlingClause, ExceptionHandlingClause expectedExceptionHandlingClause ) : void

Validates an actual exception handling clause (the cloned version) against an expected one (its source).

ValidateLocalVariable ( LocalVariableInfo actualLocalVariable, LocalVariableInfo expectedLocalVariable ) : void

Validates an actual exception handling clause (the cloned version) against an expected one (its source).

ValidateMethodBody ( MethodBody actualMethodBody, MethodBody expectedMethodBody ) : void

Validates an actual method body (the cloned version) against an expected method body (its source).

Method Details

ValidateMethod() public static method

Validates an actual method (the cloned version) against an expected method (its source).
public static ValidateMethod ( MethodInfo actualMethod, MethodInfo expectedMethod ) : void
actualMethod System.Reflection.MethodInfo Method to validate.
expectedMethod System.Reflection.MethodInfo Method with expected info.
return void