Move files to shared CoreLib partition (dotnet/coreclr#10830)
authorJan Kotas <jkotas@microsoft.com>
Sun, 9 Apr 2017 13:55:23 +0000 (06:55 -0700)
committerGitHub <noreply@github.com>
Sun, 9 Apr 2017 13:55:23 +0000 (06:55 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/1a9781b68b8ec66c223bb96f44ae1d2704ce6fdf

63 files changed:
src/coreclr/src/mscorlib/System.Private.CoreLib.csproj
src/coreclr/src/mscorlib/shared/System.Private.CoreLib.Shared.projitems
src/coreclr/src/mscorlib/shared/System/ArgumentException.cs [moved from src/coreclr/src/mscorlib/src/System/ArgumentException.cs with 97% similarity]
src/coreclr/src/mscorlib/shared/System/Configuration/Assemblies/AssemblyHashAlgorithm.cs [moved from src/coreclr/src/mscorlib/src/System/Configuration/Assemblies/AssemblyHashAlgorithm.cs with 65% similarity]
src/coreclr/src/mscorlib/shared/System/Configuration/Assemblies/AssemblyVersionCompatibility.cs [moved from src/coreclr/src/mscorlib/src/System/Configuration/Assemblies/AssemblyVersionCompatibility.cs with 60% similarity]
src/coreclr/src/mscorlib/shared/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Diagnostics/ConditionalAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Diagnostics/ConditionalAttribute.cs with 58% similarity]
src/coreclr/src/mscorlib/shared/System/ICloneable.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/IO/DirectoryNotFoundException.cs [moved from src/coreclr/src/mscorlib/src/System/IO/DirectoryNotFoundException.cs with 73% similarity]
src/coreclr/src/mscorlib/shared/System/IO/EndOfStreamException.cs [moved from src/coreclr/src/mscorlib/src/System/IO/EndOfStreamException.cs with 67% similarity]
src/coreclr/src/mscorlib/shared/System/IO/FileAccess.cs [moved from src/coreclr/src/mscorlib/src/System/IO/FileAccess.cs with 79% similarity]
src/coreclr/src/mscorlib/shared/System/IO/FileMode.cs [moved from src/coreclr/src/mscorlib/src/System/IO/FileMode.cs with 83% similarity]
src/coreclr/src/mscorlib/shared/System/IO/FileOptions.cs [moved from src/coreclr/src/mscorlib/src/System/IO/FileOptions.cs with 81% similarity]
src/coreclr/src/mscorlib/shared/System/IO/FileShare.cs [moved from src/coreclr/src/mscorlib/src/System/IO/FileShare.cs with 84% similarity]
src/coreclr/src/mscorlib/shared/System/IO/PathTooLongException.cs [moved from src/coreclr/src/mscorlib/src/System/IO/PathTooLongException.cs with 68% similarity]
src/coreclr/src/mscorlib/shared/System/IO/SeekOrigin.cs [moved from src/coreclr/src/mscorlib/src/System/IO/SeekOrigin.cs with 64% similarity]
src/coreclr/src/mscorlib/shared/System/MissingMethodException.cs [moved from src/coreclr/src/mscorlib/src/System/MissingMethodException.cs with 55% similarity]
src/coreclr/src/mscorlib/shared/System/ParamsArray.cs [moved from src/coreclr/src/mscorlib/src/System/ParamsArray.cs with 57% similarity]
src/coreclr/src/mscorlib/shared/System/Progress.cs [moved from src/coreclr/src/mscorlib/src/System/Progress.cs with 98% similarity]
src/coreclr/src/mscorlib/shared/System/Random.cs [moved from src/coreclr/src/mscorlib/src/System/Random.cs with 91% similarity]
src/coreclr/src/mscorlib/shared/System/Resources/IResourceReader.cs [moved from src/coreclr/src/mscorlib/src/System/Resources/IResourceReader.cs with 97% similarity]
src/coreclr/src/mscorlib/shared/System/Resources/MissingManifestResourceException.cs [moved from src/coreclr/src/mscorlib/src/System/Resources/MissingManifestResourceException.cs with 70% similarity]
src/coreclr/src/mscorlib/shared/System/Resources/MissingSatelliteAssemblyException.cs [moved from src/coreclr/src/mscorlib/src/System/Resources/MissingSatelliteAssemblyException.cs with 85% similarity]
src/coreclr/src/mscorlib/shared/System/Resources/NeutralResourcesLanguageAttribute.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Resources/ResourceTypeCode.cs [moved from src/coreclr/src/mscorlib/src/System/Resources/ResourceTypeCode.cs with 98% similarity]
src/coreclr/src/mscorlib/shared/System/Resources/SatelliteContractVersionAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Resources/SatelliteContractVersionAttribute.cs with 77% similarity]
src/coreclr/src/mscorlib/shared/System/Resources/UltimateResourceFallbackLocation.cs [moved from src/coreclr/src/mscorlib/src/System/Resources/UltimateResourceFallbackLocation.cs with 95% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/AccessedThroughPropertyAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/AccessedThroughPropertyAttribute.cs with 53% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/AsyncStateMachineAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/AsyncStateMachineAttribute.cs with 79% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/CallerFilePathAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/CallerFilePathAttribute.cs with 96% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/CallerLineNumberAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/CallerLineNumberAttribute.cs with 96% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/CallerMemberNameAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/CallerMemberNameAttribute.cs with 96% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/CompilerGeneratedAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/CompilerGeneratedAttribute.cs with 73% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/DisablePrivateReflectionAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/DisablePrivateReflectionAttribute.cs with 72% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/FixedBufferAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/FixedBufferAttribute.cs with 69% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/IAsyncStateMachine.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/IAsyncStateMachine.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/INotifyCompletion.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/INotifyCompletion.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/IndexerNameAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/IndexerNameAttribute.cs with 94% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/IteratorStateMachineAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/IteratorStateMachineAttribute.cs with 79% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/ReferenceAssemblyAttribute.cs with 80% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/RuntimeCompatibilityAttribute.cs with 63% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/StateMachineAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/StateMachineAttribute.cs with 65% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/TypeForwardedFromAttribute.cs with 54% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/TypeForwardedToAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/TypeForwardedToAttribute.cs with 65% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/CompilerServices/UnsafeValueTypeAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/CompilerServices/UnsafeValueTypeAttribute.cs with 96% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/InteropServices/CallingConvention.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/CallingConvention.cs with 68% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/InteropServices/CharSet.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/CharSet.cs with 70% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/InteropServices/ExternalException.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/ExternalException.cs with 73% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/InteropServices/LayoutKind.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/InteropServices/LayoutKind.cs with 52% similarity]
src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/IFormatterConverter.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/IObjectReference.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/ISerializable.cs [new file with mode: 0644]
src/coreclr/src/mscorlib/shared/System/Runtime/Versioning/TargetFrameworkAttribute.cs [moved from src/coreclr/src/mscorlib/src/System/Runtime/Versioning/TargetFrameworkAttribute.cs with 99% similarity]
src/coreclr/src/mscorlib/shared/System/Security/SafeBSTRHandle.cs [moved from src/coreclr/src/mscorlib/src/System/Security/SafeBSTRHandle.cs with 100% similarity]
src/coreclr/src/mscorlib/shared/System/Security/VerificationException.cs [moved from src/coreclr/src/mscorlib/src/System/Security/VerificationException.cs with 80% similarity]
src/coreclr/src/mscorlib/shared/System/ValueTuple.cs [moved from src/coreclr/src/mscorlib/src/System/ValueTuple.cs with 99% similarity]
src/coreclr/src/mscorlib/shared/System/Version.cs [moved from src/coreclr/src/mscorlib/src/System/Version.cs with 97% similarity]
src/coreclr/src/mscorlib/src/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs [deleted file]
src/coreclr/src/mscorlib/src/System/ICloneable.cs [deleted file]
src/coreclr/src/mscorlib/src/System/Resources/NeutralResourcesLanguageAttribute.cs [deleted file]
src/coreclr/src/mscorlib/src/System/Runtime/Serialization/IFormatterConverter.cs [deleted file]
src/coreclr/src/mscorlib/src/System/Runtime/Serialization/IObjectReference.cs [deleted file]
src/coreclr/src/mscorlib/src/System/Runtime/Serialization/ISerializable.cs [deleted file]

index ff62e7d..218ef08 100644 (file)
   <Import Project="$(MSBuildThisFileDirectory)..\..\clr.defines.targets" />
   <!-- Sources -->
   <ItemGroup>
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\AccessedThroughPropertyAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\RuntimeHelpers.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\CompilerGeneratedAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\CustomConstantAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\DateTimeConstantAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\DecimalConstantAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\DisablePrivateReflectionAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\CompilationRelaxations.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\FixedBufferAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\IndexerNameAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\InternalsVisibleToAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\MethodImplAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\UnsafeValueTypeAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\TypeDependencyAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\jithelpers.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\Unsafe.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\SuppressMergeCheckAttribute.cs" />
     <Compile Condition="'$(FeatureICastable)' == 'true'" Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\ICastable.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\TypeForwardedToAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\TypeForwardedFromAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\ReferenceAssemblyAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\RuntimeCompatibilityAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\RuntimeWrappedException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\ConditionalWeakTable.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\CallerFilePathAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\CallerLineNumberAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\CallerMemberNameAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\StateMachineAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\IteratorStateMachineAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\AsyncStateMachineAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\AsyncMethodBuilder.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\IAsyncStateMachine.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\INotifyCompletion.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\TaskAwaiter.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\CompilerServices\YieldAwaitable.cs" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ArrayWithOffset.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\Attributes.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CallingConvention.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CharSet.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\COMException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\CriticalHandle.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ExternalException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\GcHandle.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\GCHandleCookieTable.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\HandleRef.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\ICustomMarshaler.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\InvalidOleVariantTypeException.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\LayoutKind.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\Marshal.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\MarshalDirectiveException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\PInvokeMap.cs" />
     <Compile Include="$(BclSourcesRoot)\System\AppContext\AppContextDefaultValues.Defaults.Central.cs" />
     <Compile Include="$(BclSourcesRoot)\System\CurrentSystemTimeZone.Cache.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Object.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\ICloneable.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Array.cs" />
     <Compile Include="$(BclSourcesRoot)\System\ArraySegment.cs" />
     <Compile Include="$(BclSourcesRoot)\System\ThrowHelper.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Delegate.cs" />
     <Compile Include="$(BclSourcesRoot)\System\MulticastDelegate.cs" />
     <Compile Include="$(BclSourcesRoot)\System\__HResults.cs" />
+    <Compile Include="$(BclSourcesRoot)\System\HResults.cs" />
     <Compile Include="$(BclSourcesRoot)\System\BCLDebug.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Activator.cs" />
     <Compile Include="$(BclSourcesRoot)\System\AccessViolationException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IAppDomainPauseManager.cs" />
     <Compile Include="$(BclSourcesRoot)\System\AppDomainAttributes.cs" />
     <Compile Include="$(BclSourcesRoot)\System\AppDomainUnloadedException.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\ArgumentException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\ArgumentOutOfRangeException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\ArgIterator.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Attribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\mda.cs" />
     <Compile Include="$(BclSourcesRoot)\System\MissingFieldException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\MissingMemberException.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\MissingMethodException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\NonSerializedAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Number.cs" />
     <Compile Include="$(BclSourcesRoot)\System\OperatingSystem.cs" />
     <Compile Include="$(BclSourcesRoot)\System\OperationCanceledException.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\ParamsArray.cs" />
     <Compile Include="$(BclSourcesRoot)\System\ParseNumbers.cs" />
     <Compile Include="$(BclSourcesRoot)\System\PlatformID.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Progress.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Random.cs" />
     <Compile Include="$(BclSourcesRoot)\System\ResId.cs" />
     <Compile Include="$(BclSourcesRoot)\System\RtType.cs" />
     <Compile Include="$(BclSourcesRoot)\System\RuntimeArgumentHandle.cs" />
     <Compile Include="$(BclSourcesRoot)\System\UInt64.cs" />
     <Compile Include="$(BclSourcesRoot)\System\UIntPtr.cs" />
     <Compile Include="$(BclSourcesRoot)\System\ValueType.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Version.cs" />
     <Compile Include="$(BclSourcesRoot)\System\WeakReference.cs" />
     <Compile Include="$(BclSourcesRoot)\System\WeakReferenceOfT.cs" />
     <Compile Include="$(BclSourcesRoot)\System\XmlIgnoreMemberAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\BinaryWriter.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\Directory.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\SearchOption.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\IO\DirectoryNotFoundException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\DriveNotFoundException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\EncodingCache.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\IO\EndOfStreamException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\File.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\IO\FileAccess.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\FileLoadException.CoreCLR.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\IO\FileMode.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\FileNotFoundException.CoreCLR.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\IO\FileOptions.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\IO\FileShare.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\FileSystemEnumerable.cs" Condition="'$(TargetsUnix)' == 'true'" />
     <Compile Include="$(BclSourcesRoot)\System\IO\IOException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\MemoryStream.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\IO\PathTooLongException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\PinnedBufferMemoryStream.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\IO\SeekOrigin.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\Stream.cs" />
     <Compile Include="$(BclSourcesRoot)\System\IO\TextReader.cs" Condition="'$(TargetsUnix)' == 'true'" />
     <Compile Include="$(BclSourcesRoot)\System\IO\StreamReader.cs" Condition="'$(TargetsUnix)' == 'true'" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="$(BclSourcesRoot)\System\Security\DynamicSecurityMethodAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Security\VerificationException.cs" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Assert.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\AssertFilter.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\AssertFilters.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Diagnostics\ConditionalAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Debug.Unix.cs" Condition="'$(TargetsUnix)' == 'true'" />
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Debug.Windows.cs" Condition="'$(TargetsUnix)' != 'true'" />
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Debugger.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Eventing\FrameworkEventSource.cs" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="$(BclSourcesRoot)\System\Diagnostics\CodeAnalysis\SuppressMessageAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Contracts\Contracts.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Diagnostics\Contracts\ContractsBCL.cs" />
   </ItemGroup>
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\FormatterConverter.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\FormatterServices.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\IDeserializationCallback.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\IFormatterConverter.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\IObjectReference.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\ISerializable.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\SerializationAttributes.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\SerializationException.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\SerializationInfo.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Serialization\StreamingContext.cs" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="$(BclSourcesRoot)\System\Runtime\Versioning\TargetFrameworkAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Versioning\CompatibilitySwitch.cs" Condition="'$(TargetsUnix)' == 'true'" />
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Versioning\NonVersionableAttribute.cs" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="$(BclSourcesRoot)\System\Configuration\Assemblies\AssemblyHashAlgorithm.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Configuration\Assemblies\AssemblyVersionCompatibility.cs" />
-  </ItemGroup>
-  <ItemGroup>
     <Compile Include="$(BclSourcesRoot)\System\Runtime\Remoting\ObjectHandle.cs" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="$(BclSourcesRoot)\System\Resources\__HResults.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\FileBasedResourceGroveler.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\IResourceGroveler.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Resources\IResourceReader.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\LooselyLinkedResourceReference.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\ManifestBasedResourceGroveler.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Resources\MissingManifestResourceException.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Resources\MissingSatelliteAssemblyException.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Resources\NeutralResourcesLanguageAttribute.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\ResourceFallbackManager.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\ResourceManager.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\ResourceReader.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\ResourceSet.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Resources\ResourceTypeCode.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Resources\RuntimeResourceSet.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Resources\SatelliteContractVersionAttribute.cs" />
-    <Compile Include="$(BclSourcesRoot)\System\Resources\UltimateResourceFallbackLocation.cs" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="$(BclSourcesRoot)\System\Nullable.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Numerics\Hashing\HashHelpers.cs" />
   </ItemGroup>
   <ItemGroup Condition="'$(TargetsUnix)' != 'true'">
-    <Compile Include="$(BclSourcesRoot)\System\HResults.cs" />
     <Compile Include="$(BclSourcesRoot)\Interop\Windows\kernel32\Interop.Globalization.cs" />
     <Compile Include="$(BclSourcesRoot)\Interop\Windows\Normaliz\Interop.Idna.cs" />
     <Compile Include="$(BclSourcesRoot)\Interop\Windows\Normaliz\Interop.Normalization.cs" />
   </ItemGroup>
   <ItemGroup Condition="'$(TargetsUnix)' != 'true'">
-    <Compile Include="$(BclSourcesRoot)\System\Security\SafeBSTRHandle.cs" />
     <Compile Include="$(BclSourcesRoot)\System\Security\SecureString.Windows.cs" />
     <!-- Interop sources -->
     <Compile Include="$(BclSourcesRoot)\Interop\Windows\NtDll\Interop.ZeroMemory.cs" />
     <Compile Include="$(BclSourcesRoot)\Interop\Windows\oleaut32\Interop.SysStringLen.cs" />
   </ItemGroup>
   <ItemGroup Condition="'$(TargetsUnix)' == 'true'">
-    <Compile Include="$(BclSourcesRoot)\System\HResults.cs" />
     <Compile Include="$(BclSourcesRoot)\Interop\Unix\System.Native\Interop.GetRandomBytes.cs" />
   </ItemGroup>
   <!-- Include additional sources shared files in the compilation -->
   </ItemGroup>
   <ItemGroup>
     <Compile Include="src\System\Runtime\RuntimeImports.cs" />
-    <Compile Include="src\System\ValueTuple.cs" />
   </ItemGroup>
   <Import Project="shared\System.Private.CoreLib.Shared.projitems" Label="Shared" />
   <PropertyGroup>
index a773629..a5cc897 100644 (file)
@@ -82,6 +82,7 @@
     <Compile Include="$(MSBuildThisFileDirectory)Microsoft\Win32\SafeHandles\CriticalHandleZeroOrMinusOneIsInvalid.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Action.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ApplicationException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\ArgumentException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ArgumentNullException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ArithmeticException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ArrayTypeMismatchException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Collections\IStructuralComparable.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Collections\IStructuralEquatable.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ComponentModel\EditorBrowsableAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Configuration\Assemblies\AssemblyHashAlgorithm.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Configuration\Assemblies\AssemblyVersionCompatibility.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Convert.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\CurrentSystemTimeZone.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\DataMisalignedException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\DayOfWeek.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\DBNull.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\DefaultBinder.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Diagnostics\CodeAnalysis\SuppressMessageAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Diagnostics\ConditionalAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Diagnostics\Debug.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\DivideByZeroException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\DuplicateWaitObjectException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Globalization\UmAlQuraCalendar.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Globalization\UnicodeCategory.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IAsyncResult.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\ICloneable.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IComparable.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IConvertible.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ICustomFormatter.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\InvalidOperationException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\InvalidProgramException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\InvalidTimeZoneException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\IO\DirectoryNotFoundException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\IO\EndOfStreamException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\Error.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\IO\FileAccess.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\FileLoadException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\IO\FileMode.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\FileNotFoundException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\IO\FileOptions.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\IO\FileShare.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\FileStream.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\Path.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\PathInternal.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\IO\PathTooLongException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\IO\SeekOrigin.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\StreamHelpers.CopyValidation.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IObservable.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\IObserver.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\MemberAccessException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\MethodAccessException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\MidpointRounding.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\MissingMethodException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\MulticastNotSupportedException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\NotFiniteNumberException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\NotImplementedException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ObsoleteAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\OverflowException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ParamArrayAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\ParamsArray.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\PlatformNotSupportedException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Progress.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Random.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\RankException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\AmbiguousMatchException.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\Assembly.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\Reflection\TypeInfo.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\ResolveEventArgs.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\ResolveEventHandler.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Resources\IResourceReader.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Resources\MissingManifestResourceException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Resources\MissingSatelliteAssemblyException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Resources\NeutralResourcesLanguageAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Resources\ResourceTypeCode.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Resources\SatelliteContractVersionAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Resources\UltimateResourceFallbackLocation.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\AccessedThroughPropertyAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\AsyncStateMachineAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\CallerFilePathAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\CallerLineNumberAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\CallerMemberNameAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\CompilationRelaxations.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\CompilerGeneratedAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\CompilerGlobalScopeAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\DefaultDependencyAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\DependencyAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\DisablePrivateReflectionAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\DiscardableAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\ExtensionAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\FixedAddressValueTypeAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\FixedBufferAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\FormattableStringFactory.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\IAsyncStateMachine.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\IndexerNameAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\INotifyCompletion.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\IsVolatile.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\IteratorStateMachineAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\ITuple.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\LoadHint.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\MethodCodeType.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\MethodImplOptions.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\ReadOnlyAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\ReferenceAssemblyAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\RuntimeCompatibilityAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\StateMachineAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\StringFreezingAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\SuppressIldasmAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\TupleElementNamesAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\TypeForwardedFromAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\TypeForwardedToAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\CompilerServices\UnsafeValueTypeAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ConstrainedExecution\Cer.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ConstrainedExecution\Consistency.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\ConstrainedExecution\ReliabilityContractAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\CallingConvention.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\CharSet.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\ExternalException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\LayoutKind.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\InteropServices\StringBuffer.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\IFormatterConverter.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\IObjectReference.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\ISafeSerializationData.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\ISerializable.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Serialization\SafeSerializationEventArgs.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Runtime\Versioning\TargetFrameworkAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Security\AllowPartiallyTrustedCallersAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Security\CryptographicException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Security\PartialTrustVisibilityLevel.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Security\SecurityTreatAsSafeAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Security\SuppressUnmanagedCodeSecurityAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Security\UnverifiableCodeAttribute.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Security\VerificationException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\StackOverflowException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\StringComparer.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\StringComparison.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\StringSplitOptions.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\SystemException.cs"/>
-    <Compile Include="$(MSBuildThisFileDirectory)System\TimeZone.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Text\Normalization.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Text\StringBuilder.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ThreadAttributes.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Threading\Timeout.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\ThreadStaticAttribute.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\TimeoutException.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\TimeZone.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\TimeZoneNotFoundException.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\TupleExtensions.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Type.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\UnhandledExceptionEventArgs.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\UnhandledExceptionEventHandler.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\UnitySerializationHolder.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\ValueTuple.cs"/>
+    <Compile Include="$(MSBuildThisFileDirectory)System\Version.cs"/>
     <Compile Include="$(MSBuildThisFileDirectory)System\Void.cs"/>
   </ItemGroup>
   <ItemGroup Condition="$(TargetsWindows)">
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\PathInternal.Windows.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\PathInternal.Windows.StringBuffer.cs" />
     <Compile Include="$(MSBuildThisFileDirectory)System\IO\Win32Marshal.cs" />
+    <Compile Include="$(MSBuildThisFileDirectory)System\Security\SafeBSTRHandle.cs"/>
   </ItemGroup>
   <ItemGroup Condition="$(TargetsUnix)">
     <Compile Include="$(MSBuildThisFileDirectory)Microsoft\Win32\SafeHandles\SafeFileHandle.Unix.cs"/>
@@ -21,7 +21,7 @@ namespace System
     // message describing what was wrong and which parameter is incorrect.
     // 
     [Serializable]
-    public class ArgumentException : SystemException, ISerializable
+    public class ArgumentException : SystemException
     {
         private String _paramName;
 
@@ -2,23 +2,8 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-**
-**
-** Purpose: 
-**
-**
-===========================================================*/
-
-using System.Runtime.InteropServices;
-
-
-using System;
-
 namespace System.Configuration.Assemblies
 {
-    [Serializable]
     public enum AssemblyHashAlgorithm
     {
         None = 0,
@@ -2,20 +2,8 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-**
-**
-** Purpose: defining the different flavor's assembly version compatibility
-**
-**
-===========================================================*/
-
-using System;
-
 namespace System.Configuration.Assemblies
 {
-    [Serializable]
     public enum AssemblyVersionCompatibility
     {
         SameMachine = 1,
diff --git a/src/coreclr/src/mscorlib/shared/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs
new file mode 100644 (file)
index 0000000..893d7b8
--- /dev/null
@@ -0,0 +1,39 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+/*============================================================
+**
+**
+**
+**  An attribute to suppress violation messages/warnings   
+**  by static code analysis tools. 
+**
+** 
+===========================================================*/
+
+namespace System.Diagnostics.CodeAnalysis
+{
+    [AttributeUsage(
+     AttributeTargets.All,
+     Inherited = false,
+     AllowMultiple = true
+     )
+    ]
+    [Conditional("CODE_ANALYSIS")]
+    public sealed class SuppressMessageAttribute : Attribute
+    {
+        public SuppressMessageAttribute(string category, string checkId)
+        {
+            Category = category;
+            CheckId = checkId;
+        }
+
+        public string Category { get; }
+        public string CheckId { get; }
+        public string Scope { get; set; }
+        public string Target { get; set; }
+        public string MessageId { get; set; }
+        public string Justification { get; set; }
+    }
+}
@@ -2,27 +2,17 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-using System;
-
 namespace System.Diagnostics
 {
     [Serializable]
     [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
     public sealed class ConditionalAttribute : Attribute
     {
-        public ConditionalAttribute(String conditionString)
-        {
-            m_conditionString = conditionString;
-        }
-
-        public String ConditionString
+        public ConditionalAttribute(string conditionString)
         {
-            get
-            {
-                return m_conditionString;
-            }
+            ConditionString = conditionString;
         }
 
-        private String m_conditionString;
+        public string ConditionString { get; }
     }
 }
diff --git a/src/coreclr/src/mscorlib/shared/System/ICloneable.cs b/src/coreclr/src/mscorlib/shared/System/ICloneable.cs
new file mode 100644 (file)
index 0000000..9f123e4
--- /dev/null
@@ -0,0 +1,11 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace System
+{
+    public interface ICloneable
+    {
+        object Clone();
+    }
+}
@@ -2,18 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** 
-** 
-**
-**
-** Purpose: Exception for accessing a path that doesn't exist.
-**
-**
-===========================================================*/
-
-using System;
 using System.Runtime.Serialization;
 
 namespace System.IO
@@ -33,19 +21,20 @@ namespace System.IO
             HResult = __HResults.COR_E_DIRECTORYNOTFOUND;
         }
 
-        public DirectoryNotFoundException(String message)
+        public DirectoryNotFoundException(string message)
             : base(message)
         {
             HResult = __HResults.COR_E_DIRECTORYNOTFOUND;
         }
 
-        public DirectoryNotFoundException(String message, Exception innerException)
+        public DirectoryNotFoundException(string message, Exception innerException)
             : base(message, innerException)
         {
             HResult = __HResults.COR_E_DIRECTORYNOTFOUND;
         }
 
-        protected DirectoryNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context)
+        protected DirectoryNotFoundException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
         {
         }
     }
@@ -2,22 +2,14 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** 
-** 
-**
-**
-** Purpose: Exception to be thrown when reading past end-of-file.
-**
-**
-===========================================================*/
-
-using System;
 using System.Runtime.Serialization;
 
 namespace System.IO
 {
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedType("System.IO")]
+    [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
+#endif
     [Serializable]
     public class EndOfStreamException : IOException
     {
@@ -27,19 +19,20 @@ namespace System.IO
             HResult = __HResults.COR_E_ENDOFSTREAM;
         }
 
-        public EndOfStreamException(String message)
+        public EndOfStreamException(string message)
             : base(message)
         {
             HResult = __HResults.COR_E_ENDOFSTREAM;
         }
 
-        public EndOfStreamException(String message, Exception innerException)
+        public EndOfStreamException(string message, Exception innerException)
             : base(message, innerException)
         {
             HResult = __HResults.COR_E_ENDOFSTREAM;
         }
 
-        protected EndOfStreamException(SerializationInfo info, StreamingContext context) : base(info, context)
+        protected EndOfStreamException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
         {
         }
     }
@@ -2,19 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** Enum:   FileAccess
-** 
-** 
-**
-**
-** Purpose: Enum describing whether you want read and/or write
-** permission to a file.
-**
-**
-===========================================================*/
-
 using System;
 
 namespace System.IO
@@ -24,6 +11,9 @@ namespace System.IO
     // 
     [Serializable]
     [Flags]
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
+#endif
     public enum FileAccess
     {
         // Specifies read access to the file. Data can be read from the file and
@@ -2,21 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** Enum:   FileMode
-** 
-** 
-**
-**
-** Purpose: Enum describing whether to create a new file or 
-** open an existing one.
-**
-**
-===========================================================*/
-
-using System;
-
 namespace System.IO
 {
     // Contains constants for specifying how the OS should open a file.
@@ -27,7 +12,9 @@ namespace System.IO
     // to the end of the file).  To truncate a file or create it if it doesn't 
     // exist, use Create.
     // 
-    [Serializable]
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
+#endif
     public enum FileMode
     {
         // Creates a new file. An exception is raised if the file already exists.
@@ -2,19 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** Enum:   FileOptions
-** 
-** 
-**
-**
-** Purpose: Additional options to how to create a FileStream.
-**    Exposes the more obscure CreateFile functionality.
-**
-**
-===========================================================*/
-
 using System;
 using System.Runtime.InteropServices;
 
@@ -23,8 +10,10 @@ namespace System.IO
     // Maps to FILE_FLAG_DELETE_ON_CLOSE and similar values from winbase.h.
     // We didn't expose a number of these values because we didn't believe 
     // a number of them made sense in managed code, at least not yet.
-    [Serializable]
     [Flags]
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem")]
+#endif
     public enum FileOptions
     {
         // NOTE: any change to FileOptions enum needs to be 
@@ -2,20 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** Enum:   FileShare
-** 
-** 
-**
-**
-** Purpose: Enum describing how to share files with other 
-** processes - ie, whether two processes can simultaneously
-** read from the same file.
-**
-**
-===========================================================*/
-
 using System;
 
 namespace System.IO
@@ -27,8 +13,10 @@ namespace System.IO
     // Note these values currently match the values for FILE_SHARE_READ,
     // FILE_SHARE_WRITE, and FILE_SHARE_DELETE in winnt.h
     // 
-    [Serializable]
     [Flags]
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedTypeAttribute("System.IO.FileSystem.Primitives")]
+#endif
     public enum FileShare
     {
         // No sharing. Any request to open the file (by this process or another
@@ -2,17 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** 
-** 
-**
-**
-** Purpose: Exception for paths and/or filenames that are 
-** too long.
-**
-**
-===========================================================*/
 
 using System;
 using System.Runtime.Serialization;
@@ -28,19 +17,20 @@ namespace System.IO
             HResult = __HResults.COR_E_PATHTOOLONG;
         }
 
-        public PathTooLongException(String message)
+        public PathTooLongException(string message)
             : base(message)
         {
             HResult = __HResults.COR_E_PATHTOOLONG;
         }
 
-        public PathTooLongException(String message, Exception innerException)
+        public PathTooLongException(string message, Exception innerException)
             : base(message, innerException)
         {
             HResult = __HResults.COR_E_PATHTOOLONG;
         }
 
-        protected PathTooLongException(SerializationInfo info, StreamingContext context) : base(info, context)
+        protected PathTooLongException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
         {
         }
     }
@@ -2,26 +2,10 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** Enum:   SeekOrigin
-** 
-** 
-**
-**
-** Purpose: Enum describing locations in a stream you could
-** seek relative to.
-**
-**
-===========================================================*/
-
-using System;
-
 namespace System.IO
 {
     // Provides seek reference points.  To seek to the end of a stream,
     // call stream.Seek(0, SeekOrigin.End).
-    [Serializable]
     public enum SeekOrigin
     {
         // These constants match Win32's FILE_BEGIN, FILE_CURRENT, and FILE_END
 **
 =============================================================================*/
 
-
-using System;
-using System.Runtime.Remoting;
 using System.Runtime.Serialization;
-using System.Runtime.CompilerServices;
-using System.Globalization;
 
 namespace System
 {
     [Serializable]
-    public class MissingMethodException : MissingMemberException, ISerializable
+    public class MissingMethodException : MissingMemberException
     {
         public MissingMethodException()
             : base(SR.Arg_MissingMethodException)
@@ -29,46 +24,37 @@ namespace System
             HResult = __HResults.COR_E_MISSINGMETHOD;
         }
 
-        public MissingMethodException(String message)
+        public MissingMethodException(string message)
             : base(message)
         {
             HResult = __HResults.COR_E_MISSINGMETHOD;
         }
 
-        public MissingMethodException(String message, Exception inner)
+        public MissingMethodException(string message, Exception inner)
             : base(message, inner)
         {
             HResult = __HResults.COR_E_MISSINGMETHOD;
         }
 
-        protected MissingMethodException(SerializationInfo info, StreamingContext context) : base(info, context)
+        public MissingMethodException(string className, string methodName)
         {
+            ClassName = className;
+            MemberName = methodName;
         }
 
-        public override String Message
+        protected MissingMethodException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
         {
-            get
-            {
-                if (ClassName == null)
-                {
-                    return base.Message;
-                }
-                else
-                {
-                    // do any desired fixups to classname here.
-                    return SR.Format(SR.MissingMethod_Name, ClassName + "." + MemberName + (Signature != null ? " " + FormatSignature(Signature) : ""));
-                }
-            }
         }
 
-        public MissingMethodException(String className, String methodName)
+        public override string Message
         {
-            ClassName = className;
-            MemberName = methodName;
+            get
+            {
+                return ClassName == null ? base.Message : 
+                    SR.Format(SR.MissingMethod_Name, ClassName + "." + MemberName + 
+                        (Signature != null ? " " + FormatSignature(Signature) : string.Empty));
+            }
         }
-
-        // If ClassName != null, Message will construct on the fly using it
-        // and the other variables. This allows customization of the
-        // format depending on the language environment.
     }
 }
@@ -9,74 +9,74 @@ namespace System
         // Sentinel fixed-length arrays eliminate the need for a "count" field keeping this
         // struct down to just 4 fields. These are only used for their "Length" property,
         // that is, their elements are never set or referenced.
-        private static readonly object[] oneArgArray = new object[1];
-        private static readonly object[] twoArgArray = new object[2];
-        private static readonly object[] threeArgArray = new object[3];
+        private static readonly object[] s_oneArgArray = new object[1];
+        private static readonly object[] s_twoArgArray = new object[2];
+        private static readonly object[] s_threeArgArray = new object[3];
 
-        private readonly object arg0;
-        private readonly object arg1;
-        private readonly object arg2;
+        private readonly object _arg0;
+        private readonly object _arg1;
+        private readonly object _arg2;
 
         // After construction, the first three elements of this array will never be accessed
         // because the indexer will retrieve those values from arg0, arg1, and arg2.
-        private readonly object[] args;
+        private readonly object[] _args;
 
         public ParamsArray(object arg0)
         {
-            this.arg0 = arg0;
-            arg1 = null;
-            arg2 = null;
+            _arg0 = arg0;
+            _arg1 = null;
+            _arg2 = null;
 
             // Always assign this.args to make use of its "Length" property
-            args = oneArgArray;
+            _args = s_oneArgArray;
         }
 
         public ParamsArray(object arg0, object arg1)
         {
-            this.arg0 = arg0;
-            this.arg1 = arg1;
-            arg2 = null;
+            _arg0 = arg0;
+            _arg1 = arg1;
+            _arg2 = null;
 
             // Always assign this.args to make use of its "Length" property
-            args = twoArgArray;
+            _args = s_twoArgArray;
         }
 
         public ParamsArray(object arg0, object arg1, object arg2)
         {
-            this.arg0 = arg0;
-            this.arg1 = arg1;
-            this.arg2 = arg2;
+            _arg0 = arg0;
+            _arg1 = arg1;
+            _arg2 = arg2;
 
             // Always assign this.args to make use of its "Length" property
-            args = threeArgArray;
+            _args = s_threeArgArray;
         }
 
         public ParamsArray(object[] args)
         {
             int len = args.Length;
-            arg0 = len > 0 ? args[0] : null;
-            arg1 = len > 1 ? args[1] : null;
-            arg2 = len > 2 ? args[2] : null;
-            this.args = args;
+            _arg0 = len > 0 ? args[0] : null;
+            _arg1 = len > 1 ? args[1] : null;
+            _arg2 = len > 2 ? args[2] : null;
+            _args = args;
         }
 
         public int Length
         {
-            get { return args.Length; }
+            get { return _args.Length; }
         }
 
         public object this[int index]
         {
-            get { return index == 0 ? arg0 : GetAtSlow(index); }
+            get { return index == 0 ? _arg0 : GetAtSlow(index); }
         }
 
         private object GetAtSlow(int index)
         {
             if (index == 1)
-                return arg1;
+                return _arg1;
             if (index == 2)
-                return arg2;
-            return args[index];
+                return _arg2;
+            return _args[index];
         }
     }
 }
@@ -19,6 +19,9 @@ namespace System
     /// when the instance is constructed.  If there is no current SynchronizationContext
     /// at the time of construction, the callbacks will be invoked on the ThreadPool.
     /// </remarks>
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedType("System.Runtime.Extensions")]
+#endif
     public class Progress<T> : IProgress<T>
     {
         /// <summary>The synchronization context captured upon construction.  This will never be null.</summary>
@@ -5,7 +5,6 @@
 /*============================================================
 **
 **
-**
 ** Purpose: A random number generator.
 **
 ** 
@@ -33,9 +32,9 @@ namespace System
         //
         // Member Variables
         //
-        private int inext;
-        private int inextp;
-        private int[] SeedArray = new int[56];
+        private int _inext;
+        private int _inextp;
+        private int[] _seedArray = new int[56];
 
         //
         // Public Constants
@@ -68,15 +67,15 @@ namespace System
             //Initialize our Seed array.
             int subtraction = (Seed == Int32.MinValue) ? Int32.MaxValue : Math.Abs(Seed);
             mj = MSEED - subtraction;
-            SeedArray[55] = mj;
+            _seedArray[55] = mj;
             mk = 1;
             for (int i = 1; i < 55; i++)
             {  //Apparently the range [1..55] is special (Knuth) and so we're wasting the 0'th position.
                 if ((ii += 21) >= 55) ii -= 55;
-                SeedArray[ii] = mk;
+                _seedArray[ii] = mk;
                 mk = mj - mk;
                 if (mk < 0) mk += MBIG;
-                mj = SeedArray[ii];
+                mj = _seedArray[ii];
             }
             for (int k = 1; k < 5; k++)
             {
@@ -84,12 +83,12 @@ namespace System
                 {
                     int n = i + 30;
                     if (n >= 55) n -= 55;
-                    SeedArray[i] -= SeedArray[1 + n];
-                    if (SeedArray[i] < 0) SeedArray[i] += MBIG;
+                    _seedArray[i] -= _seedArray[1 + n];
+                    if (_seedArray[i] < 0) _seedArray[i] += MBIG;
                 }
             }
-            inext = 0;
-            inextp = 21;
+            _inext = 0;
+            _inextp = 21;
             Seed = 1;
         }
 
@@ -113,26 +112,25 @@ namespace System
         private int InternalSample()
         {
             int retVal;
-            int locINext = inext;
-            int locINextp = inextp;
+            int locINext = _inext;
+            int locINextp = _inextp;
 
             if (++locINext >= 56) locINext = 1;
             if (++locINextp >= 56) locINextp = 1;
 
-            retVal = SeedArray[locINext] - SeedArray[locINextp];
+            retVal = _seedArray[locINext] - _seedArray[locINextp];
 
             if (retVal == MBIG) retVal--;
             if (retVal < 0) retVal += MBIG;
 
-            SeedArray[locINext] = retVal;
+            _seedArray[locINext] = retVal;
 
-            inext = locINext;
-            inextp = locINextp;
+            _inext = locINext;
+            _inextp = locINextp;
 
             return retVal;
         }
 
-
         [ThreadStatic]
         private static Random t_threadRandom;
         private static readonly Random s_globalRandom = new Random(GenerateGlobalSeed());
@@ -161,9 +159,11 @@ namespace System
         **Action:  Creates a number to use as global seed.
         **Returns: An integer that is safe to use as seed values for thread-local seed generators.
         ==========================================================================================*/
-        private static int GenerateGlobalSeed()
+        private static unsafe int GenerateGlobalSeed()
         {
-            return Guid.NewGuid().GetHashCode();
+            int result;
+            Interop.GetRandomBytes((byte*)&result, sizeof(int));
+            return result;
         }
 
         //
@@ -258,7 +258,7 @@ namespace System
         /*==================================NextBytes===================================
         **Action:  Fills the byte array with random bytes [0..0x7f].  The entire array is filled.
         **Returns:Void
-        **Arugments:  buffer -- the array to be filled.
+        **Arguments:  buffer -- the array to be filled.
         **Exceptions: None
         ==============================================================================*/
         public virtual void NextBytes(byte[] buffer)
@@ -14,7 +14,6 @@
 ===========================================================*/
 
 using System;
-using System.IO;
 using System.Collections;
 
 namespace System.Resources
@@ -26,7 +25,6 @@ namespace System.Resources
         // This could close a network connection, a file, or do nothing.
         void Close();
 
-
         new IDictionaryEnumerator GetEnumerator();
     }
 }
@@ -2,22 +2,14 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-** 
-** 
-**
-**
-** Purpose: Exception for a missing assembly-level resource 
-**
-**
-===========================================================*/
-
 using System;
 using System.Runtime.Serialization;
 
 namespace System.Resources
 {
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedType("System.Resources.ResourceManager")]
+#endif
     [Serializable]
     public class MissingManifestResourceException : SystemException
     {
@@ -27,19 +19,20 @@ namespace System.Resources
             HResult = System.__HResults.COR_E_MISSINGMANIFESTRESOURCE;
         }
 
-        public MissingManifestResourceException(String message)
+        public MissingManifestResourceException(string message)
             : base(message)
         {
             HResult = System.__HResults.COR_E_MISSINGMANIFESTRESOURCE;
         }
 
-        public MissingManifestResourceException(String message, Exception inner)
+        public MissingManifestResourceException(string message, Exception inner)
             : base(message, inner)
         {
             HResult = System.__HResults.COR_E_MISSINGMANIFESTRESOURCE;
         }
 
-        protected MissingManifestResourceException(SerializationInfo info, StreamingContext context) : base(info, context)
+        protected MissingManifestResourceException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
         {
         }
     }
@@ -31,26 +31,27 @@ namespace System.Resources
             HResult = System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY;
         }
 
-        public MissingSatelliteAssemblyException(String message)
+        public MissingSatelliteAssemblyException(string message)
             : base(message)
         {
             HResult = System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY;
         }
 
-        public MissingSatelliteAssemblyException(String message, String cultureName)
+        public MissingSatelliteAssemblyException(string message, String cultureName)
             : base(message)
         {
             HResult = System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY;
             _cultureName = cultureName;
         }
 
-        public MissingSatelliteAssemblyException(String message, Exception inner)
+        public MissingSatelliteAssemblyException(string message, Exception inner)
             : base(message, inner)
         {
             HResult = System.__HResults.COR_E_MISSINGSATELLITEASSEMBLY;
         }
 
-        protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context) : base(info, context)
+        protected MissingSatelliteAssemblyException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
         {
         }
 
diff --git a/src/coreclr/src/mscorlib/shared/System/Resources/NeutralResourcesLanguageAttribute.cs b/src/coreclr/src/mscorlib/shared/System/Resources/NeutralResourcesLanguageAttribute.cs
new file mode 100644 (file)
index 0000000..3248b84
--- /dev/null
@@ -0,0 +1,36 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace System.Resources
+{
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedType("System.Resources.ResourceManager")]
+#endif
+    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
+    public sealed class NeutralResourcesLanguageAttribute : Attribute
+    {
+        public NeutralResourcesLanguageAttribute(string cultureName)
+        {
+            if (cultureName == null)
+                throw new ArgumentNullException(nameof(cultureName));
+
+            CultureName = cultureName;
+            Location = UltimateResourceFallbackLocation.MainAssembly;
+        }
+
+        public NeutralResourcesLanguageAttribute(string cultureName, UltimateResourceFallbackLocation location)
+        {
+            if (cultureName == null)
+                throw new ArgumentNullException(nameof(cultureName));
+            if (!Enum.IsDefined(typeof(UltimateResourceFallbackLocation), location))
+                throw new ArgumentException(SR.Format(SR.Arg_InvalidNeutralResourcesLanguage_FallbackLoc, location));
+
+            CultureName = cultureName;
+            Location = location;
+        }
+
+        public string CultureName { get; }
+        public UltimateResourceFallbackLocation Location { get; }
+    }
+}
@@ -24,7 +24,6 @@ namespace System.Resources
        Note this data must be included in any documentation describing the
        internals of .resources files.
     */
-    [Serializable]
     internal enum ResourceTypeCode
     {
         // Primitives
 **
 ===========================================================*/
 
-using System;
-using System.Diagnostics.Contracts;
-
 namespace System.Resources
 {
+#if PROJECTN
+    [Internal.Runtime.CompilerServices.RelocatedType("System.Resources.ResourceManager")]
+#endif
     [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
     public sealed class SatelliteContractVersionAttribute : Attribute
     {
-        private String _version;
-
         public SatelliteContractVersionAttribute(String version)
         {
             if (version == null)
                 throw new ArgumentNullException(nameof(version));
-            Contract.EndContractBlock();
-            _version = version;
+            Version = version;
         }
 
-        public String Version
-        {
-            get { return _version; }
-        }
+        public String Version { get; }
     }
 }
@@ -4,10 +4,8 @@
 
 /*============================================================
 **
-** 
-** 
 **
-** 
+**
 **
 ** Purpose: Tells the ResourceManager where to find the
 **          ultimate fallback resources for your assembly.
@@ -19,7 +17,6 @@ using System;
 
 namespace System.Resources
 {
-    [Serializable]
     public enum UltimateResourceFallbackLocation
     {
         MainAssembly,
@@ -2,30 +2,16 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-//------------------------------------------------------------------------------
-//------------------------------------------------------------------------------
-
-using System;
-
 namespace System.Runtime.CompilerServices
 {
     [AttributeUsage(AttributeTargets.Field)]
     public sealed class AccessedThroughPropertyAttribute : Attribute
     {
-        private readonly string propertyName;
-
         public AccessedThroughPropertyAttribute(string propertyName)
         {
-            this.propertyName = propertyName;
+            PropertyName = propertyName;
         }
 
-        public string PropertyName
-        {
-            get
-            {
-                return propertyName;
-            }
-        }
+        public string PropertyName { get; }
     }
 }
-
@@ -2,12 +2,10 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-
-using System;
-
 namespace System.Runtime.CompilerServices
 {
-    [Serializable, AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
+    [Serializable]
+    [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
     public sealed class AsyncStateMachineAttribute : StateMachineAttribute
     {
         public AsyncStateMachineAttribute(Type stateMachineType)
@@ -2,9 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-
-using System;
-
 namespace System.Runtime.CompilerServices
 {
     [AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
@@ -2,9 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-
-using System;
-
 namespace System.Runtime.CompilerServices
 {
     [AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
@@ -2,9 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-
-using System;
-
 namespace System.Runtime.CompilerServices
 {
     [AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
@@ -2,9 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-////////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////////
-
 namespace System.Runtime.CompilerServices
 {
     [Serializable]
@@ -14,4 +11,3 @@ namespace System.Runtime.CompilerServices
         public CompilerGeneratedAttribute() { }
     }
 }
-
@@ -2,11 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-//------------------------------------------------------------------------------
-//------------------------------------------------------------------------------
-
-using System;
-
 namespace System.Runtime.CompilerServices
 {
     [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
@@ -20,29 +20,13 @@ namespace System.Runtime.CompilerServices
     [AttributeUsage(AttributeTargets.Field, Inherited = false)]
     public sealed class FixedBufferAttribute : Attribute
     {
-        private Type elementType;
-        private int length;
-
         public FixedBufferAttribute(Type elementType, int length)
         {
-            this.elementType = elementType;
-            this.length = length;
-        }
-
-        public Type ElementType
-        {
-            get
-            {
-                return elementType;
-            }
+            ElementType = elementType;
+            Length = length;
         }
 
-        public int Length
-        {
-            get
-            {
-                return length;
-            }
-        }
+        public Type ElementType { get; }
+        public int Length { get; }
     }
 }
@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-using System;
-
 namespace System.Runtime.CompilerServices
 {
     [Serializable]
@@ -11,6 +9,7 @@ namespace System.Runtime.CompilerServices
     public sealed class IndexerNameAttribute : Attribute
     {
         public IndexerNameAttribute(String indexerName)
-        { }
+        {
+        }
     }
 }
@@ -2,12 +2,10 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-
-using System;
-
 namespace System.Runtime.CompilerServices
 {
-    [Serializable, AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
+    [Serializable]
+    [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
     public sealed class IteratorStateMachineAttribute : StateMachineAttribute
     {
         public IteratorStateMachineAttribute(Type stateMachineType)
 **
 ============================================================*/
 
-using System;
-
 namespace System.Runtime.CompilerServices
 {
     [Serializable]
     [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
     public sealed class ReferenceAssemblyAttribute : Attribute
     {
-        private String _description;  // Maybe ".NET FX v4.0 SP1, partial trust"?
-
         public ReferenceAssemblyAttribute()
         {
         }
 
         public ReferenceAssemblyAttribute(String description)
         {
-            _description = description;
+            Description = description;
         }
 
-        public String Description
-        {
-            get { return _description; }
-        }
+        public String Description { get; }
     }
 }
@@ -2,8 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-////////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////////
 /*=============================================================================
 **
 **
 **
 =============================================================================*/
 
-
-using System;
-
 namespace System.Runtime.CompilerServices
 {
     [Serializable]
     [AttributeUsage(AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)]
     public sealed class RuntimeCompatibilityAttribute : Attribute
     {
-        // fields
-        private bool m_wrapNonExceptionThrows;
-
-        // constructors
         public RuntimeCompatibilityAttribute()
         {
-            // legacy behavior is the default, and m_wrapNonExceptionThrows is implicitly
+            // legacy behavior is the default, and WrapNonExceptionThrows is implicitly
             // false thanks to the CLR's guarantee of zeroed memory.
         }
 
-        // properties
-
         // If a non-CLSCompliant exception (i.e. one that doesn't derive from System.Exception) is
         // thrown, should it be wrapped up in a System.Runtime.CompilerServices.RuntimeWrappedException
         // instance when presented to catch handlers?
-        public bool WrapNonExceptionThrows
-        {
-            get
-            {
-                return m_wrapNonExceptionThrows;
-            }
-            set
-            {
-                m_wrapNonExceptionThrows = value;
-            }
-        }
+        public bool WrapNonExceptionThrows { get; set; }
     }
 }
@@ -2,19 +2,19 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-
 using System;
 
 namespace System.Runtime.CompilerServices
 {
-    [Serializable, AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
+    [Serializable]
+    [AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
     public class StateMachineAttribute : Attribute
     {
-        public Type StateMachineType { get; private set; }
-
         public StateMachineAttribute(Type stateMachineType)
         {
-            this.StateMachineType = stateMachineType;
+            StateMachineType = stateMachineType;
         }
+
+        public Type StateMachineType { get; }
     }
 }
@@ -2,35 +2,16 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-
 namespace System.Runtime.CompilerServices
 {
     [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false, AllowMultiple = false)]
     public sealed class TypeForwardedFromAttribute : Attribute
     {
-        private string assemblyFullName;
-
-        private TypeForwardedFromAttribute()
-        {
-            // Disallow default constructor
-        }
-
-
         public TypeForwardedFromAttribute(string assemblyFullName)
         {
-            if (String.IsNullOrEmpty(assemblyFullName))
-            {
-                throw new ArgumentNullException(nameof(assemblyFullName));
-            }
-            this.assemblyFullName = assemblyFullName;
+            AssemblyFullName = assemblyFullName;
         }
 
-        public string AssemblyFullName
-        {
-            get
-            {
-                return assemblyFullName;
-            }
-        }
+        public string AssemblyFullName { get; }
     }
 }
@@ -2,32 +2,16 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-
-using System;
-using System.Reflection;
-
 namespace System.Runtime.CompilerServices
 {
     [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
     public sealed class TypeForwardedToAttribute : Attribute
     {
-        private Type _destination;
-
         public TypeForwardedToAttribute(Type destination)
         {
-            _destination = destination;
+            Destination = destination;
         }
 
-        public Type Destination
-        {
-            get
-            {
-                return _destination;
-            }
-        }
+        public Type Destination { get; }
     }
 }
-
-
-
-
@@ -2,15 +2,9 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-////////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////////
-
-using System;
-
 namespace System.Runtime.InteropServices
 {
-    // Used for the CallingConvention named argument to the DllImport attribute
-    [Serializable]
+    // Used for the CallingConvention named argument to the DllImport and NativeCallable attribute
     public enum CallingConvention
     {
         Winapi = 1,
@@ -2,25 +2,20 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-////////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////////
-
-using System;
-
 namespace System.Runtime.InteropServices
 {
-    // Use this in P/Direct function prototypes to specify 
+    // Use this in P/Invoke function prototypes to specify 
     // which character set to use when marshalling Strings.
     // Using Ansi will marshal the strings as 1 byte char*'s.
     // Using Unicode will marshal the strings as 2 byte wchar*'s.
     // Generally you probably want to use Auto, which does the
     // right thing 99% of the time.
-    [Serializable]
+
     public enum CharSet
     {
         None = 1,        // User didn't specify how to marshal strings.
         Ansi = 2,        // Strings should be marshalled as ANSI 1 byte chars. 
-        Unicode = 3,    // Strings should be marshalled as Unicode 2 byte chars.
+        Unicode = 3,     // Strings should be marshalled as Unicode 2 byte chars.
         Auto = 4,        // Marshal Strings in the right way for the target system. 
     }
 }
@@ -12,7 +12,6 @@
 **
 =============================================================================*/
 
-
 using System;
 using System.Globalization;
 using System.Runtime.Serialization;
@@ -31,25 +30,26 @@ namespace System.Runtime.InteropServices
             HResult = __HResults.E_FAIL;
         }
 
-        public ExternalException(String message)
+        public ExternalException(string message)
             : base(message)
         {
             HResult = __HResults.E_FAIL;
         }
 
-        public ExternalException(String message, Exception inner)
+        public ExternalException(string message, Exception inner)
             : base(message, inner)
         {
             HResult = __HResults.E_FAIL;
         }
 
-        public ExternalException(String message, int errorCode)
+        public ExternalException(string message, int errorCode)
             : base(message)
         {
             HResult = errorCode;
         }
 
-        protected ExternalException(SerializationInfo info, StreamingContext context) : base(info, context)
+        protected ExternalException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
         {
         }
 
@@ -61,26 +61,25 @@ namespace System.Runtime.InteropServices
             }
         }
 
-        public override String ToString()
+        public override string ToString()
         {
-            String message = Message;
-            String s;
-            String _className = GetType().ToString();
-            s = _className + " (0x" + HResult.ToString("X8", CultureInfo.InvariantCulture) + ")";
+            string message = Message;
+            string className = GetType().ToString();
+
+            string s = className + " (0x" + HResult.ToString("X8", CultureInfo.InvariantCulture) + ")";
 
             if (!(String.IsNullOrEmpty(message)))
             {
                 s = s + ": " + message;
             }
 
-            Exception _innerException = InnerException;
+            Exception innerException = InnerException;
 
-            if (_innerException != null)
+            if (innerException != null)
             {
-                s = s + " ---> " + _innerException.ToString();
+                s = s + " ---> " + innerException.ToString();
             }
 
-
             if (StackTrace != null)
                 s += Environment.NewLine + StackTrace;
 
@@ -2,19 +2,13 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-////////////////////////////////////////////////////////////////////////////////
-////////////////////////////////////////////////////////////////////////////////
-
-using System;
-
 namespace System.Runtime.InteropServices
 {
     // Used in the StructLayoutAttribute class
-    [Serializable]
     public enum LayoutKind
     {
-        Sequential = 0, // 0x00000008,
-        Explicit = 2, // 0x00000010,
-        Auto = 3, // 0x00000000,
+        Sequential = 0,
+        Explicit = 2,
+        Auto = 3,
     }
 }
diff --git a/src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/IFormatterConverter.cs b/src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/IFormatterConverter.cs
new file mode 100644 (file)
index 0000000..c173144
--- /dev/null
@@ -0,0 +1,28 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace System.Runtime.Serialization
+{
+    [CLSCompliant(false)]
+    public interface IFormatterConverter
+    {
+        object Convert(object value, Type type);
+        object Convert(object value, TypeCode typeCode);
+        bool ToBoolean(object value);
+        char ToChar(object value);
+        sbyte ToSByte(object value);
+        byte ToByte(object value);
+        short ToInt16(object value);
+        ushort ToUInt16(object value);
+        int ToInt32(object value);
+        uint ToUInt32(object value);
+        long ToInt64(object value);
+        ulong ToUInt64(object value);
+        float ToSingle(object value);
+        double ToDouble(object value);
+        decimal ToDecimal(object value);
+        DateTime ToDateTime(object value);
+        string ToString(object value);
+    }
+}
diff --git a/src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/IObjectReference.cs b/src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/IObjectReference.cs
new file mode 100644 (file)
index 0000000..d41bc50
--- /dev/null
@@ -0,0 +1,11 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace System.Runtime.Serialization
+{
+    public interface IObjectReference
+    {
+        object GetRealObject(StreamingContext context);
+    }
+}
diff --git a/src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/ISerializable.cs b/src/coreclr/src/mscorlib/shared/System/Runtime/Serialization/ISerializable.cs
new file mode 100644 (file)
index 0000000..383b3f0
--- /dev/null
@@ -0,0 +1,11 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+namespace System.Runtime.Serialization
+{
+    public interface ISerializable
+    {
+        void GetObjectData(SerializationInfo info, StreamingContext context);
+    }
+}
@@ -2,10 +2,6 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-// 
-
-using System.Security;
-using System;
 using System.Runtime.Serialization;
 
 namespace System.Security
@@ -19,19 +15,20 @@ namespace System.Security
             HResult = __HResults.COR_E_VERIFICATION;
         }
 
-        public VerificationException(String message)
+        public VerificationException(string message)
             : base(message)
         {
             HResult = __HResults.COR_E_VERIFICATION;
         }
 
-        public VerificationException(String message, Exception innerException)
+        public VerificationException(string message, Exception innerException)
             : base(message, innerException)
         {
             HResult = __HResults.COR_E_VERIFICATION;
         }
 
-        protected VerificationException(SerializationInfo info, StreamingContext context) : base(info, context)
+        protected VerificationException(SerializationInfo info, StreamingContext context)
+            : base(info, context)
         {
         }
     }
@@ -535,7 +535,7 @@ namespace System
         ///
         /// The <see cref="IEqualityComparer.Equals"/> implementation is called only if <c>other</c> is not <see langword="null"/>,
         ///  and if it can be successfully cast (in C#) or converted (in Visual Basic) to a <see cref="ValueTuple{T1, T2}"/>
-        ///  whose components are of the same types as those of the current instance. The IStructuralEquatable.Equals(Object,IEqualityComparer) method
+        ///  whose components are of the same types as those of the current instance. The IStructuralEquatable.Equals(Object, IEqualityComparer) method
         ///  first passes the <see cref="Item1"/> values of the <see cref="ValueTuple{T1, T2}"/> objects to be compared to the
         ///  <see cref="IEqualityComparer.Equals"/> implementation. If this method call returns <see langword="true"/>, the method is
         ///  called again and passed the <see cref="Item2"/> values of the two <see cref="ValueTuple{T1, T2}"/> instances.
@@ -2117,12 +2117,12 @@ namespace System
             if (rest == null)
             {
                 return ValueTuple.CombineHashCodes(Item1?.GetHashCode() ?? 0,
-                                                 Item2?.GetHashCode() ?? 0,
-                                                 Item3?.GetHashCode() ?? 0,
-                                                 Item4?.GetHashCode() ?? 0,
-                                                 Item5?.GetHashCode() ?? 0,
-                                                 Item6?.GetHashCode() ?? 0,
-                                                 Item7?.GetHashCode() ?? 0);
+                                                   Item2?.GetHashCode() ?? 0,
+                                                   Item3?.GetHashCode() ?? 0,
+                                                   Item4?.GetHashCode() ?? 0,
+                                                   Item5?.GetHashCode() ?? 0,
+                                                   Item6?.GetHashCode() ?? 0,
+                                                   Item7?.GetHashCode() ?? 0);
             }
 
             int size = rest.Length;
@@ -2,23 +2,13 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 // See the LICENSE file in the project root for more information.
 
-/*============================================================
-**
-**
-**
-** Purpose: 
-**
-**
-===========================================================*/
+using System.Globalization;
+using System.Diagnostics;
+using System.Diagnostics.Contracts;
+using System.Text;
 
 namespace System
 {
-    using System.Diagnostics;
-    using System.Diagnostics.Contracts;
-    using System.Text;
-    using CultureInfo = System.Globalization.CultureInfo;
-    using NumberStyles = System.Globalization.NumberStyles;
-
     // A Version object contains four hierarchical numeric components: major, minor,
     // build and revision.  Build and revision may be unspecified, which is represented 
     // internally as a -1.  By definition, an unspecified component matches anything 
@@ -112,6 +102,11 @@ namespace System
             _Revision = version._Revision;
         }
 
+        public object Clone()
+        {
+            return new Version(this);
+        }
+
         // Properties for setting and getting version numbers
         public int Major
         {
@@ -143,11 +138,6 @@ namespace System
             get { return (short)(_Revision & 0xFFFF); }
         }
 
-        public Object Clone()
-        {
-            return new Version(this);
-        }
-
         public int CompareTo(Object version)
         {
             if (version == null)
diff --git a/src/coreclr/src/mscorlib/src/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs b/src/coreclr/src/mscorlib/src/System/Diagnostics/CodeAnalysis/SuppressMessageAttribute.cs
deleted file mode 100644 (file)
index 59125dd..0000000
+++ /dev/null
@@ -1,75 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-/*============================================================
-**
-**
-**
-**  An attribute to suppress violation messages/warnings   
-**  by static code analysis tools. 
-**
-** 
-===========================================================*/
-
-using System;
-
-namespace System.Diagnostics.CodeAnalysis
-{
-    [AttributeUsage(
-     AttributeTargets.All,
-     Inherited = false,
-     AllowMultiple = true
-     )
-    ]
-    [Conditional("CODE_ANALYSIS")]
-    public sealed class SuppressMessageAttribute : Attribute
-    {
-        private string category;
-        private string justification;
-        private string checkId;
-        private string scope;
-        private string target;
-        private string messageId;
-
-        public SuppressMessageAttribute(string category, string checkId)
-        {
-            this.category = category;
-            this.checkId = checkId;
-        }
-
-        public string Category
-        {
-            get { return category; }
-        }
-
-        public string CheckId
-        {
-            get { return checkId; }
-        }
-
-        public string Scope
-        {
-            get { return scope; }
-            set { scope = value; }
-        }
-
-        public string Target
-        {
-            get { return target; }
-            set { target = value; }
-        }
-
-        public string MessageId
-        {
-            get { return messageId; }
-            set { messageId = value; }
-        }
-
-        public string Justification
-        {
-            get { return justification; }
-            set { justification = value; }
-        }
-    }
-}
diff --git a/src/coreclr/src/mscorlib/src/System/ICloneable.cs b/src/coreclr/src/mscorlib/src/System/ICloneable.cs
deleted file mode 100644 (file)
index d50ba3b..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-/*============================================================
-**
-**
-** This interface is implemented by classes that support cloning.
-**
-===========================================================*/
-
-using System;
-
-namespace System
-{
-    // Defines an interface indicating that an object may be cloned.  Only objects 
-    // that implement ICloneable may be cloned. The interface defines a single 
-    // method which is called to create a clone of the object.   Object defines a method
-    // MemberwiseClone to support default clone operations.
-    // 
-    public interface ICloneable
-    {
-        // Interface does not need to be marked with the serializable attribute
-        // Make a new object which is a copy of the object instanced.  This object may be either
-        // deep copy or a shallow copy depending on the implementation of clone.  The default
-        // Object support for clone does a shallow copy.
-        // 
-        Object Clone();
-    }
-}
diff --git a/src/coreclr/src/mscorlib/src/System/Resources/NeutralResourcesLanguageAttribute.cs b/src/coreclr/src/mscorlib/src/System/Resources/NeutralResourcesLanguageAttribute.cs
deleted file mode 100644 (file)
index d124389..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-/*============================================================
-**
-** 
-** 
-**
-**
-** Purpose: Tells the ResourceManager what language your main
-**          assembly's resources are written in.  The 
-**          ResourceManager won't try loading a satellite
-**          assembly for that culture, which helps perf.
-**
-**
-** NOTE:
-**
-** This custom attribute is no longer implemented in managed code.  As part of a perf optimization,
-** it is now read in Module::GetNeutralResourcesLanguage, accessed from ManifestBasedResourceGroveler 
-** through an internal runtime call.
-===========================================================*/
-
-using System;
-using System.Diagnostics.Contracts;
-
-namespace System.Resources
-{
-    [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = false)]
-    public sealed class NeutralResourcesLanguageAttribute : Attribute
-    {
-        private String _culture;
-        private UltimateResourceFallbackLocation _fallbackLoc;
-
-        public NeutralResourcesLanguageAttribute(String cultureName)
-        {
-            if (cultureName == null)
-                throw new ArgumentNullException(nameof(cultureName));
-            Contract.EndContractBlock();
-
-            _culture = cultureName;
-            _fallbackLoc = UltimateResourceFallbackLocation.MainAssembly;
-        }
-
-        public NeutralResourcesLanguageAttribute(String cultureName, UltimateResourceFallbackLocation location)
-        {
-            if (cultureName == null)
-                throw new ArgumentNullException(nameof(cultureName));
-            if (!Enum.IsDefined(typeof(UltimateResourceFallbackLocation), location))
-                throw new ArgumentException(SR.Format(SR.Arg_InvalidNeutralResourcesLanguage_FallbackLoc, location));
-            Contract.EndContractBlock();
-
-            _culture = cultureName;
-            _fallbackLoc = location;
-        }
-
-        public String CultureName
-        {
-            get { return _culture; }
-        }
-
-        public UltimateResourceFallbackLocation Location
-        {
-            get { return _fallbackLoc; }
-        }
-    }
-}
diff --git a/src/coreclr/src/mscorlib/src/System/Runtime/Serialization/IFormatterConverter.cs b/src/coreclr/src/mscorlib/src/System/Runtime/Serialization/IFormatterConverter.cs
deleted file mode 100644 (file)
index 1f6f682..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-/*============================================================
-**
-**
-**
-** Purpose: The interface provides the connection between an
-** instance of SerializationInfo and the formatter-provided
-** class which knows how to parse the data inside the 
-** SerializationInfo.
-**
-**
-============================================================*/
-
-using System;
-
-namespace System.Runtime.Serialization
-{
-    [CLSCompliant(false)]
-    public interface IFormatterConverter
-    {
-        Object Convert(Object value, Type type);
-        Object Convert(Object value, TypeCode typeCode);
-        bool ToBoolean(Object value);
-        char ToChar(Object value);
-        sbyte ToSByte(Object value);
-        byte ToByte(Object value);
-        short ToInt16(Object value);
-        ushort ToUInt16(Object value);
-        int ToInt32(Object value);
-        uint ToUInt32(Object value);
-        long ToInt64(Object value);
-        ulong ToUInt64(Object value);
-        float ToSingle(Object value);
-        double ToDouble(Object value);
-        Decimal ToDecimal(Object value);
-        DateTime ToDateTime(Object value);
-        String ToString(Object value);
-    }
-}
diff --git a/src/coreclr/src/mscorlib/src/System/Runtime/Serialization/IObjectReference.cs b/src/coreclr/src/mscorlib/src/System/Runtime/Serialization/IObjectReference.cs
deleted file mode 100644 (file)
index b07f26f..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-/*============================================================
-**
-** Interface: IObjectReference
-**
-**
-** Purpose: Implemented by objects that are actually references
-**          to a different object which can't be discovered until
-**          this one is completely restored.  During the fixup stage,
-**          any object implementing IObjectReference is asked for it's
-**          "real" object and that object is inserted into the graph.
-**
-**
-===========================================================*/
-
-using System;
-
-namespace System.Runtime.Serialization
-{
-    // Interface does not need to be marked with the serializable attribute
-    public interface IObjectReference
-    {
-        Object GetRealObject(StreamingContext context);
-    }
-}
-
-
diff --git a/src/coreclr/src/mscorlib/src/System/Runtime/Serialization/ISerializable.cs b/src/coreclr/src/mscorlib/src/System/Runtime/Serialization/ISerializable.cs
deleted file mode 100644 (file)
index 4e5873b..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-// Licensed to the .NET Foundation under one or more agreements.
-// The .NET Foundation licenses this file to you under the MIT license.
-// See the LICENSE file in the project root for more information.
-
-/*============================================================
-**
-** Interface: ISerializable
-**
-**
-** Purpose: Implemented by any object that needs to control its
-**          own serialization.
-**
-**
-===========================================================*/
-
-using System.Runtime.Remoting;
-using System.Runtime.Serialization;
-using System;
-using System.Reflection;
-
-namespace System.Runtime.Serialization
-{
-    public interface ISerializable
-    {
-        void GetObjectData(SerializationInfo info, StreamingContext context);
-    }
-}
-
-
-
-