You've already forked linux-packaging-mono
Imported Upstream version 6.0.0.271
Former-commit-id: 2fde65daab17ed3bb08a7be86fb05423d63b0290
This commit is contained in:
parent
8f11a00d09
commit
2ba231cd0c
@ -27,11 +27,103 @@
|
||||
//
|
||||
|
||||
#if !MONO_FEATURE_SRE
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
|
||||
namespace System.Reflection.Emit
|
||||
{
|
||||
public class AssemblyBuilder : Assembly
|
||||
{
|
||||
private AssemblyBuilder () {}
|
||||
|
||||
public override string CodeBase {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override MethodInfo EntryPoint {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override string EscapedCodeBase {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override System.Security.Policy.Evidence Evidence {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override string FullName {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override bool GlobalAssemblyCache {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override string ImageRuntimeVersion {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override bool IsDynamic {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override string Location {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override Module ManifestModule {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public override bool ReflectionOnly {
|
||||
get {
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
public void AddResourceFile (string name, string fileName) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void AddResourceFile (string name, string fileName, ResourceAttributes attribute) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public ModuleBuilder DefineDynamicModule (string name, bool emitSymbolInfo) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public ModuleBuilder DefineDynamicModule (string name, string fileName) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public ModuleBuilder DefineDynamicModule (string name, string fileName, bool emitSymbolInfo) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public System.Resources.IResourceWriter DefineResource (string name, string description, string fileName) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public System.Resources.IResourceWriter DefineResource (string name, string description, string fileName, ResourceAttributes attribute) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void DefineUnmanagedResource (byte[] resource) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void DefineUnmanagedResource (string resourceFileName) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void DefineVersionInfoResource () => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void DefineVersionInfoResource (string product, string productVersion, string company, string copyright, string trademark) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public static AssemblyBuilder DefineDynamicAssembly (AssemblyName name, AssemblyBuilderAccess access)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
@ -47,11 +139,55 @@ namespace System.Reflection.Emit
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public override bool Equals (object obj) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override object[] GetCustomAttributes (bool inherit) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override object[] GetCustomAttributes (System.Type attributeType, bool inherit) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public ModuleBuilder GetDynamicModule (string name)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public override Type[] GetExportedTypes () => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override FileStream GetFile (string name) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override FileStream[] GetFiles (bool getResourceModules) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override int GetHashCode () => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override Module[] GetLoadedModules (bool getResourceModules) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override ManifestResourceInfo GetManifestResourceInfo (string resourceName) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override string[] GetManifestResourceNames () => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override Stream GetManifestResourceStream (string name) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override Stream GetManifestResourceStream (Type type, string name) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override Module GetModule (string name) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override Module[] GetModules (bool getResourceModules) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override AssemblyName GetName (bool copiedName) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override AssemblyName[] GetReferencedAssemblies () => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override Assembly GetSatelliteAssembly (CultureInfo culture) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override Assembly GetSatelliteAssembly (CultureInfo culture, Version version) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override Type GetType (string name, bool throwOnError, bool ignoreCase) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override bool IsDefined (Type attributeType, bool inherit) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void Save (string assemblyFileName) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void Save (string assemblyFileName, PortableExecutableKinds portableExecutableKind, ImageFileMachine imageFileMachine) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void SetCustomAttribute (CustomAttributeBuilder customBuilder)
|
||||
{
|
||||
throw new PlatformNotSupportedException ();
|
||||
@ -63,6 +199,11 @@ namespace System.Reflection.Emit
|
||||
throw new PlatformNotSupportedException ();
|
||||
}
|
||||
|
||||
public void SetEntryPoint (MethodInfo entryMethod) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public void SetEntryPoint (MethodInfo entryMethod, PEFileKinds fileKind) => throw new PlatformNotSupportedException ();
|
||||
|
||||
public override string ToString () => throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user