Commit Graph
151 Commits
Author SHA1 Message Date
Gert Driesen 6ad343a846 * COMException.cs: Added missing colon in ToString.
svn path=/trunk/mcs/; revision=92808
2008-01-13 17:24:39 +00:00
Gert Driesen f530096640 * corlib_test.dll.sources: added ExternalExceptionTest.cs.
* ExternalException.cs: Set HResult to match MS.
* ExternalExceptionTest.cs: Added ctor tests.

svn path=/trunk/mcs/; revision=90631
2007-12-04 10:38:09 +00:00
Sebastien Pouliot 33025a0174 2007-11-05 Sebastien Pouliot <[email protected]>
* ComVisible.cs: Fix parameter name (part of #322850).


svn path=/trunk/mcs/; revision=88886
2007-11-05 16:39:05 +00:00
Zoltan Varga 50b7bec28c 2007-09-14 Zoltan Varga <[email protected]>
* GCHandle.cs (AddrOfPinnedObject): Use -2 to communicate that the handle is not
	pinned. Correct exception message. Fixes #82848.

svn path=/trunk/mcs/; revision=85803
2007-09-14 14:40:30 +00:00
Atsushi Eno 56c9656fd4 another set of cosmetic 2.0 API fixes.
svn path=/trunk/mcs/; revision=83679
2007-08-08 16:25:59 +00:00
Miguel de Icaza 9c8e7cd0c7 2007-07-18 Miguel de Icaza <[email protected]>
* SafeHandle.cs: Harden this, do not call ReleaseHandle if the
	handle is invalid.

	* CriticalHandle.cs: Harden this, do not call ReleaseHandle if the
	handle is invalid. 



svn path=/trunk/mcs/; revision=82260
2007-07-19 00:20:40 +00:00
Jonathan Chambers 9fa11ca21f 2007-07-06 Jonathan Chambers <[email protected]>
* ExtensibleClassFactory.cs: Fix ExtensibleClassFactory.
	* __ComObject.cs: Support ExtensibleClassFactory.

svn path=/trunk/mcs/; revision=81494
2007-07-06 16:44:09 +00:00
Jonathan Chambers 6b96d5a052 2007-06-22 Jonathan Chambers <[email protected]>
* __ComObject.cs: Move interface lookup to unmanaged.

2007-06-22  Jonathan Chambers  <[email protected]>

	* __ComObject.cs (ThrowExceptionForHR): Implement/consolidate.
	* __ComObject.cs (GetExceptionForHR): Implement/consolidate.


svn path=/trunk/mcs/; revision=80567
2007-06-22 18:45:29 +00:00
Jonathan Chambers 38abb1c3fd 2007-05-11 Jonathan Chambers <[email protected]>
* Marshal.cs (SecureStringToBSTR): BSTR header is size in bytes,
	not string length.


svn path=/trunk/mcs/; revision=77252
2007-05-11 19:53:11 +00:00
Jonathan Chambers 8cedf64fb3 2007-05-02 Jonathan Chambers <[email protected]>
* ExtensibleClassFactory.cs: Don't use un-implemented overload.


svn path=/trunk/mcs/; revision=76581
2007-05-02 17:53:45 +00:00
Dick Porter a084d7f6f3 2007-05-02 Dick Porter <[email protected]>
* _ConstructorInfo.cs: 
	* _EventInfo.cs: 
	* _Exception.cs: 
	* _FieldInfo.cs: 
	* _MemberInfo.cs: 
	* _MethodBase.cs: 
	* _MethodInfo.cs: 
	* _PropertyInfo.cs: 
	* _Type.cs: 
	* UCOMIMoniker.cs: 
	* AutomationProxyAttribute.cs: 
	* BestFitMappingAttribute.cs: 
	* BStrWrapper.cs: 
	* ClassInterfaceAttribute.cs: 
	* CoClassAttribute.cs: 
	* ComAliasNameAttribute.cs: 
	* ComCompatibleVersionAttribute.cs: 
	* ComConversionLossAttribute.cs: 
	* ComDefaultInterfaceAttribute.cs: 
	* ComEventInterfaceAttribute.cs: 
	* COMException.cs: 
	* ComImportAttribute.cs: 
	* ComObjectInUseException.cs: 
	* ComRegisterFunctionAttribute.cs: 
	* ComUnregisterFunctionAttribute.cs: 
	* ComVisible.cs: 
	* CriticalHandle.cs: 
	* CurrencyWrapper.cs: 
	* DefaultCharSetAttribute.cs: 
	* DispatchWrapper.cs: 
	* DispIdAttribute.cs: 
	* ErrorWrapper.cs: 
	* ExtensibleClassFactory.cs: 
	* ExternalException.cs: 
	* Marshal.cs: 
	* SafeHandle.cs: 
	* StructLayoutAttribute.cs: 
	* TypeLibConverter.cs: 
	* ArrayWithOffset.cs: 
	* BIND_OPTS.cs: 
	* BINDPTR.cs: 
	* CONNECTDATA.cs: 
	* DISPPARAMS.cs: 
	* ELEMDESC.cs: 
	* EXCEPINFO.cs: 
	* PARAMDESC.cs: 
	* TYPELIBATTR.cs: 
	* VARDESC.cs: 
	* CALLCONV.cs: 
	* CallingConvention.cs: 
	* CharSet.cs: 
	* ClassInterfaceType.cs: 
	* ComInterfaceType.cs: 
	* ComMemberType.cs: 
	* DESCKIND.cs: 
	* ExporterEventKind.cs: 
	* PARAMFLAG.cs: 
	* RegistrationClassContext.cs: 
	* TYPEKIND.cs: 
	* TypeLibImporterFlags.cs: 
	* UnmanagedType.cs: 
	* VARFLAGS.cs: Update to 2.0 profile



svn path=/trunk/mcs/; revision=76579
2007-05-02 16:38:28 +00:00
Alp Toker 401e8d8b0b 2007-04-15 Alp Toker <[email protected]>
* Marshal.cs: Add new 2.0 Copy() from IntPtr[] overload.


svn path=/trunk/mcs/; revision=75709
2007-04-15 00:26:20 +00:00
Raja R Harinath 3d693eeb90 In corlib/System.Runtime.InteropServices:
* DefaultParameterValueAttribute.cs: Move to System.dll.

In System/System.Runtime.InteropServices:
	* StandardOleMarshalObject.cs: New .net2.0 class.
	* DefaultParameterValueAttribute.cs: Move here from corlib.

svn path=/trunk/mcs/; revision=74124
2007-03-12 13:31:45 +00:00
Jonathan Chambers ae845f152d 2007-02-08 Jonathan Chambers <[email protected]>
Add support for COM Callable Wrappers.


svn path=/trunk/mcs/; revision=72505
2007-02-08 19:17:49 +00:00
Marek Habersack b1a6b94939 Implement a missing Marshal.Copy overload
svn path=/trunk/mcs/; revision=71908
2007-01-29 19:46:31 +00:00
Jonathan Chambers c7385fd3d9 2007-01-11 Jonathan Chambers <[email protected]>
* Marshal.cs: Implement Marshal.ReAllocCoTaskMem.


svn path=/trunk/mcs/; revision=70880
2007-01-11 20:01:29 +00:00
Miguel de Icaza 0c2553a2bf 2007-01-03 Miguel de Icaza <[email protected]>
* SafeHandle.cs: Do not use locks in SafeHandle to protect the
	access to the refcount, use Interlocked.CompareExchange.  The
	locks were the source of problems with domain finalization when
	this code was enabled.

	This should fix Matt Hargett's bug report with a full `make check'
	that reported variations of:

	** (../../class/lib/net_2_0/nunit-console.exe:29644): WARNING **:
	Finalization of domain <domainname> timed out.

	Also, it is a lot lighther.


svn path=/trunk/mcs/; revision=70433
2007-01-03 19:50:44 +00:00
Miguel de Icaza c694fb8e63 A little more work of CorCompare work:
2006-12-21  Miguel de Icaza  <[email protected]>

	* CriticalHandle.cs: Add Dispose(bool disposing) method, and
	refactor. 


svn path=/trunk/mcs/; revision=69920
2006-12-22 01:05:58 +00:00
Miguel de Icaza 48b34f32e8 This patch contains:
SafeWaitHandle support for WaitHandles (2.0)

        A few APIs implemented from Marshal.

2006-12-11  Miguel de Icaza  <[email protected]>

        * WaitHandle.cs: In 2.0 use SafeWaitHandles and the SafeWaitHandle
        patterns instead of using directly the IntPtr Handle.

        Refactor the code to reuse as much as possible, and follow the new
        conventions where appropriate.

2006-12-15  Miguel de Icaza  <[email protected]>

        * Marshal.cs (SecureStringToCoTaskMemAnsi, SecureStringToBSTR,
        SecureStringToCoTaskMemUnicode, ZeroFreeCoTaskMemAnsi,
        ZeroFreeCoTaskMemUnicode, ZeroFreeGlobalAllocAnsi,
        ZeroFreeGlobalAllocUnicode): Implement.

        (StringToCoTaskAuto): return the same as Ansi.

        The ANSI code is out of sync with Mono, which treats ANSI as
        UTF-8.

        Code formatting changes



svn path=/trunk/mcs/; revision=69552
2006-12-15 22:49:32 +00:00
Gert Driesen 69bf9822cd * Marshal.cs: Use SystemDefaultCharSize to determine whether to
use Ansi or Unicode variant of StringToCoTaskMem.

svn path=/trunk/mcs/; revision=69534
2006-12-15 16:26:13 +00:00
Miguel de Icaza e857759fbc 2006-12-15 Miguel de Icaza <[email protected]>
* Marshal.cs (StringToCoTaskAuto): return the same as Ansi.  

svn path=/trunk/mcs/; revision=69525
2006-12-15 05:34:51 +00:00
Miguel de Icaza d118a46d80 2006-12-15 Miguel de Icaza <[email protected]>
* Marshal.cs: Code formatting changes

svn path=/trunk/mcs/; revision=69524
2006-12-15 05:31:04 +00:00
Miguel de Icaza 24f79898c5 2006-12-11 Miguel de Icaza <[email protected]>
* SafeHandle.cs: Fix a handful of bugs, and add tests for them.
	Only release the handle if its owned by us.  Also throw
	ObjectDisposedException's


svn path=/trunk/mcs/; revision=69378
2006-12-12 00:40:52 +00:00
Miguel de Icaza a7aa6fc381 The managed side:
2006-12-11  Miguel de Icaza  <[email protected]>

	* SafeHandle.cs: Implement finalizer.

	DangerousAddRef will now throw an exception if the object was
	disposed.

2006-12-10  Miguel de Icaza  <[email protected]>

	* SafeFileHandle.cs: Implement this one.



svn path=/trunk/mcs/; revision=69296
2006-12-11 06:48:40 +00:00
Miguel de Icaza 5c6fc3889d 2006-12-02 Miguel de Icaza <[email protected]>
* SafeHandle.cs: Implement this class.

2006-12-02  Miguel de Icaza  <[email protected]>

	* SafeFileHandle.cs: Remove the IsInvalid method, as that is
	present in the base class.


svn path=/trunk/mcs/; revision=68875
2006-12-02 05:27:35 +00:00
Miguel de Icaza 61baf96128 Rationalize MonoTODO
svn path=/trunk/mcs/; revision=68716
2006-11-30 00:31:29 +00:00
Jonathan Chambers 03be20a099 2006-10-06 Jonathan Chambers <[email protected]>
* ExtensibleClassFactory.cs: Implement RegisterObjectCreationCallback.
	

svn path=/trunk/mcs/; revision=66358
2006-10-06 15:19:32 +00:00
Robert Jordan 7266ed972c 2006-08-31 Robert Jordan <[email protected]>
* Marshal.cs: Replaced the *Auto internal calls with managed
	variants. Fixed SystemDefaultCharSize to return an OS dependent
	value.


svn path=/trunk/mcs/; revision=64659
2006-08-31 19:53:57 +00:00
Jonathan Chambers f929cddf15 2006-08-10 Jonathan Chambers <[email protected]>
* ComInteropProxy.cs: Fix default constructor being always
	being called.
	* Marshal.cs: Implement GetIDispatchForObject.
	* __ComObject.cs: Added defintion of IDispatch interface, and
	property. Get CLSID of supertype for creation if class not
	ComImport attributed (allows for inheritance of RCW).
	* MonoType.cs: Implement IsCOMObjectImpl.

svn path=/trunk/mcs/; revision=63630
2006-08-11 02:28:50 +00:00
Gert Driesen c0bf457b7b * Marshal.cs: Added stubs for GetTypeLibGuid (ITypeLib), GetTypeLibLcid
(ITypeLib), GetTypeLibName (ITypeLib).

svn path=/trunk/mcs/; revision=63426
2006-08-07 11:07:48 +00:00
Jonathan Chambers 77078da9e7 2006-07-28 Jonathan Chambers <[email protected]>
Added support for marshalling COM RCWs.

svn path=/trunk/mcs/; revision=63104
2006-07-28 19:12:52 +00:00
Jonathan Chambers a4f8889331 2006-07-15 Jonathan Chambers <[email protected]>
Begin implementing COM Interop.

svn path=/trunk/mcs/; revision=62639
2006-07-15 13:13:55 +00:00
Miguel de Icaza 2659b1973a Add basic support for Marshal.GetHRForException from Kornel Pal
svn path=/trunk/mcs/; revision=62550
2006-07-13 05:42:36 +00:00
Jonathan Chambers 23a48c9e75 Implement Marshal.GetComSlotForMethodInfo
svn path=/trunk/mcs/; revision=61566
2006-06-08 13:15:50 +00:00
Jonathan Chambers dc4b3eb2a5 Add VARIANT marshalling to mono on windows.
svn path=/trunk/mcs/; revision=61484
2006-06-06 13:29:29 +00:00
Zac Bowling 6f4592ab24 2006-05-20 Zac Bowling <[email protected]>
* VarEnum.cs: ComVisible Attribute (2.0)
        * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
        * UCOMITypeInfo.cs: ComImport Attribute (1.x)
        * UCOMITypeComp.cs: ComImport Attribute (1.x)
        * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
        * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
        * ProgIdAttribute.cs: ComVisible Attribute (2.0)
        * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
        * ImporterEventKind.cs: ComVisible Attribute (2.0)
        * UCOMIPersistFile.cs: ComImport Attribute (1.x)
        * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
        Attribute (2.0)
        * IRegistrationServices.cs: ComVisible Attribute and CAS
Attributes (2.0)
        * InAttribute.cs: ComVisible Attribute (2.0)
        * UCOMIMoniker.cs: ComImport Attribute (1.x)
        * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
        * IDLDESC.cs: ComVisible Attribute (1.x)
        * FUNCFLAGS.cs: ComVisible Attribute (1.x)
        * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
        * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
        * ICustomMarshaler.cs: ComVisible Attribute (2.0)
        * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
        * ICustomAdapter.cs: ComVisible Attribute (2.0)
        * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and
Param
        Signature of UnmanagedFunctionPointerAttribute(...)
        * FUNCKIND.cs: ComVisble Attribute (1.x)
        * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) +
Missing in
        2.0
        * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
        * ITypeLibConverter.cs: ComVisible Attribute (2.0)
        * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
        * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
        * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
        * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
        * SYSKIND.cs: ComVisible Attribute (1.x)
        * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
        * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to
1.x (not
        a 2.0 exclusive class)
        * OutAttribute.cs: ComVisible Attribute (2.0)
        * InvalidComObjectException.cs: ComVisible Attribute (2.0)
        * SEHException.cs: ComVisible Attribute (2.0)
        * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
        * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
        Serializable
        * OptionalAttribute.cs: ComVisible Attribute (2.0)
        * TYPEDESC.cs: ComVisible Attribute (1.x)
        * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
        (not a 2.0 exclusive class)
        * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
        * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
        * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
        * DllImportAttribute.cs: ComVisible Attribute (2.0)
        * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
        * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
        * IDFLAGS.cs: ComVisible Attribute (1.x only)
        * RegistrationClassContext.cs: License + Flags attribute (2.0)
        * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
        * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
        * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
        * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
        * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
        * FUNCDESC.cs: ComVisible Attribute (1.x)
        * RegistrationConnectionType.cs: Flags Attribute (2.0)
        * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
        * TypeLibConverter.cs: ComVisible (2.0)
        * INVOKEKIND.cs: ComVisible Attribute (1.x)
        * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
        * ICustomFactory.cs: ComVisible Attribute (2.0)
        * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
        * LIBFLAGS.cs: ComVisible Attribute (1.x)
        * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
        * STATSTG.cs: ComVisible Attribute (1.x)
        * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
        * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
        * TYPEFLAGS.cs: ComVisible Attribute (1.x)
        * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
        * TYPEATTR.cs: ComVisible Attribute (1.x)
        * GuidAttribute.cs: ComVisible Attribute (2.0)
        * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) +
Expose to
        1.x (not a 2.0 exclusive)
        * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
        * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
        * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
        MarshelAs VarEnum Type.
        * UCOMIStream.cs: ComImport Attribute (1.x)
        * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
        * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
        * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
        * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
        * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0) 



svn path=/trunk/mcs/; revision=60932
2006-05-21 22:56:53 +00:00
Jonathan Chambers e5470d8778 2006-05-02 Jonathan Chambers <[email protected]>
* Marshal.cs: Implement BSTR methods

svn path=/trunk/mcs/; revision=60202
2006-05-03 02:57:39 +00:00
Ben Maurer 2075f554c9 In Microsoft.Win32.SafeHandles:
2006-01-12  Ben Maurer  <[email protected]>

	* SafeHandleZeroOrMinusOneIsInvalid.cs: Update to RTM api

	* SafeFileHandle.cs: Update to RTM api

In System.Runtime.InteropServices:
2006-01-12  Ben Maurer  <[email protected]>

	* SafeHandle.cs: Update to RTM api


svn path=/trunk/mcs/; revision=55474
2006-01-13 03:20:13 +00:00
Zoltan Varga 345dfd3075 2005-11-17 Zoltan Varga <[email protected]>
* DefaultParameterValueAttribute.cs: New file.

svn path=/trunk/mcs/; revision=53212
2005-11-17 22:23:06 +00:00
Miguel de Icaza 1a5c713548 Just a snack:
2005-11-11  Miguel de Icaza  <[email protected]>

	* Encoding.cs, UnicodeEncoding.cs: A few 2.x methods. 

	* StringBuilder.cs (Text): Added serialization support in 2.x. 


svn path=/trunk/mcs/; revision=52916
2005-11-11 16:43:36 +00:00
Sebastien Pouliot 506b6ecb88 2005-10-28 Sebastien Pouliot <[email protected]>
* Marshal.cs: Added null check in SecureStringTo* methods and make 
	them throw a NotSupportedException otherwise (as existing code must
	deal with this anyway). Fixed Uni -> Unicode method name changes.


svn path=/trunk/mcs/; revision=52326
2005-10-28 14:55:30 +00:00
Sebastien Pouliot f6d48846d8 2005-09-25 Sebastien Pouliot <[email protected]>
* UCOMIBindCtx.cs, UCOMIConnectionPoint.cs, 
	UCOMIConnectionPointContainer.cs, UCOMIEnumConnectionPoints.cs,
	UCOMIEnumConnections.cs, UCOMIEnumMoniker.cs, UCOMIEnumString.cs,
	UCOMIEnumVARIANT.cs, UCOMIMoniker.cs, UCOMIPersistFile.cs, 
	UCOMIRunningObjectTable.cs, UCOMIStream.cs, UCOMITypeComp.cs,
	UCOMITypeInfo.cs, UCOMITypeLib.cs: Remove [ComImport] from the default
	profile (this is new in 2.0) and reduce corcompare extras by 15.


svn path=/trunk/mcs/; revision=50739
2005-09-26 02:17:00 +00:00
Kornél Pál 612b39a641 Removed UnmanagedType_80 that was required because mcs bug #75945 was not discovered.
svn path=/trunk/mcs/; revision=50361
2005-09-21 10:17:55 +00:00
Gert Driesen bc03e9a8f3 * SetWin32ContextInIDispatchAttribute.cs: Make this attribute also
available in 1.0 profile (.NET 1.1).
* VariantWrapper.cs: Class is also exposed in .NET 1.1. Only
serializable in 2.0 profile.

svn path=/trunk/mcs/; revision=48345
2005-08-12 19:54:57 +00:00
Zoltan Varga dc17f0c8b8 2005-08-10 Zoltan Varga <[email protected]>
* SafeHandle.cs: New file.

svn path=/trunk/mcs/; revision=48223
2005-08-10 13:30:19 +00:00
Gert Driesen 80d96c870d * AssemblyInfo.cs: Fixed AssemblyDescription to match MS.NET.
* Array.cs: Changed protected ctor to private. Fixes API compatibility
with MS.NET.
* RuntimeFieldHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeMethodHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* RuntimeTypeHandle.cs: Equals methods and GetHashCode should only
be exposed in 2.0 profile.
* Type.cs: Added GetType method and implemented _Type interface.
Fixes API compatibility with MS.NET.
* corlib.dll.sources: Added System.Runtime.InteropServices/
TypeLibImportClassAttribute.cs.
* _Activator.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _Assembly.cs: ComVisible should only be set in 2.0 profile. Added
TypeLibImportClass attribute. Fixes InterfaceType to match MS.NET.
* _AssemblyBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _AssemblyName.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _Attribute.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ConstructorBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ConstructorInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _CustomAttributeBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _EnumBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _EventBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _EventInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _FieldBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _FieldInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _ILGenerator.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _LocalBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _MemberInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _MethodBase.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _MethodInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _MethodBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _MethodRental.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _Module.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ModuleBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ParameterBuilder.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _ParameterInfo.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _PropertyBuilder.cs: ComVisible should only be setin 2.0 profile.
Added TypeLibImportClass attribute.
* _PropertyInfo.cs: Fixed InterfaceType to match MS.NET. Added
TypeLibImportClass attribute. Added missing methods.
* _SignatureHelper.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _Type.cs: Added TypeLibImportClass attribute. Fixed InterfaceType
to match MS.NET. Added missing method to match MS.NET.
* _Thread.cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* _TypeBuilder:cs: ComVisible should only be set in 2.0 profile.
Added TypeLibImportClass attribute.
* Marshal.cs: Removed MarshalAs attribute from parameter to fix
API compatibility with MS.NET.
* TypeLibImportClassAttribute.cs: Added.
* AssemblyBuilder.cs: Implement _AssemblyBuilder, CA fixes to
correspond with MS.NET
* ConstructorBuilder.cs: Implement _ConstructorBuilder, CA fixes to
correspond with MS.NET
* CustomAttributeBuilder.cs: Implement _CustomAttributeBuilder, CA
fixes to correspond with MS.NET
* EnumBuilder.cs: Implement _EnumBuilder, CA fixes to correspond with
MS.NET
* EventBuilder.cs: Implement _EventBuilder, CA fixes to correspond
with MS.NET
* FieldBuilder.cs: Implement _FieldBuilder, CA fixes to correspond
with MS.NET
* LocalBuilder.cs: Implement _LocalBuilder, CA fixes to correspond
with MS.NET
* MethodBuilder.cs: Implement _MethodBuilder, CA fixes to correspond
with MS.NET
* MethodRental.cs: CA fixes to correspond with MS.NET, implemented
_MethodRental.
* ModuleBuilder.cs: Implement _ModuleBuilder, CA fixes to correspond
with MS.NET
* ILGenerator.cs: Implement _ILGenerator, CA fixes to correspond
with MS.NET
* ParameterBuilder.cs Implement _ParameterBuilder, CA fixes to
correspond with MS.NET
* PropertyBuilder.cs: Implement _PropertyBuilder, CA fixes to
correspond with MS.NET
* SignatureHelper.cs: Implement _SignatureHelper, CA fixes to
correspond with MS.NET
* TypeBuilder.cs: Implement _TypeBuilder, CA fixes to correspond
with MS.NET
* DecimalConstantAttribute.cs: Only mark ctor not CLSCompliant on 2.0
profile to match MS.NET.
* Assembly.cs: Added GetType() method in 1.1 to match MS.NET.
* ConstructorInfo.cs: Added GetType() method in 1.1 to match
MS.NET, implemented _ConstructorInfo.
* EventInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _EventInfo.
* FieldInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _FieldInfo.
* MemberInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _MemberInfo.
* MethodBase.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _MethodBase.
* MethodInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _MethodInfo.
* PropertyInfo.cs: Added GetType() method in 1.1 to match MS.NET,
implemented _PropertyInfo.
* TypeAttributes.cs: CustomFormatMask and CustomFormatClass should
only be exposed in 2.0 profile.

svn path=/trunk/mcs/; revision=48059
2005-08-06 12:13:01 +00:00
Zoltan Varga 6cefb7c08b 2005-07-06 Zoltan Varga <[email protected]>
* GCHandle.cs: Add 2.0 FromIntPtr/ToIntPtr methods.

svn path=/trunk/mcs/; revision=46997
2005-07-06 13:43:46 +00:00
Sebastien Pouliot 8111ea2d14 2005-06-08 Sebastien Pouliot <[email protected]>
* RuntimeEnvironment.cs: I get better results when calling Demand.


svn path=/trunk/mcs/; revision=45668
2005-06-08 19:46:17 +00:00
Sebastien Pouliot 514d811648 2005-06-07 Sebastien Pouliot <[email protected]>
* RuntimeEnvironment.cs: Implemented TODO. Added security for CAS.


svn path=/trunk/mcs/; revision=45581
2005-06-07 15:11:14 +00:00
Sebastien Pouliot 1a1fe235e7 2005-06-06 Sebastien Pouliot <[email protected]>
* _Exception.cs: That one wasn't backported to 1.1 SP1 by MS. This
	should fix a lot of extra reported in the API status pages.


svn path=/trunk/mcs/; revision=45503
2005-06-06 16:16:30 +00:00