Implement batched method invokes in sdb.
Don't try to create fast property getters of properties of open types. Fixes #6034.
Properly dispose ToolStrip objects and child objects

Check if `dispose' is actually set, and only then call Dispose on
children. This patch was written with the help of alan from #monodev
IRC.

Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
Do not calculate autosize of ToolStripItem when owner gets set to null

Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
Return at least MinimumWidth instead of 0 in GetPreferredWidth

Otherwise we cannot use GetPreferredWidth as new Width, since this will
throw an Exception (ArgumentOutOfRange).
It's not a real fix, but it avoids crashes when using this method to
assign a new width for columns. Attached a MonoTODO to make this clear.

Signed-off-by: Daniel Knittl-Frank <knittl89+git@googlemail.com>
Merge pull request #426 from knittl/preferredwidth-minimumwidth

Return at least MinimumWidth instead of 0 in GetPreferredWidth
Merge pull request #427 from knittl/toolstrip-dispose

Toolstrip dispose
Fix monolite bootstrap
Fix ArgumentOutOfRangeException in HttpListenerManager.TryDequeueRequest when timeout is less than 0
Give the minor copy functions different names under for each minor collector to make profilers (Intruments) happy.
Sprinkle some inlining annotations magic to bring performance back to the 2.10 levels.

	* sgen-copy-object.h: For some reason gcc's inlining heuristics for serial_copy_object
	from serial_scan_object reason not to inline it. This causes a 20% increase in nursery
	scanning times.

	Be explicit about inlining hints to make sure we get what we need.
Some gcc versions ICE when inlining code using computed gotos.
Fix 'caller saved' typo in mono_arch_allocate_vars()

The reserved space is for 'callee-save' registers, not 'caller-save', as
shown by the check for 'AMD64_IS_CALLEE_SAVED_REG' in the loop next to
the comment.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Fix code indentation and formatting
Merge pull request #429 from penberg/fixes/typo-in-mini-amd64

Fix 'caller saved' typo in mono_arch_allocate_vars()
Revert 4e5e52a29818b5342ec3b9f0b51c74970765c071, which was pull request 242, which was novell bugzilla #689533

This patch miscompiled attributes like this:

                [EditorBrowsable (EditorBrowsableState.Advanced)]
                [Export ("init")]
                public  CAKeyFrameAnimation () : base (NSObjectFlag.Empty)
                {
                        if (IsDirectBinding) {
                                Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSend (this.Handle, Selector.Init);
                        } else {
                                Handle = MonoMac.ObjCRuntime.Messaging.IntPtr_objc_msgSendSuper (this.SuperHandle, Selector.Init);
                        }
                }

In particular the [Export ("init")] method to be compiled like this:

    // method line 6274
    .method public hidebysig specialname rtspecialname
           instance default void '.ctor' ()  cil managed
    {
        .custom instance void class [System]System.ComponentModel.EditorBrowsableAttribute::'.ctor'(valuetype [System]System.ComponentModel.EditorBrowsableState) =  (01 00 02 00 00 00 00 00 ) // ........

        .custom instance void class MonoMac.CoreGraphics.CGImage::'.ctor'(int32, int32, int32, int32, int32, class MonoMac.CoreGraphics.CGColorSpace, valuetype MonoMac.CoreGraphics.CGImageAlphaInfo, class MonoMac.CoreGraphics.CGDataProvider, float32[], bool, valuetype MonoMac.CoreGraphics.CGColorRenderingIntent) =  (01 00 04 69 6E 69 74 00 00 ) // ...init..

Notice the "CGImage" attribtue instead of the ExportAttribute
Emit AOT line number information on osx/ios too.
When enabling security with "mono_security_enable_core_clr" on a Windows machine, it causes an infinite recession when calling System.IO.Directory.GetCurrentDirectory.

The loop is happening between these calls:
https://github.com/mono/mono/blob/92d8961e0b244429d4d82176f4b33c8a4b3b064c/mcs/class/corlib/System.IO/Path.cs#L298
https://github.com/mono/mono/blob/3c39ac4586b4470703fb4af0208b5baf1de70e43/mcs/class/corlib/System.Security.Permissions/FileIOPermission.cs#L157
https://github.com/mono/mono/blob/9322e0d16b0edc054947279af34d3c7afb286c89/mcs/class/corlib/System.IO/Directory.cs#L248

Stack trace as follows:

The requested operation caused a stack overflow.  at (wrapper managed-to-native) System.IO.MonoIO:GetCurrentDirectory (System.IO.MonoIOError&)
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathInternal (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathList (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathInternal (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission.AddPathList (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Directory.GetCurrentDirectory () [0x00000] in <filename unknown>:0
  at System.IO.Path.WindowsDriveAdjustment (System.String path) [0x00000] in <filename unknown>:0
  at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
...Snip...
Fixed incorrect line spacing
Merge pull request #430 from Nican/master

Infinite recursion with GetCurrentDirectory and security enabled