@@ -486,7 +486,7 @@ namespace xtd {
486486 } catch (const std::exception& e) {
487487 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
488488 }
489- throw std::bad_cast ( );
489+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
490490 }
491491
492492 // / @brief Casts a type into another type.
@@ -514,7 +514,7 @@ namespace xtd {
514514 } catch (const std::exception& e) {
515515 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
516516 }
517- throw std::bad_cast ( );
517+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
518518 }
519519
520520 // / @cond
@@ -584,7 +584,7 @@ namespace xtd {
584584 } catch (const std::exception& e) {
585585 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
586586 }
587- throw std::bad_cast ( );
587+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
588588 }
589589
590590 // / @brief Casts a type into another type.
@@ -607,7 +607,7 @@ namespace xtd {
607607 } catch (const std::exception& e) {
608608 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
609609 }
610- throw std::bad_cast ( );
610+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
611611 }
612612
613613#if defined(__xtd__cpp_lib_char8_t)
@@ -631,7 +631,7 @@ namespace xtd {
631631 } catch (const std::exception& e) {
632632 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
633633 }
634- throw std::bad_cast ( );
634+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
635635 }
636636
637637 // / @brief Casts a type into another type.
@@ -654,7 +654,7 @@ namespace xtd {
654654 } catch (const std::exception& e) {
655655 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
656656 }
657- throw std::bad_cast ( );
657+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
658658 }
659659#endif
660660
@@ -678,7 +678,7 @@ namespace xtd {
678678 } catch (const std::exception& e) {
679679 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
680680 }
681- throw std::bad_cast ( );
681+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
682682 }
683683
684684 // / @brief Casts a type into another type.
@@ -701,7 +701,7 @@ namespace xtd {
701701 } catch (const std::exception& e) {
702702 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
703703 }
704- throw std::bad_cast ( );
704+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
705705 }
706706
707707 // / @brief Casts a type into another type.
@@ -724,7 +724,7 @@ namespace xtd {
724724 } catch (const std::exception& e) {
725725 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
726726 }
727- throw std::bad_cast ( );
727+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
728728 }
729729
730730 // / @brief Casts a type into another type.
@@ -747,7 +747,7 @@ namespace xtd {
747747 } catch (const std::exception& e) {
748748 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
749749 }
750- throw std::bad_cast ( );
750+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
751751 }
752752
753753 // / @brief Casts a type into another type.
@@ -770,7 +770,7 @@ namespace xtd {
770770 } catch (const std::exception& e) {
771771 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
772772 }
773- throw std::bad_cast ( );
773+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
774774 }
775775
776776 // / @brief Casts a type into another type.
@@ -793,7 +793,7 @@ namespace xtd {
793793 } catch (const std::exception& e) {
794794 xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast, e.what ());
795795 }
796- throw std::bad_cast ( );
796+ xtd::helpers::throw_helper::throws (xtd::helpers::exception_case::invalid_cast );
797797 }
798798
799799 // / @brief Casts a type into another type.
0 commit comments