System.Management.Pash.Implementation.ExecutionVisitor.IsExactMatch C# (CSharp) Метод

IsExactMatch() приватный Метод

private IsExactMatch ( System.Management.Automation.Language.TypeConstraintAst typeConstraintAst, Exception ex ) : bool
typeConstraintAst System.Management.Automation.Language.TypeConstraintAst
ex System.Exception
Результат bool
        private bool IsExactMatch(TypeConstraintAst typeConstraintAst, Exception ex)
        {
            return (typeConstraintAst != null) && (ex.GetType() == typeConstraintAst.TypeName.GetReflectionType());
        }
ExecutionVisitor