public static void Ctor_String_Exception()
{
string message = "Created TypeUnloadedException ";
var innerException = new Exception("Created inner exception");
var exception = new TypeUnloadedException(message, innerException);
Assert.Equal(message, exception.Message);
Assert.Equal(COR_E_TYPEUNLOADED, exception.HResult);
Assert.Same(innerException, exception.InnerException);
Assert.Equal(innerException.HResult, exception.InnerException.HResult);
}
}