Inheritance: SystemException
 public static void Ctor_String()
 {
     string message = "Created TypeUnloadedException ";
     var exception = new TypeUnloadedException(message);
     Assert.Equal(message, exception.Message);
     Assert.Equal(COR_E_TYPEUNLOADED, exception.HResult);
 }
 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);
 }
 public static void Ctor_Empty()
 {
     var exception = new TypeUnloadedException();
     Assert.NotEmpty(exception.Message);
     Assert.Equal(COR_E_TYPEUNLOADED, exception.HResult);
 }