summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-01-15 15:49:12 -0800
committerJan Kotas <jkotas@microsoft.com>2019-01-15 18:12:29 -0800
commit53eb7f578733e021ccea6fbc24ab299002364cee (patch)
tree8e3461c59656839a101a3aa977b77d07be7d1d45
parenta8ff2a7420864f6fe363cf106813c6368542821a (diff)
downloadcoreclr-53eb7f578733e021ccea6fbc24ab299002364cee.tar.gz
coreclr-53eb7f578733e021ccea6fbc24ab299002364cee.tar.bz2
coreclr-53eb7f578733e021ccea6fbc24ab299002364cee.zip
Delete files moved to shared partition
-rw-r--r--src/System.Private.CoreLib/System.Private.CoreLib.csproj5
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/InvalidComObjectException.cs41
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs40
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/SEHException.cs58
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs40
-rw-r--r--src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs40
6 files changed, 0 insertions, 224 deletions
diff --git a/src/System.Private.CoreLib/System.Private.CoreLib.csproj b/src/System.Private.CoreLib/System.Private.CoreLib.csproj
index f57d62d6f2..ca8cbcb9e9 100644
--- a/src/System.Private.CoreLib/System.Private.CoreLib.csproj
+++ b/src/System.Private.CoreLib/System.Private.CoreLib.csproj
@@ -256,15 +256,10 @@
<Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\Expando\IExpando.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\GcHandle.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\GCHandleCookieTable.cs" />
- <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\InvalidComObjectException.cs" />
- <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\InvalidOleVariantTypeException.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\Marshal.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\NativeLibrary.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\NonPortable.cs" Condition="'$(FeatureCominterop)' != 'true'" />
- <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\SafeArrayRankMismatchException.cs" />
- <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\SafeArrayTypeMismatchException.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\SafeHandle.cs" />
- <Compile Include="$(BclSourcesRoot)\System\Runtime\InteropServices\SEHException.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\Loader\AssemblyLoadContext.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\Loader\AssemblyDependencyResolver.cs" />
<Compile Include="$(BclSourcesRoot)\System\Runtime\MemoryFailPoint.cs" />
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/InvalidComObjectException.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/InvalidComObjectException.cs
deleted file mode 100644
index 02f1728c38..0000000000
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/InvalidComObjectException.cs
+++ /dev/null
@@ -1,41 +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.
-
-using System.Runtime.CompilerServices;
-using System.Runtime.Serialization;
-
-namespace System.Runtime.InteropServices
-{
- /// <summary>
- /// The exception thrown when an invalid COM object is used. This happens
- /// when a the __ComObject type is used directly without having a backing
- /// class factory.
- /// </summary>
- [Serializable]
- [TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
- public class InvalidComObjectException : SystemException
- {
- public InvalidComObjectException()
- : base(SR.Arg_InvalidComObjectException)
- {
- HResult = HResults.COR_E_INVALIDCOMOBJECT;
- }
-
- public InvalidComObjectException(string message)
- : base(message)
- {
- HResult = HResults.COR_E_INVALIDCOMOBJECT;
- }
-
- public InvalidComObjectException(string message, Exception inner)
- : base(message, inner)
- {
- HResult = HResults.COR_E_INVALIDCOMOBJECT;
- }
-
- protected InvalidComObjectException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- }
- }
-}
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs
deleted file mode 100644
index 9ec47dd87f..0000000000
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/InvalidOleVariantTypeException.cs
+++ /dev/null
@@ -1,40 +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.
-
-using System.Runtime.CompilerServices;
-using System.Runtime.Serialization;
-
-namespace System.Runtime.InteropServices
-{
- /// <summary>
- /// Exception thrown when the type of an OLE variant that was passed into the
- /// runtime is invalid.
- /// </summary>
- [Serializable]
- [TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
- public class InvalidOleVariantTypeException : SystemException
- {
- public InvalidOleVariantTypeException()
- : base(SR.Arg_InvalidOleVariantTypeException)
- {
- HResult = HResults.COR_E_INVALIDOLEVARIANTTYPE;
- }
-
- public InvalidOleVariantTypeException(string message)
- : base(message)
- {
- HResult = HResults.COR_E_INVALIDOLEVARIANTTYPE;
- }
-
- public InvalidOleVariantTypeException(string message, Exception inner)
- : base(message, inner)
- {
- HResult = HResults.COR_E_INVALIDOLEVARIANTTYPE;
- }
-
- protected InvalidOleVariantTypeException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- }
- }
-}
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SEHException.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SEHException.cs
deleted file mode 100644
index 846ea4ea3d..0000000000
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SEHException.cs
+++ /dev/null
@@ -1,58 +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: Exception class for all Structured Exception Handling code.
-**
-**
-=============================================================================*/
-
-using System.Runtime.CompilerServices;
-using System.Runtime.Serialization;
-
-namespace System.Runtime.InteropServices
-{
- /// <summary>
- /// Exception for Structured Exception Handler exceptions.
- /// </summary>
- [Serializable]
- [TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
- public class SEHException : ExternalException
- {
- public SEHException()
- : base()
- {
- HResult = HResults.E_FAIL;
- }
-
- public SEHException(string message)
- : base(message)
- {
- HResult = HResults.E_FAIL;
- }
-
- public SEHException(string message, Exception inner)
- : base(message, inner)
- {
- HResult = HResults.E_FAIL;
- }
-
- protected SEHException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- }
-
- // Exceptions can be resumable, meaning a filtered exception
- // handler can correct the problem that caused the exception,
- // and the code will continue from the point that threw the
- // exception.
- //
- // Resumable exceptions aren't implemented in this version,
- // but this method exists and always returns false.
- //
- public virtual bool CanResume() => false;
- }
-}
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs
deleted file mode 100644
index 661810cf02..0000000000
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeArrayRankMismatchException.cs
+++ /dev/null
@@ -1,40 +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.
-
-using System.Runtime.CompilerServices;
-using System.Runtime.Serialization;
-
-namespace System.Runtime.InteropServices
-{
- /// <summary>
- /// The exception is thrown when the runtime rank of a safe array is different
- /// than the array rank specified in the metadata.
- /// </summary>
- [Serializable]
- [TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
- public class SafeArrayRankMismatchException : SystemException
- {
- public SafeArrayRankMismatchException()
- : base(SR.Arg_SafeArrayRankMismatchException)
- {
- HResult = HResults.COR_E_SAFEARRAYRANKMISMATCH;
- }
-
- public SafeArrayRankMismatchException(string message)
- : base(message)
- {
- HResult = HResults.COR_E_SAFEARRAYRANKMISMATCH;
- }
-
- public SafeArrayRankMismatchException(string message, Exception inner)
- : base(message, inner)
- {
- HResult = HResults.COR_E_SAFEARRAYRANKMISMATCH;
- }
-
- protected SafeArrayRankMismatchException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- }
- }
-}
diff --git a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs b/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
deleted file mode 100644
index c094ec162a..0000000000
--- a/src/System.Private.CoreLib/src/System/Runtime/InteropServices/SafeArrayTypeMismatchException.cs
+++ /dev/null
@@ -1,40 +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.
-
-using System.Runtime.CompilerServices;
-using System.Runtime.Serialization;
-
-namespace System.Runtime.InteropServices
-{
- /// <summary>
- /// The exception is thrown when the runtime type of an array is different
- /// than the safe array sub type specified in the metadata.
- /// </summary>
- [Serializable]
- [TypeForwardedFrom("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
- public class SafeArrayTypeMismatchException : SystemException
- {
- public SafeArrayTypeMismatchException()
- : base(SR.Arg_SafeArrayTypeMismatchException)
- {
- HResult = HResults.COR_E_SAFEARRAYTYPEMISMATCH;
- }
-
- public SafeArrayTypeMismatchException(string message)
- : base(message)
- {
- HResult = HResults.COR_E_SAFEARRAYTYPEMISMATCH;
- }
-
- public SafeArrayTypeMismatchException(string message, Exception inner)
- : base(message, inner)
- {
- HResult = HResults.COR_E_SAFEARRAYTYPEMISMATCH;
- }
-
- protected SafeArrayTypeMismatchException(SerializationInfo info, StreamingContext context) : base(info, context)
- {
- }
- }
-}