Mono.Debugger.ExceptionCatchPoint.CheckException C# (CSharp) Méthode

CheckException() private méthode

private CheckException ( MonoLanguageBackend mono, TargetMemoryAccess target, TargetAddress address ) : bool
mono Mono.Debugger.Backend.Mono.MonoLanguageBackend
target TargetMemoryAccess
address TargetAddress
Résultat bool
        internal bool CheckException(MonoLanguageBackend mono, TargetMemoryAccess target,
					      TargetAddress address)
        {
            TargetClassObject exc = mono.CreateObject (target, address) as TargetClassObject;
            if (exc == null)
                return false; // OOOPS

            if (exception == null)
                exception = mono.LookupType (Name);
            if (exception == null)
                return false;

            return IsSubclassOf (target, exc.Type, exception);
        }