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:
authorFadi Hanna <fadim@microsoft.com>2017-08-24 03:15:42 +0300
committerFadi Hanna <fadim@microsoft.com>2017-08-24 03:15:42 +0300
commit537a942f3ff1b8c3b5b1eccf2e34d8e78c4e1ca4 (patch)
tree39e35249759f9024941992d6c26cfa3433e9ee43 /src/System.Private.TypeLoader
parentedc338eae11e2f849c14a172ad749b649b9fba92 (diff)
CoreRT implementation for the GetCodeTarget API, to decode unboxing stubs
[tfs-changeset: 1671610]
Diffstat (limited to 'src/System.Private.TypeLoader')
-rw-r--r--src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeLoaderEnvironment.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeLoaderEnvironment.cs b/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeLoaderEnvironment.cs
index 1d52ffd6f..5585980d9 100644
--- a/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeLoaderEnvironment.cs
+++ b/src/System.Private.TypeLoader/src/Internal/Runtime/TypeLoader/TypeLoaderEnvironment.cs
@@ -91,6 +91,13 @@ namespace Internal.Runtime.TypeLoader
return TypeLoaderEnvironment.Instance.UpdateFloatingDictionary(context, isTypeContext);
}
+ public override IEnumerable<TypeManagerHandle> GetLoadedModules()
+ {
+ ModuleHandleEnumerator moduleEnum = ModuleList.Enumerate().GetEnumerator();
+ while (moduleEnum.MoveNext())
+ yield return moduleEnum.Current;
+ }
+
/// <summary>
/// Register a new runtime-allocated code thunk in the diagnostic stream.
/// </summary>