summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-09-09 16:32:23 -0700
committerJan Kotas <jkotas@microsoft.com>2017-09-09 16:41:57 -0700
commitd8b4a52cf98504bd9fc47d2ff1996a63015c83eb (patch)
treeb210595a7f0245a5a34b7fa486db1669fc2bb0fa /src
parent6211a9143b90edc1eadc71873555e7ab27fad18f (diff)
downloadcoreclr-d8b4a52cf98504bd9fc47d2ff1996a63015c83eb.tar.gz
coreclr-d8b4a52cf98504bd9fc47d2ff1996a63015c83eb.tar.bz2
coreclr-d8b4a52cf98504bd9fc47d2ff1996a63015c83eb.zip
Finish moving files to shared CoreLib partition
Diffstat (limited to 'src')
-rw-r--r--src/mscorlib/System.Private.CoreLib.csproj1
-rw-r--r--src/mscorlib/src/System/Runtime/ExceptionServices/CorruptingExceptionCommon.cs30
-rw-r--r--src/mscorlib/src/System/Runtime/InteropServices/Attributes.cs53
3 files changed, 0 insertions, 84 deletions
diff --git a/src/mscorlib/System.Private.CoreLib.csproj b/src/mscorlib/System.Private.CoreLib.csproj
index 81fbcfea14..f7206f98f5 100644
--- a/src/mscorlib/System.Private.CoreLib.csproj
+++ b/src/mscorlib/System.Private.CoreLib.csproj
@@ -547,7 +547,6 @@
<Compile Include="$(BclSourcesRoot)\System\Diagnostics\SymbolStore\Token.cs" />
</ItemGroup>
<ItemGroup>
- <Compile Include="$(BclSourcesRoot)\System\Runtime\ExceptionServices\CorruptingExceptionCommon.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\ExceptionServices\ExceptionServicesCommon.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\ExceptionServices\ExceptionNotification.cs" />
</ItemGroup>
diff --git a/src/mscorlib/src/System/Runtime/ExceptionServices/CorruptingExceptionCommon.cs b/src/mscorlib/src/System/Runtime/ExceptionServices/CorruptingExceptionCommon.cs
deleted file mode 100644
index 00067748f2..0000000000
--- a/src/mscorlib/src/System/Runtime/ExceptionServices/CorruptingExceptionCommon.cs
+++ /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.
-
-/*=============================================================================
-**
-**
-**
-** Purpose: Contains common usage support entities for Corrupting Exceptions
-**
-** Created: 06/20/2008
-**
-**
-**
-=============================================================================*/
-
-using System;
-
-namespace System.Runtime.ExceptionServices
-{
- // This attribute can be applied to methods to indicate that ProcessCorruptedState
- // Exceptions should be delivered to them.
- [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
- public sealed class HandleProcessCorruptedStateExceptionsAttribute : Attribute
- {
- public HandleProcessCorruptedStateExceptionsAttribute()
- {
- }
- }
-}
diff --git a/src/mscorlib/src/System/Runtime/InteropServices/Attributes.cs b/src/mscorlib/src/System/Runtime/InteropServices/Attributes.cs
index a9242ebacd..7b50c705b2 100644
--- a/src/mscorlib/src/System/Runtime/InteropServices/Attributes.cs
+++ b/src/mscorlib/src/System/Runtime/InteropServices/Attributes.cs
@@ -173,46 +173,6 @@ namespace System.Runtime.InteropServices
public String Value { get { return _val; } }
}
- [AttributeUsage(AttributeTargets.Method, Inherited = false)]
- public sealed class PreserveSigAttribute : Attribute
- {
- public PreserveSigAttribute()
- {
- }
- }
-
- [AttributeUsage(AttributeTargets.Parameter, Inherited = false)]
- public sealed class OptionalAttribute : Attribute
- {
- public OptionalAttribute()
- {
- }
- }
-
- [Flags]
- public enum DllImportSearchPath
- {
- UseDllDirectoryForDependencies = 0x100,
- ApplicationDirectory = 0x200,
- UserDirectories = 0x400,
- System32 = 0x800,
- SafeDirectories = 0x1000,
- AssemblyDirectory = 0x2,
- LegacyBehavior = 0x0
- }
-
- [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Method, AllowMultiple = false)]
- public sealed class DefaultDllImportSearchPathsAttribute : Attribute
- {
- internal DllImportSearchPath _paths;
- public DefaultDllImportSearchPathsAttribute(DllImportSearchPath paths)
- {
- _paths = paths;
- }
-
- public DllImportSearchPath Paths { get { return _paths; } }
- }
-
[AttributeUsage(AttributeTargets.Interface, Inherited = false)]
public sealed class CoClassAttribute : Attribute
{
@@ -225,18 +185,5 @@ namespace System.Runtime.InteropServices
public Type CoClass { get { return _CoClass; } }
}
-
- [AttributeUsage(AttributeTargets.Module, Inherited = false)]
- public sealed class DefaultCharSetAttribute : Attribute
- {
- internal CharSet _CharSet;
-
- public DefaultCharSetAttribute(CharSet charSet)
- {
- _CharSet = charSet;
- }
-
- public CharSet CharSet { get { return _CharSet; } }
- }
}