mono.git
13 years agoMerge mono/io-layer, mono/metadata, mono/arch/x86 and configure.in for Native Client
Elijah Taylor [Wed, 15 Dec 2010 00:03:45 +0000 (16:03 -0800)]
Merge mono/io-layer, mono/metadata, mono/arch/x86 and configure.in for Native Client

13 years agoChanges to mono/arch/amd64 for Native Client
Elijah Taylor [Tue, 14 Dec 2010 22:37:36 +0000 (14:37 -0800)]
Changes to mono/arch/amd64 for Native Client

13 years agoAdd llvm_label_prefix to a few symbols.
Zoltan Varga [Tue, 14 Dec 2010 21:38:44 +0000 (22:38 +0100)]
Add llvm_label_prefix to a few symbols.

13 years agoFixed AesManaged parameter names to make gui-compare happy
Jeffrey Stedfast [Tue, 14 Dec 2010 21:20:35 +0000 (16:20 -0500)]
Fixed AesManaged parameter names to make gui-compare happy

13 years agoPut llvm type infos into the .text section.
Zoltan Varga [Tue, 14 Dec 2010 20:34:33 +0000 (21:34 +0100)]
Put llvm type infos into the .text section.

13 years agoAdd support for an additional TType encoding.
Zoltan Varga [Tue, 14 Dec 2010 20:32:04 +0000 (21:32 +0100)]
Add support for an additional TType encoding.

13 years agoRelease per-appdomain binding information.
Rodrigo Kumpera [Tue, 14 Dec 2010 20:37:14 +0000 (18:37 -0200)]
Release per-appdomain binding information.

* appdomain.c (unload_thread_main): Call function
bindings cleanup.

* assembly.c (mono_assembly_apply_binding): Dupe the
content of per-domain bindings. Assign a domain_id on
such entries to be possible to track them later.

* assembly.c (mono_assembly_cleanup_domain_bindings):
New function that removes per-domain bindings on
unload.

* metadata-internals.h (MonoAssemblyBindingInfo): Add
domain_id field so it's possible to track if an entry
is appdomain bound.

13 years agoMerge branch 'master' of github.com:mono/mono
Rodrigo Kumpera [Tue, 14 Dec 2010 20:41:53 +0000 (18:41 -0200)]
Merge branch 'master' of github.com:mono/mono

13 years agoAdd TypeForwardedTo for Aes on MOONLIGHT and BOOTSTRAP_NET_4_0
Jeffrey Stedfast [Tue, 14 Dec 2010 20:08:55 +0000 (15:08 -0500)]
Add TypeForwardedTo for Aes on MOONLIGHT and BOOTSTRAP_NET_4_0

13 years agoSocket.Dispose is public in 4.0.
Michael Hutchinson [Mon, 13 Dec 2010 19:05:24 +0000 (14:05 -0500)]
Socket.Dispose is public in 4.0.

13 years agoAdd one more test for marshaling of char arrays
Rodrigo Kumpera [Tue, 14 Dec 2010 16:34:26 +0000 (14:34 -0200)]
Add one more test for marshaling of char arrays

13 years agoFix marshaling of chars on structs.
Rodrigo Kumpera [Tue, 14 Dec 2010 16:30:38 +0000 (14:30 -0200)]
Fix marshaling of chars on structs.

* marshal.c (emit_struct_conv): Take the native type of
the field to decide what kind of conv to use if field
is of type char.

* marshal.c (mono_pinvoke_is_unicode): Unify auto
and default.

* marshal.c (emit_struct_conv_full): Kill this variant
that doesn't make any sense as structures are marshaled
in the same way regardless of the charset of the method.

* metadata.c (mono_type_to_unmanaged): Handle marshalspec
for char.

Fixes the regression on MD caused by 1f3cfba.

13 years ago[653710] Check type parameter reference type constraint recursively
Marek Safar [Tue, 14 Dec 2010 16:29:59 +0000 (16:29 +0000)]
[653710] Check type parameter reference type constraint recursively

13 years ago[656918] Implement expression tree access to hoisted variable reference
Marek Safar [Tue, 14 Dec 2010 16:03:56 +0000 (16:03 +0000)]
[656918] Implement expression tree access to hoisted variable reference

13 years agoAdd experimental "#if NET_2_1" mode (it builds w/o s.x.permissions).
Atsushi Eno [Tue, 14 Dec 2010 15:15:20 +0000 (00:15 +0900)]
Add experimental "#if NET_2_1" mode (it builds w/o s.x.permissions).

13 years ago[656918] Emit instance expression for ET delegate creation
Marek Safar [Tue, 14 Dec 2010 14:10:14 +0000 (14:10 +0000)]
[656918] Emit instance expression for ET delegate creation

13 years agoReject automatic version number at major and minor positions
Marek Safar [Tue, 14 Dec 2010 13:36:42 +0000 (13:36 +0000)]
Reject automatic version number at major and minor positions

13 years ago[655284] Implemented automatic assembly version numbers
Marek Safar [Tue, 14 Dec 2010 13:06:39 +0000 (13:06 +0000)]
[655284] Implemented automatic assembly version numbers

13 years ago[655770] Emit unused members warning for nested types as well
Marek Safar [Tue, 14 Dec 2010 11:22:26 +0000 (11:22 +0000)]
[655770] Emit unused members warning for nested types as well

13 years ago[657623] Fix incorrect logic in value type parameter `is' check
Marek Safar [Tue, 14 Dec 2010 10:58:05 +0000 (10:58 +0000)]
[657623] Fix incorrect logic in value type parameter `is' check

13 years agoAdd more restrictions to custom attribute encoding
Marek Safar [Tue, 14 Dec 2010 10:41:08 +0000 (10:41 +0000)]
Add more restrictions to custom attribute encoding

13 years ago[657797] Expand type member cache using secondary constraints as well.
Marek Safar [Tue, 14 Dec 2010 10:25:38 +0000 (10:25 +0000)]
[657797] Expand type member cache using secondary constraints as well.

13 years ago[asp.net] Fix for bug #467221. Properly match location sub-paths for security trimming
Marek Habersack [Tue, 14 Dec 2010 09:07:24 +0000 (10:07 +0100)]
[asp.net] Fix for bug #467221. Properly match location sub-paths for security trimming

When security trimming is requested for sub-path of a location specified in the config file,
make sure that we match such a request to its parent location.

Based on patch from Mike Morano <mmorano@mikeandwan.us>, thanks!

13 years ago[asp.net] Added verbose mode to the standalone test runner
Marek Habersack [Tue, 14 Dec 2010 09:06:48 +0000 (10:06 +0100)]
[asp.net] Added verbose mode to the standalone test runner

13 years agoadd missing method in IAmbientProvider.
Atsushi Eno [Tue, 14 Dec 2010 04:50:43 +0000 (13:50 +0900)]
add missing method in IAmbientProvider.

13 years agoDon't prepend llvm_label_prefix to plt symbol names.
Zoltan Varga [Tue, 14 Dec 2010 02:18:35 +0000 (03:18 +0100)]
Don't prepend llvm_label_prefix to plt symbol names.

13 years agoDon't throw in EndReceive/EndSend + out error
Gonzalo Paniagua Javier [Mon, 13 Dec 2010 23:56:52 +0000 (18:56 -0500)]
Don't throw in EndReceive/EndSend + out error

        The overloads of EndReceive and EndSend that have an out SocketError
parameter do not throw.

Patch by Sven Groot that fixes bug #659056.

13 years agoChange parameter name.
Gonzalo Paniagua Javier [Mon, 13 Dec 2010 21:59:53 +0000 (16:59 -0500)]
Change parameter name.

Fixes bug #659123.

13 years agoSimplify the profiler line in the spec file
Andrew Jorgensen [Mon, 13 Dec 2010 20:57:46 +0000 (13:57 -0700)]
Simplify the profiler line in the spec file

Stuff sometimes appears or disappears here, just use a wildcard.

13 years agoEmit a seq_point after OP_START_HANDLER, not before.
Zoltan Varga [Mon, 13 Dec 2010 19:42:59 +0000 (20:42 +0100)]
Emit a seq_point after OP_START_HANDLER, not before.

13 years agoAvoid passing a name to mono_register_jit_icall () which is later freed.
Zoltan Varga [Mon, 13 Dec 2010 19:21:00 +0000 (20:21 +0100)]
Avoid passing a name to mono_register_jit_icall () which is later freed.

13 years agoFixi soft debugger dll crash on Windows w/redirected console
Michael Hutchinson [Mon, 13 Dec 2010 18:23:56 +0000 (13:23 -0500)]
Fixi soft debugger dll crash on Windows w/redirected console

Windows socket behaviour seems to be slightly different from
Linux/Mac, and Mono.Debugger.Soft was trying to disconnect a socket
that that doesn't get connected, causing an exception at launch.

For some reason it did check the main debugger socket before trying
to disconnect it, but not the console socket, so only apps with
redirected console output would crash.

13 years agoRemove default arg usage from sdb dll so it can be compiled with csc 3.5
Michael Hutchinson [Mon, 13 Dec 2010 18:14:50 +0000 (13:14 -0500)]
Remove default arg usage from sdb dll so it can be compiled with csc 3.5

13 years agoImplement support for the .mono_eh_frame created by llc on LLVM mono branch.
Zoltan Varga [Mon, 13 Dec 2010 18:21:51 +0000 (19:21 +0100)]
Implement support for the .mono_eh_frame created by llc on LLVM mono branch.

13 years agoFix full-aot+llvm support on arm.
Zoltan Varga [Mon, 13 Dec 2010 18:21:14 +0000 (19:21 +0100)]
Fix full-aot+llvm support on arm.

13 years agoRemove duplicate checks
Marek Safar [Mon, 13 Dec 2010 18:08:54 +0000 (18:08 +0000)]
Remove duplicate checks

13 years agoNew test.
Marek Safar [Mon, 13 Dec 2010 18:00:20 +0000 (18:00 +0000)]
New test.

13 years ago[659038] Check interface hierarchy before reporting ambiguous errors
Marek Safar [Mon, 13 Dec 2010 17:58:39 +0000 (17:58 +0000)]
[659038] Check interface hierarchy before reporting ambiguous errors

13 years ago[657862] Correctly scan for parent of base method override
Marek Safar [Mon, 13 Dec 2010 14:58:33 +0000 (14:58 +0000)]
[657862] Correctly scan for parent of base method override

13 years ago[658722] Don't require arity symbol to be part of the typename
Marek Safar [Mon, 13 Dec 2010 13:59:34 +0000 (13:59 +0000)]
[658722] Don't require arity symbol to be part of the typename

13 years agoAvoid registering sequence points in the per-domain hash when AOT compiling.
Zoltan Varga [Mon, 13 Dec 2010 17:22:37 +0000 (18:22 +0100)]
Avoid registering sequence points in the per-domain hash when AOT compiling.

13 years agoFix several issues in the code generator
Lluis Sanchez [Mon, 13 Dec 2010 15:48:57 +0000 (16:48 +0100)]
Fix several issues in the code generator

Issues include: casts not being properly generated for nullable
types, missing cast when the type of a member does not match
the forced serialization type, and incorrect code generated
for handling [XmlText] members.

13 years agoAdd FreeBSD to the list of supported platforms for SGen on i386 and x86_64.
Bojan Rajkovic [Mon, 13 Dec 2010 04:41:37 +0000 (23:41 -0500)]
Add FreeBSD to the list of supported platforms for SGen on i386 and x86_64.

13 years agoUpdate build-csproj2k5 script to use /bin/sh, since there are no obvious bash-isms...
Bojan Rajkovic [Mon, 13 Dec 2010 04:42:17 +0000 (23:42 -0500)]
Update build-csproj2k5 script to use /bin/sh, since there are no obvious bash-isms in the script.

13 years agoUse SIGXFSZ on FreeBSD too by checking for the __FreeBSD__ define. Like Apple and...
Bojan Rajkovic [Mon, 13 Dec 2010 04:43:39 +0000 (23:43 -0500)]
Use SIGXFSZ on FreeBSD too by checking for the __FreeBSD__ define. Like Apple and OpenBSD, it doesn't have SIGPWR.

13 years agoFix enum serialization too.
Atsushi Eno [Mon, 13 Dec 2010 15:11:33 +0000 (00:11 +0900)]
Fix enum serialization too.

13 years agoIncrement Count even on single-processor in SpinWait. Fix #624849.
Jérémie Laval [Mon, 13 Dec 2010 13:35:35 +0000 (13:35 +0000)]
Increment Count even on single-processor in SpinWait. Fix #624849.

13 years ago[asp.net] Test suite configuration updates for 4.0
Marek Habersack [Mon, 13 Dec 2010 13:39:11 +0000 (14:39 +0100)]
[asp.net] Test suite configuration updates for 4.0

When running the tests on the 4.0 profile, the configuration must no longer include
the System.Web.Extensions section declarations as they are merged with machine.config right now.

13 years ago[659022] Resolve reduced expressions
Marek Safar [Mon, 13 Dec 2010 13:31:26 +0000 (13:31 +0000)]
[659022] Resolve reduced expressions

13 years agoFix code generation issue with nested generic types
Lluis Sanchez [Mon, 13 Dec 2010 12:46:29 +0000 (13:46 +0100)]
Fix code generation issue with nested generic types

The type argument list for generic nested types include
all types arguments for the whole declaring type chain.
When generating the C# name of the class, each type
argument has to be assigned to the correct class in
the chain.

13 years agoFix flags enum deserialization
Lluis Sanchez [Mon, 13 Dec 2010 12:36:33 +0000 (13:36 +0100)]
Fix flags enum deserialization

Flag enums values can be a composition of several
values separated by spaces. The deserializer now
properly handles this case.

13 years agoThrow correct exceptions when using generated serializer
Lluis Sanchez [Mon, 13 Dec 2010 12:34:22 +0000 (13:34 +0100)]
Throw correct exceptions when using generated serializer

Invocations to generated serializers are done through
reflection, so exceptions are masked by TargetInvocationException.
The inner exception has to be rethrown so that the client
code gets the correct exception.

13 years agoRe-enable EmbedResourceFile overload used by al.exe
Marek Safar [Mon, 13 Dec 2010 12:10:03 +0000 (12:10 +0000)]
Re-enable EmbedResourceFile overload used by al.exe

13 years ago[asp.net] Fix for bug #658278. Panels render children only when parent is present...
Marek Habersack [Mon, 13 Dec 2010 11:59:28 +0000 (12:59 +0100)]
[asp.net] Fix for bug #658278. Panels render children only when parent is present and ChildrenAsTriggers is enabled

Fix from Avior Computing <jmilillo@aviorcomputing.com>, thanks!

13 years ago[asp.net] .NET 4.0 declares the <system.web.extensions> section in machine.config
Marek Habersack [Mon, 13 Dec 2010 07:59:41 +0000 (08:59 +0100)]
[asp.net] .NET 4.0 declares the <system.web.extensions> section in machine.config

13 years ago[asp.net] Implmeneted the System.Web.Configuration.ScriptingRoleServiceSection type
Marek Habersack [Mon, 13 Dec 2010 07:58:33 +0000 (08:58 +0100)]
[asp.net] Implmeneted the System.Web.Configuration.ScriptingRoleServiceSection type

13 years ago[winforms] Pass 4 of removing NET_2_0 from winforms
Miguel de Icaza [Mon, 13 Dec 2010 04:31:29 +0000 (23:31 -0500)]
[winforms] Pass 4 of removing NET_2_0 from winforms

13 years ago[winforms] Pass 3 of removing NET_2_0 from winforms
Miguel de Icaza [Mon, 13 Dec 2010 04:28:18 +0000 (23:28 -0500)]
[winforms] Pass 3 of removing NET_2_0 from winforms

13 years ago[winforms] Pass 3 of removing NET_2_0 from winforms
Miguel de Icaza [Mon, 13 Dec 2010 04:27:12 +0000 (23:27 -0500)]
[winforms] Pass 3 of removing NET_2_0 from winforms

13 years ago[winforms] Pass 2 of removing NET_2_0 from winforms
Miguel de Icaza [Mon, 13 Dec 2010 04:23:34 +0000 (23:23 -0500)]
[winforms] Pass 2 of removing NET_2_0 from winforms

13 years ago[winforms] Pass 2 of removing NET_2_0 from winforms
Miguel de Icaza [Mon, 13 Dec 2010 04:22:27 +0000 (23:22 -0500)]
[winforms] Pass 2 of removing NET_2_0 from winforms

13 years agoPass 1 of removing NET_2_0 from winforms
Miguel de Icaza [Mon, 13 Dec 2010 03:50:06 +0000 (22:50 -0500)]
Pass 1 of removing NET_2_0 from winforms

13 years agoFix ARM build.
Zoltan Varga [Mon, 13 Dec 2010 04:14:16 +0000 (05:14 +0100)]
Fix ARM build.

13 years agoFix full-aot+llvm support on amd64.
Zoltan Varga [Mon, 13 Dec 2010 02:03:49 +0000 (03:03 +0100)]
Fix full-aot+llvm support on amd64.

13 years agoAdd targets to run aot/full-aot tests with LLVM.
Zoltan Varga [Mon, 13 Dec 2010 02:03:14 +0000 (03:03 +0100)]
Add targets to run aot/full-aot tests with LLVM.

13 years agoAdd a patch each time a plt entry is requested in the llvm backend, so wrappers can...
Zoltan Varga [Mon, 13 Dec 2010 02:02:29 +0000 (03:02 +0100)]
Add a patch each time a plt entry is requested in the llvm backend, so wrappers can be generated in full aot.

13 years agoAdd a Make variable to run the aot tests using --llvm.
Zoltan Varga [Mon, 13 Dec 2010 00:08:17 +0000 (01:08 +0100)]
Add a Make variable to run the aot tests using --llvm.

13 years agoDon't make the mtriple argument mandatory, clean up processing of llc arguments.
Zoltan Varga [Sun, 12 Dec 2010 20:03:17 +0000 (21:03 +0100)]
Don't make the mtriple argument mandatory, clean up processing of llc arguments.

13 years ago[mdoc] Fix code formatting.
Jonathan Pryor [Sun, 12 Dec 2010 03:57:31 +0000 (22:57 -0500)]
[mdoc] Fix code formatting.

The expression in `if(expr)`, if overly-long and spanning mulitple
lines, should be indented beyond the normal indent so that the
expression is more easily distinguished from the `if` body:

if (expr &&
expr2 &&
expr3)
body;

not:

if (expr &&
expr2 &&
expr3)
body;

13 years agoMerge branch 'master' of https://github.com/XTZGZoReX/mono into XTZGZoReX-master
Jonathan Pryor [Sun, 12 Dec 2010 03:53:27 +0000 (22:53 -0500)]
Merge branch 'master' of https://github.com/XTZGZoReX/mono into XTZGZoReX-master

13 years ago[Monodoc] add GetDeclaringType(this CustomAttribute) extension method.
XTZGZoReX [Sun, 12 Dec 2010 03:42:12 +0000 (04:42 +0100)]
[Monodoc] add GetDeclaringType(this CustomAttribute) extension method.

13 years ago[monodoc] don't display methods with ContractInvariantMethodAttribute.
XTZGZoReX [Sun, 12 Dec 2010 01:34:07 +0000 (02:34 +0100)]
[monodoc] don't display methods with ContractInvariantMethodAttribute.

13 years ago[Monodoc] eliminate a few warnings.
XTZGZoReX [Sun, 12 Dec 2010 00:48:04 +0000 (01:48 +0100)]
[Monodoc] eliminate a few warnings.

13 years ago[winforms] Small optimizations, use properties that do not compute values
Thomas Goldstein [Sun, 12 Dec 2010 03:18:21 +0000 (22:18 -0500)]
[winforms] Small optimizations, use properties that do not compute values

13 years agoAdd an 'mtriple' aot option to set the target triple used by the AOT compiler in...
Zoltan Varga [Sat, 11 Dec 2010 21:25:43 +0000 (22:25 +0100)]
Add an 'mtriple' aot option to set the target triple used by the AOT compiler in LLVM mode.

13 years agoAdd a mono_arch_set_target () function to set the target triple which should
Zoltan Varga [Sat, 11 Dec 2010 21:24:07 +0000 (22:24 +0100)]
Add a mono_arch_set_target () function to set the target triple which should
be targeted by the JIT in AOT mode on ARM.

13 years ago[winforms] Style, braces
Miguel de Icaza [Sat, 11 Dec 2010 04:34:22 +0000 (23:34 -0500)]
[winforms] Style, braces

13 years ago[winforms] Use conditional attributes, not ifdefs to insert conditional code
Miguel de Icaza [Sat, 11 Dec 2010 04:32:36 +0000 (23:32 -0500)]
[winforms] Use conditional attributes, not ifdefs to insert conditional code

13 years ago[winforms] Use conditional attributes, not ifdefs to insert conditional code
Miguel de Icaza [Sat, 11 Dec 2010 04:25:26 +0000 (23:25 -0500)]
[winforms] Use conditional attributes, not ifdefs to insert conditional code

13 years agoLine endings
Gonzalo Paniagua Javier [Sat, 11 Dec 2010 04:19:06 +0000 (23:19 -0500)]
Line endings

13 years ago[System.Drawing] Remove unnecessary verbosity
Ralph Leckett [Sat, 11 Dec 2010 04:07:07 +0000 (23:07 -0500)]
[System.Drawing] Remove unnecessary verbosity

13 years ago[System.Drawing] On image load from stream errors, return null, not an exception
Ralph Leckett [Sat, 11 Dec 2010 04:05:55 +0000 (23:05 -0500)]
[System.Drawing] On image load from stream errors, return null, not an exception

13 years ago[winforms] Fix graphics leak
Ralph Leckett [Sat, 11 Dec 2010 04:02:51 +0000 (23:02 -0500)]
[winforms] Fix graphics leak

13 years ago[winforms] Fix graphics leak
Ralph Leckett [Sat, 11 Dec 2010 04:01:54 +0000 (23:01 -0500)]
[winforms] Fix graphics leak

13 years ago[winforms] For what it appeared to be a crasher from the JumboPatch
Ralph Leckett [Sat, 11 Dec 2010 04:01:08 +0000 (23:01 -0500)]
[winforms] For what it appeared to be a crasher from the JumboPatch

13 years ago[winforms] Reorder code a bit
Ralph Leckett [Sat, 11 Dec 2010 03:59:05 +0000 (22:59 -0500)]
[winforms] Reorder code a bit

13 years ago[winforms] Avoid leaking the Graphics
Ralph Leckett [Sat, 11 Dec 2010 03:53:53 +0000 (22:53 -0500)]
[winforms] Avoid leaking the Graphics

13 years ago[winforms] Avoid leaking the Graphics + style
Ralph Leckett [Sat, 11 Dec 2010 03:53:07 +0000 (22:53 -0500)]
[winforms] Avoid leaking the Graphics + style

13 years ago[winforms] Cope with null current regions
Ralph Leckett [Sat, 11 Dec 2010 03:51:01 +0000 (22:51 -0500)]
[winforms] Cope with null current regions

13 years ago[winforms] Cope with small windows
Ralph Leckett [Sat, 11 Dec 2010 03:49:21 +0000 (22:49 -0500)]
[winforms] Cope with small windows

13 years ago[winforms] Style
Ralph Leckett [Sat, 11 Dec 2010 03:45:52 +0000 (22:45 -0500)]
[winforms] Style

13 years ago[winforms] Style
Ralph Leckett [Sat, 11 Dec 2010 03:43:59 +0000 (22:43 -0500)]
[winforms] Style

13 years ago[winforms] Style, reduce full sizes of common types
Ralph Leckett [Sat, 11 Dec 2010 03:43:03 +0000 (22:43 -0500)]
[winforms] Style, reduce full sizes of common types

13 years ago[winforms] Do not leak Graphics in Invalidate + some Style
Ralph Leckett [Sat, 11 Dec 2010 03:41:16 +0000 (22:41 -0500)]
[winforms] Do not leak Graphics in Invalidate + some Style

13 years ago[winforms] style, and NET_2_0 dropped
Miguel de Icaza [Sat, 11 Dec 2010 03:35:52 +0000 (22:35 -0500)]
[winforms] style, and NET_2_0 dropped

13 years ago[winforms] Style
Ralph Leckett [Sat, 11 Dec 2010 03:26:51 +0000 (22:26 -0500)]
[winforms] Style

13 years ago[winforms] Cope with null Hwnd value from Hwnd.ObjectFromHandle
Ralph Leckett [Sat, 11 Dec 2010 03:25:41 +0000 (22:25 -0500)]
[winforms] Cope with null Hwnd value from Hwnd.ObjectFromHandle

13 years ago[winforms] Win32 fixes for window class name
Ralph Leckett [Sat, 11 Dec 2010 03:23:33 +0000 (22:23 -0500)]
[winforms] Win32 fixes for window class name

This is extracted from Ralph Leckett's jumbo-patch to winforms

13 years ago[winforms] quick cleanup patches for a few WinForms classes
Thomas Goldstein [Sat, 11 Dec 2010 03:09:04 +0000 (22:09 -0500)]
[winforms]  quick cleanup patches for a few WinForms classes

13 years ago[winforms] Small optimization
Thomas Goldstein [Sat, 11 Dec 2010 03:05:48 +0000 (22:05 -0500)]
[winforms] Small optimization