Imported Upstream version 5.0.0.42

Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-04-10 11:41:01 +00:00
parent 1190d13a04
commit 6bdd276d05
19939 changed files with 3099680 additions and 93811 deletions

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("1.0.0.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class B
{

View File

@@ -2,7 +2,6 @@ using System;
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyKeyFile ("key.snk")]
[assembly: InternalsVisibleTo ("cs0281, PublicKey=0024000004800000940000000602000000240000525341310004000011000000e39d99616f48cf7d6d59f345e485e713e89b8b1265a31b1a393e9894ee3fbddaf382dcaf4083dc31ee7a40a2a25c69c6d019fba9f37ec17fd680e4f6fe3b5305f71ae9e494e3501d92508c2e98ca1e22991a217aa8ce259c9882ffdfff4fbc6fa5e6660a8ff951cd94ed011e5633651b64e8f4522519b6ec84921ee22e4840e8")]
public class FriendClass

View File

@@ -68,7 +68,7 @@ check: run-test-local
TEST_PATTERN = 'v4'
TESTER_OPTIONS = -compiler-options:"-v --break-on-ice -d:NET_4_0;NET_4_5"
COMPILER = $(topdir)/class/lib/$(BUILD_TOOLS_PROFILE)/mcs.exe
COMPILER = $(topdir)/class/lib/$(PROFILE)/mcs.exe
TESTER = MONO_RUNTIME='$(RUNTIME)' $(TEST_RUNTIME) $(RUNTIME_FLAGS) $(LOCAL_RUNTIME_FLAGS) $(topdir)/class/lib/$(PROFILE)/compiler-tester.exe
run-mcs-tests: $(TEST_SUPPORT_FILES)
@@ -84,34 +84,34 @@ dist-local: dist-default
csproj-local install-local uninstall-local:
CS0029-26-lib.dll : CS0029-26-lib.cs
$(CSCOMPILE) /target:library /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /publicsign /keyfile:key.snk /out:$@ $<
CS0266-25-lib.dll: CS0266-25-lib.cs
$(CSCOMPILE) /target:library /r:$(topdir)/class/lib/$(PROFILE)/System.Core.dll /out:$@ $<
dlls/first/CS1701-lib.dll: dlls/first/CS1701-lib.cs
$(CSCOMPILE) /target:library /warn:0 /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /warn:0 /publicsign /keyfile:key.snk /out:$@ $<
dlls/first/CS1702-lib.dll: dlls/first/CS1702-lib.cs
$(CSCOMPILE) /target:library /warn:0 /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /warn:0 /publicsign /keyfile:key.snk /out:$@ $<
dlls/first/CS1703-lib.dll: dlls/first/CS1703-lib.cs
$(CSCOMPILE) /target:library /warn:0 /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /warn:0 /publicsign /keyfile:key.snk /out:$@ $<
dlls/first/CS1705-lib.dll: dlls/first/CS1705-lib.cs
$(CSCOMPILE) /target:library /warn:0 /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /warn:0 /publicsign /keyfile:key.snk /out:$@ $<
dlls/second/CS1701-lib.dll: dlls/second/CS1701-lib.cs
$(CSCOMPILE) /target:library /warn:0 /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /warn:0 /publicsign /keyfile:key.snk /out:$@ $<
dlls/second/CS1702-lib.dll: dlls/second/CS1702-lib.cs
$(CSCOMPILE) /target:library /warn:0 /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /warn:0 /publicsign /keyfile:key.snk /out:$@ $<
dlls/second/CS1703-lib.dll: dlls/second/CS1703-lib.cs
$(CSCOMPILE) /target:library /warn:0 /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /warn:0 /publicsign /keyfile:key.snk /out:$@ $<
dlls/second/CS1705-lib.dll: dlls/second/CS1705-lib.cs
$(CSCOMPILE) /target:library /warn:0 /publicsign /out:$@ $<
$(CSCOMPILE) /target:library /warn:0 /publicsign /keyfile:key.snk /out:$@ $<
CS1701-lib.dll : CS1701-lib.cs
$(CSCOMPILE) /target:library /warn:0 /r:dlls/first/CS1701-lib.dll /out:$@ $<
@@ -122,6 +122,9 @@ CS1702-lib.dll : CS1702-lib.cs
CS1705-lib.dll : CS1705-lib.cs
$(CSCOMPILE) /target:library /warn:0 /r:dlls/first/CS1705-lib.dll /out:$@ $<
CSFriendAssembly-lib.dll : CSFriendAssembly-lib.cs
$(CSCOMPILE) /target:library /publicsign /keyfile:key.snk /warn:0 /out:$@ $<
%-lib.dll: %-lib.cs
$(CSCOMPILE) /target:library /warn:0 /out:$@ $<

7
mcs/errors/cs0031-9.cs Normal file
View File

@@ -0,0 +1,7 @@
// CS0031: Constant value `1.42' cannot be converted to a `int'
// Line: 6
class X
{
const int val = 1.42f;
}

11
mcs/errors/cs0219-7.cs Normal file
View File

@@ -0,0 +1,11 @@
// CS0219: The constant `C' is never used
// Line: 9
// Compiler options: -warn:3 -warnaserror
class C
{
public static void Main ()
{
const int C = 1;
}
}

7
mcs/errors/cs8101.cs Normal file
View File

@@ -0,0 +1,7 @@
// CS8101: The pathmap option was incorrectly formatted
// Line: 0
// Compiler options: -pathmap:a=
class X
{
}

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("1.0.0.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class B
{

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("1.0.0.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class B
{

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("1.1.1.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class A
{

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("2.0.0.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class B
{

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("2.0.1.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class B
{

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("1.0.1.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class B
{

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("1.2.1.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class A
{

View File

@@ -1,5 +1,4 @@
[assembly:System.Reflection.AssemblyVersionAttribute ("1.0.0.0")]
[assembly:System.Reflection.AssemblyKeyFile("key.snk")]
public class B
{