these should be DebuggerNonUserCode

This commit is contained in:
Michael Becker 2019-12-31 22:27:33 -05:00
parent 8417fbf854
commit bbf7cde84e
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7
2 changed files with 3 additions and 2 deletions

View File

@ -83,10 +83,11 @@ namespace UniversalEditor
/// </summary>
/// <returns>The position within the underlying stream</returns>
protected abstract long GetPosition();
/// <summary>
/// Gets or sets the position within the underlying stream, if possible.
/// </summary>
public virtual long Position { get { return GetPosition(); } set { Seek(value, SeekOrigin.Begin); } }
public virtual long Position { get { return GetPosition(); } [DebuggerNonUserCode()] set { Seek(value, SeekOrigin.Begin); } }
/// <summary>
/// Determines how many bytes are remaining to be read from the underlying stream, if possible.

View File

@ -63,7 +63,7 @@ namespace UniversalEditor.Accessors
set { mvarBaseStream.SetLength(value); }
}
// [DebuggerNonUserCode()]
[DebuggerNonUserCode()]
public override void Seek(long offset, SeekOrigin position)
{
System.IO.SeekOrigin origin = System.IO.SeekOrigin.Begin;