diff options
Diffstat (limited to 'mcs/class/referencesource/System.Data/System/Data/xmlsaver.cs')
-rw-r--r-- | mcs/class/referencesource/System.Data/System/Data/xmlsaver.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mcs/class/referencesource/System.Data/System/Data/xmlsaver.cs b/mcs/class/referencesource/System.Data/System/Data/xmlsaver.cs index 55e888fd449..2129d476241 100644 --- a/mcs/class/referencesource/System.Data/System/Data/xmlsaver.cs +++ b/mcs/class/referencesource/System.Data/System/Data/xmlsaver.cs @@ -2,8 +2,8 @@ // <copyright file="xmlsaver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">Microsoft</owner> -// <owner current="true" primary="false">Microsoft</owner> +// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="false">[....]</owner> //------------------------------------------------------------------------------ namespace System.Data { @@ -153,7 +153,7 @@ namespace System.Data { if (propInst is PropertyCollection) { return; } - // Microsoft: perf: Why not have this as a table? + // [....]: perf: Why not have this as a table? // there are several xdo properties that equal to some xml attributes, we should not explicitly ouput them. if ( 0 == String.Compare(pd.Name, "Namespace" , StringComparison.Ordinal) || @@ -887,7 +887,7 @@ namespace System.Data { dsElement.SetAttribute(Keywords.MSD_ISDATASET, Keywords.MSDNS, Keywords.TRUE); dsElement.SetAttribute(Keywords.MSD_MAINDATATABLE, Keywords.MSDNS, XmlConvert.EncodeLocalName(((dt.Namespace.Length == 0)?dt.TableName : (dt.Namespace + ":" + dt.TableName)))); - if (dt.CaseSensitive) { // WebData 111631 :it is a + if (dt.CaseSensitive) { // WebData 111631 :it is a bug to go and write casesensitive attrib as 'true', by default dsElement.SetAttribute(Keywords.MSD_CASESENSITIVE, Keywords.MSDNS, Keywords.TRUE); } if (dt.ShouldSerializeLocale() || !dt.Locale.Equals(CultureInfo.CurrentCulture)) { @@ -1093,7 +1093,7 @@ namespace System.Data { schNode.AppendChild(type); }else { #if DEBUG - // Microsoft: TO DO: replace the constructor with IsEqual(XmlElement) + // [....]: TO DO: replace the constructor with IsEqual(XmlElement) // Debug.Assert(col.SimpleType.IsEqual(new SimpleType(elmSimpeType)), "simpleTypes with the same name have to be the same: "+name); #endif } @@ -1288,7 +1288,7 @@ namespace System.Data { minOccurs = (col.AllowDBNull) ? 0 : 1; - // Microsoft 2001 change + // [....] 2001 change if (col.ColumnMapping == MappingType.Attribute && minOccurs != 0) root.SetAttribute(Keywords.USE, Keywords.REQUIRED); @@ -1582,8 +1582,8 @@ namespace System.Data { if (!table.TypeName.IsEmpty) { if (schFormat != SchemaFormat.Remoting) root.SetAttribute( Keywords.TYPE, NewDiffgramGen.QualifiedName((string)prefixes[table.TypeName.Namespace], table.TypeName.Name) ); -// - +// Bug 108292: Since we always write complex type as annonymous type, DO NOT WRITE ITS NAME +// DO NOT REVERT THIS CHANGE } XmlElement compositor = null; |