System.Tests.ExecutionEngineExceptionTests.Ctor_Empty C# (CSharp) Method

Ctor_Empty() private method

private Ctor_Empty ( ) : void
return void
        public static void Ctor_Empty()
        {
#pragma warning disable 0618
            var exception = new ExecutionEngineException();
#pragma warning restore 0618
            Assert.NotNull(exception);
            Assert.NotEmpty(exception.Message);
            Assert.Equal(COR_E_EXECUTIONENGINE, exception.HResult);
        }