mono.git
13 years agoFix output of local variable names in debugging symbols
Jb Evain [Thu, 30 Dec 2010 19:56:32 +0000 (20:56 +0100)]
Fix output of local variable names in debugging symbols

13 years agoMove coree functionality under a specific define.
Rodrigo Kumpera [Mon, 10 Jan 2011 22:21:41 +0000 (23:21 +0100)]
Move coree functionality under a specific define.

* assembly.c:
* domain.c:
* image.c:
* coree.c: Coree funcionality is now under the
ENABLE_COREE define that is not set by default. The
current code breaks the verification infrastructure.

13 years agoFix IKVM float encoding on big-endian
Marek Safar [Mon, 10 Jan 2011 22:16:38 +0000 (22:16 +0000)]
Fix IKVM float encoding on big-endian

13 years ago[xbuild] Fix bug #663180, second part.
Ankit Jain [Mon, 10 Jan 2011 21:55:54 +0000 (03:25 +0530)]
[xbuild] Fix bug #663180, second part.

Fix the way RunningOnMac is detected (use `uname`=="Darwin"), thanks
to Michael Hutchinson.
And use "/Library/Frameworks/Mono.framework/External/pkgconfig" as a
search path for pkg-config files on MacOSX.

* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Import.cs:
Change the order of paths.
* Microsoft.Build.Engine/Microsoft.Build.Engine.dll.sources:
Use MS.Build.Tasks/Utilities.cs, for using RunningOnMac .
* Microsoft.Build.Tasks/Microsoft.Build.Tasks/PcFileCache.cs:
Look in "/Library/Frameworks/Mono.framework/External/pkgconfig"
for .pc files, on Mac.
* Microsoft.Build.Tasks/Microsoft.Build.Tasks/Utilities.cs
(RunningOnMac): New.

13 years agoFix for bug #659064. Resource URLs must always be the same. UpdatePanel triggers...
Marek Habersack [Mon, 3 Jan 2011 13:52:34 +0000 (14:52 +0100)]
Fix for bug #659064. Resource URLs must always be the same. UpdatePanel triggers must always be initialized.

String hash cache must not be thread-local. Hashes computed for a string once must be shared by
all the threads or different URLs may be generated for the same assembly+resource pair.
UpdatePanel triggers must be initialized not only during the Load event but also when they are
inserted after that point.

13 years agoForce a build.
Zoltan Varga [Mon, 10 Jan 2011 20:39:17 +0000 (21:39 +0100)]
Force a build.

13 years agoImplement all SIMD intrinsics in LLVM used by basic-simd.exe.
Zoltan Varga [Mon, 10 Jan 2011 19:27:06 +0000 (20:27 +0100)]
Implement all SIMD intrinsics in LLVM used by basic-simd.exe.

13 years agoFixed another missing protected internal modifier
Marek Safar [Mon, 10 Jan 2011 17:26:27 +0000 (17:26 +0000)]
Fixed another missing protected internal modifier

13 years agoFix the loadable llvm build.
Zoltan Varga [Mon, 10 Jan 2011 16:49:08 +0000 (17:49 +0100)]
Fix the loadable llvm build.

13 years agoFix short trampoline branch.
Martin Baulig [Sun, 9 Jan 2011 18:34:13 +0000 (19:34 +0100)]
Fix short trampoline branch.

13 years agoAdd another bunch of SIMD intrinsics to the LLVM backend.
Zoltan Varga [Mon, 10 Jan 2011 15:45:04 +0000 (16:45 +0100)]
Add another bunch of SIMD intrinsics to the LLVM backend.

13 years ago[xbuild] Fix bug #663159 .
Ankit Jain [Mon, 10 Jan 2011 14:40:20 +0000 (20:10 +0530)]
[xbuild] Fix bug #663159 .

Emit location information in error messages for condition parsing
errors.

* Microsoft.Build.BuildEngine/Token.cs: Add position information.
* Microsoft.Build.BuildEngine/ConditionParser.cs: Track api changes.
Improve error messages.
(ExpectToken): Rename to ..
(IsAtToken): .. this, to better reflect its behavior.
* Microsoft.Build.BuildEngine/ConditionTokenizer.cs: Track api
changes and improve error messages.
* Microsoft.Build.BuildEngine/ConditionFactorExpresion.cs: Track api
changes

13 years ago[xbuild] Sync *PcFileCache.cs changes from monodevelop.
Ankit Jain [Mon, 10 Jan 2011 07:53:30 +0000 (13:23 +0530)]
[xbuild] Sync *PcFileCache.cs changes from monodevelop.

13 years agoFixed more protected internal modifiers
Marek Safar [Mon, 10 Jan 2011 14:37:17 +0000 (14:37 +0000)]
Fixed more protected internal modifiers

13 years agoReport correct base modifier for inaccessible protected internal members
Marek Safar [Mon, 10 Jan 2011 14:36:31 +0000 (14:36 +0000)]
Report correct base modifier for inaccessible protected internal members

13 years agoCouple with missing methods in MonoClass::methods.
Rodrigo Kumpera [Mon, 10 Jan 2011 14:36:05 +0000 (15:36 +0100)]
Couple with missing methods in MonoClass::methods.

* class.c (mono_class_get_virtual_methods): Handle missing
methods in the methods array.

Fixes #572223

Patch by Sebastien Pouliot <spouliot@novell.com>

13 years agoFix a deadlock on the interrupt guard machinery.
Rodrigo Kumpera [Mon, 10 Jan 2011 13:32:42 +0000 (14:32 +0100)]
Fix a deadlock on the interrupt guard machinery.

* mini-exceptions.c (mono_walk_stack): Change the do_il_offset
parameter into unwind_options which is an enum that allows
multiple options to be passed.

* mini-exceptions.c (mono_jit_walk_stack_from_ctx): Ditto.

* mini.h: Introduce MonoUnwindOptions which allow stack
unwinding callers to specify that they don't want precise
method lookup (IOW, no need to deal with  gsharing) which
allow those functions to be signal safe.

* mini-exceptions.c (mono_install_handler_block_guard): Ask
mono_walk_stack to perform signal safe unwinding.

Fixes #662741

13 years agoMark mono_print_method_from_ip () with __attribute__((used)) to prevent the linker...
Zoltan Varga [Mon, 10 Jan 2011 13:09:23 +0000 (14:09 +0100)]
Mark mono_print_method_from_ip () with __attribute__((used)) to prevent the linker from optimizing it away in embedding setups.

13 years agoImplement mono.simd new conversion ops on amd64
Rodrigo Kumpera [Mon, 10 Jan 2011 10:52:46 +0000 (10:52 +0000)]
Implement mono.simd new conversion ops on amd64

13 years ago[asp.net,mcs] Fixed 'protected internal' build errors and removed System.Web-specific...
Marek Habersack [Mon, 10 Jan 2011 10:16:05 +0000 (11:16 +0100)]
[asp.net,mcs] Fixed 'protected internal' build errors and removed System.Web-specific hack from mcs

13 years agoImplement a few conversion operations.
Rodrigo Kumpera [Mon, 10 Jan 2011 09:40:12 +0000 (10:40 +0100)]
Implement a few conversion operations.

Add conversion operations between 4f, 2d and 4i.
Implemented only on x86 for now.

13 years agoFix 64bits Shuffle/3 when simd intrinsics are disabled
Rodrigo Kumpera [Sun, 9 Jan 2011 19:55:01 +0000 (20:55 +0100)]
Fix 64bits Shuffle/3 when simd intrinsics are disabled

13 years agoFixed more missing protected internal modifiers
Marek Safar [Mon, 10 Jan 2011 08:44:19 +0000 (08:44 +0000)]
Fixed more missing protected internal modifiers

13 years ago[xbuild] Fix bug #663180 .
Ankit Jain [Sun, 9 Jan 2011 21:04:12 +0000 (02:34 +0530)]
[xbuild] Fix bug #663180 .

Add "/Library/Frameworks/Mono.framework/External/xbuild" to
MSBuildExtensionsPath on MacOSX.

From the bug report:
The purpose of this directory is to provide a place for third-party
installers to place extensions where they will not be removed by Mono
upgrades. MonoDevelop patches this into the xbuild MSBuildExtensionsPath
for builds within MD but it would be useful to have it work outside of MD.

13 years ago[System.Web] Add web fonts mimetypes to let browser do caching on client-side
Jérémie Laval [Sun, 9 Jan 2011 19:26:18 +0000 (19:26 +0000)]
[System.Web] Add web fonts mimetypes to let browser do caching on client-side

13 years agoAdd NIE stubs for new 4.0 methods to ease running IronPython test suite
Sebastien Pouliot [Sun, 9 Jan 2011 15:57:45 +0000 (10:57 -0500)]
Add NIE stubs for new 4.0 methods to ease running IronPython test suite

* SecurityManager.cs: Add new stubs for 4.0 methods. Add [Obsolete]
attributes on most methods (new in 4.0)

13 years agoIgnore files ending in '~'
barkerm [Mon, 3 Jan 2011 20:08:31 +0000 (20:08 +0000)]
Ignore files ending in '~'

13 years agoFix for running against RabbitMQ 2.2
barkerm [Mon, 3 Jan 2011 20:34:01 +0000 (20:34 +0000)]
Fix for running against RabbitMQ 2.2

13 years ago[eglib] Another bug fix for g_shell_parse
Miguel de Icaza [Sun, 9 Jan 2011 04:08:24 +0000 (23:08 -0500)]
[eglib] Another bug fix for g_shell_parse

We do not create a new string after a quotation, unless the next
character after a closing quote is a space.   This allows parsing
the string:
"foo","bar"

As:
foo,bar

This fixes #655896

1# Explicit paths specified without -i nor -o; assuming --only paths...

13 years ago[eglib] Add more tests for the g_shell_parse
Miguel de Icaza [Sun, 9 Jan 2011 04:08:15 +0000 (23:08 -0500)]
[eglib] Add more tests for the g_shell_parse

13 years agoPass -relocation-model=static to llc in static mode.
Zoltan Varga [Sat, 8 Jan 2011 20:44:54 +0000 (21:44 +0100)]
Pass -relocation-model=static to llc in static mode.

13 years agoAdd CPSR to Apple arm ucontext macros as well
Geoff Norton [Sat, 8 Jan 2011 20:13:34 +0000 (15:13 -0500)]
Add CPSR to Apple arm ucontext macros as well

13 years ago[663059] Add check for protected modifier in InternalsVisibleTo assembly
Marek Safar [Sat, 8 Jan 2011 19:26:02 +0000 (19:26 +0000)]
[663059] Add check for protected modifier in InternalsVisibleTo assembly

13 years agoTest update
Marek Safar [Sat, 8 Jan 2011 19:21:22 +0000 (19:21 +0000)]
Test update

13 years agoFixed missing protected internal modifier
Marek Safar [Sat, 8 Jan 2011 19:20:32 +0000 (19:20 +0000)]
Fixed missing protected internal modifier

13 years agoUpdate System.ServiceModel.Discovery version info
Marek Safar [Sat, 8 Jan 2011 19:20:13 +0000 (19:20 +0000)]
Update System.ServiceModel.Discovery version info

13 years agoAllow trailing comma for resource argument
Marek Safar [Sat, 8 Jan 2011 19:17:49 +0000 (19:17 +0000)]
Allow trailing comma for resource argument

13 years agoApply .no_dead_strip to all symbols. Unify __APPLE__/__MACH__ defines.
Zoltan Varga [Sat, 8 Jan 2011 19:22:41 +0000 (20:22 +0100)]
Apply .no_dead_strip to all symbols. Unify __APPLE__/__MACH__ defines.

13 years agoEmit .no_dead_strip directives for all LLVM methods on OSX.
Zoltan Varga [Sat, 8 Jan 2011 17:13:52 +0000 (18:13 +0100)]
Emit .no_dead_strip directives for all LLVM methods on OSX.

13 years agoEmit .no_dead_strip directives for all LLVM methods on OSX.
Zoltan Varga [Sat, 8 Jan 2011 17:11:30 +0000 (18:11 +0100)]
Emit .no_dead_strip directives for all LLVM methods on OSX.

13 years agoAvoid an assert if System.Diagnostics.DebuggableAttribute is linked away.
Zoltan Varga [Sat, 8 Jan 2011 16:16:06 +0000 (17:16 +0100)]
Avoid an assert if System.Diagnostics.DebuggableAttribute is linked away.

13 years agoFix the arm dyncall code after the this passing changes.
Zoltan Varga [Sat, 8 Jan 2011 13:12:33 +0000 (14:12 +0100)]
Fix the arm dyncall code after the this passing changes.

13 years agoDisallow loading of non-llvm compiled aot modules into llvm runtimes on arm.
Zoltan Varga [Sat, 8 Jan 2011 13:12:15 +0000 (14:12 +0100)]
Disallow loading of non-llvm compiled aot modules into llvm runtimes on arm.

13 years agoTidy up AOT trace messages a bit more.
Zoltan Varga [Sat, 8 Jan 2011 11:51:29 +0000 (12:51 +0100)]
Tidy up AOT trace messages a bit more.

13 years agoGenerate an icall wrapper for CompareExchange<object> into the mscorlib image.
Zoltan Varga [Sat, 8 Jan 2011 11:49:02 +0000 (12:49 +0100)]
Generate an icall wrapper for CompareExchange<object> into the mscorlib image.

13 years agoMake an AOT trace message shorter.
Zoltan Varga [Sat, 8 Jan 2011 11:37:16 +0000 (12:37 +0100)]
Make an AOT trace message shorter.

13 years agoFix the previous fix.
Zoltan Varga [Sat, 8 Jan 2011 03:40:40 +0000 (04:40 +0100)]
Fix the previous fix.

13 years agoFix the apple aot problem.
Zoltan Varga [Sat, 8 Jan 2011 03:33:53 +0000 (04:33 +0100)]
Fix the apple aot problem.

13 years agoInclude the assembly name in AOT symbol names in static mode to avoid duplicate symbo...
Zoltan Varga [Sat, 8 Jan 2011 03:23:30 +0000 (04:23 +0100)]
Include the assembly name in AOT symbol names in static mode to avoid duplicate symbol errors.

13 years agoChange how double/long alignment is saved in the AOT image on arm to support cross...
Zoltan Varga [Sat, 8 Jan 2011 03:06:53 +0000 (04:06 +0100)]
Change how double/long alignment is saved in the AOT image on arm to support cross-compilation.

13 years agoVarious changes to make thumb work under osx.
Zoltan Varga [Sat, 8 Jan 2011 03:04:16 +0000 (04:04 +0100)]
Various changes to make thumb work under osx.

13 years agoEmit thumb unbox trampolines for thumb functions.
Zoltan Varga [Sat, 8 Jan 2011 02:38:55 +0000 (03:38 +0100)]
Emit thumb unbox trampolines for thumb functions.

13 years agoUse 'globals' instead of '.Lglobals' to name an aot symbol.
Zoltan Varga [Sat, 8 Jan 2011 01:21:07 +0000 (02:21 +0100)]
Use 'globals' instead of '.Lglobals' to name an aot symbol.

13 years agoAdd 'no-write-symbols' aot option.
Zoltan Varga [Fri, 7 Jan 2011 20:05:20 +0000 (21:05 +0100)]
Add 'no-write-symbols' aot option.

13 years agoAdd an 'llvm-path' aot option.
Zoltan Varga [Fri, 7 Jan 2011 20:03:32 +0000 (21:03 +0100)]
Add an 'llvm-path' aot option.

13 years agoAvoid 0b notation, older gcc's can't handle it.
Zoltan Varga [Fri, 7 Jan 2011 19:48:14 +0000 (20:48 +0100)]
Avoid 0b notation, older gcc's can't handle it.

13 years agoMerge branch 'master' of github.com:mono/mono
Thomas Goldstein [Fri, 7 Jan 2011 19:27:12 +0000 (20:27 +0100)]
Merge branch 'master' of github.com:mono/mono

13 years agoAdd new NumericUpDown tests.
Thomas Goldstein [Fri, 7 Jan 2011 19:18:12 +0000 (20:18 +0100)]
Add new NumericUpDown tests.

13 years agoAdd unit test for bug 661750.
Thomas Goldstein [Fri, 7 Jan 2011 19:15:26 +0000 (20:15 +0100)]
Add unit test for bug 661750.

13 years agoUse emit_zero_bytes () instead of .skip directive.
Zoltan Varga [Fri, 7 Jan 2011 19:05:35 +0000 (20:05 +0100)]
Use emit_zero_bytes () instead of .skip directive.

13 years agoRemove NumericUpDownTest.cs from the -crlf list (file line-ending encoding converted...
Thomas Goldstein [Fri, 7 Jan 2011 18:48:47 +0000 (19:48 +0100)]
Remove NumericUpDownTest.cs from the -crlf list (file line-ending encoding converted by mistake)

13 years agoRemove debug spew
Rodrigo Kumpera [Fri, 7 Jan 2011 17:23:05 +0000 (18:23 +0100)]
Remove debug spew

13 years agoAdd __default_codegen__ to *all* msvc profiles.
Jonathan Pobst [Fri, 7 Jan 2011 17:19:25 +0000 (11:19 -0600)]
Add __default_codegen__ to *all* msvc profiles.

13 years ago[monodroid] Look for zlib support functions from __Internal.
Jonathan Pryor [Fri, 7 Jan 2011 16:57:01 +0000 (11:57 -0500)]
[monodroid] Look for zlib support functions from __Internal.

Partial fix for #660928; the rest of the fix will require embedding
the zlib functions within libmonodroid.so.

13 years agoAdd __default_codegen__ define to fix the msvc build.
Jonathan Pobst [Fri, 7 Jan 2011 16:45:00 +0000 (10:45 -0600)]
Add __default_codegen__ define to fix the msvc build.

13 years agoMake 'mono_aot_assembly_name' a local symbol as well.
Zoltan Varga [Fri, 7 Jan 2011 16:41:31 +0000 (17:41 +0100)]
Make 'mono_aot_assembly_name' a local symbol as well.

13 years agoFix the DISABLE_JIT build.
Zoltan Varga [Fri, 7 Jan 2011 16:37:36 +0000 (17:37 +0100)]
Fix the DISABLE_JIT build.

13 years agoIgnore more files
Marek Safar [Fri, 7 Jan 2011 16:20:05 +0000 (16:20 +0000)]
Ignore more files

13 years agoTests update
Marek Safar [Fri, 7 Jan 2011 16:18:44 +0000 (16:18 +0000)]
Tests update

13 years agoReorganize the static AOT support a bit more: the 'mono_aot_.._info' symbol will...
Zoltan Varga [Fri, 7 Jan 2011 15:15:00 +0000 (16:15 +0100)]
Reorganize the static AOT support a bit more: the 'mono_aot_.._info' symbol will now point the MonoAotFileInfo structure itself, not to a table of globals.

13 years agoProperly search overwrites for custom attributes.
Rodrigo Kumpera [Fri, 7 Jan 2011 15:11:33 +0000 (16:11 +0100)]
Properly search overwrites for custom attributes.

* MonoCustomAttr.cs (GetBase): For the purpoise of
searching for custom attributes we need to use the
immediate overwritee and not the base definition.

Fixes #662867 and possibly more.

13 years agoAdd sanity check to AOT for long/double alignment.
Zoltan Varga [Fri, 7 Jan 2011 14:04:37 +0000 (15:04 +0100)]
Add sanity check to AOT for long/double alignment.

13 years agoRemove now unused internal classes
Jérémie Laval [Fri, 7 Jan 2011 13:40:45 +0000 (13:40 +0000)]
Remove now unused internal classes

13 years agoDisallow the 'soft-debug' aot option when compiling using LLVM.
Zoltan Varga [Fri, 7 Jan 2011 13:37:21 +0000 (14:37 +0100)]
Disallow the 'soft-debug' aot option when compiling using LLVM.

13 years agoUse symbolic constants and sizeof(mgreg_t) instead of 4/sizeof(gpointer)/sizeof(gulon...
Zoltan Varga [Fri, 7 Jan 2011 12:37:19 +0000 (13:37 +0100)]
Use symbolic constants and sizeof(mgreg_t) instead of 4/sizeof(gpointer)/sizeof(gulong) in the arm backend.

13 years agoAdd bigger unit test for Intersect and Union
Jérémie Laval [Fri, 7 Jan 2011 11:16:03 +0000 (11:16 +0000)]
Add bigger unit test for Intersect and Union

13 years agoDirectly use ConcurrentDictionary with PLinq set operations
Jérémie Laval [Fri, 7 Jan 2011 11:11:34 +0000 (11:11 +0000)]
Directly use ConcurrentDictionary with PLinq set operations

13 years agoBetter anonymous methods require same parameter types
Marek Safar [Fri, 7 Jan 2011 09:55:44 +0000 (09:55 +0000)]
Better anonymous methods require same parameter types

13 years agoAMD64 version of the new mono.simd ops
Rodrigo Kumpera [Fri, 7 Jan 2011 00:19:03 +0000 (00:19 +0000)]
AMD64 version of the new mono.simd ops

13 years agoremove stupid debug spew
Rodrigo Kumpera [Thu, 6 Jan 2011 21:01:55 +0000 (22:01 +0100)]
remove stupid debug spew

13 years agoRevert
Gonzalo Paniagua Javier [Thu, 6 Jan 2011 21:02:43 +0000 (16:02 -0500)]
Revert

13 years ago[windows] Improve drive search
Gonzalo Paniagua Javier [Thu, 6 Jan 2011 20:52:54 +0000 (15:52 -0500)]
[windows] Improve drive search

Windows allows "A", "A:", @"a:\"... as synonyms for the same drive.
Patch by Vincent Povirk that fixes bug #660911.

13 years agoImplement Shuffle for 64bits types.
Rodrigo Kumpera [Thu, 6 Jan 2011 20:36:31 +0000 (21:36 +0100)]
Implement Shuffle for 64bits types.

* x86-codegen.h: Add macro and define to emit pshufpd.

* mini-ops.h: Add OP_SHUPD.

* cpu-x86.md:
* mini-x86.h: Implement x86 support.

* simd-intrinsics.c: Handle shuffle on 64bit types.

* VectorOperations.cs: Add new methods.

13 years agoImplement Shuffle/3
Rodrigo Kumpera [Thu, 6 Jan 2011 18:31:04 +0000 (19:31 +0100)]
Implement Shuffle/3

13 years agoImplement runtime support (x86 only) for 3 args Shuffle.
Rodrigo Kumpera [Thu, 6 Jan 2011 17:45:03 +0000 (18:45 +0100)]
Implement runtime support (x86 only) for 3 args Shuffle.

* cpu-x86.md: Add shufps.

* mini-ops.h: Add OP_SHUFPS.

* mini-x86.c (mono_arch_output_basic_block): Emit
OP_SHUFPS.

* simd-intrinsics.c (simd_intrinsic_emit_shuffle): Handle
3 args variant.

13 years agoAdd SHUFPS and macro to emit it.
Rodrigo Kumpera [Thu, 6 Jan 2011 17:43:59 +0000 (18:43 +0100)]
Add SHUFPS and macro to emit it.

13 years agoAdd test for call clobbering of XMM regs
Rodrigo Kumpera [Thu, 6 Jan 2011 17:42:00 +0000 (18:42 +0100)]
Add test for call clobbering of XMM regs

13 years agoProperly free xmm hregs.
Rodrigo Kumpera [Thu, 6 Jan 2011 17:38:13 +0000 (18:38 +0100)]
Properly free xmm hregs.

* mini-codegen.c (free_up_hreg): Use the bank argument instead of
a hardcoded one.

13 years ago[Windows] Implement GetDrives.
Gonzalo Paniagua Javier [Thu, 6 Jan 2011 20:42:52 +0000 (15:42 -0500)]
[Windows] Implement GetDrives.

Drive names are ok, but the type is always 'Fixed'.
Fixes bug #660907.

13 years agoReplace decimal to hex string conversion code with a much more simple alternative...
Thomas Goldstein [Thu, 6 Jan 2011 20:24:55 +0000 (21:24 +0100)]
Replace decimal to hex string conversion code with a much more simple alternative (suggested by Oliver Thimm). Fixes bug 661750.

13 years agoRemove #if NET_2_0.
Thomas Goldstein [Thu, 6 Jan 2011 20:07:02 +0000 (21:07 +0100)]
Remove #if NET_2_0.

13 years agoRe-enable and fix the nacl changes.
Zoltan Varga [Thu, 6 Jan 2011 19:29:02 +0000 (20:29 +0100)]
Re-enable and fix the nacl changes.

13 years agoPut back a macro definition accidently removed by the nacl changes.
Zoltan Varga [Thu, 6 Jan 2011 18:35:45 +0000 (19:35 +0100)]
Put back a macro definition accidently removed by the nacl changes.

13 years agoFix .NET 4 API
Jérémie Laval [Thu, 6 Jan 2011 16:08:31 +0000 (16:08 +0000)]
Fix .NET 4 API

13 years agoAdd missing Debugger and ReliabilityContract attributes to .NET 4 types
Jérémie Laval [Thu, 6 Jan 2011 16:07:48 +0000 (16:07 +0000)]
Add missing Debugger and ReliabilityContract attributes to .NET 4 types

13 years agoAvoid random failure in CountdownEvent unit test
Jérémie Laval [Thu, 6 Jan 2011 15:16:35 +0000 (15:16 +0000)]
Avoid random failure in CountdownEvent unit test

13 years agoFail nice if the current profiler doesn't support ICustomMarshaler.
Rodrigo Kumpera [Thu, 6 Jan 2011 14:51:15 +0000 (15:51 +0100)]
Fail nice if the current profiler doesn't support ICustomMarshaler.

* marshal.c (emit_marshal_custom): If the lookup for ICustomMarshaler
fails, emit code to raise an exception instead of asserting.

Fixes #560334

13 years agoUse while loop instead of if for removing as much stalled tickets as possible
Jérémie Laval [Thu, 6 Jan 2011 14:43:12 +0000 (14:43 +0000)]
Use while loop instead of if for removing as much stalled tickets as possible

13 years agoFix comments
Jérémie Laval [Thu, 6 Jan 2011 14:42:26 +0000 (14:42 +0000)]
Fix comments

13 years agoProtect SpinLock's Enter method against asynchronous exception
Jérémie Laval [Thu, 6 Jan 2011 14:37:17 +0000 (14:37 +0000)]
Protect SpinLock's Enter method against asynchronous exception