Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-08-09 20:39:22 +0300
committerGitHub <noreply@github.com>2017-08-09 20:39:22 +0300
commit84c6f2f49ce265b48f3560c7e9c51ce6ec35dcf0 (patch)
treec3c9b1e7d64fec6b16b4d1548041a266e7cbb532 /src/System.Private.TypeLoader
parent7b15c199fd1644d8510b6bf91a35a0ee4f48eb7b (diff)
parent51e7092ea586d6910294b77257e853430552022d (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.cs7
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;
}
}