Imported Upstream version 4.6.0.243

Former-commit-id: ff34202749e8df2aa83f2578b16260b444f50987
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2016-09-09 07:19:48 +00:00
parent 804b15604f
commit 3cc9601fd9
113 changed files with 1476 additions and 4439 deletions

28
mcs/tests/dtest-065.cs Normal file
View File

@@ -0,0 +1,28 @@
using System.Dynamic;
public class TestConvert : DynamicObject
{
public override bool TryConvert (ConvertBinder binder, out object result)
{
result = null;
return true;
}
}
public class Test : DynamicObject
{
public override bool TryInvokeMember (InvokeMemberBinder binder, object [] args, out object result)
{
result = new TestConvert ();
return true;
}
}
public class XX
{
public static void Main ()
{
dynamic t = new Test ();
string result = t.SomeMethod ();
}
}

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<symbols>
<files>
<file id="1" name="test-debug-30.cs" checksum="d3addfa69f16faf00991ef839451a975" />
<file id="1" name="test-debug-30.cs" checksum="5303b32b0208123737567d53022ae3d5" />
</files>
<methods>
<method token="0x6000001">
@@ -27,5 +27,14 @@
<locals />
<scopes />
</method>
<method token="0x6000004">
<sequencepoints>
<entry il="0x0" row="23" col="2" file_ref="1" hidden="false" />
<entry il="0x1" row="24" col="3" file_ref="1" hidden="false" />
<entry il="0x6" row="25" col="2" file_ref="1" hidden="false" />
</sequencepoints>
<locals />
<scopes />
</method>
</methods>
</symbols>

View File

@@ -15,4 +15,12 @@ class PragmaNewLinesParsing
{
return;
}
#pragma warning disable 618
#pragma warning restore 618
void OneMore ()
{
return;
}
}

View File

@@ -1 +1 @@
720ef10c534ff81a6c9296b3f09a50987144d5a9
216a310da0866d4efac81f4c8a3bcdc849ad8891