Catel.ReSharper.Arguments.IsOfTypeContextAction.IsArgumentChecked C# (CSharp) Метод

IsArgumentChecked() защищенный Метод

protected IsArgumentChecked ( ICSharpFunctionDeclaration methodDeclaration, IRegularParameterDeclaration parameterDeclaration ) : bool
methodDeclaration ICSharpFunctionDeclaration
parameterDeclaration IRegularParameterDeclaration
Результат bool
        protected override bool IsArgumentChecked(
            ICSharpFunctionDeclaration methodDeclaration, IRegularParameterDeclaration parameterDeclaration)
        {
            return ArgumentCheckStatementDetectionHelper.IsOfTypeInvoked(
                methodDeclaration.Body.GetText(), parameterDeclaration.DeclaredName);
        }