diff --git a/CSharp/Libraries/UniversalEditor.Core/Accessor.cs b/CSharp/Libraries/UniversalEditor.Core/Accessor.cs index 81c2c66c..988292a1 100644 --- a/CSharp/Libraries/UniversalEditor.Core/Accessor.cs +++ b/CSharp/Libraries/UniversalEditor.Core/Accessor.cs @@ -83,10 +83,11 @@ namespace UniversalEditor /// /// The position within the underlying stream protected abstract long GetPosition(); + /// /// Gets or sets the position within the underlying stream, if possible. /// - 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); } } /// /// Determines how many bytes are remaining to be read from the underlying stream, if possible. diff --git a/CSharp/Libraries/UniversalEditor.Core/Accessors/StreamAccessor.cs b/CSharp/Libraries/UniversalEditor.Core/Accessors/StreamAccessor.cs index a5de06fc..7be86d5e 100644 --- a/CSharp/Libraries/UniversalEditor.Core/Accessors/StreamAccessor.cs +++ b/CSharp/Libraries/UniversalEditor.Core/Accessors/StreamAccessor.cs @@ -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;