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-01-21 07:56:53 +0300
committerGitHub <noreply@github.com>2017-01-21 07:56:53 +0300
commit0ac38d540ecf420a0659d86430270a2b7e897499 (patch)
tree529a966edc58d63dd97ef0194583f71d8e92e05e
parent59099d58601b8fd935f685bdccfee087396747ea (diff)
parentd819c5eb11e066c1b608c1690ff1daad3f29c1ed (diff)
Merge pull request #2557 from dotnet/nmirror
Merge nmirror to master
-rw-r--r--src/System.Private.Reflection.Core/src/System/Reflection/Runtime/Assemblies/RuntimeAssembly.cs30
-rw-r--r--src/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs1
2 files changed, 31 insertions, 0 deletions
diff --git a/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/Assemblies/RuntimeAssembly.cs b/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/Assemblies/RuntimeAssembly.cs
index 40991424c..09b31f967 100644
--- a/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/Assemblies/RuntimeAssembly.cs
+++ b/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/Assemblies/RuntimeAssembly.cs
@@ -19,6 +19,7 @@ using Internal.Reflection.Core;
using Internal.Reflection.Core.Execution;
using Internal.Reflection.Tracing;
+using System.Security;
namespace System.Reflection.Runtime.Assemblies
{
@@ -181,6 +182,35 @@ namespace System.Reflection.Runtime.Assemblies
}
}
+ public sealed override bool GlobalAssemblyCache
+ {
+ get
+ {
+ return false;
+ }
+ }
+
+ public sealed override long HostContext
+ {
+ get
+ {
+ return 0;
+ }
+ }
+
+ public sealed override Module LoadModule(string moduleName, byte[] rawModule, byte[] rawSymbolStore)
+ {
+ throw new PlatformNotSupportedException();
+ }
+
+ public sealed override SecurityRuleSet SecurityRuleSet
+ {
+ get
+ {
+ return SecurityRuleSet.None;
+ }
+ }
+
private volatile CaseSensitiveTypeCache _lazyCaseSensitiveTypeTable;
private sealed class CaseSensitiveTypeCache : ConcurrentUnifier<string, RuntimeTypeInfo>
diff --git a/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs b/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs
index a747fab31..fb38ee000 100644
--- a/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs
+++ b/src/System.Private.Reflection.Core/src/System/Reflection/Runtime/General/NonOverriddenApis.cs
@@ -36,6 +36,7 @@ namespace System.Reflection.Runtime.Assemblies
public sealed override Type GetType(string name, bool throwOnError) => base.GetType(name, throwOnError);
public sealed override bool IsDynamic => base.IsDynamic;
public sealed override string ToString() => base.ToString();
+ public sealed override string EscapedCodeBase => base.EscapedCodeBase;
#endif //DEBUG
}
}