Definition at line 825 of file DataSet.cs.
826 {
827 bool flag = false;
829 int num = 0;
832 try
833 {
836 foreach (DataTable table
in Tables)
837 {
838 if (!table.ShouldSerializeLocale())
839 {
841 }
842 }
844 if (!flag)
845 {
846 return;
847 }
848 flag = false;
850 {
851 num++;
852 if (!
table2.ShouldSerializeLocale())
853 {
855 }
856 }
857 flag = true;
858 }
859 catch
860 {
862 throw;
863 }
864 finally
865 {
866 if (!flag)
867 {
871 {
872 if (!
table3.ShouldSerializeLocale())
873 {
875 }
876 }
877 try
878 {
879 for (
int i = 0;
i < num;
i++)
880 {
882 {
884 }
885 }
886 }
888 {
890 }
892 {
893 throw ExceptionBuilder.CannotChangeCaseLocale(null);
894 }
895 }
896 }
897 }
static bool IsCatchableExceptionType(Exception e)
static void TraceExceptionWithoutRethrow(Exception e)
bool ShouldSerializeLocale()
DataTableCollection Tables
bool ValidateLocaleConstraint()
References System.Data.DataSet._culture, System.Data.DataSet._cultureUserSet, System.Data.ExceptionBuilder.CannotChangeCaseLocale(), System.culture, System.Runtime.Serialization.Dictionary, System.Data.Common.ADP.IsCatchableExceptionType(), System.Data.DataTable.SetLocaleValue(), System.Data.DataSet.ShouldSerializeLocale(), System.Data.DataTable.ShouldSerializeLocale(), System.Data.DataSet.Tables, System.Data.Common.ADP.TraceExceptionWithoutRethrow(), System.Data.DataSet.ValidateLocaleConstraint(), and System.value.
Referenced by System.Data.XSDSchema.HandleDataSet().