Skip to content

Commit

Permalink
Add missing 'this.' qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
0xC0000054 committed Jan 23, 2019
1 parent eb26d54 commit ca3c968
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DdsFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public uint Read(IntPtr buffer, uint count)

do
{
int bytesRead = stream.Read(bytes, 0, (int)Math.Min(MaxBufferSize, remaining));
int bytesRead = this.stream.Read(bytes, 0, (int)Math.Min(MaxBufferSize, remaining));

if (bytesRead == 0)
{
Expand Down Expand Up @@ -387,7 +387,7 @@ public uint Write(IntPtr buffer, uint count)

Marshal.Copy(new IntPtr(buffer.ToInt64() + offset), bytes, 0, copySize);

stream.Write(bytes, 0, copySize);
this.stream.Write(bytes, 0, copySize);

offset += copySize;
remaining -= copySize;
Expand All @@ -400,12 +400,12 @@ public uint Write(IntPtr buffer, uint count)

public long Seek(long offset, int origin)
{
return stream.Seek(offset, (SeekOrigin)origin);
return this.stream.Seek(offset, (SeekOrigin)origin);
}

public long GetSize()
{
return stream.Length;
return this.stream.Length;
}
}
}
Expand Down

0 comments on commit ca3c968

Please sign in to comment.