From a166d2bab62b3cd344f87582fdada7800722307e Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Tue, 2 Mar 2010 20:48:10 +0000 Subject: [PATCH] Droppped more code svn path=/trunk/mcs/; revision=152876 --- .../Microsoft.Vsa/Assembly/AssemblyInfo.cs | 56 ------ mcs/class/Microsoft.Vsa/Assembly/ChangeLog | 6 - mcs/class/Microsoft.Vsa/ChangeLog | 23 --- mcs/class/Microsoft.Vsa/Makefile | 9 - .../Microsoft.Vsa/Microsoft.Vsa.dll.sources | 16 -- .../Microsoft.Vsa/IVsaCodeItem.cs | 64 ------- .../Microsoft.Vsa/Microsoft.Vsa/IVsaEngine.cs | 181 ------------------ .../Microsoft.Vsa/Microsoft.Vsa/IVsaError.cs | 77 -------- .../Microsoft.Vsa/IVsaGlobalItem.cs | 50 ----- .../Microsoft.Vsa/Microsoft.Vsa/IVsaItem.cs | 64 ------- .../Microsoft.Vsa/Microsoft.Vsa/IVsaItems.cs | 65 ------- .../Microsoft.Vsa/IVsaPersistSite.cs | 47 ----- .../Microsoft.Vsa/IVsaReferenceItem.cs | 46 ----- .../Microsoft.Vsa/Microsoft.Vsa/IVsaSite.cs | 59 ------ .../Microsoft.Vsa/Microsoft.Vsa/VsaError.cs | 118 ------------ .../Microsoft.Vsa/VsaException.cs | 88 --------- .../Microsoft.Vsa/VsaItemFlag.cs | 39 ---- .../Microsoft.Vsa/VsaItemType.cs | 39 ---- 18 files changed, 1047 deletions(-) delete mode 100644 mcs/class/Microsoft.Vsa/Assembly/AssemblyInfo.cs delete mode 100644 mcs/class/Microsoft.Vsa/Assembly/ChangeLog delete mode 100644 mcs/class/Microsoft.Vsa/ChangeLog delete mode 100644 mcs/class/Microsoft.Vsa/Makefile delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa.dll.sources delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaCodeItem.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaEngine.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaError.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaGlobalItem.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaItem.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaItems.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaPersistSite.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaReferenceItem.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaSite.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaError.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaException.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaItemFlag.cs delete mode 100644 mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaItemType.cs diff --git a/mcs/class/Microsoft.Vsa/Assembly/AssemblyInfo.cs b/mcs/class/Microsoft.Vsa/Assembly/AssemblyInfo.cs deleted file mode 100644 index 5b0973304cb..00000000000 --- a/mcs/class/Microsoft.Vsa/Assembly/AssemblyInfo.cs +++ /dev/null @@ -1,56 +0,0 @@ -// -// AssemblyInfo.cs -// -// Author: -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2003 Ximian, Inc. http://www.ximian.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.Reflection; -using System.Resources; -using System.Runtime.InteropServices; - -[assembly: AssemblyVersion (Consts.VsVersion)] -#if (!NET_2_0) -[assembly: SatelliteContractVersion (Consts.VsVersion)] -#endif - -#if (ONLY_1_1) -[assembly: ComCompatibleVersion (7, 0, 3300, 0)] -[assembly: TypeLibVersion (7, 1)] -#endif - -[assembly: AssemblyTitle ("")] -[assembly: AssemblyDescription ("")] - -[assembly: CLSCompliant (true)] -[assembly: AssemblyFileVersion ("0.0.0.1")] - -[assembly: ComVisible (false)] - -[assembly: AssemblyDelaySign (true)] -[assembly: AssemblyKeyFile("../msfinal.pub")] - diff --git a/mcs/class/Microsoft.Vsa/Assembly/ChangeLog b/mcs/class/Microsoft.Vsa/Assembly/ChangeLog deleted file mode 100644 index 6d2d71dcb6b..00000000000 --- a/mcs/class/Microsoft.Vsa/Assembly/ChangeLog +++ /dev/null @@ -1,6 +0,0 @@ -2004-04-28 Sebastien Pouliot - - * AssemblyInfo.cs: Added - * ChangeLog: Added - * Locale.cs: Added - * TODOAttribute.cs: Added \ No newline at end of file diff --git a/mcs/class/Microsoft.Vsa/ChangeLog b/mcs/class/Microsoft.Vsa/ChangeLog deleted file mode 100644 index f832758ef18..00000000000 --- a/mcs/class/Microsoft.Vsa/ChangeLog +++ /dev/null @@ -1,23 +0,0 @@ -2004-04-28 Sebastien Pouliot - - * Microsoft.VSA.dll.sources: Added Assembly/AssemblyInfo.cs and - Locale.cs to the build. - -2003-09-24 - - * Microsoft.Vsa: Added VsaException. - * Microsoft.Vsa.dll.sources: Added VsaException to the build. - * Microsoft.Vsa/VsaError.cs: set the values for the enums. - -2003-07-22 Lluis Sanchez Gual - - * IVsaCodeItem.cs, IVsaEngine.cs, IVsaError.cs, IVsaGlobalItem.cs - IVsaItem.cs, IVsaItems.cs, IVsaPersistSite.cs, IVsaReferenceItem.cs, - IVsaSite.cs: InterfaceTypeAttribute can only be applied to interfaces, - no to interface members. Build failed on windows. - -2003-03-21 Cesar Octavio Lopez Nataren - - * mcs/class/Microsoft.Vsa: Added this ChangeLog file, and also - makefile.gnu and unix.args to provide the *nix build. - diff --git a/mcs/class/Microsoft.Vsa/Makefile b/mcs/class/Microsoft.Vsa/Makefile deleted file mode 100644 index efe7375d27c..00000000000 --- a/mcs/class/Microsoft.Vsa/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -thisdir = class/Microsoft.Vsa -SUBDIRS = -include ../../build/rules.make - -LIBRARY = Microsoft.Vsa.dll -LIB_MCS_FLAGS = /r:System.dll -NO_TEST = yes - -include ../../build/library.make diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa.dll.sources b/mcs/class/Microsoft.Vsa/Microsoft.Vsa.dll.sources deleted file mode 100644 index 89fcc599285..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa.dll.sources +++ /dev/null @@ -1,16 +0,0 @@ -Assembly/AssemblyInfo.cs -../../build/common/Consts.cs -../../build/common/Locale.cs -Microsoft.Vsa/IVsaCodeItem.cs -Microsoft.Vsa/IVsaEngine.cs -Microsoft.Vsa/IVsaError.cs -Microsoft.Vsa/IVsaGlobalItem.cs -Microsoft.Vsa/IVsaItem.cs -Microsoft.Vsa/IVsaItems.cs -Microsoft.Vsa/IVsaPersistSite.cs -Microsoft.Vsa/IVsaReferenceItem.cs -Microsoft.Vsa/IVsaSite.cs -Microsoft.Vsa/VsaError.cs -Microsoft.Vsa/VsaItemFlag.cs -Microsoft.Vsa/VsaItemType.cs -Microsoft.Vsa/VsaException.cs diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaCodeItem.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaCodeItem.cs deleted file mode 100644 index 413f2849b29..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaCodeItem.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -// IVsaCodeItem.cs -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - using System.CodeDom; - - - //[Guid ("")] - [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaCodeItem : IVsaItem - { - //[Guid ("")] - CodeObject CodeDOM { - get; - } - - - //[Guid ("")] - string SourceText { - get; - set; - } - - - //[Guid ("")] - void AddEventSource (string eventSourceName, string eventSourceType); - - - - //[Guid ("")] - void AppendSourceText (string text); - - - //[Guid("")] - void RemoveEventSource (string eventSourceName); - } -} diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaEngine.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaEngine.cs deleted file mode 100644 index f14d2cbb8dd..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaEngine.cs +++ /dev/null @@ -1,181 +0,0 @@ -// -// IVsaEngine.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - using System.Reflection; - using System.Security.Policy; - - //[Guid ("")] - [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaEngine - { - //[Guid ("")] - Assembly Assembly { - get; - } - - - //[Guid ("")] - Evidence Evidence { - get; - set; - } - - - //[Guid ("")] - bool GenerateDebugInfo { - get; - set; - } - - - //[Guid ("")] - bool IsCompiled { - get; - } - - - //[Guid ("")] - bool IsDirty { - get; - } - - - //[Guid ("")] - bool IsRunning { - get; - } - - - //[Guid ("")] - IVsaItems Items { - get; - } - - - //[Guid ("")] - string Language { - get; - } - - - //[Guid ("")] - int LCID { - get; - set; - } - - - //[Guid ("")] - string Name { - get; - set; - } - - - //[Guid ("")] - string RootMoniker { - get; - set; - } - - - //[Guid ("")] - string RootNamespace { - get; - set; - } - - - //[Guid ("")] - IVsaSite Site { - get; - set; - } - - - //[Guid ("")] - string Version { - get; - } - - - - // public methods - - //[Guid ("")] - void Close (); - - - //[Guid ("")] - bool Compile (); - - - //[Guid ("")] - object GetOption (string name); - - - //[Guid ("")] - void InitNew (); - - - //[Guid ("")] - bool IsValidIdentifier (string identifier); - - - //[Guid ("")] - void LoadSourceState (IVsaPersistSite site); - - - //[Guid ("")] - void Reset (); - - - //[Guid ("")] - void RevokeCache (); - - - //[Guid ("")] - void Run (); - - - //[Guid ("")] - void SaveCompiledState (out byte [] pe, out byte [] pdb); - - - //[Guid ("")] - void SaveSourceState (IVsaPersistSite site); - - - //[Guid ("")] - void SetOption (string name, object value); - } -} - diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaError.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaError.cs deleted file mode 100644 index 2f58c1fd17c..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaError.cs +++ /dev/null @@ -1,77 +0,0 @@ -// -// IVsaError.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - - - //[Guid ("")] - [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaError - { - // public properties - - - //[Guid ("")] - string Description { get; } - - - //[Guid ("")] - int EndColumn { get; } - - - //[Guid ("")] - int Line { get; } - - - //[Guid ("")] - string LineText { get; } - - - //[Guid ("")] - int Number { get; } - - - //[Guid ("")] - int Severity { get; } - - - //[Guid ("")] - IVsaItem SourceItem { get; } - - - //[Guid ("")] - string SourceMoniker { get; } - - - //[Guid ("")] - int StartColumn { get; } - } -} - diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaGlobalItem.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaGlobalItem.cs deleted file mode 100644 index 3cf7872b84f..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaGlobalItem.cs +++ /dev/null @@ -1,50 +0,0 @@ -// -// IVsaGlobalItem.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - - - //[Guid ("")] - [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaGlobalItem : IVsaItem - { - //[Guid ("")] - bool ExposeMembers { - get; - set; - } - - - //[Guid ("")] - string TypeString { set; } - } -} - - diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaItem.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaItem.cs deleted file mode 100644 index df1f9d63793..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaItem.cs +++ /dev/null @@ -1,64 +0,0 @@ -// -// IVsaItem.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - - - //[Guid ("")] - [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaItem - { - // public properties - - //[Guid ("")] - bool IsDirty { get; } - - - //[Guid ("")] - VsaItemType ItemType { get; } - - - //[Guid ("")] - string Name { - get; - set; - } - - - // public methods - - //[Guid ("")] - object GetOption (string name); - - - //[Guid ("")] - void SetOption (string name, object value); - } -} diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaItems.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaItems.cs deleted file mode 100644 index cb8c5c0f7c5..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaItems.cs +++ /dev/null @@ -1,65 +0,0 @@ -// -// IVsaItems.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - using System.Collections; - - //[Guid ("")] - [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaItems : IEnumerable - { - // public properties - - //[Guid ("")] - int Count { get; } - - - //[Guid ("")] - IVsaItem this [int index] { get; } - - - //[Guid ("")] - IVsaItem this [string name] { get; } - - - // public methods - - //[Guid ("")] - IVsaItem CreateItem (string name, VsaItemType itemType, VsaItemFlag itemFlag); - - - //[Guid ("")] - void Remove (int index); - - - //[Guid ("")] - void Remove (string name); - } -} diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaPersistSite.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaPersistSite.cs deleted file mode 100644 index 785a0e54894..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaPersistSite.cs +++ /dev/null @@ -1,47 +0,0 @@ -// -// IVsaPersistSite.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - - - //[Guid ("")] - [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaPersistSite - { - // public methods - - //[Guid ("")] - string LoadElement (string name); - - - //[Guid ("")] - void SaveElement (string name, string source); - } -} diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaReferenceItem.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaReferenceItem.cs deleted file mode 100644 index ef329d61070..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaReferenceItem.cs +++ /dev/null @@ -1,46 +0,0 @@ -// -// IVsaReferenceItem.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - - - //[Guid ("")] - [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaReferenceItem : IVsaItem - { - // public property - - //[Guid ("")] - string AssemblyName { - get; - set; - } - } -} diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaSite.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaSite.cs deleted file mode 100644 index 8107a75caf8..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/IVsaSite.cs +++ /dev/null @@ -1,59 +0,0 @@ -// -// IVsaSite.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - using System.Runtime.InteropServices; - - - //[Guid ("")] - [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] - public interface IVsaSite - { - // public methods - - //[Guid ("")] - void GetCompiledState (out byte [] pe, out byte [] debugInfo); - - - //[Guid ("")] - object GetEventSourceInstance (string itemName, string eventSourceName); - - - //[Guid ("")] - object GetGlobalInstance (string name); - - - //[Guid ("")] - void Notify (string notify, object info); - - - //[Guid ("")] - bool OnCompilerError (IVsaError error); - } -} diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaError.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaError.cs deleted file mode 100644 index 5777e1fbaf1..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaError.cs +++ /dev/null @@ -1,118 +0,0 @@ -// -// VsaError.cs: -// -// Author: -// Cesar Lopez Nataren (cesar@ciencias.unam.mx) -// -// (C) 2003, Cesar Lopez Nataren -// - -// -// 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; - -namespace Microsoft.Vsa { - - [Serializable] - public enum VsaError : int { - - AppDomainCannotBeSet = -2146226176, - AppDomainInvalid = -2146226175, - ApplicationBaseCannotBeSet = -2146226174, - ApplicationBaseInvalid = -2146226173, - AssemblyExpected = -2146226172, - AssemblyNameInvalid = -2146226171, - BadAssembly = -2146226170, - BrowserNotExist = -2146226115, - CachedAssemblyInvalid = -2146226169, - CallbackUnexpected = -2146226168, - CannotAttachToWebServer = -2146226100, - CodeDOMNotAvailable = -2146226167, - CompiledStateNotFound = -2146226166, - DebuggeeNotStarted = -2146226114, - DebugInfoNotSupported = -2146226165, - ElementNameInvalid = -2146226164, - ElementNotFound = -2146226163, - EngineBusy = -2146226162, - EngineCannotClose = -2146226161, - EngineCannotReset = -2146226160, - EngineClosed = -2146226159, - EngineEmpty = -2146226159, - EngineInitialized = -2146226157, - EngineNameInUse = -2146226156, - EngineNameInvalid = -2146226113, - EngineNameNotSet = -2146226099, - EngineNotCompiled = -2146226155, - EngineNotExist = -2146226112, - EngineNotInitialized = -2146226154, - EngineNotRunning = -2146226153, - EngineRunning = -2146226152, - EventSourceInvalid = -2146226151, - EventSourceNameInUse = -2146226150, - EventSourceNameInvalid = -2146226149, - EventSourceNotFound = -2146226148, - EventSourceTypeInvalid = -2146226147, - FileFormatUnsupported = -2146226111, - FileTypeUnknown = -2146226110, - GetCompiledStateFailed = -2146226146, - GlobalInstanceInvalid = -2146226145, - GlobalInstanceTypeInvalid = -2146226144, - InternalCompilerError = -2146226143, - ItemCannotBeRemoved = -2146226142, - ItemCannotBeRenamed = -2146226109, - ItemFlagNotSupported = -2146226141, - ItemNameInUse = -2146226140, - ItemNameInvalid = -2146226139, - ItemNotFound = -2146226138, - ItemTypeNotSupported = -2146226137, - LCIDNotSupported = -2146226136, - LoadElementFailed = -2146226135, - MissingPdb = -2146226102, - MissingSource = -2146226108, - NameTooLong = -2146226106, - NotClientSideAndNoUrl = -2146226101, - NotificationInvalid = -2146226134, - NotInitCompleted = -2146226107, - OptionInvalid = -2146226133, - OptionNotSupported = -2146226132, - ProcNameInUse = -2146226105, - ProcNameInvalid = -2146226104, - RevokeFailed = -2146226131, - RootMonikerAlreadySet = -2146226130, - RootMonikerInUse = -2146226129, - RootMonikerInvalid = -2146226128, - RootMonikerNotSet = -2146226127, - RootMonikerProtocolInvalid = -2146226126, - RootNamespaceInvalid = -2146226125, - RootNamespaceNotSet = -2146226124, - SaveCompiledStateFailed = -2146226123, - SaveElementFailed = -2146226122, - SiteAlreadySet = -2146226121, - SiteInvalid = -2146226120, - SiteNotSet = -2146226119, - SourceItemNotAvailable = -2146226118, - SourceMonikerNotAvailable = -2146226117, - UnknownError = -2146225921, - URLInvalid = -2146226116, - VsaServerDown = -2146226103, - } -} \ No newline at end of file diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaException.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaException.cs deleted file mode 100644 index f4ed51bba59..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaException.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// VsaException.cs -// -// Author: -// Cesar Lopez Nataren (cesar@ciencias.unam.mx) -// -// (C) 2003, Cesar Lopez Nataren -// - -// -// 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.Runtime.InteropServices; -using System.Runtime.Serialization; -using System.Text; - -namespace Microsoft.Vsa { - - [Serializable] - public class VsaException : ExternalException { - - public new VsaError ErrorCode { - get { return (VsaError) HResult; } - } - - public VsaException (VsaError error) - { - HResult = (int) error; - } - - public VsaException (SerializationInfo info, StreamingContext context) - { - HResult = info.GetInt32 ("VsaException_HResult"); - HelpLink = info.GetString ("VsaException_HelpLink"); - Source = info.GetString ("VsaException_Source"); - } - - public VsaException (VsaError error, string message) - : base (message, (int) error) - { - } - - public VsaException (VsaError error, string message, Exception innerexception) - : base (message, innerexception) - { - HResult = (int) error; - } - - public override void GetObjectData (SerializationInfo info, - StreamingContext context) - { - info.AddValue ("VsaException_HResult", HResult); - info.AddValue ("VsaException_HelpLink", HelpLink); - info.AddValue ("VsaException_Source", Source); - } - - public override string ToString () - { - StringBuilder sb = new StringBuilder (); - - sb.Append ("Microsoft.Vsa.VsaException: "); - sb.Append (System.Enum.GetName (typeof (VsaError), (VsaError) HResult)); - sb.Append (" (0x" + String.Format ("{0,8:X}", HResult) + "): "); - sb.Append (Message); - - return sb.ToString (); - } - } -} \ No newline at end of file diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaItemFlag.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaItemFlag.cs deleted file mode 100644 index d8627b0dfb1..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaItemFlag.cs +++ /dev/null @@ -1,39 +0,0 @@ -// -// VsaItemFlag.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - - - [Serializable] - public enum VsaItemFlag { - Class = 2, - Module = 1, - None = 0, - } -} diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaItemType.cs b/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaItemType.cs deleted file mode 100644 index fdc9c3f16a1..00000000000 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa/VsaItemType.cs +++ /dev/null @@ -1,39 +0,0 @@ -// -// VsaItemType.cs: -// -// Author: Cesar Octavio Lopez Nataren -// - -// -// 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 Microsoft.Vsa -{ - using System; - - - [Serializable] - public enum VsaItemType { - AppGlobal = 1, - Code = 2, - Reference = 0, - } -} -- 2.25.1