You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
852
mcs/class/corlib/LinkerDescriptor/mscorlib.xml
Normal file
852
mcs/class/corlib/LinkerDescriptor/mscorlib.xml
Normal file
File diff suppressed because it is too large
Load Diff
@@ -41,7 +41,8 @@ RESOURCE_FILES = \
|
||||
resources/collation.cjkCHT.bin \
|
||||
resources/collation.cjkJA.bin \
|
||||
resources/collation.cjkKO.bin \
|
||||
resources/collation.cjkKOlv2.bin
|
||||
resources/collation.cjkKOlv2.bin \
|
||||
LinkerDescriptor/mscorlib.xml
|
||||
|
||||
REFERENCE_SOURCES_FLAGS = -d:FEATURE_PAL,GENERICS_WORK,FEATURE_LIST_PREDICATES,FEATURE_SERIALIZATION,FEATURE_ASCII,FEATURE_LATIN1,FEATURE_UTF7,FEATURE_UTF32,MONO_HYBRID_ENCODING_SUPPORT,FEATURE_ASYNC_IO,NEW_EXPERIMENTAL_ASYNC_IO,FEATURE_UTF32,FEATURE_EXCEPTIONDISPATCHINFO,FEATURE_CORRUPTING_EXCEPTIONS,FEATURE_EXCEPTION_NOTIFICATIONS,FEATURE_STRONGNAME_MIGRATION,FEATURE_USE_LCID,FEATURE_FUSION,FEATURE_CRYPTO,FEATURE_X509_SECURESTRINGS,FEATURE_SYNCHRONIZATIONCONTEXT,FEATURE_SYNCHRONIZATIONCONTEXT_WAIT,HAS_CORLIB_CONTRACTS
|
||||
|
||||
|
@@ -51,7 +51,7 @@ namespace Mono {
|
||||
|
||||
// handle.h HandleStackMark
|
||||
struct HandleStackMark {
|
||||
int size;
|
||||
int size, interior_size;
|
||||
IntPtr chunk;
|
||||
}
|
||||
|
||||
|
@@ -1,12 +0,0 @@
|
||||
namespace System.Collections.Concurrent
|
||||
{
|
||||
static class HashHelpers
|
||||
{
|
||||
// Reference source has broken ConcurrentDictionary code which depends
|
||||
// on #if FEATURE_RANDOMIZED_STRING_HASHING this is a workaround not to require it
|
||||
public static object GetEqualityComparerForSerialization (object comparer)
|
||||
{
|
||||
return comparer;
|
||||
}
|
||||
}
|
||||
}
|
@@ -30,12 +30,15 @@ using System.Collections.Generic;
|
||||
|
||||
namespace System.Diagnostics.Tracing
|
||||
{
|
||||
public abstract class EventListener : IDisposable
|
||||
public class EventListener : IDisposable
|
||||
{
|
||||
protected EventListener ()
|
||||
public EventListener ()
|
||||
{
|
||||
}
|
||||
|
||||
//public event System.EventHandler<EventSourceCreatedEventArgs> EventSourceCreated;
|
||||
//public event System.EventHandler<EventWrittenEventArgs> EventWritten;
|
||||
|
||||
public static int EventSourceIndex(EventSource eventSource)
|
||||
{
|
||||
return 0;
|
||||
@@ -61,7 +64,9 @@ namespace System.Diagnostics.Tracing
|
||||
{
|
||||
}
|
||||
|
||||
protected internal abstract void OnEventWritten (EventWrittenEventArgs eventData);
|
||||
protected internal virtual void OnEventWritten (EventWrittenEventArgs eventData)
|
||||
{
|
||||
}
|
||||
|
||||
public virtual void Dispose()
|
||||
{
|
||||
|
@@ -224,14 +224,6 @@ namespace System.IO
|
||||
}
|
||||
}
|
||||
|
||||
if (access == FileAccess.Read && mode != FileMode.Create && mode != FileMode.OpenOrCreate &&
|
||||
mode != FileMode.CreateNew && !File.Exists (path)) {
|
||||
// don't leak the path information for isolated storage
|
||||
string msg = Locale.GetText ("Could not find file \"{0}\".");
|
||||
string fname = GetSecureFileName (path);
|
||||
throw new FileNotFoundException (String.Format (msg, fname), fname);
|
||||
}
|
||||
|
||||
// IsolatedStorage needs to keep the Name property to the default "[Unknown]"
|
||||
if (!anonymous)
|
||||
this.name = path;
|
||||
|
@@ -35,6 +35,7 @@ namespace System.Reflection.Emit
|
||||
[ComVisible (true)]
|
||||
[Serializable]
|
||||
[Flags]
|
||||
#region Sync with sre-internals.h
|
||||
public enum AssemblyBuilderAccess {
|
||||
Run = 1,
|
||||
Save = 2,
|
||||
@@ -42,4 +43,5 @@ namespace System.Reflection.Emit
|
||||
ReflectionOnly = 6,
|
||||
RunAndCollect = 9
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
@@ -131,7 +131,7 @@ namespace System.Reflection.Emit {
|
||||
}
|
||||
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
private extern void create_dynamic_method (DynamicMethod m);
|
||||
private static extern void create_dynamic_method (DynamicMethod m);
|
||||
|
||||
private void CreateDynMethod () {
|
||||
if (mhandle.Value == IntPtr.Zero) {
|
||||
|
@@ -71,6 +71,9 @@ namespace System.Reflection.Emit {
|
||||
return _tb.InternalResolve ();
|
||||
}
|
||||
|
||||
internal override Type RuntimeResolve () {
|
||||
return _tb.RuntimeResolve ();
|
||||
}
|
||||
|
||||
public override Assembly Assembly {
|
||||
get {
|
||||
|
@@ -87,7 +87,7 @@ namespace System.Reflection.Emit
|
||||
internal override Type InternalResolve ()
|
||||
{
|
||||
if (mbuilder != null)
|
||||
return MethodBase.GetMethodFromHandle (mbuilder.MethodHandleInternal).GetGenericArguments () [index];
|
||||
return MethodBase.GetMethodFromHandle (mbuilder.MethodHandleInternal, mbuilder.TypeBuilder.InternalResolve ().TypeHandle).GetGenericArguments () [index];
|
||||
return tbuilder.InternalResolve ().GetGenericArguments () [index];
|
||||
}
|
||||
|
||||
|
@@ -814,7 +814,7 @@ namespace System.Reflection.Emit {
|
||||
make_room (6);
|
||||
ll_emit (opcode);
|
||||
int token = token_gen.GetToken (cls, opcode != OpCodes.Ldtoken);
|
||||
if (cls is TypeBuilderInstantiation || cls is SymbolType || cls is TypeBuilder || cls is GenericTypeParameterBuilder)
|
||||
if (cls is TypeBuilderInstantiation || cls is SymbolType || cls is TypeBuilder || cls is GenericTypeParameterBuilder || cls is EnumBuilder)
|
||||
add_token_fixup (cls);
|
||||
emit_int (token);
|
||||
}
|
||||
|
@@ -77,6 +77,8 @@ namespace System.Reflection.Emit {
|
||||
Hashtable resource_writers;
|
||||
ISymbolWriter symbolWriter;
|
||||
|
||||
static bool has_warned_about_symbolWriter;
|
||||
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
private static extern void basic_init (ModuleBuilder ab);
|
||||
|
||||
@@ -107,11 +109,22 @@ namespace System.Reflection.Emit {
|
||||
|
||||
if (emitSymbolInfo) {
|
||||
Assembly asm = Assembly.LoadWithPartialName ("Mono.CompilerServices.SymbolWriter");
|
||||
if (asm == null)
|
||||
throw new TypeLoadException ("The assembly for default symbol writer cannot be loaded");
|
||||
|
||||
Type t = asm.GetType ("Mono.CompilerServices.SymbolWriter.SymbolWriterImpl", true);
|
||||
symbolWriter = (ISymbolWriter) Activator.CreateInstance (t, new object[] { this });
|
||||
Type t = null;
|
||||
if (asm != null)
|
||||
t = asm.GetType ("Mono.CompilerServices.SymbolWriter.SymbolWriterImpl");
|
||||
|
||||
if (t == null) {
|
||||
WarnAboutSymbolWriter ("Failed to load the default Mono.CompilerServices.SymbolWriter assembly");
|
||||
} else {
|
||||
try {
|
||||
symbolWriter = (ISymbolWriter) Activator.CreateInstance (t, new object[] { this });
|
||||
} catch (System.MissingMethodException) {
|
||||
WarnAboutSymbolWriter ("The default Mono.CompilerServices.SymbolWriter is not available on this platform");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
string fileName = fqname;
|
||||
if (assemblyb.AssemblyDir != null)
|
||||
fileName = Path.Combine (assemblyb.AssemblyDir, fileName);
|
||||
@@ -119,6 +132,15 @@ namespace System.Reflection.Emit {
|
||||
}
|
||||
}
|
||||
|
||||
static void WarnAboutSymbolWriter (string message)
|
||||
{
|
||||
if (has_warned_about_symbolWriter)
|
||||
return;
|
||||
|
||||
has_warned_about_symbolWriter = true;
|
||||
Console.Error.WriteLine ("WARNING: {0}", message);
|
||||
}
|
||||
|
||||
public override string FullyQualifiedName {get { return fqname;}}
|
||||
|
||||
public bool IsTransient () {
|
||||
@@ -727,6 +749,14 @@ namespace System.Reflection.Emit {
|
||||
token = typedef_tokengen --;
|
||||
else
|
||||
token = typeref_tokengen --;
|
||||
} else if (member is EnumBuilder) {
|
||||
token = GetPseudoToken ((member as EnumBuilder).GetTypeBuilder(), create_open_instance);
|
||||
if (create_open_instance)
|
||||
inst_tokens_open[member] = token;
|
||||
else
|
||||
inst_tokens[member] = token;
|
||||
// n.b. don't register with the runtime, the TypeBuilder already did it.
|
||||
return token;
|
||||
} else if (member is ConstructorBuilder) {
|
||||
if (member.Module == this && !(member as ConstructorBuilder).TypeBuilder.ContainsGenericParameters)
|
||||
token = methoddef_tokengen --;
|
||||
@@ -757,7 +787,8 @@ namespace System.Reflection.Emit {
|
||||
}
|
||||
|
||||
internal int GetToken (MemberInfo member, bool create_open_instance) {
|
||||
if (member is TypeBuilderInstantiation || member is FieldOnTypeBuilderInst || member is ConstructorOnTypeBuilderInst || member is MethodOnTypeBuilderInst || member is SymbolType || member is FieldBuilder || member is TypeBuilder || member is ConstructorBuilder || member is MethodBuilder || member is GenericTypeParameterBuilder)
|
||||
if (member is TypeBuilderInstantiation || member is FieldOnTypeBuilderInst || member is ConstructorOnTypeBuilderInst || member is MethodOnTypeBuilderInst || member is SymbolType || member is FieldBuilder || member is TypeBuilder || member is ConstructorBuilder || member is MethodBuilder || member is GenericTypeParameterBuilder ||
|
||||
member is EnumBuilder)
|
||||
return GetPseudoToken (member, create_open_instance);
|
||||
return getToken (this, member, create_open_instance);
|
||||
}
|
||||
@@ -850,6 +881,8 @@ namespace System.Reflection.Emit {
|
||||
finished = (member as FieldBuilder).RuntimeResolve ();
|
||||
} else if (member is TypeBuilder) {
|
||||
finished = (member as TypeBuilder).RuntimeResolve ();
|
||||
} else if (member is EnumBuilder) {
|
||||
finished = (member as EnumBuilder).RuntimeResolve ();
|
||||
} else if (member is ConstructorBuilder) {
|
||||
finished = (member as ConstructorBuilder).RuntimeResolve ();
|
||||
} else if (member is MethodBuilder) {
|
||||
|
@@ -1,86 +0,0 @@
|
||||
//
|
||||
// System.Reflection.ReflectionTypeLoadException
|
||||
//
|
||||
// Sean MacIsaac (macisaac@ximian.com)
|
||||
// Dunan Mak (duncan@ximian.com)
|
||||
//
|
||||
// (C) 2001 Ximian, Inc.
|
||||
//
|
||||
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
using System.Globalization;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Reflection
|
||||
{
|
||||
[ComVisible (true)]
|
||||
[Serializable]
|
||||
public sealed class ReflectionTypeLoadException : SystemException
|
||||
{
|
||||
// Fields
|
||||
private Exception[] loaderExceptions;
|
||||
private Type[] types;
|
||||
|
||||
// Constructors
|
||||
public ReflectionTypeLoadException (Type[] classes, Exception[] exceptions)
|
||||
: base (Locale.GetText ("The classes in the module cannot be loaded."))
|
||||
{
|
||||
loaderExceptions = exceptions;
|
||||
types = classes;
|
||||
}
|
||||
|
||||
public ReflectionTypeLoadException (Type[] classes, Exception[] exceptions, string message)
|
||||
: base (message)
|
||||
{
|
||||
loaderExceptions = exceptions;
|
||||
types = classes;
|
||||
}
|
||||
|
||||
private ReflectionTypeLoadException (SerializationInfo info, StreamingContext sc): base (info, sc)
|
||||
{
|
||||
types = (Type[]) info.GetValue ("Types", typeof (Type[]));
|
||||
loaderExceptions = (Exception[]) info.GetValue ("Exceptions", typeof (Exception[]));
|
||||
}
|
||||
|
||||
// Properties
|
||||
public Type[] Types
|
||||
{
|
||||
get { return types; }
|
||||
}
|
||||
|
||||
public Exception[] LoaderExceptions
|
||||
{
|
||||
get { return loaderExceptions; }
|
||||
}
|
||||
|
||||
public override void GetObjectData (SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
base.GetObjectData (info, context);
|
||||
info.AddValue ("Types", types);
|
||||
info.AddValue ("Exceptions", loaderExceptions);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@@ -1,48 +0,0 @@
|
||||
//
|
||||
// System.Runtime.InteropServices.CALLCONV.cs
|
||||
//
|
||||
// Author:
|
||||
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
|
||||
//
|
||||
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Obsolete]
|
||||
[Serializable]
|
||||
public enum CALLCONV
|
||||
{
|
||||
CC_CDECL = 1,
|
||||
CC_PASCAL = 2,
|
||||
CC_MSCPASCAL = 2,
|
||||
CC_MACPASCAL = 3,
|
||||
CC_STDCALL = 4,
|
||||
CC_RESERVED = 5,
|
||||
CC_SYSCALL = 6,
|
||||
CC_MPWCDECL = 7,
|
||||
CC_MPWPASCAL = 8,
|
||||
CC_MAX = 9
|
||||
}
|
||||
}
|
@@ -1,44 +0,0 @@
|
||||
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
// System.Runtime.InteropServices/DISPPARAMS.cs
|
||||
//
|
||||
// Paolo Molaro (lupus@ximian.com)
|
||||
//
|
||||
// (C) 2002 Ximian, Inc.
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Obsolete]
|
||||
[StructLayout (LayoutKind.Sequential, CharSet = CharSet.Unicode)]
|
||||
public struct DISPPARAMS {
|
||||
public IntPtr rgvarg;
|
||||
public IntPtr rgdispidNamedArgs;
|
||||
public int cArgs;
|
||||
public int cNamedArgs;
|
||||
}
|
||||
}
|
||||
|
@@ -1,50 +0,0 @@
|
||||
//
|
||||
// System.Runtime.InteropServices.ELEMDESC.cs
|
||||
//
|
||||
// Author:
|
||||
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
|
||||
//
|
||||
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Obsolete]
|
||||
[StructLayout (LayoutKind.Sequential, CharSet = CharSet.Unicode)]
|
||||
public struct ELEMDESC
|
||||
{
|
||||
public TYPEDESC tdesc;
|
||||
public DESCUNION desc;
|
||||
|
||||
[ComVisible (false)]
|
||||
[StructLayout (LayoutKind.Explicit, CharSet = CharSet.Unicode)]
|
||||
public struct DESCUNION
|
||||
{
|
||||
[FieldOffset (0)]
|
||||
public IDLDESC idldesc;
|
||||
[FieldOffset (0)]
|
||||
public PARAMDESC paramdesc;
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,53 +0,0 @@
|
||||
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
// System.Runtime.InteropServices/EXCEPINFO.cs
|
||||
//
|
||||
// Paolo Molaro (lupus@ximian.com)
|
||||
//
|
||||
// (C) 2002 Ximian, Inc.
|
||||
|
||||
using System;
|
||||
|
||||
#if !FULL_AOT_RUNTIME
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Obsolete]
|
||||
[StructLayout (LayoutKind.Sequential, CharSet = CharSet.Unicode)]
|
||||
public struct EXCEPINFO {
|
||||
public short wCode;
|
||||
public short wReserved;
|
||||
[MarshalAs (UnmanagedType.BStr)]
|
||||
public string bstrSource;
|
||||
[MarshalAs (UnmanagedType.BStr)]
|
||||
public string bstrDescription;
|
||||
[MarshalAs (UnmanagedType.BStr)]
|
||||
public string bstrHelpFile;
|
||||
public int dwHelpContext;
|
||||
public IntPtr pvReserved;
|
||||
public IntPtr pfnDeferredFillIn;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
@@ -1,50 +0,0 @@
|
||||
//
|
||||
// System.Runtime.InteropServices.FUNCDESC.cs
|
||||
//
|
||||
// Author:
|
||||
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
|
||||
//
|
||||
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Obsolete]
|
||||
[StructLayout (LayoutKind.Sequential)]
|
||||
public struct FUNCDESC
|
||||
{
|
||||
public int memid;
|
||||
public IntPtr lprgscode;
|
||||
public IntPtr lprgelemdescParam;
|
||||
public FUNCKIND funckind;
|
||||
public INVOKEKIND invkind;
|
||||
public CALLCONV callconv;
|
||||
public short cParams;
|
||||
public short cParamsOpt;
|
||||
public short oVft;
|
||||
public short cScodes;
|
||||
public ELEMDESC elemdescFunc;
|
||||
public short wFuncFlags;
|
||||
}
|
||||
}
|
@@ -1,53 +0,0 @@
|
||||
//
|
||||
// System.Runtime.InteropServices.FUNCFLAGS.cs
|
||||
//
|
||||
// Author:
|
||||
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
|
||||
//
|
||||
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
using System;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Obsolete]
|
||||
[Flags, Serializable]
|
||||
public enum FUNCFLAGS
|
||||
{
|
||||
FUNCFLAG_FRESTRICTED = 1,
|
||||
FUNCFLAG_FSOURCE = 2,
|
||||
FUNCFLAG_FBINDABLE = 4,
|
||||
FUNCFLAG_FREQUESTEDIT = 8,
|
||||
FUNCFLAG_FDISPLAYBIND = 16,
|
||||
FUNCFLAG_FDEFAULTBIND = 32,
|
||||
FUNCFLAG_FHIDDEN = 64,
|
||||
FUNCFLAG_FUSESGETLASTERROR = 128,
|
||||
FUNCFLAG_FDEFAULTCOLLELEM = 256,
|
||||
FUNCFLAG_FUIDEFAULT = 512,
|
||||
FUNCFLAG_FNONBROWSABLE = 1024,
|
||||
FUNCFLAG_FREPLACEABLE = 2048,
|
||||
FUNCFLAG_FIMMEDIATEBIND = 4096
|
||||
}
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
//
|
||||
// System.Runtime.InteropServices.FUNCKIND.cs
|
||||
//
|
||||
// Author:
|
||||
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
|
||||
//
|
||||
|
||||
//
|
||||
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
// "Software"), to deal in the Software without restriction, including
|
||||
// without limitation the rights to use, copy, modify, merge, publish,
|
||||
// distribute, sublicense, and/or sell copies of the Software, and to
|
||||
// permit persons to whom the Software is furnished to do so, subject to
|
||||
// the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be
|
||||
// included in all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
[Obsolete]
|
||||
[Serializable]
|
||||
public enum FUNCKIND
|
||||
{
|
||||
FUNC_VIRTUAL = 0,
|
||||
FUNC_PUREVIRTUAL = 1,
|
||||
FUNC_NONVIRTUAL = 2,
|
||||
FUNC_STATIC = 3,
|
||||
FUNC_DISPATCH = 4
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user