More concise naming

This commit is contained in:
Matt Nadareski
2025-08-23 13:38:19 -04:00
parent 307b932f87
commit 21b7d431a7

View File

@@ -40,11 +40,6 @@ namespace SabreTools.Serialization.Wrappers
#region Instance Variables
/// <summary>
/// Lock object for reading from the source
/// </summary>
private readonly object _streamDataLock = new();
/// <summary>
/// Initial position within the underlying data
/// </summary>
@@ -60,6 +55,11 @@ namespace SabreTools.Serialization.Wrappers
/// </summary>
protected Stream _source;
/// <summary>
/// Lock object for reading from the source
/// </summary>
private readonly object _sourceLock = new();
#endregion
#region Constructors
@@ -130,7 +130,7 @@ namespace SabreTools.Serialization.Wrappers
{
// Correct the read offset
offset += (int)_initialPosition;
lock (_streamDataLock)
lock (_sourceLock)
{
return _source.Read(buffer, offset, count);
}