You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added XML documentation comments to methods in
ArrayExtensions.cs, DataRowExtensions.cs, and
DataTableExtensions.cs to improve code readability
and provide better context for users. Method
implementations remain unchanged, with minor
formatting improvements for consistency.
[SuppressMessage("Refactoring","GCop659:Use 'var' instead of explicit type.",Justification="The compiler does not infer DataColumn properly here so we have to use the type instead of var.")]
[SuppressMessage("Refactoring","GCop659:Use 'var' instead of explicit type.",Justification="The compiler does not infer DataColumn properly here so we have to use the type instead of var.")]
/// <param name="rootName">Name of the XML root node.</param>
72
-
/// <returns>An XML document.</returns>
73
-
/// <exception cref="ArgumentNullException">dataTable or rootName</exception>
74
-
[SuppressMessage("Refactoring","GCop659:Use 'var' instead of explicit type.",Justification="The compiler does not infer DataColumn properly here so we have to use the type instead of var.")]
Contract.Ensures(Contract.Result<XDocument>()is not null);
67
+
/// <summary>
68
+
/// Converts the data table to XML.
69
+
/// </summary>
70
+
/// <param name="this">The data table.</param>
71
+
/// <param name="rootName">Name of the XML root node.</param>
72
+
/// <returns>An XML document.</returns>
73
+
/// <exception cref="ArgumentNullException">dataTable or rootName</exception>
74
+
[SuppressMessage("Refactoring","GCop659:Use 'var' instead of explicit type.",Justification="The compiler does not infer DataColumn properly here so we have to use the type instead of var.")]
0 commit comments