Commit Graph
10 Commits
Author SHA1 Message Date
Miguel de Icaza f4b37857a1 2009-10-16 Miguel de Icaza <[email protected]>
* Jumbo patch to drop support for pre-NET_2_0 code:

	Remove ONLY_1_1 code
	Remove NET_1_0 only code
	Remove NET_2_0 defines assuming the value is true.

	Improve one MonoTODO;   Implement one MonoTODO/Niex.

	Ran a textual diff on the resulting assembly to validate that the
	restul is the same on NET_2_0


svn path=/trunk/mcs/; revision=144298
2009-10-17 00:43:59 +00:00
Zoltan Varga f727bab3e3 2007-07-08 Zoltan Varga <[email protected]>
* *.cs: Add missing ComVisible attributes.

svn path=/trunk/mcs/; revision=81604
2007-07-08 16:58:15 +00:00
Miguel de Icaza 262102ed7b 2007-01-10 Andy Hume <[email protected]>
* Fixes to a number of exception classes.

        A project of mine uses #ctor(String,Exception) on
        ObjectDisposedException, so I looked at adding that, and any
        other similar constructors missing as per the class status report.

        I also spotted inconsistent setting of HResult, and fixed
        those too.  For instance, ArgumentNullException sets HResult
        only in three out of the four constuctors; not setting it in
        the v2 (String,Exception) one -- and correctly not in the
        Serialization constructor.


        So, I fixed the remaining missing (String,Exception)
        constructors in corlib (2 of), and fixed the Hresult setting
        in all exceptions there (4 of).

        The remaining Exception constructor omission listed was
        InvalidCastException.ctor(System.String, System.Int32).  MSDN   says:
        "This constructor supplies an HRESULT value that is
        accessible to inheritors of the InvalidCastException class,
        via the protected HResult property of the Exception class."
        I added that method too, setting the HResult property from
        the Int32 argument.



svn path=/trunk/mcs/; revision=70821
2007-01-10 23:30:52 +00:00
Raja R Harinath e0cfa4925e Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)


svn path=/trunk/mcs/; revision=44558
2005-05-16 12:23:26 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Andreas N 9e55a8a098 2004-03-09 Andreas Nahr <[email protected]>
* FieldAccessException.cs
	* FormatException.cs
	* InvalidCastException.cs
	* InvalidOperationException.cs
	* MemberAccessException.cs
	* MethodAccessException.cs
	* MissingFieldException.cs: Locale strings
	* MissingMemberException.cs: Locale strings
	* MissingMethodException.cs: Locale strings
	* NotFiniteNumberException.cs
	* NotImplementedException.cs
	* NotSupportedException.cs
	* NullReferenceException.cs
	* ObjectDisposedException.cs
	* OutOfMemoryException.cs
	* OverflowExceptionException.cs
	* PlatformNotSupportedException.cs
	* RankException.cs: Added missing HResult overrides

svn path=/trunk/mcs/; revision=23849
2004-03-09 22:00:11 +00:00
Andreas N c0f8d0005d 2004-03-09 Andreas Nahr <[email protected]>
* EventArgs.cs
	* Exception.cs
	* ExecutionEngineException.cs
	* FieldAccessException.cs
	* FormatException.cs
	* GC.cs
	* Guid.cs
	* IndexOutOfRangeException.cs
	* IntPtr.cs
	* InvalidCastException.cs
	* InvalidOperationException.cs
	* InvalidProgramException.cs
	* IServiceProvider.cs
	* LoaderOptimization.cs
	* LoaderOptimizationAttribute.cs
	* MarshalByRefObject.cs
	* Math.cs
	* MemberAccessException.cs
	* MethodAccessException.cs
	* MissingFieldException.cs
	* MissingMemberException.cs
	* MissingMethodException.cs
	* MultiCastDelegate.cs
	* MulticastNotSupportedException.cs
	* NonSerializedAttribute.cs
	* NotFiniteNumberException.cs
	* NotImplementedException.cs
	* NotSupportedException.cs
	* NullReferenceException.cs
	* ObjectDisposedException.cs
	* ObsoleteAttribute.cs
	* OperatingSystem.cs
	* OutOfMemoryException.cs
	* OverflowExceptionException.cs
	* PlatformID.cs
	* PlatformNotSupportedException.cs
	* Random.cs
	* RankException.cs
	* ResolveEventArgs.cs
	* ResolveEventHandler.cs
	* RuntimeFieldHandle.cs
	* RuntimeMethodHandle.cs
	* RuntimeTypeHandle.cs: Mono styled, fixed exceptions/ locales
	  removed excess usings

svn path=/trunk/mcs/; revision=23844
2004-03-09 20:13:43 +00:00
Duncan Mak a7867a2e45 Added more stuff to various Exceptions to make them serializable
svn path=/trunk/mcs/; revision=2211
2002-01-31 12:32:31 +00:00
Miguel de Icaza f7b109a94f 2001-11-21 Miguel de Icaza <[email protected]>
* ApplicationException.cs: internationalize by adding calls to
	Locale.GetText ().  And throw NotImplementedExceptions on calls
	that we have to implement.

	* Version.cs: Ditto.

	* ValueType.cs: ditto.

	* UnauthorizedAccessException.cs: ditto.

	* UInt32.cs: ditto.

	* UInt64.cs: ditto.

	* UInt16.cs: ditto.

	* TypeLoadException.cs: ditto

	* TypeInitializationException.cs: ditto.

	* Type.cs: ditto.

	* TimeSpan.cs: ditto.

	* SystemException.cs: ditto.

	* String.cs: ditto.

	* StackOverflowException.cs: ditto.x

	* Single.cs: ditto.

	* SByte.cs: ditto.

	* RuntimeTypeHandle.cs: ditto.

	* RuntimeMethodHandle.cs: ditto.

	* RuntimeFieldHandle.cs: ditto.

	* Random.cs: ditto.

	* OutOfMemoryException.cs: ditto.

	* OperatingSystem.cs: ditto.

	* ObjectDisposedException.cs: ditto.

	* NullReferenceException.cs: ditto.

	* NotImplementedException.cs: ditto.

	* NotFiniteNumberException.cs: ditto.o

	* MulticastNotSupportedException.cs: ditto.

	* MissingMethodException.cs: ditto.

	* MemberAccessException.cs: ditto.

	* Math.cs: ditto.

	* InvalidCastException.cs: ditto.

	* IntegerFormatter.cs: ditto.

	* Int32.cs: ditto.

	* Int16.cs: ditto.

	* IndexOutOfRangeException.cs: ditto.

	* Environment.cs: ditto

	* Enum.cs: ditto.

	* DuplicateWaitObjectException.cs: ditto.

	* DivideByZeroException.cs: ditto.

	* Delegate.cs: ditto

	* DecimalFormatter.cs: ditto.

	* Decimal.cs: ditto.

	* DateTime.cs: ditto.

	* Convert.cs: ditto.

	* Char.cs: ditto.

	* Byte.cs: ditto.

	* Boolean.cs: ditto.

	* ArrayTypeMismatchException.cs: ditto.

	* ArithmeticException.cs: ditto.

	* ArgumentOutOfRangeException.cs: ditto.

	* ArgumentNullException.cs: ditto.

	* Enum.cs: Make it derive from ValueType, add CompareTo method.

	* Attribute.cs: Reformat.

svn path=/trunk/mcs/; revision=1406
2001-11-21 18:12:11 +00:00
Paolo Molaro 49c9e13de5 Fri Nov 2 18:23:15 CET 2001 Paolo Molaro <[email protected]>
* String.cs: fix a couple of bugs.
	* AppDomain.cs: use new AppBuilder constructor.
	* Buffer.cs, GC.cs, NonSerializedAttribute.cs,
	NotImplementedException.cs, ObjectDisposedException.cs,
	UnauthorizedAccessException.cs: add implementation.
	* OverflowException.cs: fix class name.


Fri Nov 2 18:29:36 CET 2001 Paolo Molaro <[email protected]>

	* AmbiguousMatchException.cs,
	* Assembly.cs, Module.cs: updates.
	* FieldInfo.cs: better compliance to the spec.
	* MethodBase.cs: move call_conv out of the way.
	* AssemblyBuilder.cs:  don't use internalcalls, more stuff supported.
	* FieldBuilder.cs: implemented.
	* ILGenerator.cs: implemented some opcode handling.
	* Label.cs: add constructor.
	* LocalBuilder.cs: implemented.
	* MethodBuilder.cs: don't use internalcalls, more implemented stuff.
	* ModuleBuilder.cs: don't use internalcalls, more meat here, too.
	* ParameterBuilder.cs: implemented.
	* PropertyBuilder.cs: implemented.
	* TypeBuilder.cs: don't use internalcalls, more stuff working.


Fri Nov 2 18:27:58 CET 2001 Paolo Molaro <[email protected]>

	* DirectoryNotFoundException.cs: implemented.

svn path=/trunk/mcs/; revision=1260
2001-11-05 06:18:33 +00:00