Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
12345678910111213141516 |
- using System;
-
- namespace UnityEngine.InputSystem.Utilities
- {
- internal static class ExceptionHelpers
- {
- public static bool IsExceptionIndicatingBugInCode(this Exception exception)
- {
- Debug.Assert(exception != null, "Exception is null");
-
- return exception is NullReferenceException ||
- exception is IndexOutOfRangeException ||
- exception is ArgumentException;
- }
- }
- }
|