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

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

Méthodes publiques

Méthode Description
ValidateMethod ( MethodInfo actualMethod, MethodInfo expectedMethod ) : void

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

Private Methods

Méthode 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 méthode

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.
Résultat void