Skip to content

Commit

Permalink
Added comments for #pragma warning disable items
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed May 7, 2020
1 parent 018f4a7 commit c309019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public sealed class ArrayPoolBufferWriter<T> : IBuffer<T>, IMemoryOwner<T>
/// </summary>
private T[]? array;

#pragma warning disable IDE0032
#pragma warning disable IDE0032 // Use field over auto-property (clearer and faster)
/// <summary>
/// The starting offset within <see cref="array"/>.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public sealed class MemoryBufferWriter<T> : IBuffer<T>
/// </summary>
private readonly Memory<T> memory;

#pragma warning disable IDE0032
#pragma warning disable IDE0032 // Use field over auto-property (like in ArrayPoolBufferWriter<T>)
/// <summary>
/// The starting offset within <see cref="memory"/>.
/// </summary>
Expand Down

0 comments on commit c309019

Please sign in to comment.