public static void Ctor_Empty()
        {
            var exception = new KeyNotFoundException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_KEYNOTFOUND, validateMessage: false);
        }
Ejemplo n.º 2
0
        public static void Ctor_Empty()
        {
            var exception = new DivideByZeroException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_DIVIDEBYZERO, validateMessage: false);
        }
        public static void Ctor_Empty()
        {
            var exception = new IndexOutOfRangeException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_INDEXOUTOFRANGE, validateMessage: false);
        }
        public static void Ctor_Empty()
        {
            var exception = new OutOfMemoryException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_OUTOFMEMORY, validateMessage: false);
        }
Ejemplo n.º 5
0
        public static void Ctor_Empty()
        {
            var exception = new Exception();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_EXCEPTION, validateMessage: false);
        }
Ejemplo n.º 6
0
        public static void Ctor_Empty()
        {
            var exception = new ArrayTypeMismatchException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_ARRAYTYPEMISMATCH, validateMessage: false);
        }
        public static void Ctor_Empty()
        {
            var exception = new NotSupportedException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_NOTSUPPORTED, validateMessage: false);
        }
        public static void Ctor_Empty()
        {
            var exception = new InvalidProgramException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_INVALIDPROGRAM, validateMessage: false);
        }
        public static void Ctor_Empty()
        {
            var exception = new NotImplementedException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: E_NOTIMPL, validateMessage: false);
        }
Ejemplo n.º 10
0
        public static void Ctor_Empty()
        {
            var exception = new SecurityException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_SECURITY, validateMessage: false);
        }
        public static void Ctor_Empty()
        {
            var exception = new OverflowException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_OVERFLOW, validateMessage: false);
        }
Ejemplo n.º 12
0
        public static void Ctor_Empty()
        {
            var exception = new ArithmeticException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_ARITHMETIC, validateMessage: false);
        }
Ejemplo n.º 13
0
        public static void Ctor_Empty()
        {
            var exception = new InvalidOperationException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_INVALIDOPERATION, validateMessage: false);
        }
Ejemplo n.º 14
0
        public static void Ctor_Empty()
        {
            var exception = new TimeoutException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_TIMEOUT, validateMessage: false);
        }
Ejemplo n.º 15
0
        public static void Ctor_Empty()
        {
            var exception = new FormatException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_FORMAT, validateMessage: false);
        }
        public static void Ctor_Empty()
        {
            var exception = new MemberAccessException();

            ExceptionUtility.ValidateExceptionProperties(exception, hResult: COR_E_MEMBERACCESS, validateMessage: false);
        }