Selaa lähdekoodia

avoid using a custom sources file for the net_2_1_raw profile

svn path=/trunk/mcs/; revision=138205
Jb Evain 16 vuotta sitten
vanhempi
sitoutus
06b76b7ca5

+ 5 - 0
mcs/class/System.Xml.Linq/ChangeLog

@@ -1,3 +1,8 @@
+2009-07-20  Jb Evain  <[email protected]>
+
+	* net_2_1_raw_System.Xml.Linq.dll: delete, and use ifdefs
+	in the few specific files.
+
 2009-07-20  Jb Evain  <[email protected]>
 
 	* Makefile: filter the valid profile on the framework version,

+ 4 - 0
mcs/class/System.Xml.Linq/System.Xml.Linq/ChangeLog

@@ -1,3 +1,7 @@
+2009-07-20  Jb Evain  <[email protected]>
+
+	* XNodeNavigator.cs: do not compile for a NET_2_1 profile.
+
 2009-05-07  Sebastien Pouliot  <[email protected]>
 
 	* XElement.cs: Use XmlReaderSettings.DtdProcessing property instead

+ 4 - 0
mcs/class/System.Xml.Linq/System.Xml.Linq/XNodeNavigator.cs

@@ -24,6 +24,8 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !NET_2_1
+
 using System;
 using System.IO;
 using System.Text;
@@ -384,3 +386,5 @@ namespace System.Xml.Linq
 		}
 	}
 }
+
+#endif

+ 4 - 0
mcs/class/System.Xml.Linq/System.Xml.Schema/ChangeLog

@@ -1,3 +1,7 @@
+2009-07-20  Jb Evain  <[email protected]>
+
+	* Extensions.cs: do not compile for a NET_2_1 profile.
+
 2007-05-02  Atsushi Enomoto  <[email protected]>
 
 	* Extensions.cs : new stub file.

+ 3 - 0
mcs/class/System.Xml.Linq/System.Xml.Schema/Extensions.cs

@@ -24,6 +24,8 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !NET_2_1
+
 using System;
 using System.Xml;
 using System.Xml.Linq;
@@ -83,3 +85,4 @@ namespace System.Xml.Schema
 	}
 }
 
+#endif

+ 4 - 0
mcs/class/System.Xml.Linq/System.Xml.XPath/ChangeLog

@@ -1,3 +1,7 @@
+2009-07-20  Jb Evain  <[email protected]>
+
+	* Extensions.cs: do not compile for a NET_2_1 profile.
+
 2007-05-06  Atsushi Enomoto  <[email protected]>
 
 	* Extensions.cs : implemented.

+ 3 - 0
mcs/class/System.Xml.Linq/System.Xml.XPath/Extensions.cs

@@ -24,6 +24,8 @@
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !NET_2_1
+
 using System;
 using System.Collections.Generic;
 using System.Xml;
@@ -80,3 +82,4 @@ namespace System.Xml.XPath
 	}
 }
 
+#endif

+ 0 - 30
mcs/class/System.Xml.Linq/net_2_1_raw_System.Xml.Linq.dll.sources

@@ -1,30 +0,0 @@
-../../build/common/Consts.cs
-../../build/common/Locale.cs
-../../build/common/MonoTODOAttribute.cs
-Assembly/AssemblyInfo.cs
-System.Xml.Linq/Extensions.cs
-System.Xml.Linq/LoadOptions.cs
-System.Xml.Linq/SaveOptions.cs
-System.Xml.Linq/XAttribute.cs
-System.Xml.Linq/XCData.cs
-System.Xml.Linq/XComment.cs
-System.Xml.Linq/XContainer.cs
-System.Xml.Linq/XDeclaration.cs
-System.Xml.Linq/XDocument.cs
-System.Xml.Linq/XDocumentType.cs
-System.Xml.Linq/XElement.cs
-System.Xml.Linq/XIterators.cs
-System.Xml.Linq/XName.cs
-System.Xml.Linq/XNamespace.cs
-System.Xml.Linq/XNode.cs
-System.Xml.Linq/XNodeDocumentOrderComparer.cs
-System.Xml.Linq/XNodeEqualityComparer.cs
-System.Xml.Linq/XNodeReader.cs
-System.Xml.Linq/XNodeWriter.cs
-System.Xml.Linq/XObject.cs
-System.Xml.Linq/XObjectChange.cs
-System.Xml.Linq/XObjectChangeEventArgs.cs
-System.Xml.Linq/XProcessingInstruction.cs
-System.Xml.Linq/XStreamingElement.cs
-System.Xml.Linq/XText.cs
-System.Xml.Linq/XUtil.cs