Bike.Interpreter.Builtin.ClrError.Unwrap C# (CSharp) 메소드

Unwrap() 개인적인 정적인 메소드

private static Unwrap ( Exception ex ) : Exception
ex System.Exception
리턴 System.Exception
        private static Exception Unwrap(Exception ex)
        {
            return ex is TargetInvocationException && ex.InnerException != null
                ? ex.InnerException
                : ex;
        }