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:
authorAndrew Au <andrewau@microsoft.com>2017-05-11 03:46:47 +0300
committerAndrew Au <andrewau@microsoft.com>2017-05-11 03:46:47 +0300
commit52b30ac9c28e2b74ff23fe921788a11873560975 (patch)
tree25a35b73a0049b64b2dcf1470d6ad0ea9de37e4a /src/System.Private.CoreLib
parent1c4f8474255a9271da5f4323dbc14c92d794545b (diff)
Debugger Support
[tfs-changeset: 1657958]
Diffstat (limited to 'src/System.Private.CoreLib')
-rw-r--r--src/System.Private.CoreLib/src/Internal/Runtime/CompilerServices/RuntimeSignature.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/System.Private.CoreLib/src/Internal/Runtime/CompilerServices/RuntimeSignature.cs b/src/System.Private.CoreLib/src/Internal/Runtime/CompilerServices/RuntimeSignature.cs
index 29af6b489..28be9bdd1 100644
--- a/src/System.Private.CoreLib/src/Internal/Runtime/CompilerServices/RuntimeSignature.cs
+++ b/src/System.Private.CoreLib/src/Internal/Runtime/CompilerServices/RuntimeSignature.cs
@@ -57,6 +57,19 @@ namespace Internal.Runtime.CompilerServices
};
}
+ [CLSCompliant(false)]
+ public static RuntimeSignature CreateFromNativeLayoutSignatureForDebugger(uint nativeLayoutOffset)
+ {
+ // This is a RuntimeSignature object used by the debugger only,
+ // the fact that the _moduleHandle is NULL signify that information.
+ return new RuntimeSignature
+ {
+ _moduleHandle = IntPtr.Zero,
+ _tokenOrOffset = (int)nativeLayoutOffset,
+ _isNativeLayoutSignature = true,
+ };
+ }
+
public bool IsNativeLayoutSignature
{
get