mono.git
13 years agoInclude the m4 dir in the subdirs for `make dist`
Jeffrey Stedfast [Wed, 20 Apr 2011 20:24:35 +0000 (16:24 -0400)]
Include the m4 dir in the subdirs for `make dist`

13 years agoAdded Latin1 support to giconv
Jeffrey Stedfast [Wed, 20 Apr 2011 19:59:12 +0000 (15:59 -0400)]
Added Latin1 support to giconv

13 years agoFixed MSVC to build giconv.c
Jeffrey Stedfast [Wed, 20 Apr 2011 19:15:32 +0000 (15:15 -0400)]
Fixed MSVC to build giconv.c

13 years agoIgnore generated files
Jeffrey Stedfast [Wed, 20 Apr 2011 19:10:22 +0000 (15:10 -0400)]
Ignore generated files

13 years agoImplemented g_iconv() w/ needing libiconv
Jeffrey Stedfast [Wed, 20 Apr 2011 19:08:20 +0000 (15:08 -0400)]
Implemented g_iconv() w/ needing libiconv

13 years agoHelp ajorg dist
Jeffrey Stedfast [Wed, 20 Apr 2011 18:51:11 +0000 (14:51 -0400)]
Help ajorg dist

13 years agoDist fixes
Andrew Jorgensen [Wed, 20 Apr 2011 18:11:59 +0000 (12:11 -0600)]
Dist fixes

13 years agoHaving a type constraint to a valuetype satisfies .ctor.
Rodrigo Kumpera [Wed, 20 Apr 2011 14:17:58 +0000 (11:17 -0300)]
Having a type constraint to a valuetype satisfies .ctor.

* class.c:
* verify.c: If a gparam has a valuetype type constraint it
can satisfy the .ctor constraint from other gparam.

Fixes #687841

13 years agopublish the same events as pthread_stop_world
Rodrigo Kumpera [Tue, 19 Apr 2011 18:59:16 +0000 (15:59 -0300)]
publish the same events as pthread_stop_world

13 years agoFixed g_utf8_to_ucs4_fast()
Jeffrey Stedfast [Wed, 20 Apr 2011 14:08:02 +0000 (10:08 -0400)]
Fixed g_utf8_to_ucs4_fast()

13 years agoDon't forget to link with libiconv
Jeffrey Stedfast [Wed, 20 Apr 2011 13:53:32 +0000 (09:53 -0400)]
Don't forget to link with libiconv

13 years agoVarious parts of mono use g_convert() which rely on iconv
Jeffrey Stedfast [Wed, 20 Apr 2011 13:31:24 +0000 (09:31 -0400)]
Various parts of mono use g_convert() which rely on iconv

13 years agoFixed g_unichar_to_utf8()
Jeffrey Stedfast [Wed, 20 Apr 2011 13:15:28 +0000 (09:15 -0400)]
Fixed g_unichar_to_utf8()

13 years agoAdd missing 4.0 api
Marek Safar [Wed, 20 Apr 2011 11:41:29 +0000 (12:41 +0100)]
Add missing 4.0 api

13 years agoUse correct local variable when interating parameter modifiers
Marek Safar [Wed, 20 Apr 2011 11:02:14 +0000 (12:02 +0100)]
Use correct local variable when interating parameter modifiers

13 years agoGet real fix for bug #687902. Revert request processor IDisposable.
Atsushi Eno [Wed, 20 Apr 2011 10:11:34 +0000 (19:11 +0900)]
Get real fix for bug #687902. Revert request processor IDisposable.

and handle session shutdown when creating InstanceContext.
Also add note on DisposeInstance(), which got me stuck.

13 years ago[688651] Fix nullable enum values used with probing operator
Marek Safar [Wed, 20 Apr 2011 09:20:14 +0000 (10:20 +0100)]
[688651] Fix nullable enum values used with probing operator

13 years agoOngoing service channel closing fix and session management in ChannelDispatcher.
Atsushi Eno [Wed, 20 Apr 2011 07:52:36 +0000 (16:52 +0900)]
Ongoing service channel closing fix and session management in ChannelDispatcher.

It is part of bugfix 687902.

To get the bug fixed, the new "using" sections in ChannelDispatcher.cs to
explicitly dispose channels. But this causes regression in PerSession-based
tests. So some new session management code is (likely) required as well.

It will also alter "mixed" MaxConcurrentCalls and MaxConcurrentSessions with
correct management code.

13 years agoDefer interface unification check until all interface are setup
Marek Safar [Wed, 20 Apr 2011 06:58:05 +0000 (07:58 +0100)]
Defer interface unification check until all interface are setup

13 years agoFix effective base class for value types
Marek Safar [Tue, 19 Apr 2011 16:20:55 +0000 (17:20 +0100)]
Fix effective base class for value types

13 years agoDon't use type parameter effective base class when checking accessibility
Marek Safar [Tue, 19 Apr 2011 13:38:31 +0000 (14:38 +0100)]
Don't use type parameter effective base class when checking accessibility

13 years agoRestore the functionality to the REPL that allowed us to pass
Miguel de Icaza [Wed, 20 Apr 2011 03:47:24 +0000 (23:47 -0400)]
Restore the functionality to the REPL that allowed us to pass
files to be parsed on the command line as if they were typed on the
standard input

13 years agoPrevent crash on scripts that do not contain the #! line
Miguel de Icaza [Wed, 20 Apr 2011 02:52:39 +0000 (22:52 -0400)]
Prevent crash on scripts that do not contain the #! line

13 years agoActually include the m4 files in aclocal as well
Geoff Norton [Tue, 19 Apr 2011 21:22:59 +0000 (17:22 -0400)]
Actually include the m4 files in aclocal as well

13 years agoImplement g_utf8*prev_char and add the negative case to offset_to_pointer
Larry Ewing [Tue, 19 Apr 2011 21:09:14 +0000 (16:09 -0500)]
Implement g_utf8*prev_char and add the negative case to offset_to_pointer

13 years agoAllow storing managed pointers into 'native int' in the JIT, fsharp generates code...
Zoltan Varga [Tue, 19 Apr 2011 20:44:20 +0000 (22:44 +0200)]
Allow storing managed pointers into 'native int' in the JIT, fsharp generates code without a conv.i. Fixes #688008.

13 years agoDon't break on systems with older gettext versions
Jeffrey Stedfast [Tue, 19 Apr 2011 20:40:55 +0000 (16:40 -0400)]
Don't break on systems with older gettext versions

13 years agoMove the mono_ia64_context_get_... functions to mono-context.h to fix the ia64 build.
Zoltan Varga [Tue, 19 Apr 2011 20:37:01 +0000 (22:37 +0200)]
Move the mono_ia64_context_get_... functions to mono-context.h to fix the ia64 build.

13 years agoMove DOLT macro back into acinclude.m4 so it works
Jeffrey Stedfast [Tue, 19 Apr 2011 20:29:16 +0000 (16:29 -0400)]
Move DOLT macro back into acinclude.m4 so it works

13 years agoModernize eglib/libgc automake/conf fu
Jeffrey Stedfast [Tue, 19 Apr 2011 20:15:23 +0000 (16:15 -0400)]
Modernize eglib/libgc automake/conf fu

13 years agoMore auto* fixes and moved dolt macros to m4/dolt.m4
Jeffrey Stedfast [Tue, 19 Apr 2011 19:55:11 +0000 (15:55 -0400)]
More auto* fixes and moved dolt macros to m4/dolt.m4

13 years ago.m4 files no longer exist in the toplevel
Jeffrey Stedfast [Tue, 19 Apr 2011 19:17:55 +0000 (15:17 -0400)]
.m4 files no longer exist in the toplevel

13 years agoUpdated the build system
Jeffrey Stedfast [Tue, 19 Apr 2011 18:01:32 +0000 (14:01 -0400)]
Updated the build system

13 years ago[HttpListener] Fix matching directories
Gonzalo Paniagua Javier [Tue, 19 Apr 2011 17:54:27 +0000 (13:54 -0400)]
[HttpListener] Fix matching directories

/foo was not properly matched.
Fixes bug #688353.

13 years agoFixed autogen.sh and optimized some string funcs
Jeffrey Stedfast [Tue, 19 Apr 2011 16:19:00 +0000 (12:19 -0400)]
Fixed autogen.sh and optimized some string funcs

13 years agoFixed libiconv checks
Jeffrey Stedfast [Tue, 19 Apr 2011 16:05:32 +0000 (12:05 -0400)]
Fixed libiconv checks

13 years agoNew test
Marek Safar [Tue, 19 Apr 2011 12:03:50 +0000 (13:03 +0100)]
New test

13 years ago[687282] Fixes cross references of nested anonymous methods which don't start at...
Marek Safar [Tue, 19 Apr 2011 12:00:18 +0000 (13:00 +0100)]
[687282] Fixes cross references of nested anonymous methods which don't start at parameters level block

13 years agoFix ICollection.CopyTo in the Stack class
Lluis Sanchez [Tue, 19 Apr 2011 10:56:00 +0000 (12:56 +0200)]
Fix ICollection.CopyTo in the Stack class

13 years agoExplicit method implementation can have ambiguous candidates
Marek Safar [Tue, 19 Apr 2011 09:58:38 +0000 (10:58 +0100)]
Explicit method implementation can have ambiguous candidates

13 years agoDon't check interface unified parameters on parameterless methods
Marek Safar [Tue, 19 Apr 2011 07:34:53 +0000 (08:34 +0100)]
Don't check interface unified parameters on parameterless methods

13 years agoUpdate test file
Marek Safar [Mon, 18 Apr 2011 18:37:18 +0000 (19:37 +0100)]
Update test file

13 years agoadd implementation for stpcpy
Chris Toshok [Mon, 18 Apr 2011 22:15:54 +0000 (15:15 -0700)]
add implementation for stpcpy

13 years agoImplemented g_iconv*() functions w/ cache
Jeffrey Stedfast [Mon, 18 Apr 2011 23:06:09 +0000 (19:06 -0400)]
Implemented g_iconv*() functions w/ cache

13 years agoit's valid to pass NULLs to g_hash_table_lookup_extended. don't crash if the user...
Chris Toshok [Mon, 18 Apr 2011 21:17:17 +0000 (14:17 -0700)]
it's valid to pass NULLs to g_hash_table_lookup_extended. don't crash if the user does.

13 years agoImplement g_byte_array_* in terms of GArray
Chris Toshok [Mon, 18 Apr 2011 21:16:44 +0000 (14:16 -0700)]
Implement g_byte_array_* in terms of GArray

13 years agoImplement 99% of what moonlight needs to run on eglib
Chris Toshok [Mon, 18 Apr 2011 20:54:14 +0000 (13:54 -0700)]
Implement 99% of what moonlight needs to run on eglib

Add a bunch of typedefs/enums/#defines to glib.h, as well as many implementations of glib functions:

    g_array_set_size
    g_array_sized_new
    g_list_remove_all
    g_string_erase
    g_string_insert
    g_string_set_size
    g_utf8_offset_to_pointer
    g_utf8_pointer_to_offset
    g_utf8_to_ucs4_fast
    g_unichar_is_space
    g_unicode_break_type (stubbed, always returns G_UNICODE_BREAK_UNKNOWN at the moment)
    g_utf8_offset_to_pointer
    g_utf8_pointer_to_offset
    g_utf8_to_ucs4_fast

13 years agoWorkaround io-layer crashing when the runtime exit without cleaning up everything.
Rodrigo Kumpera [Mon, 18 Apr 2011 19:41:16 +0000 (16:41 -0300)]
Workaround io-layer crashing when the runtime exit without cleaning up everything.

* handles.c (handle_cleanup): When the runtime exit(), not
everything is shutdown and the main thread might be waiting
on other threads to finish. On this case, io-layer cleanup
with assert as a mutex will be in use.
The work-around is to be lenient to busy resources during
shutdown.

13 years agoFix a crash in the sgen suspend code which happens when a thread is suspended while...
Zoltan Varga [Mon, 18 Apr 2011 17:25:32 +0000 (19:25 +0200)]
Fix a crash in the sgen suspend code which happens when a thread is suspended while it is dying.

13 years agoCheck for identical override when implementing generic interface
Marek Safar [Mon, 18 Apr 2011 17:06:57 +0000 (18:06 +0100)]
Check for identical override when implementing generic interface

13 years agoNew test
Marek Safar [Mon, 18 Apr 2011 17:06:29 +0000 (18:06 +0100)]
New test

13 years agoFix documentation header for some tests
Marek Safar [Mon, 18 Apr 2011 14:31:32 +0000 (15:31 +0100)]
Fix documentation header for some tests

13 years agoMerge error files from 4.0 profile
Marek Safar [Mon, 18 Apr 2011 13:48:25 +0000 (14:48 +0100)]
Merge error files from 4.0 profile

13 years agoRemove unnecessary future option
Marek Safar [Mon, 18 Apr 2011 13:01:08 +0000 (14:01 +0100)]
Remove unnecessary future option

13 years agoRemove unnecessary future option
Marek Safar [Mon, 18 Apr 2011 12:38:22 +0000 (13:38 +0100)]
Remove unnecessary future option

13 years ago[HttpWebRequest] Fix half-baked commit
Gonzalo Paniagua Javier [Mon, 18 Apr 2011 14:56:07 +0000 (10:56 -0400)]
[HttpWebRequest] Fix half-baked commit

Fixes bug #688100.

13 years agoFix DynamicInvoke when the delegate is closed over null
Jb Evain [Mon, 18 Apr 2011 13:47:33 +0000 (15:47 +0200)]
Fix DynamicInvoke when the delegate is closed over null

13 years agoAdd test for #664205
Jb Evain [Mon, 18 Apr 2011 13:46:31 +0000 (15:46 +0200)]
Add test for #664205

13 years agoFixed variable cannot be captured
Marek Safar [Fri, 15 Apr 2011 14:51:12 +0000 (15:51 +0100)]
Fixed variable cannot be captured

13 years agoMove IsValue/Reference type checks to type
Marek Safar [Fri, 15 Apr 2011 14:18:44 +0000 (15:18 +0100)]
Move IsValue/Reference type checks to type

13 years ago[asp.net] ScriptResourceHandler must correctly encode script literals.
Marek Habersack [Mon, 18 Apr 2011 11:22:20 +0000 (13:22 +0200)]
[asp.net] ScriptResourceHandler must correctly encode script literals.

13 years agoEmpty XmlReader message caused failure on buffereed copy.
Atsushi Eno [Mon, 18 Apr 2011 08:20:22 +0000 (17:20 +0900)]
Empty XmlReader message caused failure on buffereed copy.

13 years agoFix Object.MemberwiseClone () on arrays. Fixes #688033.
Zoltan Varga [Sun, 17 Apr 2011 21:48:30 +0000 (23:48 +0200)]
Fix Object.MemberwiseClone () on arrays. Fixes #688033.

13 years agoMIPS: Make sure callee-saved registers end up on word boundaries
Damien Diederen [Thu, 14 Apr 2011 23:07:41 +0000 (01:07 +0200)]
MIPS: Make sure callee-saved registers end up on word boundaries

In addition to handling parameters and local variables,
mono_arch_allocate_vars reserves space for callee-saved registers.

Even though the current implementation takes care of properly aligning
the variables according to their datatype, it doesn't force alignment
to a word boundary before processing the callee-saved area.  This can
result in misaligned accesses if the last locals are booleans or small
integers.

Worse still: the garbage collector does then not see these non-word-
aligned references, and can end up reclaiming the pointed-to objects
if there are no other references to them--causing strange crashes and
type morphing effects under memory pressure.

Fix that by forcibly aligning the callee-saved area.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Do not lower {LOAD,STORE}*_MEMBASE ops which can handle non-imm16 offsets
Damien Diederen [Sun, 20 Mar 2011 23:06:14 +0000 (00:06 +0100)]
MIPS: Do not lower {LOAD,STORE}*_MEMBASE ops which can handle non-imm16 offsets

As:

 1. They use a compact encoding when possible, and

 2. The operations they are being lowered to are not implemented anyway.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Adjust offset by alloc2_size to support split frame initialization
Damien Diederen [Sun, 20 Mar 2011 22:58:24 +0000 (23:58 +0100)]
MIPS: Adjust offset by alloc2_size to support split frame initialization

The backend splits very large stack frames in two areas, one that can
be accessed using immediate offsets, and another which requires
indirect addressing.

Without this patch, the code generator does not take the split into
account when accessing on-stack arguments, causing crashes and
corruption.

Fix that by subtracting the size of the second area from the IR-specified
offset while generating the native code.

Commit contributed under the MIT/X11 license.

13 years ago[webclient] Only set the credentials when they are not null.
Gonzalo Paniagua Javier [Sun, 17 Apr 2011 17:57:38 +0000 (13:57 -0400)]
[webclient] Only set the credentials when they are not null.

Setting the credentials to null makes FtpWebRequest throw.
Fixes bug #688007.

13 years agoImplemented IDisposable on System.Security.Cryptography.DeriveBytes to match the...
Sebastien Pouliot [Sun, 17 Apr 2011 14:40:06 +0000 (10:40 -0400)]
Implemented IDisposable on System.Security.Cryptography.DeriveBytes to match the .Net 4.0 implementation.
From: Chris Shaffer <chris@chrisshaffer.net>

13 years ago[asp.net] Implemented undocumented BuildManagerHost class to support the Cassini...
Marek Habersack [Sun, 17 Apr 2011 01:00:15 +0000 (03:00 +0200)]
[asp.net] Implemented undocumented BuildManagerHost class to support the Cassini ASP.NET host

13 years ago[asp.net] MinimizableAttributeTypeConverter only converts from strings.
Marek Habersack [Sat, 16 Apr 2011 00:09:47 +0000 (02:09 +0200)]
[asp.net] MinimizableAttributeTypeConverter only converts from strings.

It returns a boolean 'false' when the passed string matches (case-insensitively) 'false' or
is empty, returns 'true' otherwise.
All the other types (and a null value) cause it to throw the NotSupportedException.

13 years agoHandle a new dwarf CFA op generated by newer LLVM versions.
Zoltan Varga [Fri, 15 Apr 2011 23:21:55 +0000 (01:21 +0200)]
Handle a new dwarf CFA op generated by newer LLVM versions.

13 years agoFix non-element in XML flash policy (same as #681699 was for silverlight policies)
Sebastien Pouliot [Thu, 14 Apr 2011 19:27:54 +0000 (15:27 -0400)]
Fix non-element in XML flash policy (same as #681699 was for silverlight policies)

* FlashCrossDomainPolicyParser.cs: Skip, not throw, if we find a non-
element node type in a flash policy file.

13 years agoPrepare for HostNameComparisonMode support (i.e. incomplete).
Atsushi Eno [Fri, 15 Apr 2011 16:05:22 +0000 (01:05 +0900)]
Prepare for HostNameComparisonMode support (i.e. incomplete).

This is for bugfix #687580.

13 years agoReturn null for empty message in WebMessageFormatter. Useful eror messages.
Atsushi Eno [Fri, 15 Apr 2011 14:49:39 +0000 (23:49 +0900)]
Return null for empty message in WebMessageFormatter. Useful eror messages.

13 years agoSome argument check in TextMessageEncoder.
Atsushi Eno [Fri, 15 Apr 2011 14:48:31 +0000 (23:48 +0900)]
Some argument check in TextMessageEncoder.

13 years agoMore fun with value type constraints
Marek Safar [Fri, 15 Apr 2011 13:04:40 +0000 (14:04 +0100)]
More fun with value type constraints

13 years ago[corlib] Ensure Thread.ManagedThreadId is unique per thread.
Rolf Bjarne Kvinge [Fri, 15 Apr 2011 11:31:03 +0000 (13:31 +0200)]
[corlib] Ensure Thread.ManagedThreadId is unique per thread.

This fixes bug #667329.

The problem was that ManagedThreadId was created from a per-appdomain
counter, but stored in a per-thread storage, so if two threads could
end up with the same ManagedThreadId if a second appdomain executed
on the second thread first.

13 years agoUse correct MessageVersion instead of Default for empty response.
Atsushi Eno [Fri, 15 Apr 2011 12:30:04 +0000 (21:30 +0900)]
Use correct MessageVersion instead of Default for empty response.

Part of bugfix #687580.

13 years agoRemove warnings
Jb Evain [Fri, 15 Apr 2011 12:11:27 +0000 (14:11 +0200)]
Remove warnings

13 years agoPrefer immutable string return for ease of debugging in UriTemplate.
Atsushi Eno [Fri, 15 Apr 2011 11:03:12 +0000 (20:03 +0900)]
Prefer immutable string return for ease of debugging in UriTemplate.

13 years agoNew test
Marek Safar [Fri, 15 Apr 2011 10:30:00 +0000 (11:30 +0100)]
New test

13 years agoChange ImplicitReferenceConversion not to relly on broken IsValueType
Marek Safar [Fri, 15 Apr 2011 09:45:57 +0000 (10:45 +0100)]
Change ImplicitReferenceConversion not to relly on broken IsValueType

13 years agoFix regression for counter case to 6005f0a7.
Atsushi Eno [Fri, 15 Apr 2011 07:37:58 +0000 (16:37 +0900)]
Fix regression for counter case to 6005f0a7.

http://localhost/x + X should not result in http://localhost/xX.

13 years agoImplement support for KnownTypeAttribute.MethodName.
Atsushi Eno [Fri, 15 Apr 2011 06:40:42 +0000 (15:40 +0900)]
Implement support for KnownTypeAttribute.MethodName.

13 years agoPrepare for new System.Xml.Serialization.dll build (moonlight sdk assembly).
Atsushi Eno [Fri, 15 Apr 2011 06:00:40 +0000 (15:00 +0900)]
Prepare for new System.Xml.Serialization.dll build (moonlight sdk assembly).

13 years agoFlush XmlWriter and TextWriter so that incomplete changes are not lost.
Atsushi Eno [Fri, 15 Apr 2011 05:56:11 +0000 (14:56 +0900)]
Flush XmlWriter and TextWriter so that incomplete changes are not lost.

13 years agoOne more step to enable WCF diagnostics in Logger, and add HttpReplyChannel log.
Atsushi Eno [Fri, 15 Apr 2011 05:45:39 +0000 (14:45 +0900)]
One more step to enable WCF diagnostics in Logger, and add HttpReplyChannel log.

13 years ago[asp.net] Fix for bug #685116. AJAX post-back which redirects the browser does not...
Marek Habersack [Thu, 14 Apr 2011 22:50:58 +0000 (00:50 +0200)]
[asp.net] Fix for bug #685116. AJAX post-back which redirects the browser does not need a Page or ScriptManager instance

13 years agoClearing the queue messed up with the per-domain job count
Gonzalo Paniagua Javier [Thu, 14 Apr 2011 22:22:57 +0000 (15:22 -0700)]
Clearing the queue messed up with the per-domain job count

Fixes bug #687399.

13 years agoInitial drop of the new suspend machinery.
Rodrigo Kumpera [Thu, 14 Apr 2011 20:25:54 +0000 (17:25 -0300)]
Initial drop of the new suspend machinery.

* mini-posix.c (mono_runtime_posix_install_handlers): Only
install sigusr1 if the new machinery is not enabled.

* mono-threads.c: Add new suspend machinery. It provides
primitives to suspend and resume a thread. Code to interrupt
still missing.

* mono-threads-mach.c: Darwin backend for mono-threads.

13 years ago[asp.net] Fix for bug #685267. ClientScriptManager generates correct post-back event...
Marek Habersack [Thu, 14 Apr 2011 20:40:06 +0000 (22:40 +0200)]
[asp.net] Fix for bug #685267. ClientScriptManager generates correct post-back event reference for cross-page post-backs.

13 years ago[asp.net] Removed a few NET_2_0 ifdefs
Marek Habersack [Thu, 14 Apr 2011 19:12:15 +0000 (21:12 +0200)]
[asp.net] Removed a few NET_2_0 ifdefs

13 years agoFix 64bits mono on windows.
Rodrigo Kumpera [Thu, 14 Apr 2011 18:52:50 +0000 (15:52 -0300)]
Fix 64bits mono on windows.

13 years ago[asp.net] Shorten code in WebConfigurationHost
Marek Habersack [Thu, 14 Apr 2011 18:49:30 +0000 (20:49 +0200)]
[asp.net] Shorten code in WebConfigurationHost

13 years ago[asp.net] Fixed a thinko in one of the previous commits
Marek Habersack [Thu, 14 Apr 2011 18:48:54 +0000 (20:48 +0200)]
[asp.net] Fixed a thinko in one of the previous commits

13 years agoAdd regression test
Rodrigo Kumpera [Thu, 14 Apr 2011 17:34:20 +0000 (14:34 -0300)]
Add regression test

13 years agoTake constraints into account when checking for VAR assignability.
Rodrigo Kumpera [Thu, 14 Apr 2011 17:30:04 +0000 (14:30 -0300)]
Take constraints into account when checking for VAR assignability.

* class.c (mono_class_is_assignable_from): Check the constraints
of two (M)VARs to see if one is assignable to the other. This is
needed when we want to check something like:

Foo<T,U> () where T : U

On the above example T is assignable to U.

Fixes #687269

13 years agoFix some tests that got broken due to the verifier getting stricter
Rodrigo Kumpera [Wed, 13 Apr 2011 21:41:45 +0000 (18:41 -0300)]
Fix some tests that got broken due to the verifier getting stricter

13 years agoImprove error message
Rodrigo Kumpera [Wed, 13 Apr 2011 18:27:03 +0000 (15:27 -0300)]
Improve error message

13 years agoFix bug #687444, null-character handling is now closer and as illogical as .NET.
Atsushi Eno [Thu, 14 Apr 2011 12:11:10 +0000 (21:11 +0900)]
Fix bug #687444, null-character handling is now closer and as illogical as .NET.