System.Exception.GetTargetSiteInternal C# (CSharp) Method

GetTargetSiteInternal() private method

private GetTargetSiteInternal ( ) : MethodBase
return System.Reflection.MethodBase
        private MethodBase GetTargetSiteInternal() {
            if (_exceptionMethod!=null) {
                return _exceptionMethod;
            }
            if (_stackTrace==null) {
                return null;
            }

            if (_exceptionMethodString!=null) {
                _exceptionMethod = GetExceptionMethodFromString();
            } else {
                RuntimeMethodHandle method = InternalGetMethod(_stackTrace).GetTypicalMethodDefinition();
                _exceptionMethod = RuntimeType.GetMethodBase(method);
            }
            return _exceptionMethod;
        }