Rolf Bjarne Kvinge [Wed, 15 Sep 2010 22:17:39 +0000 (00:17 +0200)]
Add a configure option to disable building the shared libmono library
Rolf Bjarne Kvinge [Wed, 15 Sep 2010 10:20:01 +0000 (12:20 +0200)]
Disable assembly remapping for moonlight
Rolf Bjarne Kvinge [Wed, 15 Sep 2010 10:19:28 +0000 (12:19 +0200)]
Add configure option for disabling assembly remapping
Sebastien Pouliot [Thu, 16 Sep 2010 21:29:55 +0000 (17:29 -0400)]
Update UriBuilder.Host once the Uri has been created
* System/UriBuilder.cs: Update UriBuilder.Host once the Uri has been
created
* Test/System/UriBuilderTest.cs: Add test case with IPv6 host (address)
which shows the UriBuilder.Host property is being updated after the
creation of the Uri instance.
Sebastien Pouliot [Thu, 16 Sep 2010 20:35:47 +0000 (16:35 -0400)]
Fix known (NotWorking) test cases for UriBuilder and drop NET_2_0 defines
* System/Uri.cs: Add EscapeCommonHexBracketsQuery constant since ? also
needs to be escaped from UriBuilder
* System/UriBuilder.cs: Fix Equals (escaping '?') and UserInfo. Fix NRE
in ctor that was fixed in FX4. Drop NET_2_0 defines.
* Test/System/UriBuilderTest.cs: Drop NET_2_0 defines and add new ones
for NET_4_0. Add more asserts in the test cases that were failing.
Sebastien Pouliot [Thu, 16 Sep 2010 20:17:39 +0000 (16:17 -0400)]
Fix line endings
* System/UriBuilder.cs: Fix line endings
Sebastien Pouliot [Thu, 16 Sep 2010 18:35:32 +0000 (14:35 -0400)]
Fix path reduction when %2e are used in an URI
* System/Uri.cs (Reduce): Process %2E while reducing a path. Avoid, when
possible, the creation of StringBuilder and replace ArrayList with
generics
* Test/System/UriTest2.cs: Add test case where %2e and %2E are used
Sebastien Pouliot [Thu, 16 Sep 2010 15:49:21 +0000 (11:49 -0400)]
Fix (existing and) remaining NotWorking tests for System.Uri
* System/Uri.cs: Fix TryCreate overloads wrt NotWorking unit tests
* Test/System/UriTest2.cs: Remove NET_2_0 and ONLY_1_1 defines from tests
* Test/System/UriTest3.cs: Remove NET_2_0 and [Category("NotWorking")]
from tests. Merge MakeRelativeUri_Uri_Null_[MS|Mono] together since the
(reported) issue was fixed in NET_4_0
Sebastien Pouliot [Thu, 16 Sep 2010 14:37:50 +0000 (10:37 -0400)]
Fixes to System.Uri wrt 'file' scheme
* System/Uri.cs: Fix 'file' URI since they can't have a query
* Test/System/UriTest2.cs: Add new test case for 'file' URIs and
some asserts on "custom" URI (which do support queries)
Gonzalo Paniagua Javier [Thu, 16 Sep 2010 17:12:41 +0000 (13:12 -0400)]
Fix typo. It has been there for 4 years.
Why on earth this wasn't found earlier? $20 reward to whoever gives a
plausible explanation.
Jonathan Pryor [Thu, 16 Sep 2010 17:09:56 +0000 (13:09 -0400)]
Build monodoc before mdoc.
mdoc deps on monodoc. Doh!
Jonathan Pryor [Thu, 16 Sep 2010 16:23:55 +0000 (12:23 -0400)]
Make mdoc a 2.0 app, not a 4.0 app.
The problem is build sanity: it's possible to disable the 4.0 profile
(--with-profile4=no) while not disabling documentation building
(--with-mcs-docs=yes is the default). The result would be a 4.0-less
build, and thus no mdoc, and thus no mdoc to assemble the documentation,
and thus a build break as we attempted to use an app during the build
which didn't exist.
Oops.
mdoc doesn't need to be a 4.0 app anyway...
Miguel de Icaza [Thu, 16 Sep 2010 15:51:14 +0000 (11:51 -0400)]
Reuse the same delegate for checking if the runtime is shutting down.
Instead of creating a new delegate every time that WaitAny is invoked,
reuse the same delegate. We also keep a permanent reference to prevent
this delegate being collected.
Thsi should fix 592981
Atsushi Eno [Thu, 16 Sep 2010 14:23:44 +0000 (23:23 +0900)]
Add ProtocolMapping support.
Marek Safar [Thu, 16 Sep 2010 11:30:27 +0000 (12:30 +0100)]
[639603] Don't emit statements as expressions when they don't support it.
Marek Safar [Thu, 16 Sep 2010 11:17:33 +0000 (12:17 +0100)]
[639407] Clean up more static stuff to fix repl instances.
Atsushi Eno [Thu, 16 Sep 2010 08:58:11 +0000 (17:58 +0900)]
Implement some additional logic around AddServiceEndpoint() to achive standard endpoint support.
Atsushi Eno [Thu, 16 Sep 2010 08:57:38 +0000 (17:57 +0900)]
Return new instance.
Atsushi Eno [Thu, 16 Sep 2010 08:56:57 +0000 (17:56 +0900)]
Contract is settable in 4.0.
Atsushi Eno [Thu, 16 Sep 2010 08:55:38 +0000 (17:55 +0900)]
Add the trickiest line that had me; AddElementName is not on ConfigurationProperty here.
Gonzalo Paniagua Javier [Thu, 16 Sep 2010 03:53:04 +0000 (23:53 -0400)]
Remove 2 extra calls to gettimeofday.
Mark Probst [Thu, 26 Aug 2010 07:12:45 +0000 (09:12 +0200)]
Remove weak links for monitors.
mono_runtime_cleanup() calls mono_monitor_cleanup(), which frees the
memory associated with monitors. Some of them still have weak links
registered, which leads to a crash when calling mono_domain_free()
later on.
Mark Probst [Wed, 15 Sep 2010 23:30:32 +0000 (01:30 +0200)]
[sgen] Avoid doing an unnecessary gettimeofday().
Andrew Jorgensen [Wed, 15 Sep 2010 23:28:57 +0000 (17:28 -0600)]
Add System.Net (4.0 and 2.0) to mono-core in .spec
Sebastien Pouliot [Wed, 15 Sep 2010 21:01:45 +0000 (17:01 -0400)]
Fix System.Uri wrt 'ftp' scheme
* System/Uri.cs: Fix 'ftp' support, mostly same fixes as 'nntp'
* Test/System/UriTest2.cs: Add new test case for 'ftp' including
dealing with custom port and user/password data.
Sebastien Pouliot [Wed, 15 Sep 2010 19:42:35 +0000 (15:42 -0400)]
Fix System.Uri wrt 'nntp://' URIs
* System/Uri.cs: Fix 'nntp' support which is close to 'news' (no query)
but still has an Host, Autority, Port...
* Test/System/UriTest2.cs: Add test cases for 'nntp://'
Sebastien Pouliot [Wed, 15 Sep 2010 18:33:57 +0000 (14:33 -0400)]
Remove more code (after shortcut) on 'news:' Uri
* System/Uri.cs: Remove condition/code wrt 'news:' that occurs after
the new "shortcut".
Sebastien Pouliot [Wed, 15 Sep 2010 18:12:49 +0000 (14:12 -0400)]
Multiple fixes for URI using 'news:' scheme
* System/Uri.cs: Make it easier to reuse EscapeString without adding new
boolean parameters. Shortcut parsing for 'news' since it's simpler (no
query, host, authority...) Avoid creating StringBuilder instance when
[un]escape-ing empty strings
* System/UriBuilder.cs: Adjust for EscapeString API change
* System/UriParser.cs: Fix default news port and adjust for EscapeString
API change
* Test/System/UriTest2.cs: Add test case for 'news:' showing the lack
of Query and Port (but support for Fragment) and the escape-ing
differences.
Sebastien Pouliot [Wed, 15 Sep 2010 13:11:56 +0000 (09:11 -0400)]
Fix Uri.Segments property so the internal, cached, array cannot be modified
* System/Uri.cs: Keep the cached 'segments' as a List<string> and return
a new array (ToArray) when the Segment propery is called.
* Test/System/UriTest.cs: Add test case to show that the segments cannot
be modified by accessing the elements of the Segment property.
Sebastien Pouliot [Wed, 15 Sep 2010 12:23:18 +0000 (08:23 -0400)]
Fix Uri.ToString when forward slashes are used
* System/Uri.cs: Fix ToString (Unescape) to ignore '\\' and let it be
outputed as %5C
* Test/System/UriTest2.cs: Add test case for above
Sebastien Pouliot [Wed, 15 Sep 2010 11:54:54 +0000 (07:54 -0400)]
Fix Uri/Segments wrt driver letters nad (forward) slashes
* System/Uri.cs: Reimplement Segment property to reduce copying and
string allocations. Fix case with slashes (separate, not single,
segments)
* Test/System/UriTest2.cs: Add test cases for segments on an URI that
contains a drive letter and (forward) slashes.
Miguel de Icaza [Wed, 15 Sep 2010 21:17:12 +0000 (17:17 -0400)]
Revert
Ankit Jain [Wed, 15 Sep 2010 19:24:25 +0000 (00:54 +0530)]
[xbuild] Use files referenced by resx for dependency check.
For .resx resource files, check files referenced by the resx
file also, to determine whether to resgen it or not.
IsResgenRequired () has been taken from MonoDevelop
(main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Formats.MD1/MD1DotNetProjectHandler.cs)
Ankit Jain [Wed, 15 Sep 2010 19:11:21 +0000 (00:41 +0530)]
[xbuild] Fix case sensitive environment variables for ToolTask.
Use ProcessStringDictionary in ToolTask for EnvironmentVariables,
as this retains the original case of the keys. Without this
environment vars would all be passed as lowercase!
This was removed in a previous patch by mistake.
Miguel de Icaza [Wed, 15 Sep 2010 18:24:49 +0000 (14:24 -0400)]
Make the thread-id field be of the proper size on 64 bit machines.
This error was found by Gonzalo when he was looking at another problem
when thread IDs overflowed ints.
Currently we use gpointers in the io-layer for the threadid, but we were
only exposing the value as an int32. The good news is that the code is
not really used right now, but could cause problems in the future as we
extend Process.
Ankit Jain [Wed, 15 Sep 2010 17:18:35 +0000 (22:48 +0530)]
[xbuild] Fix references to Microsoft.Build.* assemblies for 3.5 .
Marek Safar [Wed, 15 Sep 2010 18:01:01 +0000 (19:01 +0100)]
Remove copying of misplaced duplicate of System.Web.Extensions.Design.dll
Raja R Harinath [Wed, 15 Sep 2010 17:38:42 +0000 (23:08 +0530)]
Fix a few CRLF issues
Ankit Jain [Wed, 15 Sep 2010 16:16:40 +0000 (21:46 +0530)]
[xbuild] Add ToolTask.EnvironmentVariables property.
* class/Microsoft.Build.Utilities/Microsoft.Build.Utilities/ToolTask.cs
(EnvironmentVariables): New.
(ExecuteTool): Merge EnvironmentVariables with
EnvironmentOverride
* class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/GenerateResource.cs
(Resgen.Execute): Use EnvironmentVariables to set MONO_IOMAP=drive .
Ankit Jain [Wed, 15 Sep 2010 13:39:34 +0000 (19:09 +0530)]
[xbuild] Fix a race condition in ToolTask.
* class/Microsoft.Build.Utilities/Microsoft.Build.Utilities/ToolTask.cs
(ExecuteTool): When StartProcess returns, the process has already .Start()'ed
If we subscribe to the output events after that, then for processes that
finish executing before we can subscribe, we won't get the output/error
events at all! So, pass the handlers to StartProcess itself, so that
they get added before the process is started.
Marek Safar [Wed, 15 Sep 2010 16:39:53 +0000 (17:39 +0100)]
[637935] Fixed 3.5 version of msbuild dlls to reference 3.5 version of the engine
MONO_PATH does not work for subsequent dlls, so have to workaround it by
using full path for dlls in 3.5 profile which does not have it's own
mscorlib
Andrew Jorgensen [Wed, 15 Sep 2010 16:31:05 +0000 (10:31 -0600)]
mono-configuration-crypto is a 4.0 assembly, not 2.0
Geoff Norton [Wed, 15 Sep 2010 16:24:24 +0000 (12:24 -0400)]
Fix the embedded mono on OSX code to support a symlinked mono into the framework.
The embedding code looks at the executable name, and builds the embedding profile
from that, however the default install has a /usr/bin/mono symlink pointing to
/Library/Frameworks/Mono.framework. We now resolve the symlink before allowing
the embedding code to proceed.
Marek Safar [Wed, 15 Sep 2010 15:25:18 +0000 (16:25 +0100)]
There are actually some 3.5 only dlls, thanks to ankit for poiting out.
Jonathan Pryor [Wed, 15 Sep 2010 14:37:36 +0000 (10:37 -0400)]
Ensure that the GC doesn't collect the delegate we pass off to native code.
(Hopefully) Fixes #592981.
This is esoteric, with no test case, so I can only assume that the cause for
the crash reported in #592981 is that Boehm is collecting the shutting_down
delegate reference while we're still in native code (which sounds more like a
Boehm bug, as it shouldn't be collecting memory while we're in a P/Invoke).
Hopefully making the delegate more explicit and using GC.KeepAlive() will keep
the delegate from being collected by the GC during the P/Invoke call.
Marek Safar [Wed, 15 Sep 2010 14:22:23 +0000 (15:22 +0100)]
Removed class from net_3_5 subdirs
Paolo Molaro [Wed, 15 Sep 2010 13:24:04 +0000 (15:24 +0200)]
Documentation for a few garbage collector APIs.
Zoltan Varga [Wed, 15 Sep 2010 13:04:20 +0000 (15:04 +0200)]
UCONTEXT_REG_RCX was defined twice on OpenBSD, and RBX was missing. Fix that.
Rodrigo Kumpera [Wed, 15 Sep 2010 12:56:04 +0000 (09:56 -0300)]
Fix monotouch bootstrap.
* Type.cs (GetTypeCodeImpl): If the type is a TypeBuilder
call into specific code.
* TypeBuilder.cs (GetTypeCodeInternal): New method that
handles enums correctly.
This change is required because calling into the runtime
with incomplete TypeBuilders cause the runtime to crash.
Marek Safar [Wed, 15 Sep 2010 12:43:36 +0000 (13:43 +0100)]
Recover wrong embedded statement syntax
Marek Safar [Wed, 15 Sep 2010 12:43:04 +0000 (13:43 +0100)]
New test.
Marek Safar [Wed, 15 Sep 2010 12:02:42 +0000 (13:02 +0100)]
Remove net_3_5 dirs to fix 4.0 dependency and not to build some dlls twice
Rolf Bjarne Kvinge [Fri, 10 Sep 2010 10:06:29 +0000 (12:06 +0200)]
mono_trace already adds a newline to trace messages, don't add another one
Marek Safar [Wed, 15 Sep 2010 09:23:01 +0000 (10:23 +0100)]
[639403] Fixes the endless recursion with hacked EOF
Marek Safar [Tue, 14 Sep 2010 18:15:31 +0000 (19:15 +0100)]
Encode correctly all constants into a payload
Chris Toshok [Wed, 15 Sep 2010 05:58:25 +0000 (22:58 -0700)]
built a separate libmonoruntime for moonlight, so we can do -DMOONLIGHT just in the moonlight lib instead of globally.
Chris Toshok [Thu, 9 Sep 2010 20:33:13 +0000 (13:33 -0700)]
if we're building with moonlight enabled, don't build mdb.
Ankit Jain [Tue, 14 Sep 2010 23:06:59 +0000 (04:36 +0530)]
[xbuild] Fix handling of tool output.
The *StreamChanged event for ProcessWrapper may get parts of
long lines, so process the complete ones that we have (for matching
error/warning), and save rest for processing when the rest of it
is received.
Also, don't ignore empty lines.
* class/Microsoft.Build.Utilities/Microsoft.Build.Utilities/ToolTask.cs
Gonzalo Paniagua Javier [Tue, 14 Sep 2010 22:24:49 +0000 (18:24 -0400)]
GetProcessById now works on the Mac too
Ditto.
This should fix MD problems when SHM is disabled.
Sebastien Pouliot [Tue, 14 Sep 2010 20:54:38 +0000 (16:54 -0400)]
Correctly handle the (uncommon) 4 slashes //// case in Uri
* System/Uri.cs: Handle multiple starting slash correctly
* Test/System/UriTest2.cs: Add test cases with multiple slashes
Sebastien Pouliot [Tue, 14 Sep 2010 19:44:52 +0000 (15:44 -0400)]
Fix some (long standing) NotWorking test cases on Uri
* System/Uri.cs: Fix Segments and username/password (unsupported) on
file:// URI
* Test/System/UriTest.cs: Remove [Category("NotWorking")] from some
tests and add a few additional (helpful) asserts.
Sebastien Pouliot [Tue, 14 Sep 2010 12:52:43 +0000 (08:52 -0400)]
Fix Uri Host when a drive letter is used
* System/Uri.cs: For most scheme a drive letter is converted into an
host name (minus the ':' character)
* Test/System/UriTest2.cs: Add test cases for drives versus hosts
Rodrigo Kumpera [Tue, 14 Sep 2010 21:38:50 +0000 (18:38 -0300)]
Fix crash in pedump.
* pedump.c (verify_image_file): Setup the fake assembly before
doing full metadata verification since it does type loading.
Fixes #598228
Zoltan Varga [Tue, 14 Sep 2010 18:45:55 +0000 (20:45 +0200)]
Fix warnings caused by the profiler api changes.
Rodrigo Kumpera [Tue, 14 Sep 2010 18:18:59 +0000 (15:18 -0300)]
Fix 64bits build.
* sgen-cardtable.c (sgen_card_table_get_card_data): Start
must be incremented with and without overlapping cards.
Atsushi Eno [Tue, 14 Sep 2010 16:53:41 +0000 (01:53 +0900)]
add more NET_4_0.
Atsushi Eno [Tue, 14 Sep 2010 15:39:54 +0000 (00:39 +0900)]
Add NET_4_0.
Marek Safar [Tue, 14 Sep 2010 14:49:13 +0000 (15:49 +0100)]
Fixes mixed line ending.
Marek Safar [Tue, 14 Sep 2010 14:43:43 +0000 (15:43 +0100)]
Merge branch 'marek'
Marek Safar [Tue, 14 Sep 2010 14:41:17 +0000 (15:41 +0100)]
Recover wrong invalid initializer syntax.
Marek Safar [Tue, 14 Sep 2010 13:13:44 +0000 (14:13 +0100)]
Finish predefined attributes instance access to allow compile time dynamic support in repl.
Carlos Alberto Cortez [Tue, 14 Sep 2010 08:06:38 +0000 (10:06 +0200)]
In 4.0 the constructors of TypeConverter.SimplePropertyDescriptor are protected.
* TypeConverter.cs: The constructors of SimplePropertyDescriptor
are protected in 4.0.
Carlos Alberto Cortez [Tue, 14 Sep 2010 03:43:30 +0000 (05:43 +0200)]
Add a new test for TypeDescriptor.InterfaceType.
* TypeDescriptorTests.cs: New test for InterfaceType.
Carlos Alberto Cortez [Tue, 14 Sep 2010 03:34:14 +0000 (05:34 +0200)]
Implement TypeDescriptor.InterfaceType.
* TypeDescriptor.cs: Implement 4.0 InterfaceType property, which
seems to be a simple dummy and empty class in .Net, internally
used to represent all interfaces.
Carlos Alberto Cortez [Tue, 14 Sep 2010 00:21:11 +0000 (02:21 +0200)]
Remove the NET_2_0 directives from TypeDescriptor.cs
* TypeDescriptor.cs: Remove the NET_2_0 directives, as we don't
need them anymore.
Carlos Alberto Cortez [Mon, 13 Sep 2010 23:57:38 +0000 (01:57 +0200)]
Remove the NET_2_0 and ONLY_1_1 directives from TypeDescriptorTests.cs
* TypeDescriptorTests.cs: Remove the NET_2_0 and ONLY_1_1
directives, as we don't need them anymore.
Carlos Alberto Cortez [Mon, 13 Sep 2010 18:08:00 +0000 (20:08 +0200)]
Include TypeDescriptionProviderTest.cs in our build.
* System_test.dll.sources: Include
TypeDescriptionProviderTest.cs in our build.
Carlos Alberto Cortez [Mon, 13 Sep 2010 18:07:03 +0000 (20:07 +0200)]
Add new TypeDescriptionProviderTest.cs test file.
* TypeDescriptionProviderTest.cs: New test file.
Carlos Alberto Cortez [Mon, 13 Sep 2010 18:03:07 +0000 (20:03 +0200)]
Implement IsSupportedType, GetExtenderProviders and GetRuntimeType for TypeDescriptionProvider.
* TypeDescriptionProvider.cs: Implement 4.0 IsSupportedType,
GetExtenderProviders and GetRuntimeType methods.
Carlos Alberto Cortez [Mon, 13 Sep 2010 10:43:52 +0000 (12:43 +0200)]
Remove the NET_2_0 directive from TypeDescriptionProvider.cs
* TypeDescriptionProvider.cs: Remove the NET_2_0 directive.
Atsushi Eno [Tue, 14 Sep 2010 12:14:00 +0000 (21:14 +0900)]
ongoing standard endpoint configuration support work.
Jonathan Pryor [Tue, 14 Sep 2010 10:39:57 +0000 (06:39 -0400)]
Distribute DbmlSchema.xsd so that tarball builds work.
Atsushi Eno [Tue, 14 Sep 2010 07:43:56 +0000 (16:43 +0900)]
Add new properties in 4.0.
Atsushi Eno [Tue, 14 Sep 2010 07:43:26 +0000 (16:43 +0900)]
Avoid crash by missing config attributes.
Atsushi Eno [Tue, 14 Sep 2010 07:32:31 +0000 (16:32 +0900)]
Remove Console.WriteLine.
Marek Safar [Tue, 14 Sep 2010 07:28:57 +0000 (08:28 +0100)]
Initialize all core types
Rodrigo Kumpera [Tue, 14 Sep 2010 00:44:53 +0000 (21:44 -0300)]
Add v4.0 beta to runtime versions list.
Rodrigo Kumpera [Mon, 13 Sep 2010 23:56:07 +0000 (20:56 -0300)]
Fix fallthru of EH block check.
* verify.c (mono_method_verify): Only skip dead code
after checking for fallthru.
* unverifiable_fallout_of_finally_block.il: Regression
test for fallthru on dead code.
Fixes #597072
Zoltan Varga [Tue, 14 Sep 2010 00:04:37 +0000 (02:04 +0200)]
Add casts to the macros on netbsd so the caller doesn't have to reference ucontext_t which is not available on some platforms like android.
Geoff Norton [Mon, 13 Sep 2010 22:42:27 +0000 (18:42 -0400)]
The tid is passed around internally as a unsigned value.
We were having a crash on OSX due to thread->tid not equalling the
passed tid due to a signedness issue.
Sebastien Pouliot [Mon, 13 Sep 2010 21:38:42 +0000 (17:38 -0400)]
Fix URi tests (and class) to be omcpatible with both 2.0 and 4.0 (and SL4)
* System/Uri.cs: Fix some "bugs" that are not part of FX4 anymore.
Change how Query/Fragment are merged to match FX4 (while keeping it
compatible with buggy FX2 under the NET_2_0 profile)
* Test/System/UriTest.cs: Adjust test cases to work with 4.0. Mark with
NotDotNet two test cases that are Mono/Unix-specific
* Test/System/UriTest2.cs: Add new test cases where a relative Uri is
merged with an absolute Uri (some changes in SL4/FX4 wrt FX2)
* Test/System/UriTest3.cs: Adjust for bugs fixed after FX 2.0.
Zoltan Varga [Mon, 13 Sep 2010 21:21:21 +0000 (23:21 +0200)]
Bump minor version to 2 to be compatible with the runtime.
Marek Safar [Mon, 13 Sep 2010 19:06:33 +0000 (20:06 +0100)]
Removed confusing catch error message.
Geoff Norton [Mon, 13 Sep 2010 18:39:41 +0000 (14:39 -0400)]
Rename major -> major_collector and drop unguarded usage of ucontext_t.
Android defines a variable called "major" in its headers, lets rename
major -> major_collector to work around the conflict.
Not every architecture/platform has ucontext_t, so lets not strongly
type our contexts to that and let the macros do their job.
Geoff Norton [Mon, 13 Sep 2010 18:38:39 +0000 (14:38 -0400)]
Fix the build when compiling without shared handle support entirely
The wapi init functions call this even when shared is compiled out,
lets just return FALSE to get into the right codepaths.
Marek Safar [Mon, 13 Sep 2010 18:25:40 +0000 (19:25 +0100)]
Add a test for arrays with dynamic elements.
Marek Safar [Mon, 13 Sep 2010 18:02:48 +0000 (19:02 +0100)]
Implement foreach over nullable values.
Rodrigo Kumpera [Mon, 13 Sep 2010 17:51:59 +0000 (14:51 -0300)]
CompiledContext is no longer needed.
* MethodBuilder.cs (GetGenericArguments): No need to
check for compiler context. It's gone.
Jonathan Pryor [Mon, 13 Sep 2010 17:34:36 +0000 (13:34 -0400)]
[sqlmetal] Fix /code from DBML file.
sqlmetal.exe is supposed to allow generating source code from a .dbml file:
sqlmetal /code:foo.cs foo.dbml
However, this failed because the DbmlSchema.xsd file couldn't be found (so
that the DBML file could be validated).
Embed the DbmlSchema.xsd file so that the above `sqlmetal` command works.
Rodrigo Kumpera [Mon, 13 Sep 2010 17:24:45 +0000 (14:24 -0300)]
MethodBuilder should return null for generic arguments of non generic method.
* MethodBuilder.cs (GetGenericArguments): Return null if not
generic.
* MethodBuilderTest.cs: Add test for #384127.
Fixes bug #384127.