diff options
author | Andrew Au <andrewau@microsoft.com> | 2017-08-08 21:51:23 +0300 |
---|---|---|
committer | Andrew Au <andrewau@microsoft.com> | 2017-08-08 21:51:23 +0300 |
commit | 719901db6178106581a7574ae4d90c69d13363cb (patch) | |
tree | 58fe379126e1586ef271bf61c894c6a72bca4f54 /src/System.Private.TypeLoader | |
parent | c15fafd7c8659d18ebf23bb324afc3a9a000233b (diff) |
Debugger Support
[tfs-changeset: 1669541]
Diffstat (limited to 'src/System.Private.TypeLoader')
-rw-r--r-- | src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebuggerSupport.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebuggerSupport.cs b/src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebuggerSupport.cs index 1d4e68928..6750b721b 100644 --- a/src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebuggerSupport.cs +++ b/src/System.Private.TypeLoader/src/Internal/Runtime/DebuggerSupport/DebuggerSupport.cs @@ -20,6 +20,7 @@ namespace Internal.Runtime.DebuggerSupport { private readonly NativeReader _nativeReader; private uint _offset; + public unsafe LowLevelNativeFormatReader(byte* buffer, uint bufferSize) { _nativeReader = new NativeReader(buffer, bufferSize); @@ -59,6 +60,11 @@ namespace Internal.Runtime.DebuggerSupport { return _offset; } + + set + { + this._offset = value; + } } } @@ -118,6 +124,7 @@ namespace Internal.Runtime.DebuggerSupport ref parser, nativeLayoutContext); TypeSystemContextFactory.Recycle(typeSystemContext); + reader.Offset = parser.Offset; return objectTypeDesc; } } |