C# Класс Cilador.Fody.Tests.Common.MethodValidator

Provides a way to complete some validation of a cloned method against its source method.
Показать файл Открыть проект

Открытые методы

Метод Описание
ValidateMethod ( MethodInfo actualMethod, MethodInfo expectedMethod ) : void

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

Приватные методы

Метод Описание
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).

Описание методов

ValidateMethod() публичный статический Метод

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.
Результат void