Skip to content

Commit 3816dba

Browse files
authored
Merge pull request dotnet#23735 from safern/merge-master-nullable
Pull master changes into NullableFeature
2 parents 9909a7d + adef84e commit 3816dba

File tree

545 files changed

+43053
-4919
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+43053
-4919
lines changed

ILAsmVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.0-preview4-27528-71
1+
3.0.0-preview4-27603-71

azure-pipelines.yml

Lines changed: 58 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,28 @@ jobs:
9292
# https://github.com/Microsoft/azure-pipelines-yaml/pull/46 for more information
9393

9494
#
95-
# Debug build (Pull request)
95+
# Debug builds
9696
#
97-
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
97+
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
9898
- template: eng/platform-matrix.yml
9999
parameters:
100100
jobTemplate: build-job.yml
101101
buildConfig: debug
102+
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
103+
platforms:
104+
- Windows_NT_x64
105+
- Windows_NT_x86
106+
${{ if in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}:
107+
platforms:
108+
- Linux_arm
109+
- Linux_arm64
110+
- Linux_musl_arm64
111+
- Linux_musl_x64
112+
- Linux_rhel6_x64
113+
- Linux_x64
114+
- OSX_x64
115+
- Windows_NT_arm
116+
- Windows_NT_arm64
102117

103118
#
104119
# Checked build
@@ -108,6 +123,17 @@ jobs:
108123
parameters:
109124
jobTemplate: build-job.yml
110125
buildConfig: checked
126+
${{ if and(eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
127+
platforms:
128+
- Linux_arm
129+
- Linux_arm64
130+
- Linux_musl_x64
131+
- Linux_x64
132+
- OSX_x64
133+
- Windows_NT_arm
134+
- Windows_NT_arm64
135+
- Windows_NT_x64
136+
- Windows_NT_x86
111137
${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc') }}:
112138
platforms:
113139
- Linux_arm
@@ -117,16 +143,31 @@ jobs:
117143
- Windows_NT_x86
118144

119145
#
120-
# Release build (Pull request)
146+
# Release builds
121147
#
122-
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
148+
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
123149
- template: eng/platform-matrix.yml
124150
parameters:
125151
jobTemplate: build-job.yml
126152
buildConfig: release
153+
${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
154+
platforms:
155+
- Linux_arm64
156+
- Linux_musl_x64
157+
- Linux_rhel6_x64
158+
- Windows_NT_arm
159+
- Windows_NT_arm64
160+
- Windows_NT_x64
161+
${{ if in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}:
162+
platforms:
163+
- Linux_arm
164+
- Linux_musl_arm64
165+
- Linux_x64
166+
- OSX_x64
167+
- Windows_NT_x86
127168

128169
#
129-
# Release build (Official build)
170+
# Release builds (Official build) - non-PullRequest
130171
#
131172
- ${{ if and(eq(variables['System.TeamProject'], 'internal'), ne(variables['Build.Reason'], 'PullRequest')) }}:
132173
- template: eng/platform-matrix.yml
@@ -142,13 +183,23 @@ jobs:
142183
#
143184
# Checked test builds
144185
#
145-
146-
# The jobs that can be triggered in PR, manually from ADO and that are scheduled
186+
# The test jobs that can be triggered by a PR, manually from ADO and that are scheduled
147187
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest', 'Manual', 'Schedule')) }}:
148188
- template: eng/platform-matrix.yml
149189
parameters:
150190
jobTemplate: test-job.yml
151191
buildConfig: checked
192+
${{ if and(eq(variables['Build.Reason'], 'PullRequest'), eq(variables['Build.DefinitionName'], 'coreclr-ci')) }}:
193+
platforms:
194+
- Linux_arm
195+
- Linux_arm64
196+
- Linux_musl_x64
197+
- Linux_x64
198+
- OSX_x64
199+
- Windows_NT_arm
200+
- Windows_NT_arm64
201+
- Windows_NT_x64
202+
- Windows_NT_x86
152203
${{ if eq(variables['Build.DefinitionName'], 'coreclr-outerloop-gcstress0x3-gcstress0xc') }}:
153204
platforms:
154205
- Linux_arm

cross/toolchain.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ if (CLR_CMAKE_COMPILER STREQUAL "Clang")
7676
add_compile_param(CROSS_LINK_FLAGS "--target=${TOOLCHAIN}")
7777
endif()
7878

79-
add_compile_param(CROSS_LINK_FLAGS "-fuse-ld=gold")
80-
8179
if(TARGET_ARCH_NAME STREQUAL "armel")
8280
if(DEFINED TIZEN_TOOLCHAIN) # For Tizen only
8381
add_compile_param(CROSS_LINK_FLAGS "-B${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")

dependencies.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626

2727
<!-- Source of truth for dependency tooling: the commit hash of the dotnet/versions master branch as of the last auto-upgrade. -->
2828
<PropertyGroup>
29-
<CoreClrCurrentRef>79eb261c83005ea1c93c7861d374d1dd16a07353</CoreClrCurrentRef>
29+
<CoreClrCurrentRef>effbce0711085d54a498120d91e0bddbb9f8d8ad</CoreClrCurrentRef>
3030
<BuildToolsCurrentRef>79eb261c83005ea1c93c7861d374d1dd16a07353</BuildToolsCurrentRef>
3131
</PropertyGroup>
3232

3333
<!-- Tests/infrastructure dependency versions. -->
3434
<PropertyGroup>
35-
<MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview4-27528-71</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
35+
<MicrosoftNETCoreRuntimeCoreCLRPackageVersion>3.0.0-preview4-27603-71</MicrosoftNETCoreRuntimeCoreCLRPackageVersion>
3636
<XunitPackageVersion>2.4.1</XunitPackageVersion>
3737
<XunitPerformanceApiPackageVersion>1.0.0-beta-build0015</XunitPerformanceApiPackageVersion>
3838
<MicrosoftDiagnosticsTracingTraceEventPackageVersion>2.0.36</MicrosoftDiagnosticsTracingTraceEventPackageVersion>

eng/Version.Details.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19179.2">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19202.13">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>31abd61b43b115a6af83c92ce35ed4e8efd01dfd</Sha>
8+
<Sha>764f362c8e92e41905fe5f6c782ab9980c86c909</Sha>
99
</Dependency>
10-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="2.0.0-beta.19179.2">
10+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="2.0.0-beta.19202.13">
1111
<Uri>https://github.com/dotnet/arcade</Uri>
12-
<Sha>31abd61b43b115a6af83c92ce35ed4e8efd01dfd</Sha>
12+
<Sha>764f362c8e92e41905fe5f6c782ab9980c86c909</Sha>
1313
</Dependency>
1414
<Dependency Name="Microsoft.Private.CoreFx.NETCoreApp" Version="4.6.0-preview4.19201.9">
1515
<Uri>https://github.com/dotnet/corefx</Uri>
@@ -19,9 +19,9 @@
1919
<Uri>https://github.com/dotnet/corefx</Uri>
2020
<Sha>85cec01822bc70fbc45a25001997b0c1e71b1d22</Sha>
2121
</Dependency>
22-
<Dependency Name="Microsoft.NETCore.App" Version="3.0.0-preview4-27529-11">
22+
<Dependency Name="Microsoft.NETCore.App" Version="3.0.0-preview4-27602-14">
2323
<Uri>https://github.com/dotnet/core-setup</Uri>
24-
<Sha>cbf050750a3e74f8877ebf0f817aef906a94240c</Sha>
24+
<Sha>8fa16d3d543ffa2babd5c8a45b5f29ec2cbdf55f</Sha>
2525
</Dependency>
2626
<Dependency Name="optimization.IBC.CoreCLR" Version="99.99.99-master-20190313.3">
2727
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<MicrosoftNetFrameworkReferenceAssembliesVersion>1.0.0-alpha-004</MicrosoftNetFrameworkReferenceAssembliesVersion>
1111
<MicrosoftPrivateCoreFxNETCoreAppVersion>4.6.0-preview4.19201.9</MicrosoftPrivateCoreFxNETCoreAppVersion>
1212
<MicrosoftNETCorePlatformsVersion>3.0.0-preview4.19201.9</MicrosoftNETCorePlatformsVersion>
13-
<MicrosoftNETCoreAppVersion>3.0.0-preview4-27529-11</MicrosoftNETCoreAppVersion>
13+
<MicrosoftNETCoreAppVersion>3.0.0-preview4-27602-14</MicrosoftNETCoreAppVersion>
1414
<optimizationIBCCoreCLRVersion>99.99.99-master-20190313.3</optimizationIBCCoreCLRVersion>
1515
<optimizationPGOCoreCLRVersion>99.99.99-master-20190313.3</optimizationPGOCoreCLRVersion>
1616
</PropertyGroup>

eng/platform-matrix.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,10 @@ jobs:
3232
osIdentifier: Linux
3333
containerName: ubuntu_1404_arm_cross_build_image
3434
helixQueues:
35-
# The following is to balance the load on Linux/arm32 hardware between two different sets of machines (Ubuntu.1404.Arm32.Open and Ubuntu.1604.Arm32.Open).
36-
# This should make situations when a queue is overflowed with work items coming from different sources (PRs, CI and scheduled builds) less frequent.
37-
- ${{ if and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}:
38-
- (Ubuntu.1804.Arm32.Open)Ubuntu.1604.Arm32.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-0a0ebdd-20190312215532
3935
# Ubuntu.1404.Arm32.Open is used only by CI while Ubuntu.1604.Arm32.Open serves PRs and scheduled builds.
4036
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI')) }}:
4137
- Ubuntu.1404.Arm32.Open
4238
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest', 'IndividualCI', 'BatchedCI')) }}:
43-
- (Debian.9.Arm32.Open)Ubuntu.1604.Arm32.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm32v7-0a0ebdd-20190312215452
44-
- (Ubuntu.1604.Arm32.Open)Ubuntu.1604.Arm32.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-16.04-helix-arm32v7-0a0ebdd-20190312215551
4539
- (Ubuntu.1804.Arm32.Open)Ubuntu.1604.Arm32.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm32v7-0a0ebdd-20190312215532
4640
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
4741
- (Debian.9.Arm32)Ubuntu.1604.Arm32@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-9-helix-arm32v7-0a0ebdd-20190312215452

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"python": "2.7.15"
88
},
99
"msbuild-sdks": {
10-
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19179.2",
11-
"Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19179.2"
10+
"Microsoft.DotNet.Arcade.Sdk": "1.0.0-beta.19202.13",
11+
"Microsoft.DotNet.Helix.Sdk": "2.0.0-beta.19202.13"
1212
}
1313
}

netci.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1527,6 +1527,9 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
15271527
// These jobs are very fast on Linux/arm64 hardware, so run them daily.
15281528
addPeriodicTriggerHelper(job, '@daily')
15291529
}
1530+
else if (scenario == 'corefx_baseline') {
1531+
addPeriodicTriggerHelper(job, '@daily')
1532+
}
15301533
else {
15311534
addPeriodicTriggerHelper(job, '@weekly')
15321535
}

src/System.Private.CoreLib/Resources/Strings.resx

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,9 +1264,6 @@
12641264
<data name="Argument_InvalidSerializedString" xml:space="preserve">
12651265
<value>The specified serialized string '{0}' is not supported.</value>
12661266
</data>
1267-
<data name="Argument_InvalidStartupHookSyntax" xml:space="preserve">
1268-
<value>The syntax of the startup hook variable was invalid.</value>
1269-
</data>
12701267
<data name="Argument_InvalidStartupHookSignature" xml:space="preserve">
12711268
<value>The signature of the startup hook '{0}' in assembly '{1}' was invalid. It must be 'public static void Initialize()'.</value>
12721269
</data>
@@ -1930,9 +1927,6 @@
19301927
<data name="ArrayTypeMismatch_ConstrainedCopy" xml:space="preserve">
19311928
<value>Array.ConstrainedCopy will only work on array types that are provably compatible, without any form of boxing, unboxing, widening, or casting of each array element. Change the array types (i.e., copy a Derived[] to a Base[]), or use a mitigation strategy in the CER for Array.Copy's less powerful reliability contract, such as cloning the array or throwing away the potentially corrupt destination array.</value>
19321929
</data>
1933-
<data name="AssemblyLoadContext_Constructor_CannotInstantiateWhileUnloading" xml:space="preserve">
1934-
<value>Cannot instantiate AssemblyLoadContext while the current process is exiting.</value>
1935-
</data>
19361930
<data name="AssemblyLoadContext_Unload_CannotUnloadIfNotCollectible" xml:space="preserve">
19371931
<value>Cannot unload non-collectible AssemblyLoadContext.</value>
19381932
</data>
@@ -2941,9 +2935,6 @@
29412935
<data name="NotSupported_DBNullSerial" xml:space="preserve">
29422936
<value>Only one DBNull instance may exist, and calls to DBNull deserialization methods are not allowed.</value>
29432937
</data>
2944-
<data name="NotSupported_DelegateMarshalToWrongDomain" xml:space="preserve">
2945-
<value>Delegates cannot be marshaled from native code into a domain other than their home domain.</value>
2946-
</data>
29472938
<data name="NotSupported_DynamicAssembly" xml:space="preserve">
29482939
<value>The invoked member is not supported in a dynamic assembly.</value>
29492940
</data>
@@ -3754,4 +3745,10 @@
37543745
<data name="Serialization_DangerousDeserialization_Switch" xml:space="preserve">
37553746
<value>An action was attempted during deserialization that could lead to a security vulnerability. The action has been aborted. To allow the action, set the '{0}' AppContext switch to true.</value>
37563747
</data>
3748+
<data name="Argument_InvalidStartupHookSimpleAssemblyName" xml:space="preserve">
3749+
<value>The startup hook simple assembly name '{0}' is invalid. It must be a valid assembly name and it may not contain directory separator, space or comma characters and must not end with '.dll'.</value>
3750+
</data>
3751+
<data name="Argument_StartupHookAssemblyLoadFailed" xml:space="preserve">
3752+
<value>Startup hook assembly '{0}' failed to load. See inner exception for details.</value>
3753+
</data>
37573754
</root>

0 commit comments

Comments
 (0)