Skip to content

Commit

Permalink
Rewrite doc string correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
WanjohiSammy committed Sep 27, 2024
1 parent a50ae18 commit b132eec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Microsoft.OData.Core/ErrorUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ internal static async Task WriteXmlErrorAsync(XmlWriter writer, ODataError error
}

/// <summary>
/// Write an error message.
/// Writes an error message.
/// </summary>
/// <param name="writer">The Xml writer to write to.</param>
/// <param name="code">The error code.</param>
/// <param name="message">The message of the error.</param>
/// <param name="message">The error message.</param>
/// <param name="innerError">The inner error details of the error that will be included in debug mode (if present).</param>
/// <param name="maxInnerErrorDepth">The maximum number of nested inner errors to allow.</param>
private static void WriteXmlError(XmlWriter writer, string code, string message, ODataInnerError innerError, int maxInnerErrorDepth)
Expand Down Expand Up @@ -109,11 +109,11 @@ private static void WriteXmlError(XmlWriter writer, string code, string message,
}

/// <summary>
/// Asynchronously write an error message.
/// Asynchronously writes an error message.
/// </summary>
/// <param name="writer">The Xml writer to write to.</param>
/// <param name="code">The error code.</param>
/// <param name="message">The message of the error.</param>
/// <param name="message">The error message.</param>
/// <param name="innerError">The inner error details of the error that will be included in debug mode (if present).</param>
/// <param name="maxInnerErrorDepth">The maximum number of nested inner errors to allow.</param>
private static async Task WriteXmlErrorAsync(XmlWriter writer, string code, string message, ODataInnerError innerError, int maxInnerErrorDepth)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ namespace Microsoft.OData.Edm.Csdl.Serialization
internal partial class EdmModelCsdlSchemaXmlWriter : EdmModelCsdlSchemaWriter
{
/// <summary>
/// Asynchronously writes Reference element header.
/// Asynchronously writes reference element header.
/// </summary>
/// <param name="reference">edmx:reference element</param>
/// <param name="reference">edmx:Reference element</param>
/// <returns>Task represents an asynchronous operation.</returns>
internal override async Task WriteReferenceElementHeaderAsync(IEdmReference reference)
{
Expand All @@ -39,7 +39,7 @@ internal override async Task WriteReferenceElementHeaderAsync(IEdmReference refe
/// <summary>
/// Asynchronously writes the reference element end.
/// </summary>
/// <param name="reference">edmx:reference element</param>
/// <param name="reference">edmx:Reference element</param>
/// <returns>Task represents an asynchronous operation.</returns>
internal override Task WriteReferenceElementEndAsync(IEdmReference reference)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace Microsoft.OData.Edm.Csdl.Serialization
{
/// <summary>
/// The visitor for outputting &lt;edmx:referenced&gt; elements for referenced model.
/// The visitor for outputting &lt;edmx:Reference&gt; elements for referenced model.
/// </summary>
internal partial class EdmModelReferenceElementsXmlVisitor
{
Expand Down

0 comments on commit b132eec

Please sign in to comment.