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
@@ -0,0 +1,26 @@
|
||||
#if !MONO_FEATURE_SRE
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Reflection.Emit {
|
||||
|
||||
[Obsolete ("An alternate API is available: Emit the MarshalAs custom attribute instead.")]
|
||||
[ComVisible (true)]
|
||||
[Serializable]
|
||||
[StructLayout (LayoutKind.Sequential)]
|
||||
public sealed class UnmanagedMarshal {
|
||||
|
||||
private UnmanagedMarshal () {}
|
||||
|
||||
public UnmanagedType BaseType { get { throw new PlatformNotSupportedException (); } }
|
||||
public int ElementCount { get { throw new PlatformNotSupportedException (); } }
|
||||
public UnmanagedType GetUnmanagedType { get { throw new PlatformNotSupportedException (); } }
|
||||
public System.Guid IIDGuid { get { throw new PlatformNotSupportedException (); } }
|
||||
|
||||
public static UnmanagedMarshal DefineByValArray (int elemCount) => throw new PlatformNotSupportedException ();
|
||||
public static UnmanagedMarshal DefineByValTStr (int elemCount) => throw new PlatformNotSupportedException ();
|
||||
public static UnmanagedMarshal DefineLPArray (UnmanagedType elemType) => throw new PlatformNotSupportedException ();
|
||||
public static UnmanagedMarshal DefineUnmanagedMarshal (UnmanagedType unmanagedType) => throw new PlatformNotSupportedException ();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user