diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-08-09 20:39:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-09 20:39:22 +0300 |
commit | 84c6f2f49ce265b48f3560c7e9c51ce6ec35dcf0 (patch) | |
tree | c3c9b1e7d64fec6b16b4d1548041a266e7cbb532 /src/System.Private.TypeLoader | |
parent | 7b15c199fd1644d8510b6bf91a35a0ee4f48eb7b (diff) | |
parent | 51e7092ea586d6910294b77257e853430552022d (diff) |
Merge pull request #4292 from dotnet/nmirror
Merge nmirror to master
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; } } |