System.Management.Pash.Implementation.ExecutionVisitor.IsExactMatch C# (CSharp) Method

IsExactMatch() private method

private IsExactMatch ( System.Management.Automation.Language.TypeConstraintAst typeConstraintAst, Exception ex ) : bool
typeConstraintAst System.Management.Automation.Language.TypeConstraintAst
ex System.Exception
return bool
        private bool IsExactMatch(TypeConstraintAst typeConstraintAst, Exception ex)
        {
            return (typeConstraintAst != null) && (ex.GetType() == typeConstraintAst.TypeName.GetReflectionType());
        }
ExecutionVisitor