mono.git
13 years agoKeep only 1 Dispose implementation
Marek Safar [Mon, 25 Oct 2010 17:45:26 +0000 (18:45 +0100)]
Keep only 1 Dispose implementation

13 years agoRecover from invalid implicit lambda block
Marek Safar [Mon, 25 Oct 2010 17:43:50 +0000 (18:43 +0100)]
Recover from invalid implicit lambda block

13 years agoAdd more details to timing debugging
Marek Safar [Sun, 24 Oct 2010 16:14:30 +0000 (17:14 +0100)]
Add more details to timing debugging

13 years agoWarnings cleanup.
Marek Safar [Sun, 24 Oct 2010 16:13:02 +0000 (17:13 +0100)]
Warnings cleanup.

13 years agoMake setting a position out of the buffer size actually work
Marek Safar [Sun, 24 Oct 2010 15:59:46 +0000 (16:59 +0100)]
Make setting a position out of the buffer size actually work

13 years agoAvoid nullref when clearing TextBox that has not yet been displayed
Latif Khalifa [Tue, 19 Oct 2010 16:37:04 +0000 (00:37 +0800)]
Avoid nullref when clearing TextBox that has not yet been displayed

13 years ago[API] Fix for bug: https://bugzilla.novell.com/show_bug.cgi?id=648888
Pablo Ruiz Garcia [Mon, 25 Oct 2010 00:10:37 +0000 (08:10 +0800)]
[API] Fix for bug: https://bugzilla.novell.com/show_bug.cgi?id=648888

13 years agoImprove namespace collector implementation to prepare for positional parameters.
Atsushi Eno [Mon, 25 Oct 2010 16:35:15 +0000 (01:35 +0900)]
Improve namespace collector implementation to prepare for positional parameters.

13 years agoAdd a test for #632224. Fix dtest-app.exe dependencies.
Zoltan Varga [Mon, 25 Oct 2010 16:08:51 +0000 (18:08 +0200)]
Add a test for #632224. Fix dtest-app.exe dependencies.

13 years agoDisable catchpoints when the DISABLE_BREAKPOINTS flag is used during an invoke. Fixes...
Zoltan Varga [Mon, 25 Oct 2010 16:08:10 +0000 (18:08 +0200)]
Disable catchpoints when the DISABLE_BREAKPOINTS flag is used during an invoke. Fixes #632224.

13 years agocheckin forgotten files.
Atsushi Eno [Mon, 25 Oct 2010 13:34:42 +0000 (22:34 +0900)]
checkin forgotten files.

13 years agoAdd PositionalParameters tests (NotWorking).
Atsushi Eno [Mon, 25 Oct 2010 13:33:01 +0000 (22:33 +0900)]
Add PositionalParameters tests (NotWorking).

Before hacking StaticExtension support, we need it working.

13 years ago[corlib] added a few missing Environment.SpecialFolder definitions to InternalGetFold...
Marek Habersack [Sun, 24 Oct 2010 09:00:30 +0000 (11:00 +0200)]
[corlib] added a few missing Environment.SpecialFolder definitions to InternalGetFolderPath (4.0)

13 years ago[asp.net] Better handling of application's AppDomain restart
Marek Habersack [Sat, 23 Oct 2010 22:47:01 +0000 (00:47 +0200)]
[asp.net] Better handling of application's AppDomain restart

* HttpRuntime.cs: disable filesystem watchers on appdomain shutdown and refuse to process
  requests while the current AppDomain is unloading
* HttpApplicationFactory.cs: if the current AppDomain is unloading, ignore FileSystemWatcher
  notifications
* WebConfigurationManager.cs: work around a deadlock issue when entering a ReaderWriterLockSlim
  upgradeable read lock very early during ASP.NET runtime/AppDomain initialization. Every few runs
  the attempt would lock up and since adding a section to cache is not a critical operation we can
  afford timing the lock out in this case. The lockup is probably due to the fact that RWLS is using
  thread local storage to store the current thread's lock status and it may happen that the TLS is
  not cleared during thread object finalization (see metadata/threads.c, the start_wrapper function)

13 years agoRefactoring namespace declaration output for getting .NET-like attribute output.
Atsushi Eno [Mon, 25 Oct 2010 11:19:24 +0000 (20:19 +0900)]
Refactoring namespace declaration output for getting .NET-like attribute output.

13 years agoWrite some special names back when writing xaml to XmlWriter.
Atsushi Eno [Mon, 25 Oct 2010 08:57:58 +0000 (17:57 +0900)]
Write some special names back when writing xaml to XmlWriter.

13 years agoAdd a couple of writer tests (NotWorking) and fixed XamlServices to not omit xmldecl.
Atsushi Eno [Mon, 25 Oct 2010 07:17:53 +0000 (16:17 +0900)]
Add a couple of writer tests (NotWorking) and fixed XamlServices to not omit xmldecl.

13 years agoThrow exceptions here instead of in DeflateStream
Gonzalo Paniagua Javier [Sun, 24 Oct 2010 22:44:33 +0000 (18:44 -0400)]
Throw exceptions here instead of in DeflateStream

To get the same stack trace as in bug #647948, we need to set the
underlying DeflateStream to null and throw the ObjectDisposedException
from this class. Same applies to the NotSupportedException.

13 years agoBinaryWriter.BaseStream calls Flush()
Gonzalo Paniagua Javier [Sun, 24 Oct 2010 22:43:18 +0000 (18:43 -0400)]
BinaryWriter.BaseStream calls Flush()

Before returning the base stream, BinaryWriter.BaseStream calls Flush
on it. Added test for this.

Fixes bug #647948.

13 years agoAdd tests for the eglib remapper.
Zoltan Varga [Sun, 24 Oct 2010 17:29:44 +0000 (19:29 +0200)]
Add tests for the eglib remapper.

13 years agoAdd a g_hash_iter symbols to the eglib remapper.
Zoltan Varga [Sun, 24 Oct 2010 17:29:20 +0000 (19:29 +0200)]
Add a g_hash_iter symbols to the eglib remapper.

13 years agoAdd missing v3 language version
Marek Safar [Sat, 23 Oct 2010 16:06:40 +0000 (17:06 +0100)]
Add missing v3 language version

13 years agoNew test.
Marek Safar [Sat, 23 Oct 2010 09:19:06 +0000 (10:19 +0100)]
New test.

13 years agoExtract the default profiler into its own file.
Zoltan Varga [Sat, 23 Oct 2010 21:41:56 +0000 (23:41 +0200)]
Extract the default profiler into its own file.

13 years agoUse int 3 as G_BREAKPOINT on x86-64 too. Hopefully fixes #648838.
Zoltan Varga [Sat, 23 Oct 2010 18:38:12 +0000 (20:38 +0200)]
Use int 3 as G_BREAKPOINT on x86-64 too. Hopefully fixes #648838.

13 years agoFix another regression in the Array.Sort () methods, allow keys and items to be of...
Zoltan Varga [Sat, 23 Oct 2010 14:47:30 +0000 (16:47 +0200)]
Fix another regression in the Array.Sort () methods, allow keys and items to be of different length. Fixes #648828.

13 years agoImplement memory barriers for amd64/x86. Fixes #648831.
Zoltan Varga [Sat, 23 Oct 2010 14:29:48 +0000 (16:29 +0200)]
Implement memory barriers for amd64/x86. Fixes #648831.

13 years ago[SDB] Add BeginConnect/EndConnect to VirtualMachineManager
Michael Hutchinson [Sat, 23 Oct 2010 08:06:29 +0000 (04:06 -0400)]
[SDB] Add BeginConnect/EndConnect to VirtualMachineManager

Launch and Listen methods had async version but Connect did not.

13 years agoMonoType::GetGenericArguments don't need to mono_class_init.
Rodrigo Kumpera [Fri, 22 Oct 2010 21:18:01 +0000 (19:18 -0200)]
MonoType::GetGenericArguments don't need to mono_class_init.

* icall.c (ves_icall_MonoType_GetGenericArguments): Don't
mono_class_init here since it's not needed.

Fixes #648725

13 years agoChecks the constructor declaring type.
Rodrigo Kumpera [Fri, 22 Oct 2010 19:57:00 +0000 (17:57 -0200)]
Checks the constructor declaring type.

* TypeBuilder.cs (GetConstructor): Check if the ctor
declaring type is the right one and the same as type.

* TypeBuilderTest.cs: Add regression test.

Fixes #648391

13 years agoCorrectly encode fields with GTD types.
Rodrigo Kumpera [Fri, 22 Oct 2010 19:05:25 +0000 (17:05 -0200)]
Correctly encode fields with GTD types.

* reflection.c (mono_image_get_generic_field_token): If
the field type is a GTD, ensure its generic_container is
properly initialized.

Fixes #648616

13 years agoUse faster MemberKind when checking for a nested type
Marek Safar [Fri, 22 Oct 2010 18:29:50 +0000 (19:29 +0100)]
Use faster MemberKind when checking for a nested type

13 years agoInclude parent type parameters when inflating nested type parameter constraint of...
Marek Safar [Fri, 22 Oct 2010 15:06:24 +0000 (16:06 +0100)]
Include parent type parameters when inflating nested type parameter constraint of type parameter type

13 years agoMove nested declaration looup to TypeContainer
Marek Safar [Fri, 22 Oct 2010 10:16:54 +0000 (11:16 +0100)]
Move nested declaration looup to TypeContainer

13 years agoAdd dynamic conversion to coalescing operator
Marek Safar [Thu, 21 Oct 2010 16:30:32 +0000 (17:30 +0100)]
Add dynamic conversion to coalescing operator

13 years agoUnbreak the world
Gonzalo Paniagua Javier [Fri, 22 Oct 2010 18:20:38 +0000 (14:20 -0400)]
Unbreak the world

13 years agoRemove 'web' directory
Gonzalo Paniagua Javier [Fri, 22 Oct 2010 16:53:17 +0000 (12:53 -0400)]
Remove 'web' directory

13 years agoSniff, sniff
Gonzalo Paniagua Javier [Fri, 22 Oct 2010 16:52:19 +0000 (12:52 -0400)]
Sniff, sniff

Remove the old (really) stuff to generate the website from makefiles.

13 years agoUpdate mappings after latest changes to Mono.Posix
Gonzalo Paniagua Javier [Fri, 22 Oct 2010 16:48:39 +0000 (12:48 -0400)]
Update mappings after latest changes to Mono.Posix

New mappings created for the epoll code.

13 years agoEmit GenericEqualityComparer<T> instances for each EqualityComparer<T> instance in...
Zoltan Varga [Fri, 22 Oct 2010 15:56:26 +0000 (17:56 +0200)]
Emit GenericEqualityComparer<T> instances for each EqualityComparer<T> instance in AOT, the former is created dynamically by the latter.

13 years agoUse locale_charset() from iconv which will use nl_langinfo (CODESET) anyways but...
Zoltan Varga [Fri, 22 Oct 2010 15:25:30 +0000 (17:25 +0200)]
Use locale_charset() from iconv which will use nl_langinfo (CODESET) anyways but it will
do canonicalization so we will get the correct charset name, because nl_langinfo (CODESET)
can return different things on different systems. This at least fixes OpenBSD.

13 years agoUse test-and-test-and-set pattern in LazyInitializer::EnsureInitialized
Jérémie Laval [Fri, 22 Oct 2010 14:15:18 +0000 (15:15 +0100)]
Use test-and-test-and-set pattern in LazyInitializer::EnsureInitialized

13 years agoFix a dodgy ReaderWriterLockSlim unit test
Jérémie Laval [Fri, 22 Oct 2010 14:14:48 +0000 (15:14 +0100)]
Fix a dodgy ReaderWriterLockSlim unit test

13 years agoWe can use ImportAllEndpoints().
Atsushi Eno [Fri, 22 Oct 2010 10:07:46 +0000 (19:07 +0900)]
We can use ImportAllEndpoints().

13 years agoIt should not have to import all schema elements, but those only used by contracts.
Atsushi Eno [Fri, 22 Oct 2010 10:06:20 +0000 (19:06 +0900)]
It should not have to import all schema elements, but those only used by contracts.

13 years agoSmall refactoring on enumerating message schema element contents.
Atsushi Eno [Fri, 22 Oct 2010 08:58:16 +0000 (17:58 +0900)]
Small refactoring on enumerating message schema element contents.

13 years agoFix test compilation with older glibs.
Zoltan Varga [Fri, 22 Oct 2010 07:28:20 +0000 (09:28 +0200)]
Fix test compilation with older glibs.

13 years agoDon't put KnownTypeAttributes on enums.
Atsushi Eno [Fri, 22 Oct 2010 07:23:24 +0000 (16:23 +0900)]
Don't put KnownTypeAttributes on enums.

13 years agoMake generated type names unique.
Atsushi Eno [Fri, 22 Oct 2010 06:49:51 +0000 (15:49 +0900)]
Make generated type names unique.

13 years agoUpdate
Gonzalo Paniagua Javier [Fri, 22 Oct 2010 04:24:47 +0000 (00:24 -0400)]
Update

13 years agoUpdate zlib to version 1.2.5
Gonzalo Paniagua Javier [Fri, 22 Oct 2010 04:13:41 +0000 (00:13 -0400)]
Update zlib to version 1.2.5

13 years agoRemove arbitrary 1024 limit in GetProcesses
Gonzalo Paniagua Javier [Fri, 22 Oct 2010 04:00:33 +0000 (00:00 -0400)]
Remove arbitrary 1024 limit in GetProcesses

Reallocate the array of PIDs if EnumProcesses used all of it and try
again.

13 years agoImplement GHashTable iterators.
Zoltan Varga [Fri, 22 Oct 2010 00:59:48 +0000 (02:59 +0200)]
Implement GHashTable iterators.

13 years agoFromBinary does not need ToLocalTime
Gonzalo Paniagua Javier [Thu, 21 Oct 2010 20:00:56 +0000 (16:00 -0400)]
FromBinary does not need ToLocalTime

When converting to DateTime from a long, we don't need ToLocalTime().
Setting the kind to Local is enough.
Patch from Mig.

Fixes bug #648252.

13 years agoFix building the logging profiler.
Zoltan Varga [Thu, 21 Oct 2010 19:56:31 +0000 (21:56 +0200)]
Fix building the logging profiler.

13 years agoDocument server option to --debugger-agent
Miguel de Icaza [Thu, 21 Oct 2010 18:09:49 +0000 (14:09 -0400)]
Document server option to --debugger-agent

13 years agoFix an assert in the LLVM backend if a long value was passed to 'localloc'.
Zoltan Varga [Thu, 21 Oct 2010 17:01:02 +0000 (19:01 +0200)]
Fix an assert in the LLVM backend if a long value was passed to 'localloc'.

13 years agoFix the assembly/class caching problems in the threadpool code too.
Zoltan Varga [Thu, 21 Oct 2010 16:49:52 +0000 (18:49 +0200)]
Fix the assembly/class caching problems in the threadpool code too.

13 years agoUpdate issues list
Marek Safar [Thu, 21 Oct 2010 15:07:05 +0000 (16:07 +0100)]
Update issues list

13 years agoImplement closest override return type matching
Marek Safar [Thu, 21 Oct 2010 15:01:19 +0000 (16:01 +0100)]
Implement closest override return type matching

13 years agoForget to re-add this test file
Marek Safar [Wed, 20 Oct 2010 15:32:32 +0000 (16:32 +0100)]
Forget to re-add this test file

13 years agoAdd an assert to mono_class_from_name_cached () to make sure it is only called for...
Zoltan Varga [Thu, 21 Oct 2010 14:37:48 +0000 (16:37 +0200)]
Add an assert to mono_class_from_name_cached () to make sure it is only called for mscorlib.

13 years agoAvoid caching stuff in socket-io.c in static variables, since the socket assembly...
Zoltan Varga [Thu, 21 Oct 2010 14:15:14 +0000 (16:15 +0200)]
Avoid caching stuff in socket-io.c in static variables, since the socket assembly can be unloaded, cache them in MonoDomain instead.

13 years agoOnEndXxx() methods should not try to let void return to a local variable.
Atsushi Eno [Thu, 21 Oct 2010 11:53:00 +0000 (20:53 +0900)]
OnEndXxx() methods should not try to let void return to a local variable.

13 years agoSince event arg type name can be EventArgs1, do not match by type name. Check rather...
Atsushi Eno [Thu, 21 Oct 2010 11:27:48 +0000 (20:27 +0900)]
Since event arg type name can be EventArgs1, do not match by type name. Check rather base type instead.

13 years agoVoid event should not have Result of type void.
Atsushi Eno [Thu, 21 Oct 2010 10:44:20 +0000 (19:44 +0900)]
Void event should not have Result of type void.

13 years agoMake generated type names unique.
Atsushi Eno [Thu, 21 Oct 2010 10:06:56 +0000 (19:06 +0900)]
Make generated type names unique.

13 years agoAsync end operation needs cast.
Atsushi Eno [Thu, 21 Oct 2010 09:28:02 +0000 (18:28 +0900)]
Async end operation needs cast.

13 years agoRemove ExtensionData from moonlight proxy.
Atsushi Eno [Thu, 21 Oct 2010 07:54:19 +0000 (16:54 +0900)]
Remove ExtensionData from moonlight proxy.

13 years agoReplace EnumProcesses with OpenProcess
Gonzalo Paniagua Javier [Thu, 21 Oct 2010 06:42:38 +0000 (02:42 -0400)]
Replace EnumProcesses with OpenProcess

namedmutex_prewait was (partially) listing the running processes and
then searching through them. Now we use OpenProcess to verify the owner
of the mutex is still alive.

Fixes bug #648133 (note that you need MONO_ENABLE_SHM for this to work)

13 years agoNo need to use a GArray in EnumProcesses
Gonzalo Paniagua Javier [Thu, 21 Oct 2010 06:17:12 +0000 (02:17 -0400)]
No need to use a GArray in EnumProcesses

Use the provided array instead of creating a new one and then copying
it to the result.

13 years agoFix typo
Gonzalo Paniagua Javier [Thu, 21 Oct 2010 06:14:31 +0000 (02:14 -0400)]
Fix typo

element_size is not a boolean.

13 years agoAdd some WCF types in moonlight_raw System.Xml.Serialization.dll.
Atsushi Eno [Thu, 21 Oct 2010 06:32:39 +0000 (15:32 +0900)]
Add some WCF types in moonlight_raw System.Xml.Serialization.dll.

13 years agoAdd #if NET_2_1 and SupportFaults member for Silverlight SlSvcUtil proxy.
Atsushi Eno [Thu, 21 Oct 2010 06:30:23 +0000 (15:30 +0900)]
Add #if NET_2_1 and SupportFaults member for Silverlight SlSvcUtil proxy.

13 years agoFix the collision handling code
Gonzalo Paniagua Javier [Thu, 21 Oct 2010 04:08:54 +0000 (00:08 -0400)]
Fix the collision handling code

After the fix for bug #605092, inserting timers with an equal due time
was failing because searching in the list was also using a reference
comparison. Now, when adding a new timer, we search using just the due
time.
Fixes bug #648130.

13 years ago[asp.net] ObjectStateFormatter.{De}serialize methods taking stream use a magic value...
Marek Habersack [Wed, 20 Oct 2010 23:21:53 +0000 (01:21 +0200)]
[asp.net] ObjectStateFormatter.{De}serialize methods taking stream use a magic value to mark the stream.

13 years agoREADME.tests was deleted in d9c8bdf
Andrew Jorgensen [Wed, 20 Oct 2010 15:55:18 +0000 (09:55 -0600)]
README.tests was deleted in d9c8bdf

13 years agoClean up test files
Marek Safar [Wed, 20 Oct 2010 15:21:22 +0000 (16:21 +0100)]
Clean up test files

13 years ago[601801] Fixes for parsing nant documentation
Marek Safar [Wed, 20 Oct 2010 15:00:14 +0000 (16:00 +0100)]
[601801] Fixes for parsing nant documentation

Gleb Golubitsky <rush.william@gmail.com>

13 years agoCheck for name conflicts between parent members and child block variables
Marek Safar [Wed, 20 Oct 2010 14:40:36 +0000 (15:40 +0100)]
Check for name conflicts between parent members and child block variables

13 years ago[647845] Don't skip parent types when looking for simple name
Marek Safar [Wed, 20 Oct 2010 10:30:26 +0000 (11:30 +0100)]
[647845] Don't skip parent types when looking for simple name

13 years ago[asp.net,wcf] WCF proxies are generated using a slightly different mode of operation.
Marek Habersack [Wed, 20 Oct 2010 14:06:26 +0000 (16:06 +0200)]
[asp.net,wcf] WCF proxies are generated using a slightly different mode of operation.

WCF proxies don't include full namespace of the contract.

13 years ago[Fix] Ensure correct stack pointer initialization on !POSIX
Tak [Wed, 20 Oct 2010 09:37:40 +0000 (11:37 +0200)]
[Fix] Ensure correct stack pointer initialization on !POSIX

* metadata/threads.c: Ensure correct stack pointer initialization on !POSIX.
This fixes some random crashes with embedded, release-optimized binaries on windows.

License: MIT/X11

13 years ago[wcf] make /js and /jsdebug dispatchers work.
Marek Habersack [Wed, 20 Oct 2010 00:02:27 +0000 (02:02 +0200)]
[wcf] make /js and /jsdebug dispatchers work.

There were several issues here:

- The IChannelDispatcherBoundListener was defined twice, in two different namespaces, and it caused code in
  ChannelDispatcher.Attach not to set its associated listener's ChannelDispatcher property to the correct value.
  This, in turn, caused incorrect HttpListenerManagerTable operation, where it would put the "/js" and "/jsdebug"
  dispatchers in separate HttpListenerManagers, instead of in the main (base) service's one.
- After fixing the above, it turned out that SvcHttpHandler selected the manager based on the host's base address,
  when it should first try to find one whose URL matches the current request exactly.

13 years agoForgot #if NET_4_0.
Atsushi Eno [Wed, 20 Oct 2010 10:23:02 +0000 (19:23 +0900)]
Forgot #if NET_4_0.

13 years agoAdd ExtendedProtectionPolicy members. Required by .config files by .NET svcutil.
Atsushi Eno [Wed, 20 Oct 2010 09:06:02 +0000 (18:06 +0900)]
Add ExtendedProtectionPolicy members. Required by .config files by .NET svcutil.

13 years agoExtendedProtection Configuration types are also used in WCF 4.0.
Atsushi Eno [Wed, 20 Oct 2010 08:24:51 +0000 (17:24 +0900)]
ExtendedProtection Configuration types are also used in WCF 4.0.

13 years agoMore work on ambiguous named arguments
Marek Safar [Wed, 20 Oct 2010 08:09:22 +0000 (09:09 +0100)]
More work on ambiguous named arguments

13 years agoMore optional parameter VB compatibility fixes
Marek Safar [Tue, 19 Oct 2010 12:33:54 +0000 (13:33 +0100)]
More optional parameter VB compatibility fixes

13 years agoAdd System.Security.Authentication.ExtendedProtection stubs, referenced by WCF 4.0.
Atsushi Eno [Wed, 20 Oct 2010 07:26:07 +0000 (16:26 +0900)]
Add System.Security.Authentication.ExtendedProtection stubs, referenced by WCF 4.0.

13 years agoAble to read MS serialized nullable<primitive>
Gonzalo Paniagua Javier [Wed, 20 Oct 2010 04:56:45 +0000 (00:56 -0400)]
Able to read MS serialized nullable<primitive>

Handle boxed primitive types for nullable fields.
Fixes bug #646556.

13 years agoImplement better explicit override checks.
Rodrigo Kumpera [Tue, 19 Oct 2010 18:31:08 +0000 (16:31 -0200)]
Implement better explicit override checks.

* metadata-verify.c: Add mono_verifier_verify_methodimpl_row.

* metadata.c (mono_class_get_overrides_full): Call in the
verifier.

* verify.c: Add mono_verifier_is_signature_compatible that
does propery signature variance checking.

13 years agoMerge branch 'master' of github.com:mono/mono
Rodrigo Kumpera [Wed, 20 Oct 2010 03:39:48 +0000 (01:39 -0200)]
Merge branch 'master' of github.com:mono/mono

13 years agoProper recursive vtable checking.
Rodrigo Kumpera [Wed, 20 Oct 2010 03:25:27 +0000 (01:25 -0200)]
Proper recursive vtable checking.

* class.c: Pass around a list of currently been built vtables
to really avoid going into loop.

* reflection.c: Adjust to extra arguments.

* object.c: Ditto.

13 years agoAvoid trying to read the gc name in the AOT runtime from older AOT images. Fixes...
Zoltan Varga [Wed, 20 Oct 2010 03:09:14 +0000 (05:09 +0200)]
Avoid trying to read the gc name in the AOT runtime from older AOT images. Fixes #647918.

13 years agoTemporarily disable iface check o generic instances
Rodrigo Kumpera [Tue, 19 Oct 2010 18:38:19 +0000 (16:38 -0200)]
Temporarily disable iface check o generic instances

13 years agoRemove the duplicate assembly name->string code from two places, uses mono_stringify_...
Zoltan Varga [Tue, 19 Oct 2010 13:06:39 +0000 (15:06 +0200)]
Remove the duplicate assembly name->string code from two places, uses mono_stringify_assembly_name ().

13 years agoAdd regression test for #640780
Rodrigo Kumpera [Tue, 19 Oct 2010 13:46:43 +0000 (11:46 -0200)]
Add regression test for #640780

13 years agoDon't assign vtable slots to static iface methods.
Rodrigo Kumpera [Tue, 19 Oct 2010 13:36:39 +0000 (11:36 -0200)]
Don't assign vtable slots to static iface methods.

* reflection.c (ensure_runtime_vtable): When recalculating
method slots, ignore static methods.

Fixes #640780

13 years agoRemove dead code from BigInteger since it confuse some people
Sebastien Pouliot [Mon, 18 Oct 2010 20:37:52 +0000 (16:37 -0400)]
Remove dead code from BigInteger since it confuse some people

* corlib/Mono.Math/BigInteger.cs:
* Mono.Security/Mono.Math/BigInteger.cs:
Remove Montgomery internal inner class since it's buggy, has not
been used for years and confuse some people (seeing ghosts of
CVE-2007-5197)