diff options
author | Egor Bogatov <egorbo@gmail.com> | 2018-06-25 12:15:20 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-06-25 12:15:20 +0300 |
commit | 51935465ae5935355206ceb49582e0352cc6229a (patch) | |
tree | cea8b67d252b4f29c5b501d58ada835f590f1d0b /mcs/class/System.Web | |
parent | 540f077c58cdd7883c6b0738a6b350f4ff62ca75 (diff) |
Delete unused files in BCL (#9288)
The following files in `mcs/class/*.cs` are not used anywhere (*.csproj/*.source).
Diffstat (limited to 'mcs/class/System.Web')
10 files changed, 0 insertions, 477 deletions
diff --git a/mcs/class/System.Web/System.Web.Phantom/Stubs.cs b/mcs/class/System.Web/System.Web.Phantom/Stubs.cs deleted file mode 100644 index 86288a175c3..00000000000 --- a/mcs/class/System.Web/System.Web.Phantom/Stubs.cs +++ /dev/null @@ -1,47 +0,0 @@ -// -// (C) 2007 Mainsoft Corporation (http://www.mainsoft.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - - -using System.Web; -namespace System.Web.J2EE -{ - public class PageMapper - { - public static Type GetObjectType (HttpContext context, string url) { - return null; - //throw new InvalidOperationException (); - } - } -} - -namespace System.Web -{ - - public static class FlagEnd - { - public static readonly object Value = new object (); - } - -} diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartConnectionsEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartConnectionsEventArgs.cs deleted file mode 100644 index 442f23582a9..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartConnectionsEventArgs.cs +++ /dev/null @@ -1,78 +0,0 @@ -// -// System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs.cs -// -// Authors: -// Sanjay Gupta (gsanjay@novell.com) -// -// (C) 2004 Novell, Inc (http://www.novell.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - - -namespace System.Web.UI.WebControls.WebParts -{ - public class WebPartConnectionsEventArgs : EventArgs - { - WebPart providerPart; - WebPart consumerPart; - ProviderConnectionPoint providerPoint; - ConsumerConnectionPoint consumerPoint; - WebPartConnection connection; - - public WebPartConnectionsEventArgs (WebPart providerPart, ProviderConnectionPoint providerPoint, - WebPart consumerPart, ConsumerConnectionPoint consumerPoint) : this (providerPart, - providerPoint, consumerPart, consumerPoint, null) - {} - - public WebPartConnectionsEventArgs (WebPart providerPart, ProviderConnectionPoint providerPoint, - WebPart consumerPart, ConsumerConnectionPoint consumerPoint, WebPartConnection connection) - { - this.providerPart = providerPart; - this.providerPoint = providerPoint; - this.consumerPart = consumerPart; - this.consumerPoint = consumerPoint; - this.connection = connection; - } - - public WebPartConnection Connection { - get { return connection; } - } - - public ConsumerConnectionPoint ConsumerConnectionPoint { - get { return consumerPoint; } - } - - public WebPart Consumer { - get { return consumerPart; } - } - - public ProviderConnectionPoint ProviderConnectionPoint { - get { return providerPoint; } - } - - public WebPart Provider { - get { return providerPart; } - } - } -} - diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartConnectionsEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartConnectionsEventHandler.cs deleted file mode 100644 index f43e50ea040..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartConnectionsEventHandler.cs +++ /dev/null @@ -1,34 +0,0 @@ -// -// System.Web.UI.WebControls.WebParts.WebPartConnectionsEventHandler.cs -// -// Authors: -// Sanjay Gupta (gsanjay@novell.com) -// -// (C) 2004 Novell, Inc. (http://www.novell.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -namespace System.Web.UI.WebControls.WebParts { - public delegate void WebPartConnectionsEventHandler (object source, WebPartConnectionsEventArgs e); -} - diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayMode.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayMode.cs deleted file mode 100644 index 4f425361cdb..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayMode.cs +++ /dev/null @@ -1,74 +0,0 @@ -// -// System.Web.UI.WebControls.WebParts.WebPartDisplayMode.cs -// -// Authors: -// Sanjay Gupta (gsanjay@novell.com) -// -// (C) 2004 Novell, Inc (http://www.novell.com) -// -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - - - -using System.ComponentModel; - -namespace System.Web.UI.WebControls.WebParts { - public abstract class WebPartDisplayMode { - string name; - protected WebPartDisplayMode( string name ) { - this.name = name; - } - - public virtual bool IsEnabled( WebPartManager manager ) { - if ( this.RequiresPersonalization ) - return manager.Personalization.IsModifiable; - return true; - } - - public virtual bool AssociatedWithToolZone { - get { - return false; - } - } - - public virtual bool ShowHiddenWebParts { - get { - return false; - } - } - - - public virtual bool RequiresPersonalization { - get { - return false; - } - } - - public virtual bool AllowPageDesign { - get { return false; } - } - - public virtual string Name { get { return name; } } - - } -} - diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeCancelEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeCancelEventArgs.cs deleted file mode 100644 index 60d932b9924..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeCancelEventArgs.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -// System.Web.UI.WebControls.WebParts.WebPartDisplayModeCancelEventArgs.cs -// -// Authors: -// Sanjay Gupta (gsanjay@novell.com) -// -// (C) 2004 Novell, Inc (http://www.novell.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - - -using System.ComponentModel; - -namespace System.Web.UI.WebControls.WebParts -{ - public class WebPartDisplayModeCancelEventArgs : CancelEventArgs - { - WebPartDisplayMode displayMode; - - public WebPartDisplayModeCancelEventArgs (WebPartDisplayMode displayMode) - { - this.displayMode = displayMode; - } - - public WebPartDisplayMode NewDisplayMode { - get { return displayMode; } - set { displayMode = value; } - } - } -} - diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeCancelEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeCancelEventHandler.cs deleted file mode 100644 index 20809d5299b..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeCancelEventHandler.cs +++ /dev/null @@ -1,34 +0,0 @@ -// -// System.Web.UI.WebControls.WebParts.WebPartDisplayModeCancelEventHandler.cs -// -// Authors: -// Sanjay Gupta (gsanjay@novell.com) -// -// (C) 2004 Novell, Inc. (http://www.novell.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -namespace System.Web.UI.WebControls.WebParts { - public delegate void WebPartDisplayModeCancelEventHandler (object source, WebPartDisplayModeCancelEventArgs e); -} - diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeEventArgs.cs deleted file mode 100644 index fd2b596debc..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeEventArgs.cs +++ /dev/null @@ -1,49 +0,0 @@ -// -// System.Web.UI.WebControls.WebParts.WebPartDisplayModeEventArgs.cs -// -// Authors: -// Sanjay Gupta (gsanjay@novell.com) -// -// (C) 2004 Novell, Inc (http://www.novell.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - - -namespace System.Web.UI.WebControls.WebParts -{ - public class WebPartDisplayModeEventArgs : EventArgs - { - WebPartDisplayMode displayMode; - - public WebPartDisplayModeEventArgs (WebPartDisplayMode displayMode) - { - this.displayMode = displayMode; - } - - public WebPartDisplayMode OldDisplayMode { - get { return displayMode; } - set { displayMode = value; } - } - } -} - diff --git a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeEventHandler.cs deleted file mode 100644 index c37b715e9b8..00000000000 --- a/mcs/class/System.Web/System.Web.UI.WebControls.WebParts/WebPartDisplayModeEventHandler.cs +++ /dev/null @@ -1,34 +0,0 @@ -// -// System.Web.UI.WebControls.WebParts.WebPartDisplayModeEventHandler.cs -// -// Authors: -// Sanjay Gupta (gsanjay@novell.com) -// -// (C) 2004 Novell, Inc. (http://www.novell.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -namespace System.Web.UI.WebControls.WebParts { - public delegate void WebPartDisplayModeEventHandler (object source, WebPartDisplayModeEventArgs e); -} - diff --git a/mcs/class/System.Web/System.Web/IHttpExtendedHandler.cs b/mcs/class/System.Web/System.Web/IHttpExtendedHandler.cs deleted file mode 100644 index 5e6794db87d..00000000000 --- a/mcs/class/System.Web/System.Web/IHttpExtendedHandler.cs +++ /dev/null @@ -1,37 +0,0 @@ -// -// (C) 2007 Mainsoft Corporation (http://www.mainsoft.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -using System; -using System.Collections.Generic; -using System.Text; -using System.Web; - -namespace Mainsoft.Web -{ - public interface IHttpExtendedHandler : IHttpHandler - { - bool IsCompleted { get;} - } -} diff --git a/mcs/class/System.Web/System.Web/WebSysDescriptionAttribute.cs b/mcs/class/System.Web/System.Web/WebSysDescriptionAttribute.cs deleted file mode 100644 index 3964fae60da..00000000000 --- a/mcs/class/System.Web/System.Web/WebSysDescriptionAttribute.cs +++ /dev/null @@ -1,39 +0,0 @@ -// -// System.Web.WebSysDescriptionAttribute class -// -// Author: -// Sebastien Pouliot <sebastien@ximian.com> -// -// Copyright (C) 2005 Novell, Inc (http://www.novell.com) -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -using System.ComponentModel; -namespace System.Web { - - [AttributeUsage(AttributeTargets.All)] - internal class WebSysDescriptionAttribute : DescriptionAttribute { - - public WebSysDescriptionAttribute (string description) : base (description) - { - } - } -} |