diff options
Diffstat (limited to 'mcs/class/referencesource/System.Xml/System/Xml')
425 files changed, 783 insertions, 562 deletions
diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Assembly/System.Xml.Assembly.cs b/mcs/class/referencesource/System.Xml/System/Xml/Assembly/System.Xml.Assembly.cs index 371bf74501d..c4184400609 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Assembly/System.Xml.Assembly.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Assembly/System.Xml.Assembly.cs @@ -2,7 +2,7 @@ // <copyright file="System.Xml.Assembly.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> using System.Runtime.CompilerServices; @@ -27,4 +27,4 @@ using System.Runtime.CompilerServices; [assembly: System.Runtime.CompilerServices.InternalsVisibleTo("System.Xml.Linq, PublicKey=00000000000000000400000000000000")] // This is to allow writing unit tests that test the internal functionality contained in this assembly. [assembly: InternalsVisibleToAttribute("System.ServiceModel.Friend, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1fa57c4aed9f0a32e84aa0faefd0de9e8fd6aec8f87fb03766c834c99921eb23be79ad9d5dcc1dd9ad236132102900b723cf980957fc4e177108fc607774f29e8320e92ea05ece4e821c0a5efe8f1645c4c0c93c1ab99285d622caa652c1dfad63d745d6f2de5f17e5eaf0fc4963d261c8a12436518206dc093344d5ad293")] -#endif +#endif
\ No newline at end of file diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Base64Decoder.cs b/mcs/class/referencesource/System.Xml/System/Xml/Base64Decoder.cs index 6fce5e708f4..700f0024765 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Base64Decoder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Base64Decoder.cs @@ -2,7 +2,7 @@ // <copyright file="Base64Decoder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Base64Encoder.cs b/mcs/class/referencesource/System.Xml/System/Xml/Base64Encoder.cs index 2e5db862d30..826dda14790 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Base64Encoder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Base64Encoder.cs @@ -3,7 +3,7 @@ // <copyright file="Base64Encoder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Text; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/BinHexDecoder.cs b/mcs/class/referencesource/System.Xml/System/Xml/BinHexDecoder.cs index a5b8c826abe..f0e3e37cbb0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/BinHexDecoder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/BinHexDecoder.cs @@ -2,7 +2,7 @@ // <copyright file="BinHexDecoder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/BinHexEncoder.cs b/mcs/class/referencesource/System.Xml/System/Xml/BinHexEncoder.cs index 84af530c3a0..80aaef88553 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/BinHexEncoder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/BinHexEncoder.cs @@ -3,7 +3,7 @@ // <copyright file="BinHexEncoder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/BinXmltoken.cs b/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/BinXmltoken.cs index 080a2750f38..ceeccc04054 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/BinXmltoken.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/BinXmltoken.cs @@ -2,7 +2,7 @@ // <copyright file="XmlBinaryWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">derekdb</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/SqlUtils.cs b/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/SqlUtils.cs index ac782eede0d..f431af850c4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/SqlUtils.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/SqlUtils.cs @@ -2,7 +2,7 @@ // <copyright file="XmlBinaryWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReader.cs index 7ec7d87c084..249bf8a70bb 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReader.cs @@ -2,7 +2,7 @@ // <copyright file="XmlBinaryWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReaderAsync.cs b/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReaderAsync.cs index c246cd780de..c5617d0bef0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReaderAsync.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/BinaryXml/XmlBinaryReaderAsync.cs @@ -2,7 +2,7 @@ // <copyright file="XmlBinaryWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/BitStack.cs b/mcs/class/referencesource/System.Xml/System/Xml/BitStack.cs index 1a24b050303..af5df11c215 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/BitStack.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/BitStack.cs @@ -2,7 +2,7 @@ // <copyright file="BitStack.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Bits.cs b/mcs/class/referencesource/System.Xml/System/Xml/Bits.cs index c971932dace..e33134c3de0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Bits.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Bits.cs @@ -2,7 +2,7 @@ // <copyright file="Bits.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/ByteStack.cs b/mcs/class/referencesource/System.Xml/System/Xml/ByteStack.cs index dad824cbba0..d1dac9ff8be 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/ByteStack.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/ByteStack.cs @@ -2,7 +2,7 @@ // <copyright file="ByteStack.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/Shape.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/Shape.cs index 1c0efa47eb7..ccd750ebca8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/Shape.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/Shape.cs @@ -2,7 +2,7 @@ // <copyright file="Shape.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">derekdb</owner> //------------------------------------------------------------------------------ #if ENABLEDATABINDING using System; @@ -298,4 +298,4 @@ namespace System.Xml.XPath.DataBinding #endif } } -#endif +#endif
\ No newline at end of file diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/ShapeGenerator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/ShapeGenerator.cs index 2957c30f2c9..939cfb4ebad 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/ShapeGenerator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/ShapeGenerator.cs @@ -2,7 +2,7 @@ // <copyright file="ShapeGenerator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">derekdb</owner> //------------------------------------------------------------------------------ #if ENABLEDATABINDING using System; @@ -199,4 +199,4 @@ namespace System.Xml.XPath.DataBinding } } } -#endif +#endif
\ No newline at end of file diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentBuilder.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentBuilder.cs index 5ca0974015e..7282d54555c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentBuilder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentBuilder.cs @@ -2,7 +2,7 @@ // <copyright file="XPathDocumentBuilder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Globalization; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentIterator.cs index 54d2808d16b..937c44a75c9 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathDocumentIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Xml; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentNavigator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentNavigator.cs index d5884ff333f..f46468ff6ab 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentNavigator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentNavigator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathDocumentNavigator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.IO; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentView.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentView.cs index 077d922580a..320e2fd602d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentView.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathDocumentView.cs @@ -2,7 +2,7 @@ // <copyright file="XPathDocumentView.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">derekdb</owner> //------------------------------------------------------------------------------ #if ENABLEDATABINDING using System; @@ -606,7 +606,7 @@ namespace System.Xml.XPath.DataBinding } } if (0 == rows.Count) { - // + // TODO: throw new NotImplementedException("XPath failed to match an elements"); } if (null == schemaInfo) { @@ -819,4 +819,4 @@ namespace System.Xml.XPath.DataBinding } } } -#endif +#endif
\ No newline at end of file diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNode.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNode.cs index b050b59c483..9170badb6c4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNode.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNode.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Diagnostics; @@ -332,7 +332,6 @@ namespace MS.Internal.Xml.Cache { /// <summary> /// Set this node's line number information. /// </summary> - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] public void SetLineInfoOffsets(int lineNumOffset, int linePosOffset) { Debug.Assert(lineNumOffset >= 0 && lineNumOffset <= MaxLineNumberOffset, "Line number offset too large or small: " + lineNumOffset); Debug.Assert(linePosOffset >= 0 && linePosOffset <= MaxLinePositionOffset, "Line position offset too large or small: " + linePosOffset); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeHelper.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeHelper.cs index d41386dc056..fbc150cb5c1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeHelper.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeHelper.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNodeHelper.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Diagnostics; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeInfoAtom.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeInfoAtom.cs index b2bd27cfc6f..f65ab8c144b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeInfoAtom.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeInfoAtom.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNodeInfoAtom.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections; using System.Text; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeView.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeView.cs index 77599ef7e54..33e807d726d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeView.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeView.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNodeView.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">derekdb</owner> //------------------------------------------------------------------------------ #if ENABLEDATABINDING using System; @@ -156,4 +156,4 @@ namespace System.Xml.XPath.DataBinding internal object Column(int index) { return cols[index]; } } } -#endif +#endif
\ No newline at end of file diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeViewPropertyDescriptor.cs b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeViewPropertyDescriptor.cs index 5b729554646..076fc2a3344 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeViewPropertyDescriptor.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Cache/XPathNodeViewPropertyDescriptor.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNodeViewPropertyDescriptor.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">derekdb</owner> //------------------------------------------------------------------------------ #if ENABLEDATABINDING using System; @@ -98,4 +98,4 @@ namespace System.Xml.XPath.DataBinding } } } -#endif +#endif
\ No newline at end of file diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/AppContextDefaultValues.Defaults.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/AppContextDefaultValues.Defaults.cs new file mode 100644 index 00000000000..01ac463e479 --- /dev/null +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/AppContextDefaultValues.Defaults.cs @@ -0,0 +1,46 @@ +// ==++== +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// +// ==--== +using System; + +namespace System +{ + internal static partial class AppContextDefaultValues + { + static partial void PopulateDefaultValuesPartial(string platformIdentifier, string profile, int version) + { + // When defining a new switch you should add it to the last known version. + // For instance, if you are adding a switch in .NET 4.6 (the release after 4.5.2) you should defined your switch + // like this: + // if (version <= 40502) ... + // This ensures that all previous versions of that platform (up-to 4.5.2) will get the old behavior by default + // NOTE: When adding a default value for a switch please make sure that the default value is added to ALL of the existing platforms! + // NOTE: When adding a new if statement for the version please ensure that ALL previous switches are enabled (ie. don't use else if) + switch (platformIdentifier) + { + case ".NETCore": + case ".NETFramework": + { + if (version <= 40502) + { + LocalAppContext.DefineSwitchDefault("Switch.System.Xml.DontThrowOnInvalidSurrogatePairs", true); + LocalAppContext.DefineSwitchDefault("Switch.System.Xml.IgnoreEmptyKeySequences", true); + } + break; + } + case "WindowsPhone": + case "WindowsPhoneApp": + { + if (version <= 80100) + { + LocalAppContext.DefineSwitchDefault("Switch.System.Xml.DontThrowOnInvalidSurrogatePairs", true); + LocalAppContext.DefineSwitchDefault("Switch.System.Xml.IgnoreEmptyKeySequences", true); + } + break; + } + } + } + } +} diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/BinaryCompatibility.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/BinaryCompatibility.cs index 25c895fd806..16523d04577 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/BinaryCompatibility.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/BinaryCompatibility.cs @@ -29,11 +29,11 @@ namespace System.Xml if (binaryCompatabilityType == null) return false; - PropertyInfo runningOnV4_5_2_Property = binaryCompatabilityType.GetProperty(propertyName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static); - if (runningOnV4_5_2_Property == null) + PropertyInfo property = binaryCompatabilityType.GetProperty(propertyName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Static); + if (property == null) return false; - return (bool)runningOnV4_5_2_Property.GetValue(null); + return (bool)property.GetValue(null); } } } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/CharEntityEncoderFallback.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/CharEntityEncoderFallback.cs index 9ada03fbdcb..b50a79dd403 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/CharEntityEncoderFallback.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/CharEntityEncoderFallback.cs @@ -2,7 +2,7 @@ // <copyright file="CharEntitiesEncodingFallback.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Text; @@ -124,10 +124,10 @@ namespace System.Xml { } public override char GetNextChar() { - // Bug fix: 35637. The protocol using GetNextChar() and MovePrevious() called by Encoder is not well documented. - // Here we have to to signal to Encoder that the previous read was last character. Only AFTER we can - // mark ourself as done (-1). Otherwise MovePrevious() can still be called, but -1 is already incorrectly set - // and return false from MovePrevious(). Then Encoder ----ing the rest of the bytes. + // + + + if (charEntityIndex == charEntity.Length) { charEntityIndex = -1; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/ConformanceLevel.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/ConformanceLevel.cs index 7427680c161..82ba6e55a21 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/ConformanceLevel.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/ConformanceLevel.cs @@ -2,7 +2,7 @@ // <copyright file="ConformanceLevel.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/DtdProcessing.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/DtdProcessing.cs index c83e4f6de8c..85e9098ce3d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/DtdProcessing.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/DtdProcessing.cs @@ -2,7 +2,7 @@ // <copyright file="DtdProcessing.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/EntityHandling.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/EntityHandling.cs index c794274af4b..b9f1ab8b2f8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/EntityHandling.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/EntityHandling.cs @@ -2,7 +2,7 @@ // <copyright file="EntityHandling.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlEncodedRawTextWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlEncodedRawTextWriter.cs index 3e87a288024..0b90bc445e0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlEncodedRawTextWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlEncodedRawTextWriter.cs @@ -3,7 +3,7 @@ // <copyright file="HtmlRawTextWriterGenerator.cxx" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // WARNING: This file is generated and should not be modified directly. Instead, @@ -111,7 +111,7 @@ namespace System.Xml { RawText( "<!DOCTYPE "); - // Bug 114337: Always output "html" or "HTML" in doc-type, even if "name" is something else + // if ( name == "HTML" ) RawText( "HTML" ); else diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlTernaryTree.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlTernaryTree.cs index ea40a4b1774..67a2eb4e88d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlTernaryTree.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlTernaryTree.cs @@ -2,7 +2,7 @@ // <copyright file="TernaryTreeGenerator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // // This file is generated by TernaryTreeGenerator.cs, diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlUtf8RawTextWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlUtf8RawTextWriter.cs index ce58ac04cef..21746af58e3 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlUtf8RawTextWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/HtmlUtf8RawTextWriter.cs @@ -3,7 +3,7 @@ // <copyright file="HtmlRawTextWriterGenerator.cxx" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // WARNING: This file is generated and should not be modified directly. Instead, @@ -111,7 +111,7 @@ namespace System.Xml { RawText( "<!DOCTYPE "); - // Bug 114337: Always output "html" or "HTML" in doc-type, even if "name" is something else + // if ( name == "HTML" ) RawText( "HTML" ); else diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdInfo.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdInfo.cs index 62f522e8e00..9c3b30d3e2a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdInfo.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdInfo.cs @@ -2,7 +2,7 @@ // <copyright file="DtdInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParser.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParser.cs index 56d1ff3e020..9ad4477687c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParser.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParser.cs @@ -3,7 +3,7 @@ // <copyright file="DtdParser.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParserAdapter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParserAdapter.cs index d321f232bfe..30d0fd7b7de 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParserAdapter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParserAdapter.cs @@ -3,7 +3,7 @@ // <copyright file="Reader2DtdParserAdapter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParserAsync.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParserAsync.cs index ff1d881647f..f9f7e3a93a8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParserAsync.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/IDtdParserAsync.cs @@ -3,7 +3,7 @@ // <copyright file="DtdParser.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/IRemovableWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/IRemovableWriter.cs index 110d252d4b0..f593ba22f05 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/IRemovableWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/IRemovableWriter.cs @@ -2,7 +2,7 @@ // <copyright file="IRemovableWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">akimball</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/IValidationEventHandling.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/IValidationEventHandling.cs index e67f95f1c8c..242d7edb438 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/IValidationEventHandling.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/IValidationEventHandling.cs @@ -2,7 +2,7 @@ // <copyright file="IValidationEventHandling.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/IncrementalReadDecoders.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/IncrementalReadDecoders.cs index 75aa39c93e5..accabc8ae41 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/IncrementalReadDecoders.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/IncrementalReadDecoders.cs @@ -2,7 +2,7 @@ // <copyright file="IncrementalReadDecoder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Diagnostics; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/LocalAppContextSwitches.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/LocalAppContextSwitches.cs new file mode 100644 index 00000000000..c744ba1c0dc --- /dev/null +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/LocalAppContextSwitches.cs @@ -0,0 +1,33 @@ +// ==++== +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// +// ==--== +using System; +using System.Runtime.CompilerServices; + +namespace System +{ + internal static class LocalAppContextSwitches + { + private static int _dontThrowOnInvalidSurrogatePairs; + public static bool DontThrowOnInvalidSurrogatePairs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return LocalAppContext.GetCachedSwitchValue(@"Switch.System.Xml.DontThrowOnInvalidSurrogatePairs", ref _dontThrowOnInvalidSurrogatePairs); + } + } + + private static int _ignoreEmptyKeySequences; + public static bool IgnoreEmptyKeySequences + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return LocalAppContext.GetCachedSwitchValue(@"Switch.System.Xml.IgnoreEmptyKeySequences", ref _ignoreEmptyKeySequences); + } + } + } +} diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/NamespaceHandling.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/NamespaceHandling.cs index 7981fa19deb..d3c48fe90e0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/NamespaceHandling.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/NamespaceHandling.cs @@ -2,7 +2,7 @@ // <copyright file="NewLineHandling.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/NewLineHandling.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/NewLineHandling.cs index 53d0c1265ba..c6ccc8095fa 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/NewLineHandling.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/NewLineHandling.cs @@ -2,7 +2,7 @@ // <copyright file="NewLineHandling.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/QueryOutputWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/QueryOutputWriter.cs index 38d96cab293..b2eb04606f1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/QueryOutputWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/QueryOutputWriter.cs @@ -2,7 +2,7 @@ // <copyright file=QueryOutputWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/QueryOutputWriterV1.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/QueryOutputWriterV1.cs index 7804b49e649..b8118da24a9 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/QueryOutputWriterV1.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/QueryOutputWriterV1.cs @@ -2,7 +2,7 @@ // <copyright file=QueryOutputWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadContentAsBinaryHelper.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadContentAsBinaryHelper.cs index 2279ac9d403..f901bb3b853 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadContentAsBinaryHelper.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadContentAsBinaryHelper.cs @@ -3,7 +3,7 @@ // <copyright file="ReadContentAsBinaryHelper.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Diagnostics; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadOnlyTernaryTree.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadOnlyTernaryTree.cs index c18e27b12c1..e2bdd673aa7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadOnlyTernaryTree.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadOnlyTernaryTree.cs @@ -2,7 +2,7 @@ // <copyright file="ReadOnlyTernaryTree.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; @@ -17,7 +17,7 @@ namespace System.Xml { // // XSL HTML output method properties // - // Keep the first four bits in [....], so that the element and attribute mask operation can be combined. + // Keep the first four bits in sync, so that the element and attribute mask operation can be combined. internal enum ElementProperties : uint {DEFAULT = 0, URI_PARENT = 1, BOOL_PARENT = 2, NAME_PARENT = 4, EMPTY = 8, NO_ENTITIES = 16, HEAD = 32, BLOCK_WS = 64, HAS_NS = 128} internal enum AttributeProperties : uint {DEFAULT = 0, URI = 1, BOOLEAN = 2, NAME = 4} diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadState.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadState.cs index 21c52acd3f5..e942c702fc9 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadState.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/ReadState.cs @@ -2,7 +2,7 @@ // <copyright file="ReadState.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/SecureStringHasher.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/SecureStringHasher.cs index 05e248b64bd..a0e1260823e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/SecureStringHasher.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/SecureStringHasher.cs @@ -2,11 +2,17 @@ // <copyright file="SecureStringHasher.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Collections.Generic; +using System.Diagnostics; +using System.Reflection; +using System.Security; +#if !SILVERLIGHT +using System.Security.Permissions; +#endif namespace System.Xml { @@ -15,6 +21,15 @@ namespace System.Xml { // someone passes in lots of strings that hash to the same hash code is greatly reduced. // The SecureStringHasher implements IEqualityComparer for strings and therefore can be used in generic IDictionary. internal class SecureStringHasher : IEqualityComparer<String> { + [SecurityCritical] + delegate int HashCodeOfStringDelegate(string s, int sLen, long additionalEntropy); + + // Value is guaranteed to be null by the spec. + // No explicit assignment because it will require adding SecurityCritical on .cctor + // which could hurt the performance + [SecurityCritical] + static HashCodeOfStringDelegate hashCodeDelegate; + int hashCodeRandomizer; public SecureStringHasher() { @@ -31,8 +46,17 @@ namespace System.Xml { return String.Equals( x, y, StringComparison.Ordinal ); } + [SecuritySafeCritical] public int GetHashCode( String key ) { - int hashCode = hashCodeRandomizer; + if (hashCodeDelegate == null) { + hashCodeDelegate = GetHashCodeDelegate(); + } + return hashCodeDelegate(key, key.Length, hashCodeRandomizer); + } + + [SecurityCritical] + private static int GetHashCodeOfString( string key, int sLen, long additionalEntropy ) { + int hashCode = unchecked((int)additionalEntropy); // use key.Length to eliminate the rangecheck for ( int i = 0; i < key.Length; i++ ) { hashCode += ( hashCode << 7 ) ^ key[i]; @@ -43,5 +67,24 @@ namespace System.Xml { hashCode -= hashCode >> 5; return hashCode; } + + [SecuritySafeCritical] +#if !SILVERLIGHT + [ReflectionPermission(SecurityAction.Assert, Unrestricted = true)] +#endif + private static HashCodeOfStringDelegate GetHashCodeDelegate() { + // If we find the Marvin hash method, we use that + // Otherwise, we use the old string hashing function. + + MethodInfo getHashCodeMethodInfo = typeof(String).GetMethod("InternalMarvin32HashString", BindingFlags.NonPublic | BindingFlags.Static); + if (getHashCodeMethodInfo != null) { + return (HashCodeOfStringDelegate)Delegate.CreateDelegate(typeof(HashCodeOfStringDelegate), getHashCodeMethodInfo); + } + + // This will fall through and return a delegate to the old hash function + Debug.Assert(false, "Randomized hashing is not supported."); + + return new HashCodeOfStringDelegate(GetHashCodeOfString); + } } } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/TextEncodedRawTextWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/TextEncodedRawTextWriter.cs index d09ec778982..6565d5d3d54 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/TextEncodedRawTextWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/TextEncodedRawTextWriter.cs @@ -3,7 +3,7 @@ // <copyright file="TextWriterGenerator.cxx" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // WARNING: This file is generated and should not be modified directly. Instead, diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/TextUtf8RawTextWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/TextUtf8RawTextWriter.cs index 1ed397e8fef..4192d32857c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/TextUtf8RawTextWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/TextUtf8RawTextWriter.cs @@ -3,7 +3,7 @@ // <copyright file="TextWriterGenerator.cxx" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // WARNING: This file is generated and should not be modified directly. Instead, diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/ValidatingReaderNodeData.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/ValidatingReaderNodeData.cs index 0220c3ac415..35ebb93441c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/ValidatingReaderNodeData.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/ValidatingReaderNodeData.cs @@ -2,7 +2,7 @@ // <copyright file="ValidatingReaderNodeData.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/ValidationType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/ValidationType.cs index 3ad3ffb722f..63a0922930b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/ValidationType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/ValidationType.cs @@ -2,7 +2,7 @@ // <copyright file="ValidationType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/WhitespaceHandling.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/WhitespaceHandling.cs index 0e8c2e01ad5..5d3cedd840b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/WhitespaceHandling.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/WhitespaceHandling.cs @@ -2,7 +2,7 @@ // <copyright file="WhiteSpaceHandling.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckReader.cs index acfc2641270..5c8e6dbfabf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckReader.cs @@ -55,7 +55,7 @@ namespace System.Xml { } } - #region [....] Methods, Properties Check + #region Sync Methods, Properties Check public override XmlReaderSettings Settings { get { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckWriter.cs index 9d3d1259ba6..2ec002e8862 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAsyncCheckWriter.cs @@ -28,7 +28,7 @@ namespace System.Xml { } } - #region [....] Methods, Properties Check + #region Sync Methods, Properties Check public override XmlWriterSettings Settings { get { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAutoDetectWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAutoDetectWriter.cs index be7bdf2f133..c36fceca031 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAutoDetectWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlAutoDetectWriter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAutoDetectWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingReader.cs index e7494e219b1..4d57beeb332 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingReader.cs @@ -3,7 +3,7 @@ // <copyright file="XmlCharCheckingReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingWriter.cs index d997aaf59d9..879e99e0933 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlCharCheckingWriter.cs @@ -4,7 +4,7 @@ // <copyright file="XmlCharCheckingWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ @@ -445,7 +445,7 @@ namespace System.Xml { // Interleave 2 adjacent invalid chars with a space. This is used for fixing invalid values of comments and PIs. // Any "--" in comment must be replaced with "- -" and any "-" at the end must be appended with " ". // Any "?>" in PI value must be replaced with "? >". - // This code has a bug SQL BU Defect Tracking #480848, which was triaged as Won't Fix because it is a breaking change + // This code has a private string InterleaveInvalidChars( string text, char invChar1, char invChar2 ) { StringBuilder sb = null; int start = 0; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs index 05cff698b3d..341890df115 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs @@ -3,7 +3,7 @@ // <copyright file="XmlRawTextWriterGenerator.cxx" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // WARNING: This file is generated and should not be modified directly. Instead, @@ -416,8 +416,8 @@ namespace System.Xml { if ( trackTextContent && inTextContent != false ) { ChangeTextContentMark( false ); } - // VSTFDEVDIV bug #583965: Inconsistency between Silverlight 2 and Dev10 in the way a single xmlns attribute is serialized - // Resolved as: Won't fix (breaking change) + // VSTFDEVDIV + if ( prefix.Length == 0 ) { RawText( " xmlns=\"" ); @@ -1384,7 +1384,8 @@ namespace System.Xml { if ( ch <= XmlCharType.SurHighEnd ) { if ( pSrc + 1 < pSrcEnd ) { int lowChar = pSrc[1]; - if ( lowChar >= XmlCharType.SurLowStart ) { + if ( lowChar >= XmlCharType.SurLowStart && + (LocalAppContextSwitches.DontThrowOnInvalidSurrogatePairs || lowChar <= XmlCharType.SurLowEnd)) { pDst[0] = (char)ch; pDst[1] = (char)lowChar; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriterAsync.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriterAsync.cs index bfb770ee5b4..17e6333ebfe 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriterAsync.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriterAsync.cs @@ -224,8 +224,8 @@ namespace System.Xml { if ( trackTextContent && inTextContent != false ) { ChangeTextContentMark( false ); } - // VSTFDEVDIV bug #583965: Inconsistency between Silverlight 2 and Dev10 in the way a single xmlns attribute is serialized - // Resolved as: Won't fix (breaking change) + // VSTFDEVDIV + #if SILVERLIGHT if ( attrEndPos == bufPos ) { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEventCache.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEventCache.cs index 2f9b8e7dc3b..b48dd010fe6 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEventCache.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEventCache.cs @@ -2,7 +2,7 @@ // <copyright file="XmlEventCache.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections.Generic; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlParserContext.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlParserContext.cs index c6427aa67ae..6b70e55b47a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlParserContext.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlParserContext.cs @@ -2,7 +2,7 @@ // <copyright file="XmlParserContext.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Xml; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlRawWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlRawWriter.cs index 0de56633883..6c05735bcb2 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlRawWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlRawWriter.cs @@ -3,7 +3,7 @@ // <copyright file="XmlRawWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlReader.cs index 8283771d758..40379dd159e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlReader.cs @@ -3,7 +3,7 @@ // <copyright file="XmlReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.IO; @@ -1494,6 +1494,7 @@ namespace System.Xml { XmlTextReaderImpl tri = GetXmlTextReaderImpl(reader); return tri != null ? tri.Encoding : null; } +#endif internal static ConformanceLevel GetV1ConformanceLevel(XmlReader reader) { XmlTextReaderImpl tri = GetXmlTextReaderImpl(reader); @@ -1505,10 +1506,13 @@ namespace System.Xml { if (tri != null) { return tri; } + +#if !SILVERLIGHT // Needed only for XmlTextReader or XmlValidatingReader XmlTextReader tr = reader as XmlTextReader; if (tr != null) { return tr.Impl; } + XmlValidatingReaderImpl vri = reader as XmlValidatingReaderImpl; if (vri != null) { return vri.ReaderImpl; @@ -1519,9 +1523,9 @@ namespace System.Xml { if (vr != null) { return vr.Impl.ReaderImpl; } +#endif return null; } -#endif // // Static methods for creating readers diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlReaderSettings.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlReaderSettings.cs index 3b87f5a4c5e..c570f19606a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlReaderSettings.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlReaderSettings.cs @@ -2,7 +2,7 @@ // <copyright file="XmlReaderSettings.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.IO; @@ -547,6 +547,8 @@ namespace System.Xml { static XmlResolver CreateDefaultResolver() { #if SILVERLIGHT + if (BinaryCompatibility.TargetsAtLeast_Desktop_V4_5_1) + return new XmlSystemPathResolver(); return new XmlXapResolver(); #else return new XmlUrlResolver(); @@ -606,11 +608,17 @@ namespace System.Xml { #pragma warning disable 618 #if SILVERLIGHT - if (this.conformanceLevel != ConformanceLevel.Auto) { + // Starting from Windows phone 8.1 (TargetsAtLeast_Desktop_V4_5_1) we converge with the desktop behavior so we'll let the reader + // not throw exception if has different conformance level than Auto. + if (BinaryCompatibility.TargetsAtLeast_Desktop_V4_5_1) { + if (this.conformanceLevel != ConformanceLevel.Auto && this.conformanceLevel != XmlReader.GetV1ConformanceLevel(baseReader)) { + throw new InvalidOperationException(Res.GetString(Res.Xml_IncompatibleConformanceLevel, this.conformanceLevel.ToString())); + } + } else if (this.conformanceLevel != ConformanceLevel.Auto) { throw new InvalidOperationException(Res.GetString(Res.Xml_IncompatibleConformanceLevel, this.conformanceLevel.ToString())); } #else - if (this.conformanceLevel != ConformanceLevel.Auto && this.conformanceLevel != XmlReader.GetV1ConformanceLevel(baseReader)) { + if (this.conformanceLevel != ConformanceLevel.Auto && this.conformanceLevel != XmlReader.GetV1ConformanceLevel(baseReader)) { throw new InvalidOperationException(Res.GetString(Res.Xml_IncompatibleConformanceLevel, this.conformanceLevel.ToString())); } #endif diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlSpace.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlSpace.cs index 2a400188846..ed429f4283c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlSpace.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlSpace.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSpace.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlSubtreeReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlSubtreeReader.cs index c78e851ad3b..602e1acb370 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlSubtreeReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlSubtreeReader.cs @@ -3,7 +3,7 @@ // <copyright file="XmlSubtreeReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextEncoder.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextEncoder.cs index 8c90585f940..7e4c58fd1b5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextEncoder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextEncoder.cs @@ -2,7 +2,7 @@ // <copyright file="XmlTextWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReader.cs index 2ce8ee9b56f..096f9b5cbad 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReader.cs @@ -3,7 +3,7 @@ // <copyright file="XmlTextReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImpl.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImpl.cs index 446dab45c17..19c9b948ec8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImpl.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImpl.cs @@ -3,7 +3,7 @@ // <copyright file="XmlTextReaderImpl.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; @@ -857,6 +857,11 @@ namespace System.Xml { settings.MaxCharactersInDocument = maxCharactersInDocument; settings.MaxCharactersFromEntities = maxCharactersFromEntities; +#if !SILVERLIGHT + if (!System.Xml.XmlReaderSettings.EnableLegacyXmlSettings()) { + settings.XmlResolver = xmlResolver; + } +#endif settings.ReadOnly = true; return settings; } @@ -2540,7 +2545,6 @@ namespace System.Xml { // private bool InAttributeValueIterator { #if !SILVERLIGHT - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] #endif get { return attrCount > 0 && parsingFunction >= ParsingFunction.InReadAttributeValue; @@ -6881,7 +6885,6 @@ namespace System.Xml { #endif #if !SILVERLIGHT - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] #endif private NodeData AddNode( int nodeIndex, int nodeDepth ) { Debug.Assert( nodeIndex < nodes.Length ); @@ -8197,13 +8200,13 @@ namespace System.Xml { } } +#endif internal ConformanceLevel V1ComformanceLevel { get { return fragmentType == XmlNodeType.Element ? ConformanceLevel.Fragment : ConformanceLevel.Document; } } -#endif private bool AddDefaultAttributeDtd(IDtdDefaultAttributeInfo defAttrInfo, bool definedInDtd, NodeData[] nameSortedNodeData) { if ( defAttrInfo.Prefix.Length > 0 ) { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImplHelpers.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImplHelpers.cs index 3a031b70431..8d3dcd6f825 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImplHelpers.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextReaderImplHelpers.cs @@ -3,7 +3,7 @@ // <copyright file="XmlTextReaderHelpers.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextWriter.cs index 731426702fc..c69a408361e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlTextWriter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlTextWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; @@ -1364,8 +1364,8 @@ namespace System.Xml { // Namespaces supported if (namespaces) { - // We can't use ValidateNames.ParseQName here because of backwards compatibility bug we need to preserve. - // The bug is that the character after ':' is validated only as a NCName characters instead of NCStartName. + // We can't use ValidateNames.ParseQName here because of backwards compatibility + int colonPosition = -1; // Parse NCName (may be prefix, may be local name) @@ -1384,7 +1384,7 @@ namespace System.Xml { // make sure it is not the first or last characters if (position > 0 && position + 1 < nameLength) { colonPosition = position; - // Because of the back-compat bug (described above) parse the rest as Nmtoken + // Because of the back-compat position++; position += ValidateNames.ParseNmtoken(name, position); goto Continue; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriter.cs index 881652d6dbe..8cbec68c906 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriter.cs @@ -3,7 +3,7 @@ // <copyright file="XmlRawTextWriterGenerator.cxx" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // WARNING: This file is generated and should not be modified directly. Instead, @@ -360,8 +360,8 @@ namespace System.Xml { internal override void WriteStartNamespaceDeclaration(string prefix) { Debug.Assert( prefix != null ); - // VSTFDEVDIV bug #583965: Inconsistency between Silverlight 2 and Dev10 in the way a single xmlns attribute is serialized - // Resolved as: Won't fix (breaking change) + // VSTFDEVDIV + if ( prefix.Length == 0 ) { RawText( " xmlns=\"" ); @@ -1245,12 +1245,12 @@ namespace System.Xml { private static unsafe byte* EncodeSurrogate( char* pSrc, char* pSrcEnd, byte* pDst ) { Debug.Assert( XmlCharType.IsSurrogate( *pSrc ) ); - int ch = *pSrc; if ( ch <= XmlCharType.SurHighEnd ) { if ( pSrc + 1 < pSrcEnd ) { int lowChar = pSrc[1]; - if ( lowChar >= XmlCharType.SurLowStart ) { + if ( lowChar >= XmlCharType.SurLowStart && + (LocalAppContextSwitches.DontThrowOnInvalidSurrogatePairs || lowChar <= XmlCharType.SurLowEnd)) { // Calculate Unicode scalar value for easier manipulations (see section 3.7 in Unicode spec) // The scalar value repositions surrogate values to start at 0x10000. diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriterAsync.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriterAsync.cs index 3d5024d13ac..bce188d159c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriterAsync.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlUtf8RawTextWriterAsync.cs @@ -210,8 +210,8 @@ namespace System.Xml { CheckAsyncCall(); Debug.Assert( prefix != null ); - // VSTFDEVDIV bug #583965: Inconsistency between Silverlight 2 and Dev10 in the way a single xmlns attribute is serialized - // Resolved as: Won't fix (breaking change) + // VSTFDEVDIV + #if SILVERLIGHT if ( attrEndPos == bufPos ) { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlValidatingReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlValidatingReader.cs index 5027da2ff84..9c997f14470 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlValidatingReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlValidatingReader.cs @@ -2,7 +2,7 @@ // <copyright file="XmlValidatingReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlValidatingReaderImpl.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlValidatingReaderImpl.cs index 7836c255bcf..55d38028802 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlValidatingReaderImpl.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlValidatingReaderImpl.cs @@ -3,7 +3,7 @@ // <copyright file="XmlValidatingReaderImpl.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs index 30bf76c544b..27378cd7830 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlWellFormedWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; @@ -1370,7 +1370,7 @@ namespace System.Xml { } } else { - // We do not pass the standalone value here - Dev10 Bug #479769 + // We do not pass the standalone value here - Dev10 writer.WriteStartDocument(); } } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterAsync.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterAsync.cs index 13d33b2c446..f38cc97dd1a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterAsync.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterAsync.cs @@ -1013,7 +1013,7 @@ namespace System.Xml { } } else { - // We do not pass the standalone value here - Dev10 Bug #479769 + // We do not pass the standalone value here - Dev10 await writer.WriteStartDocumentAsync().ConfigureAwait(false); } } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterHelpers.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterHelpers.cs index 6454136eac0..144d806e5a8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterHelpers.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriterHelpers.cs @@ -3,7 +3,7 @@ // <copyright file="XmlWellFormedWriterHelpers.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWrappingReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWrappingReader.cs index 5aba9d28d19..0bddf6c93c6 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWrappingReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWrappingReader.cs @@ -3,7 +3,7 @@ // <copyright file="XmlWrappingReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWrappingWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWrappingWriter.cs index 6176c6dd547..f73c5eb902d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWrappingWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWrappingWriter.cs @@ -4,7 +4,7 @@ // <copyright file="XmlWrapingWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriter.cs index e580e8a9c23..f4ca61856cf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriter.cs @@ -3,7 +3,7 @@ // <copyright file="XmlWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; @@ -102,7 +102,6 @@ namespace System.Xml { // Writes out the attribute with the specified LocalName, value, and NamespaceURI. #if !SILVERLIGHT - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] #endif public void WriteAttributeString(string localName, string ns, string value) { WriteStartAttribute(null, localName, ns); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriterAsync.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriterAsync.cs index e404920ed80..e799402b01e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriterAsync.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriterAsync.cs @@ -64,7 +64,6 @@ namespace System.Xml { // Writes out the attribute with the specified LocalName, value, and NamespaceURI. #if !SILVERLIGHT - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] #endif // Writes out the attribute with the specified prefix, LocalName, NamespaceURI and value. public Task WriteAttributeStringAsync(string prefix, string localName, string ns, string value) { @@ -264,7 +263,7 @@ namespace System.Xml { // Copies the current node from the given reader to the writer (including child nodes), and if called on an element moves the XmlReader // to the corresponding end element. - //use [....] methods on the reader + //use sync methods on the reader internal async Task WriteNodeAsync_CallSyncReader(XmlReader reader, bool defattr) { bool canReadChunk = reader.CanReadValueChunk; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriterSettings.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriterSettings.cs index 0e5d3e1b79b..d6da6521389 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriterSettings.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWriterSettings.cs @@ -2,7 +2,7 @@ // <copyright file="XmlWriterSettings.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections.Generic; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XsdCachingReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XsdCachingReader.cs index eabe7e09aad..2775de956b3 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XsdCachingReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XsdCachingReader.cs @@ -3,7 +3,7 @@ // <copyright file="XsdCachingReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.IO; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Core/XsdValidatingReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Core/XsdValidatingReader.cs index 78b479a94bf..1624db0c151 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Core/XsdValidatingReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Core/XsdValidatingReader.cs @@ -3,7 +3,7 @@ // <copyright file="XsdValidatingReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.IO; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/DiagnosticsSwitches.cs b/mcs/class/referencesource/System.Xml/System/Xml/DiagnosticsSwitches.cs index 18e16e93e08..aa2a2be4f2d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/DiagnosticsSwitches.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/DiagnosticsSwitches.cs @@ -2,7 +2,7 @@ // <copyright file="DiagnosticsSwitches.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentSchemaValidator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentSchemaValidator.cs index 61467a7e28b..ad2afe144cb 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentSchemaValidator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentSchemaValidator.cs @@ -2,7 +2,7 @@ // <copyright file="XmlDocumentValidator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentXPathNavigator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentXPathNavigator.cs index 65156508850..519989144d3 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentXPathNavigator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentXPathNavigator.cs @@ -2,7 +2,7 @@ // <copyright file="DocumentXPathNavigator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentXmlWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentXmlWriter.cs index b81819b7f42..a593fc00fc2 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentXmlWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/DocumentXmlWriter.cs @@ -2,7 +2,7 @@ // <copyright file="DocumentXmlWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/DomNameTable.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/DomNameTable.cs index f804251dd2c..1887cf8fe5a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/DomNameTable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/DomNameTable.cs @@ -2,7 +2,7 @@ // <copyright file="DomNameTable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XPathNodeList.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XPathNodeList.cs index 72cce94b6ad..375f9c645bc 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XPathNodeList.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XPathNodeList.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNodeList.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlAttribute.cs index 3855bdfd97a..e7296819619 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { @@ -177,7 +177,6 @@ namespace System.Xml { set { lastChild = value;} } - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] internal override bool IsValidChildType( XmlNodeType type ) { return(type == XmlNodeType.Text) || (type == XmlNodeType.EntityReference); } @@ -291,7 +290,6 @@ namespace System.Xml { } // Saves all the children of the node to the specified XmlWriter. - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] public override void WriteContentTo(XmlWriter w) { for (XmlNode node = FirstChild; node != null; node = node.NextSibling) { node.WriteTo(w); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlAttributeCollection.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlAttributeCollection.cs index 932c2c64499..bfe86a97079 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlAttributeCollection.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlAttributeCollection.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAttributeCollection.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ @@ -355,7 +355,6 @@ namespace System.Xml { // for xml attributes within the collection with the same full name. // This means that any caller of this function must be sure that // a duplicate attribute does not exist. - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] internal XmlAttribute InternalAppendAttribute( XmlAttribute node ) { // a duplicate node better not exist Debug.Assert( -1 == FindNodeOffset( node )); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlCDataSection.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlCDataSection.cs index ad6aecfc164..b1f2676b1c9 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlCDataSection.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlCDataSection.cs @@ -2,7 +2,7 @@ // <copyright file="XmlCDATASection.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { @@ -86,7 +86,7 @@ namespace System.Xml { } } - internal override XmlNode PreviousText { + public override XmlNode PreviousText { get { if (parentNode.IsText) { return parentNode; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlCharacterData.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlCharacterData.cs index 6964ca59a5e..6797b896be4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlCharacterData.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlCharacterData.cs @@ -2,7 +2,7 @@ // <copyright file="XmlCharacterData.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { using System.Diagnostics; @@ -33,7 +33,6 @@ namespace System.Xml { // Contains this node's data. public virtual string Data { - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] get { if (data != null) { return data; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlChildEnumerator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlChildEnumerator.cs index 41a25efe245..d17bffe83c0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlChildEnumerator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlChildEnumerator.cs @@ -2,7 +2,7 @@ // <copyright file="XmlChildEnumerator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlChildNodes.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlChildNodes.cs index 6450c64f66f..391b5666768 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlChildNodes.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlChildNodes.cs @@ -2,7 +2,7 @@ // <copyright file="XmlChildNodes.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlComment.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlComment.cs index 087c7546a47..8e7289c899a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlComment.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlComment.cs @@ -2,7 +2,7 @@ // <copyright file="XmlComment.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDeclaration.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDeclaration.cs index bd8ab0ef6df..8de8430a3dd 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDeclaration.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDeclaration.cs @@ -2,7 +2,7 @@ // <copyright file="XmlDeclaration.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocument.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocument.cs index 18c2138d92b..03d419b0dc7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocument.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocument.cs @@ -2,7 +2,7 @@ // <copyright file="XmlDocument.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml @@ -739,7 +739,6 @@ namespace System.Xml // Creates an XmlAttribute with the specified LocalName // and NamespaceURI. - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] public XmlAttribute CreateAttribute( String qualifiedName, String namespaceURI ) { string prefix = String.Empty; string localName = String.Empty; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocumentFragment.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocumentFragment.cs index 1ee01648cce..ef3e33eca40 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocumentFragment.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocumentFragment.cs @@ -2,7 +2,7 @@ // <copyright file="XmlDocumentFragment.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // <code>DocumentFragment</code> is a "lightweight" or "minimal" diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocumentType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocumentType.cs index 27daa745e94..19ae68b987a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocumentType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDocumentType.cs @@ -2,7 +2,7 @@ // <copyright file="XmlDocumentType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDomTextWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDomTextWriter.cs index 228d6ff1f9b..0369f5e1672 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDomTextWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlDomTextWriter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlDomTextWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlElement.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlElement.cs index 66171a9177f..e2d979845c2 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlElement.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlElement.cs @@ -2,7 +2,7 @@ // <copyright file="XmlElement.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlElementList.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlElementList.cs index d76e66c2a1c..ef190d83c10 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlElementList.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlElementList.cs @@ -2,7 +2,7 @@ // <copyright file="XmlElementList.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEntity.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEntity.cs index 3576d03a7c7..0522631c150 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEntity.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEntity.cs @@ -2,7 +2,7 @@ // <copyright file="XmlEntity.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEntityReference.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEntityReference.cs index d9ee2866b8c..4bb982a1645 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEntityReference.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEntityReference.cs @@ -2,7 +2,7 @@ // <copyright file="XmlEntityReference.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ // <code>EntityReference</code> objects may be inserted into the structure diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEventChangedAction.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEventChangedAction.cs index 299354886e4..f72f17ced6c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEventChangedAction.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlEventChangedAction.cs @@ -2,7 +2,7 @@ // <copyright file="XmlEventChangedAction.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">ionv</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlImplementation.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlImplementation.cs index 0082d7faf2f..13711af70ed 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlImplementation.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlImplementation.cs @@ -2,7 +2,7 @@ // <copyright file="XmlImplementation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Globalization; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlLinkedNode.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlLinkedNode.cs index 0c29d1527be..9e62d467490 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlLinkedNode.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlLinkedNode.cs @@ -2,7 +2,7 @@ // <copyright file="XmlLinkedNode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlLoader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlLoader.cs index 988ab2d16b7..ca642eff400 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlLoader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlLoader.cs @@ -2,7 +2,7 @@ // <copyright file="XmlLoader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlName.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlName.cs index 0b972336130..dc217a6e60e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlName.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlName.cs @@ -2,7 +2,7 @@ // <copyright file="XmlName.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNamedNodemap.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNamedNodemap.cs index 03ee6f5aa61..aa1f05e2844 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNamedNodemap.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNamedNodemap.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNamedNodeMap.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { @@ -52,7 +52,6 @@ namespace System.Xml { // Gets the number of nodes in this XmlNamedNodeMap. public virtual int Count { - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] get { return nodes.Count; } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNode.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNode.cs index 978a6abf585..d814e3d238d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNode.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNode.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { @@ -156,7 +156,6 @@ namespace System.Xml { // Gets the first child of this node. public virtual XmlNode FirstChild { - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] get { XmlLinkedNode linkedNode = LastNode; if (linkedNode != null) @@ -180,7 +179,6 @@ namespace System.Xml { set {} } - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] internal bool AncestorNode(XmlNode node) { XmlNode n = this.ParentNode; @@ -724,7 +722,6 @@ namespace System.Xml { // Gets a value indicating whether the node is read-only. public virtual bool IsReadOnly { - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] get { XmlDocument doc = OwnerDocument; return HasReadOnlyParent( this ); @@ -888,7 +885,6 @@ namespace System.Xml { // Removes all the children and/or attributes // of the current node. - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] public virtual void RemoveAll() { XmlNode child = FirstChild; XmlNode sibling = null; @@ -1061,7 +1057,6 @@ namespace System.Xml { } } - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] internal virtual void SetParent( XmlNode node ) { if (node == null) { this.parentNode = OwnerDocument; @@ -1180,7 +1175,7 @@ namespace System.Xml { } } - internal virtual XmlNode PreviousText { + public virtual XmlNode PreviousText { get { return null; } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventArgs.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventArgs.cs index 617f0b54c51..ac4c5097ee9 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventArgs.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventArgs.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNodeChangedEventArgs.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventHandler.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventHandler.cs index 38a6bb35c2a..8b103e51d6a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventHandler.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeChangedEventHandler.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNodeChangedEventHandler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">ionv</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeList.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeList.cs index 697ae92649c..d19afba0bc5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeList.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeList.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNodeList.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeReader.cs index 514b79fb872..2ef079a486b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNodeReader.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNodeReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNotation.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNotation.cs index 79be847a2ee..527bdcf6bf5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNotation.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlNotation.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNotation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlProcessingInstruction.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlProcessingInstruction.cs index c940944befb..04d09502a53 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlProcessingInstruction.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlProcessingInstruction.cs @@ -2,7 +2,7 @@ // <copyright file="XmlProcessingInstruction.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlSignificantWhiteSpace.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlSignificantWhiteSpace.cs index dabc9454f68..d083222ae23 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlSignificantWhiteSpace.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlSignificantWhiteSpace.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSignificantWhiteSpace.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml @@ -103,7 +103,7 @@ namespace System.Xml } } - internal override XmlNode PreviousText { + public override XmlNode PreviousText { get { if (parentNode.IsText) { return parentNode; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlText.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlText.cs index be2e38ea4ed..52d74574103 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlText.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlText.cs @@ -2,7 +2,7 @@ // <copyright file="XmlText.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml @@ -125,7 +125,7 @@ namespace System.Xml } } - internal override XmlNode PreviousText { + public override XmlNode PreviousText { get { if (parentNode.IsText) { return parentNode; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlUnspecifiedAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlUnspecifiedAttribute.cs index c1a0974d0dd..fecd81cc57a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlUnspecifiedAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlUnspecifiedAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlUnspecifiedAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlWhitespace.cs b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlWhitespace.cs index c83f732e3d2..3e0df6ab35e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlWhitespace.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Dom/XmlWhitespace.cs @@ -2,7 +2,7 @@ // <copyright file="XmlWhitespace.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml @@ -103,7 +103,7 @@ namespace System.Xml } } - internal override XmlNode PreviousText { + public override XmlNode PreviousText { get { if (parentNode.IsText) { return parentNode; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/EmptyEnumerator.cs b/mcs/class/referencesource/System.Xml/System/Xml/EmptyEnumerator.cs index b9c7f41d8d9..5d9787f1248 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/EmptyEnumerator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/EmptyEnumerator.cs @@ -2,7 +2,7 @@ // <copyright file="EmptyEnumerator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/HWStack.cs b/mcs/class/referencesource/System.Xml/System/Xml/HWStack.cs index c4e9d4e04cf..2f076f8c835 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/HWStack.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/HWStack.cs @@ -2,7 +2,7 @@ // <copyright file="HWStack.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; @@ -52,12 +52,10 @@ namespace System.Xml { return null; } - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] internal object Peek() { return this.used > 0 ? this.stack[this.used - 1] : null; } - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] internal void AddToTop(object o) { if (this.used > 0) { this.stack[this.used - 1] = o; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/IHasXmlNode.cs b/mcs/class/referencesource/System.Xml/System/Xml/IHasXmlNode.cs index 83e7ed5bbab..41f0fe185f5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/IHasXmlNode.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/IHasXmlNode.cs @@ -2,7 +2,7 @@ // <copyright file="IHasXmlNode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">ionv</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/IXmlLineInfo.cs b/mcs/class/referencesource/System.Xml/System/Xml/IXmlLineInfo.cs index a5503a1775d..438840e1c1f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/IXmlLineInfo.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/IXmlLineInfo.cs @@ -2,7 +2,7 @@ // <copyright file="IXmlLineInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/IXmlNamespaceResolver.cs b/mcs/class/referencesource/System.Xml/System/Xml/IXmlNamespaceResolver.cs index 44a2b95e05d..5b41c8f7365 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/IXmlNamespaceResolver.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/IXmlNamespaceResolver.cs @@ -2,7 +2,7 @@ // <copyright file="IXmlNamespaceResolver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/LineInfo.cs b/mcs/class/referencesource/System.Xml/System/Xml/LineInfo.cs index 4095a490dfb..76afcce36bd 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/LineInfo.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/LineInfo.cs @@ -2,7 +2,7 @@ // <copyright file="LineInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/MTNameTable.cs b/mcs/class/referencesource/System.Xml/System/Xml/MTNameTable.cs index fa14fbf078f..9725425f040 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/MTNameTable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/MTNameTable.cs @@ -2,7 +2,7 @@ // <copyright file="MTNameTable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ #if MTNAMETABLE @@ -387,7 +387,7 @@ namespace System.Xml { if (fLock) { LockCookie lc = rwLock.UpgradeToWriterLock(timeout); - // recheck for failsafe against -----condition + // recheck for failsafe against race-condition if (rootNode == null) { rootNode = newNode = new MTNameTableNode( ref name ); } @@ -413,7 +413,7 @@ namespace System.Xml { if (fLock) { LockCookie lc = rwLock.UpgradeToWriterLock(timeout); - // recheck for failsafe against -----condition + // recheck for failsafe against race-condition if (node.leftNode == null) { newNode = new MTNameTableNode( ref name ); node.leftNode = newNode; @@ -443,7 +443,7 @@ namespace System.Xml { if (fLock) { LockCookie lc = rwLock.UpgradeToWriterLock(timeout); - // recheck for failsafe against -----condition + // recheck for failsafe against race-condition if (node.rightNode == null) { newNode = new MTNameTableNode( ref name ); node.rightNode = newNode; @@ -479,7 +479,7 @@ namespace System.Xml { if (rwLock != null) { LockCookie lc = rwLock.UpgradeToWriterLock(timeout); - // recheck for failsafe against -----condition + // recheck for failsafe against race-condition if (node != rootNode && node.counter > threshhold && node.counter > node.parentNode.counter * 2) { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/NameTable.cs b/mcs/class/referencesource/System.Xml/System/Xml/NameTable.cs index debdacdd399..9ffc2ff5e5d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/NameTable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/NameTable.cs @@ -2,7 +2,7 @@ // <copyright file="NameTable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Ref.cs b/mcs/class/referencesource/System.Xml/System/Xml/Ref.cs index f90790b1014..8df1dc31348 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Ref.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Ref.cs @@ -2,7 +2,7 @@ // <copyright file="Ref.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Diagnostics; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlKnownDtds.cs b/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlKnownDtds.cs index a2d2e38100b..bfca0226c36 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlKnownDtds.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlKnownDtds.cs @@ -2,7 +2,7 @@ // <copyright file="XmlKnownDtds.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml.Resolvers { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolver.cs b/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolver.cs index 69f9f41d753..e3b347a5174 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolver.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolver.cs @@ -2,7 +2,7 @@ // <copyright file="XmlPreloadedResolver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.IO; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolverAsync.cs b/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolverAsync.cs index 01cde42a300..109c6e6ad6d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolverAsync.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Resolvers/XmlPreloadedResolverAsync.cs @@ -2,7 +2,7 @@ // <copyright file="XmlPreloadedResolver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.IO; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Asttree.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Asttree.cs index 48074ea4573..31facd0a744 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Asttree.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Asttree.cs @@ -2,7 +2,7 @@ // <copyright file="asttree.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/AutoValidator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/AutoValidator.cs index a18d39a6b1b..33231373d7d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/AutoValidator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/AutoValidator.cs @@ -2,7 +2,7 @@ // <copyright file="AutoValidator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/BaseProcessor.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/BaseProcessor.cs index 287f39f7a7f..e6cf4bd1ed6 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/BaseProcessor.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/BaseProcessor.cs @@ -2,7 +2,7 @@ // <copyright file="BaseProcessor.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/BaseValidator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/BaseValidator.cs index a41795d1868..7726307277a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/BaseValidator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/BaseValidator.cs @@ -2,7 +2,7 @@ // <copyright file="BaseValidator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/BitSet.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/BitSet.cs index 564c593ce4a..f8573bbcf9d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/BitSet.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/BitSet.cs @@ -2,7 +2,7 @@ // <copyright file="BitSet.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Chameleonkey.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Chameleonkey.cs index 2cf8040e573..b487289d78e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Chameleonkey.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Chameleonkey.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaExternal.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/CompiledidEntityConstraint.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/CompiledidEntityConstraint.cs index afe0acdf73e..d6bb8a5ea76 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/CompiledidEntityConstraint.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/CompiledidEntityConstraint.cs @@ -2,7 +2,7 @@ // <copyright file="CompiledIdentityConstraint.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ConstraintStruct.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ConstraintStruct.cs index 251dfb42d70..468d82b7431 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ConstraintStruct.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ConstraintStruct.cs @@ -2,7 +2,7 @@ // <copyright file="ConstraintStruct.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { @@ -386,58 +386,83 @@ namespace System.Xml.Schema { } hashcode = 0; // indicate it's changed. even the calculated hashcode below is 0 for (int i = 0; i < this.ks.Length; i ++) { - // extract its primitive value to calculate hashcode - // decimal is handled differently to enable among different CLR types - this.ks[i].SetDecimal(); - if (this.ks[i].IsDecimal) { - for (int j = 0 ; j < this.ks[i].Dim ; j ++) { - hashcode += this.ks[i].Dvalue[j].GetHashCode(); - } - } - // - else { - Array arr = this.ks[i].Value as System.Array; - if (arr != null) { - XmlAtomicValue[] atomicValues = arr as XmlAtomicValue[]; - if (atomicValues != null) { - for (int j = 0 ; j < atomicValues.Length ; j ++) { - hashcode += ((XmlAtomicValue)atomicValues.GetValue(j)).TypedValue.GetHashCode(); - } - } - else { - for (int j = 0 ; j < ((Array) this.ks[i].Value).Length ; j ++) { - hashcode += ((Array) this.ks[i].Value).GetValue(j).GetHashCode(); - } - } - } - else { //not a list - hashcode += this.ks[i].Value.GetHashCode(); - } - } + if (this.ks[i] != null) { + // extract its primitive value to calculate hashcode + // decimal is handled differently to enable among different CLR types + this.ks[i].SetDecimal(); + if (this.ks[i].IsDecimal) { + for (int j = 0 ; j < this.ks[i].Dim ; j ++) { + hashcode += this.ks[i].Dvalue[j].GetHashCode(); + } + } + // + else { + Array arr = this.ks[i].Value as System.Array; + if (arr != null) { + XmlAtomicValue[] atomicValues = arr as XmlAtomicValue[]; + if (atomicValues != null) { + for (int j = 0 ; j < atomicValues.Length ; j ++) { + hashcode += ((XmlAtomicValue)atomicValues.GetValue(j)).TypedValue.GetHashCode(); + } + } + else { + for (int j = 0 ; j < ((Array) this.ks[i].Value).Length ; j ++) { + hashcode += ((Array) this.ks[i].Value).GetValue(j).GetHashCode(); + } + } + } + else { //not a list + hashcode += this.ks[i].Value.GetHashCode(); + } + } + } } return hashcode; } // considering about derived type public override bool Equals(object other) { - // each key sequence member can have different type - KeySequence keySequence = (KeySequence)other; - for (int i = 0; i < this.ks.Length; i ++) { - if (! this.ks[i].Equals (keySequence.ks[i])) { - return false; + if (LocalAppContextSwitches.IgnoreEmptyKeySequences) { + // each key sequence member can have different type + KeySequence keySequence = (KeySequence)other; + for (int i = 0; i < this.ks.Length; i++) { + if (!this.ks[i].Equals(keySequence.ks[i])) { + return false; + } } + return true; + } + else { + // each key sequence member can have different type + KeySequence keySequence = (KeySequence)other; + for (int i = 0; i < this.ks.Length; i++) { + if (!(this.ks[i] == null && keySequence.ks[i] == null) && (this.ks[i] == null || keySequence.ks[i] == null || !this.ks[i].Equals(keySequence.ks[i]))) { + return false; + } + } + return true; } - return true; } public override string ToString() { - StringBuilder sb = new StringBuilder(); - sb.Append(this.ks[0].ToString()); - for (int i = 1; i < this.ks.Length; i ++) { - sb.Append(" "); - sb.Append(this.ks[i].ToString()); + if (LocalAppContextSwitches.IgnoreEmptyKeySequences) { + StringBuilder sb = new StringBuilder(); + sb.Append(this.ks[0].ToString()); + for (int i = 1; i < this.ks.Length; i++) { + sb.Append(" "); + sb.Append(this.ks[i].ToString()); + } + return sb.ToString(); + } + else { + StringBuilder sb = new StringBuilder(); + sb.Append(this.ks[0].ToString()); + for (int i = 1; i < this.ks.Length; i++) { + sb.Append(" "); + sb.Append(this.ks[i] == null ? "{}" : this.ks[i].ToString()); + } + return sb.ToString(); } - return sb.ToString(); } } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ContentValidator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ContentValidator.cs index fcee874bde1..a2eb25b667e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ContentValidator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ContentValidator.cs @@ -2,7 +2,7 @@ // <copyright file="ContentValidator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/DataTypeImplementation.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/DataTypeImplementation.cs index efeab36444b..2e85e186606 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/DataTypeImplementation.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/DataTypeImplementation.cs @@ -2,7 +2,7 @@ // <copyright file="DatatypeImplementation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { @@ -805,7 +805,7 @@ namespace System.Xml.Schema { return 0; } -#if PRIYAL +#if Microsoft protected object GetValueToCheck(object value, IXmlNamespaceResolver nsmgr) { object valueToCheck = value; string resId; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/DtdParser.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/DtdParser.cs index a9d85fc2028..c72fe649f08 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/DtdParser.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/DtdParser.cs @@ -3,7 +3,7 @@ // <copyright file="DtdParser.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/DtdValidator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/DtdValidator.cs index f103e3da01f..086df1b395f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/DtdValidator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/DtdValidator.cs @@ -2,7 +2,7 @@ // <copyright file="DtdValidator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/FacetChecker.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/FacetChecker.cs index 398a2aa5259..ea32d7099ff 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/FacetChecker.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/FacetChecker.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaFacet.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/IXmlSchemaInfo.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/IXmlSchemaInfo.cs index c74a811bc41..d687f8adce7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/IXmlSchemaInfo.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/IXmlSchemaInfo.cs @@ -2,7 +2,7 @@ // <copyright file="IXmlSchemaInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ using System.Xml; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Inference/Infer.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Inference/Infer.cs index 6fdbc73d6ab..49254264120 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Inference/Infer.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Inference/Infer.cs @@ -2,8 +2,8 @@ // <copyright file="Infer.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> -// <owner current="false" primary="false">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> +// <owner current="false" primary="false">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Inference/XmlSchemaInferenceException.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Inference/XmlSchemaInferenceException.cs index d41c45f148a..69a3156bffc 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Inference/XmlSchemaInferenceException.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Inference/XmlSchemaInferenceException.cs @@ -2,8 +2,8 @@ // <copyright file="XmlSchemaInferenceException.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> -// <owner current="false" primary="false">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> +// <owner current="false" primary="false">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/NamespaceList.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/NamespaceList.cs index 7cb6a8a33bb..93ecf3f6045 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/NamespaceList.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/NamespaceList.cs @@ -2,7 +2,7 @@ // <copyright file="NamespaceList.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Parser.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Parser.cs index 4f38bf400c6..e296e7446af 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Parser.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Parser.cs @@ -3,7 +3,7 @@ // <copyright file="Parser.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Preprocessor.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Preprocessor.cs index e7dd3880acb..06af064697a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/Preprocessor.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/Preprocessor.cs @@ -2,7 +2,7 @@ // <copyright file="Preprocessor.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaAttDef.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaAttDef.cs index 48becdf5bb6..0cd4d5757ad 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaAttDef.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaAttDef.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaAttDef.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaBuilder.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaBuilder.cs index 24fc603f1d0..7745ad8b9b9 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaBuilder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaBuilder.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaBuilder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionCompiler.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionCompiler.cs index 314986435ec..7dfc0226e89 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionCompiler.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionCompiler.cs @@ -2,7 +2,7 @@ // <copyright file="Compiler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { @@ -678,8 +678,8 @@ namespace System.Xml.Schema { if (baseType.ContentType == XmlSchemaContentType.TextOnly) { if (simpleRestriction.BaseType == null) { datatype = baseType.Datatype; - //There is a bug here. Need to check if simpleRestriction has facets. - //If yes, Need tp apply these facets as well. + //There is a + } else { CompileSimpleType(simpleRestriction.BaseType); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionpreProcessor.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionpreProcessor.cs index 82e40815021..f2fa40056ce 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionpreProcessor.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaCollectionpreProcessor.cs @@ -2,7 +2,7 @@ // <copyright file="Preprocessor.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaDeclBase.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaDeclBase.cs index 65c11d09ccd..22f1d1dc82f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaDeclBase.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaDeclBase.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaDeclBase.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaElementDecl.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaElementDecl.cs index 52d641f925a..345c89d131f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaElementDecl.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaElementDecl.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaElementDecl.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaEntity.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaEntity.cs index c0c96d0d9b3..f326c5bfee8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaEntity.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaEntity.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaEntity.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaInfo.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaInfo.cs index 6429bcad31a..294ef6a3525 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaInfo.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaInfo.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNames.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNames.cs index 6ca87fd757b..69b23b05edb 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNames.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNames.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaNames.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNamespacemanager.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNamespacemanager.cs index af750839a04..ee380b1c171 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNamespacemanager.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNamespacemanager.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaNamespaceManager.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNotation.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNotation.cs index 2c9604ce581..e156aa006f1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNotation.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaNotation.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaNotation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaSetCompiler.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaSetCompiler.cs index d1dc9412e2b..02ce25bc61e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaSetCompiler.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaSetCompiler.cs @@ -2,7 +2,7 @@ // <copyright file="Compiler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { @@ -591,7 +591,7 @@ namespace System.Xml.Schema { } //Now add the baseTypes that are defined inside the union itself - XmlSchemaObjectCollection mainBaseTypes = mainUnion.BaseTypes; //TODO check for null + XmlSchemaObjectCollection mainBaseTypes = mainUnion.BaseTypes; // if (mainBaseTypes != null) { for (int i = 0; i < mainBaseTypes.Count; ++i) { XmlSchemaSimpleType st = (XmlSchemaSimpleType)mainBaseTypes[i]; @@ -736,8 +736,8 @@ namespace System.Xml.Schema { if (baseType.ContentType == XmlSchemaContentType.TextOnly) { if (simpleRestriction.BaseType == null) { datatype = baseType.Datatype; - //There is a bug here. Need to check if simpleRestriction has facets. - //If yes, Need tp apply these facets as well. + //There is a + } else { CompileSimpleType(simpleRestriction.BaseType); @@ -1365,7 +1365,7 @@ namespace System.Xml.Schema { return true; } -#if PRIYAL +#if Microsoft private bool IsElementFromGroupBase(XmlSchemaElement derivedElement, XmlSchemaGroupBase baseGroupBase, bool skipEmptableOnly) { if (!IsRangeSimple(baseGroupBase.MinOccurs, baseGroupBase.MaxOccurs) || !IsRangeSimple(derivedElement.MinOccurs, derivedElement.MaxOccurs)) { return IsElementFromGroupBase(derivedElement, baseGroupBase); //SPEC COMPLIANT diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaType.cs index 439fde6203d..2cedc39cd44 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/SchemaType.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationEventArgs.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationEventArgs.cs index 8cce19ff1e3..779280b7e56 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationEventArgs.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationEventArgs.cs @@ -2,7 +2,7 @@ // <copyright file="ValidationEventArgs.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationEventHandler.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationEventHandler.cs index 560f9b96f15..531fc2b6780 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationEventHandler.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationEventHandler.cs @@ -2,7 +2,7 @@ // <copyright file="ValidationEventHandler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationState.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationState.cs index 8d60154dbd8..8efbae5e523 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationState.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/ValidationState.cs @@ -2,7 +2,7 @@ // <copyright file="validationstate.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XdrBuilder.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XdrBuilder.cs index d19527ca7bf..fb5d270570c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XdrBuilder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XdrBuilder.cs @@ -2,7 +2,7 @@ // <copyright file="XdrBuilder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XdrValidator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XdrValidator.cs index 232088c901c..1f68d23b747 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XdrValidator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XdrValidator.cs @@ -2,7 +2,7 @@ // <copyright file="XdrValidator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlAtomicValue.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlAtomicValue.cs index b5f81386b5d..20356ef46d4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlAtomicValue.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlAtomicValue.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAtomicValue.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchema.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchema.cs index 569b5bf53f8..58e4d475e4f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchema.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchema.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchema.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAll.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAll.cs index 2b84df839a5..049a900b69a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAll.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAll.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAll.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotated.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotated.cs index 48c108af70d..836e430db5b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotated.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotated.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAnnotated.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotation.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotation.cs index c3a052d0e9b..9fd7fd10fad 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotation.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnnotation.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAnnotation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAny.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAny.cs index a57e92753e9..a811ed67ead 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAny.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAny.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAny.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnyAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnyAttribute.cs index c1fc904490e..8eb31c7318e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnyAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAnyAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAnyAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAppInfo.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAppInfo.cs index c738d792ab4..aba46e610ac 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAppInfo.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAppInfo.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAppInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttribute.cs index 30eebaaac9b..4920ccbbe76 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroup.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroup.cs index f05e75f10d9..46ee40ef02a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroup.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroup.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAttributeGroup.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroupref.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroupref.cs index d42202a8fd1..b69122fe37e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroupref.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaAttributeGroupref.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaAttributeGroupRef.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaChoice.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaChoice.cs index db19ae6e296..9e4e15769c8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaChoice.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaChoice.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaChoice.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCollection.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCollection.cs index 38b1e024040..23f4a3c219d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCollection.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCollection.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaCollection.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCompilationSettings.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCompilationSettings.cs index babedcc1c1e..c0544a1627a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCompilationSettings.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaCompilationSettings.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaDerivationMethod.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContent.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContent.cs index 87560df0c53..7fd72fb3964 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContent.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContent.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaComplexContent.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentExtension.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentExtension.cs index 8404e53b5ca..ba4213a297c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentExtension.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentExtension.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaComplexContentExtension.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentRestriction.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentRestriction.cs index 522d6354430..1879a3b34f4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentRestriction.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexContentRestriction.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaComplexContentRestriction.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexType.cs index 1db07809ced..0ce2f136c9a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaComplexType.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaComplexType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContent.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContent.cs index 5f1e50f4617..7e1c5a13ca8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContent.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContent.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaContent.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentModel.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentModel.cs index b3f5e117e94..e34cd13b049 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentModel.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentModel.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaContentModel.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentProcessing.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentProcessing.cs index b948de44a13..fb360660915 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentProcessing.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentProcessing.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaContentProcessing.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentType.cs index 2b5101c9dd6..d46872b9e9e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaContentType.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaContentType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDataType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDataType.cs index 164891340ec..28bd99b2d0e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDataType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDataType.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaDatatype.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections; using System.Diagnostics; @@ -337,7 +337,7 @@ namespace System.Xml.Schema { return canonicalUri; } -#if PRIYAL +#if Microsoft private bool CanConvert(object value, System.Type inputType, System.Type defaultType, out string resId) { resId = null; decimal decimalValue; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDerivationMethod.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDerivationMethod.cs index 4915f1de506..2b28c6af49a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDerivationMethod.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDerivationMethod.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaDerivationMethod.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDocumentation.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDocumentation.cs index 8468b38d253..a3d46ffb9b4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDocumentation.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaDocumentation.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaDocumentation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaElement.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaElement.cs index fd7e91449db..52604d9313e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaElement.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaElement.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaElement.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.ComponentModel; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaException.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaException.cs index 508c058bbac..6f9aebccae7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaException.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaException.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaException.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaExternal.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaExternal.cs index 29f2d0d732a..b5e41e694c1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaExternal.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaExternal.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaExternal.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaFacet.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaFacet.cs index df6402047e8..1a54786975e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaFacet.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaFacet.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaFacet.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaForm.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaForm.cs index 4b93e020625..81292150e67 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaForm.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaForm.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaForm.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroup.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroup.cs index 0453e2f6d0d..df6049d0ce0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroup.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroup.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaGroup.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupBase.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupBase.cs index 2550f24a809..ab850613a17 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupBase.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupBase.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaGroupbase.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupRef.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupRef.cs index 8f6bfd74f6c..973cfbf60bf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupRef.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaGroupRef.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaGroupRef.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaIdEntityConstraint.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaIdEntityConstraint.cs index 94ff513cdef..768a05dfb6d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaIdEntityConstraint.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaIdEntityConstraint.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaIdentityConstraint.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaImport.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaImport.cs index 4683a0a74ea..68aa2a3febb 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaImport.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaImport.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaImport.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInclude.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInclude.cs index 143944e44b7..a7d9fc83822 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInclude.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInclude.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaInclude.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInfo.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInfo.cs index 81d503a1354..e8a764df589 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInfo.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaInfo.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Xml; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaNotation.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaNotation.cs index 38178eccd12..cc14abe77f5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaNotation.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaNotation.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaNotation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObject.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObject.cs index 7c42f39bca9..70c41758f02 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObject.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObject.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaObject.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectCollection.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectCollection.cs index a3e46ec075b..aa392aea9cb 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectCollection.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectCollection.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaObjectCollection.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectTable.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectTable.cs index 5277ce63985..ff82368dd7f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectTable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaObjectTable.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaObjectTable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaParticle.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaParticle.cs index 7ed178dbe3f..4317b730247 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaParticle.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaParticle.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaParticle.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaRedefine.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaRedefine.cs index baa659da8f4..1eb572a43bd 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaRedefine.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaRedefine.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaRedefine.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSequence.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSequence.cs index 9ea17ae0942..73a32972555 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSequence.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSequence.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSequence.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSet.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSet.cs index ab9d27e27b7..bffc4b7cf5c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSet.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSet.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSet.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Diagnostics; using System.Collections; @@ -598,11 +598,11 @@ namespace System.Xml.Schema { /// <para>[To be supplied.]</para> /// </devdoc> public XmlSchema Reprocess(XmlSchema schema) { - // Due to bug 644477 - this method is tightly coupled (THE CODE IS BASICALLY COPIED) to Remove, Add and AddSchemaToSet - // methods. If you change anything here *make sure* to update Remove/Add/AddSchemaToSet method(s) accordingly. - // The only difference is that we don't touch .schemas collection here to not break a code like this: - // foreach(XmlSchema s in schemaset.schemas) { schemaset.Reprocess(s); } - // This is by purpose. + // Due to + + + + if (schema == null) { throw new ArgumentNullException("schema"); } @@ -718,8 +718,8 @@ namespace System.Xml.Schema { //Internal Methods private XmlSchema Add(string targetNamespace, XmlSchema schema) { - // Due to bug 644477 - this method is tightly coupled (THE CODE IS BASICALLY COPIED) to Reprocess - // method. If you change anything here *make sure* to update Reprocess method accordingly. + // Due to + if (schema == null || schema.ErrorCount != 0) { //Schema with parsing errors cannot be loaded return null; @@ -908,8 +908,8 @@ namespace System.Xml.Schema { } private void AddSchemaToSet(XmlSchema schema) { - // Due to bug 644477 - this method is tightly coupled (THE CODE IS BASICALLY COPIED) to Reprocess - // method. If you change anything here *make sure* to update Reprocess method accordingly. + // Due to + schemas.Add(schema.SchemaId, schema); //Add to targetNamespaces table @@ -998,8 +998,8 @@ namespace System.Xml.Schema { } internal XmlSchema Remove(XmlSchema schema, bool forceCompile) { - // Due to bug 644477 - this method is tightly coupled (THE CODE IS BASICALLY COPIED) to Reprocess - // method. If you change anything here *make sure* to update Reprocess method accordingly. + // Due to + if (schema == null) { throw new ArgumentNullException("schema"); } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContent.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContent.cs index 72b8e838caf..09e12ca1d75 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContent.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContent.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSimpleContent.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentExtension.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentExtension.cs index bd843c6000e..518fc1a80bc 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentExtension.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentExtension.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSimpleContentExtension.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentRestriction.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentRestriction.cs index 44ba849574d..6d5572294ba 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentRestriction.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleContentRestriction.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSimpleContentRestriction.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleType.cs index fc2d9a63660..7c5f4e01c9c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleType.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSimpleType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeContent.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeContent.cs index 515230f7e38..1bd1b920d29 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeContent.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeContent.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSimpleTypeContent.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeList.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeList.cs index b61ad2ced9f..e4c1d46e3fd 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeList.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeList.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSimpleTypeList.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeRestriction.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeRestriction.cs index 00a50e25d25..ed297392f4c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeRestriction.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeRestriction.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSimpleTypeRestriction.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeUnion.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeUnion.cs index 7b0f5d209c1..b79aa843e8f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeUnion.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSimpleTypeUnion.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSimpleTypeUnion.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSubstitutionGroup.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSubstitutionGroup.cs index 57c12831054..8a9a38a1f63 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSubstitutionGroup.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaSubstitutionGroup.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSubstitutionGroup.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaType.cs index 033fa6c43a3..03330c7440b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaType.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaUse.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaUse.cs index 35e1c5d26ee..5daf316edfa 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaUse.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaUse.cs @@ -2,14 +2,14 @@ // <copyright file="XmlSchemaUse.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { using System.Xml.Serialization; - //[....]: if change the enum, have to change xsdbuilder as well. + //nzeng: if change the enum, have to change xsdbuilder as well. /// <include file='doc\XmlSchemaUse.uex' path='docs/doc[@for="XmlSchemaUse"]/*' /> /// <devdoc> /// <para>[To be supplied.]</para> diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidationException.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidationException.cs index 7f6719ef19b..855c9e0cb04 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidationException.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidationException.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaValidationException.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidator.cs index 566c416dc80..05b3b5784a1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidator.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaValidator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; @@ -2006,8 +2006,10 @@ namespace System.Xml.Schema { break; case CompiledIdentityConstraint.ConstraintRole.Unique: - if (! ks.IsQualified()) { - continue; + if (LocalAppContextSwitches.IgnoreEmptyKeySequences) { + if (!ks.IsQualified()) { + continue; + } } if (constraints[i].qualifiedTable.Contains (ks)) { // unique or key checking confliction diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidity.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidity.cs index 028b0fdb5d3..e1b606255a4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidity.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSchemaValidity.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaValidity.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSeverityType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSeverityType.cs index e6ad37909d4..b5c1e212b84 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSeverityType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlSeverityType.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSeverityType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlTokenizedType.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlTokenizedType.cs index 97e1d4aea76..d5ba4009315 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlTokenizedType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlTokenizedType.cs @@ -2,13 +2,13 @@ // <copyright file="XmlTokenizedType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml { - // NOTE: Absolute numbering is utilized in DtdParser. -[....] + // NOTE: Absolute numbering is utilized in DtdParser. -HelenaK public enum XmlTokenizedType { CDATA = 0, ID = 1, diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlTypeCode.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlTypeCode.cs index e0eb0a13d42..6da8ed63f07 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlTypeCode.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlTypeCode.cs @@ -2,7 +2,7 @@ // <copyright file="XmlTypeCode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">priyal</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlValueConverter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlValueConverter.cs index 02ccfd06efd..10742ccec7a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlValueConverter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XmlValueConverter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlValueConverter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Xml; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdBuilder.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdBuilder.cs index 21c0ddc0ef2..1b003a79e6c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdBuilder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdBuilder.cs @@ -2,7 +2,7 @@ // <copyright file="XsdBuilder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdDateTime.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdDateTime.cs index 41b2d722397..923651d28f1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdDateTime.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdDateTime.cs @@ -2,7 +2,7 @@ // <copyright file="XsdDuration.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdDuration.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdDuration.cs index cd8d5636463..8efe7a1fb04 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdDuration.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdDuration.cs @@ -2,7 +2,7 @@ // <copyright file="XsdDuration.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdValidator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdValidator.cs index 32f4e92753b..eeed4aecae0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdValidator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Schema/XsdValidator.cs @@ -2,7 +2,7 @@ // <copyright file="XsdValidator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Schema { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Advanced/SchemaImporterExtension.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Advanced/SchemaImporterExtension.cs index 405b942ee9a..c619b6c7a35 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Advanced/SchemaImporterExtension.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Advanced/SchemaImporterExtension.cs @@ -2,7 +2,7 @@ // <copyright file="IXmlSerializable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization.Advanced { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeExporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeExporter.cs index c8008dda704..4b1cfbc7ec0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeExporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeExporter.cs @@ -2,7 +2,7 @@ // <copyright file="CodeExporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { @@ -158,6 +158,7 @@ namespace System.Xml.Serialization { internal abstract void EnsureTypesExported(Accessor[] accessors, string ns); internal static void AddWarningComment(CodeCommentStatementCollection comments, string text) { + Debug.Assert(comments != null); comments.Add(new CodeCommentStatement(Res.GetString(Res.XmlCodegenWarningDetails, text), false)); } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeGenerationoptions.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeGenerationoptions.cs index 6e61dd01c00..37cbb44fb37 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeGenerationoptions.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeGenerationoptions.cs @@ -2,7 +2,7 @@ // <copyright file="CodeGenerationOptions.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">ElenaK</owner> //------------------------------------------------------------------------------ diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeGenerator.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeGenerator.cs index 3f933eebef6..a01f38828d5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeGenerator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeGenerator.cs @@ -2,7 +2,7 @@ // <copyright file="CodeGenerator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifier.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifier.cs index 324f1af2129..c0dea737d73 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifier.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifier.cs @@ -2,7 +2,7 @@ // <copyright file="CodeIdentifier.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifiers.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifiers.cs index 1213c82f2b3..33c37fb941c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifiers.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/CodeIdentifiers.cs @@ -2,7 +2,7 @@ // <copyright file="CodeIdentifiers.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Compilation.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Compilation.cs index 8ca9ba646d1..b34385a1dff 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Compilation.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Compilation.cs @@ -2,7 +2,7 @@ // <copyright file="Compilation.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Compiler.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Compiler.cs index a415250e5f2..1cd1c6499b4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Compiler.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Compiler.cs @@ -2,7 +2,7 @@ // <copyright file="Compiler.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/ConfigurationStrings.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/ConfigurationStrings.cs index 76688cdf0d5..34b7f45b42f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/ConfigurationStrings.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/ConfigurationStrings.cs @@ -2,7 +2,7 @@ // <copyright file="ConfigurationStrings.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization.Configuration { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/DateTimeSerializationSection.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/DateTimeSerializationSection.cs index 88518da10ee..05f3d9bfcb3 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/DateTimeSerializationSection.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/DateTimeSerializationSection.cs @@ -2,7 +2,7 @@ // <copyright file="DateTimeSerializationSection.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ #if CONFIGURATION_DEP namespace System.Xml.Serialization.Configuration diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionElement.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionElement.cs index 1d0e2f2b296..8a5c5b1dd1b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionElement.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionElement.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaImporterExtensionElement.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ #if CONFIGURATION_DEP namespace System.Xml.Serialization.Configuration diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionElementCollection.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionElementCollection.cs index 1bfc52aadbf..c7eeb00c76f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionElementCollection.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionElementCollection.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaImporterExtensionElementCollection.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ #if CONFIGURATION_DEP namespace System.Xml.Serialization.Configuration diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionsSection.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionsSection.cs index c8aad1da1f5..924ef8c6deb 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionsSection.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SchemaImporterExtensionsSection.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaImporterExtensionsSection.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ #if CONFIGURATION_DEP namespace System.Xml.Serialization.Configuration diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SerializationSectionGroup.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SerializationSectionGroup.cs index cd4a4d9ba1e..8dd0bc90735 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SerializationSectionGroup.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Configuration/SerializationSectionGroup.cs @@ -2,7 +2,7 @@ // <copyright file="SerializationSectionGroup.cs" company="Microsoft Corporation"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ #if CONFIGURATION_DEP namespace System.Xml.Serialization.Configuration diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/IXmlSerializable.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/IXmlSerializable.cs index aa6581fecd5..d0dad7ed744 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/IXmlSerializable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/IXmlSerializable.cs @@ -2,7 +2,7 @@ // <copyright file="IXmlSerializable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">ElenaK</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/IXmlTextParser.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/IXmlTextParser.cs index e9acdbaf203..e2b2f8fb31e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/IXmlTextParser.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/IXmlTextParser.cs @@ -2,7 +2,7 @@ // <copyright file="SafeWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">ElenaK</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/ImportContext.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/ImportContext.cs index b4691e75a0f..3e32d3119cf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/ImportContext.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/ImportContext.cs @@ -2,7 +2,7 @@ // <copyright file="ImportContext.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Mappings.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Mappings.cs index b1143fdd1a0..b8be09a3a88 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Mappings.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Mappings.cs @@ -2,7 +2,7 @@ // <copyright file="Mappings.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Models.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Models.cs index a555726ea07..adeb663175a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Models.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Models.cs @@ -2,7 +2,7 @@ // <copyright file="Models.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/NameTable.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/NameTable.cs index eb9a3973a10..9df48e3668e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/NameTable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/NameTable.cs @@ -2,7 +2,7 @@ // <copyright file="NameTable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/PrimitiveXmlSerializers.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/PrimitiveXmlSerializers.cs index 5915f59b108..d2df57b8168 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/PrimitiveXmlSerializers.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/PrimitiveXmlSerializers.cs @@ -2,7 +2,7 @@ // <copyright file="PrimitiveXmlSerializers.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SchemaImporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SchemaImporter.cs index 07de77756f9..236f74f199c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SchemaImporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SchemaImporter.cs @@ -2,7 +2,7 @@ // <copyright file="SchemaImporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SchemaObjectWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SchemaObjectWriter.cs index 0c356f8b492..c3cdc3dfa4e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SchemaObjectWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SchemaObjectWriter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaSerializer.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributeAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributeAttribute.cs index c67b07494d3..b7d0b0173fc 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributeAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributeAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="SoapAttributeAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributeOverrides.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributeOverrides.cs index 70e4578fd66..973efa75f96 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributeOverrides.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributeOverrides.cs @@ -2,7 +2,7 @@ // <copyright file="SoapAttributeOverrides.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributes.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributes.cs index 7e51c2ae249..1351c4f2411 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributes.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapAttributes.cs @@ -2,7 +2,7 @@ // <copyright file="SoapAttributes.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapCodeExporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapCodeExporter.cs index f7b9ed8785e..0f690389170 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapCodeExporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapCodeExporter.cs @@ -2,7 +2,7 @@ // <copyright file="SoapCodeExporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapElementAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapElementAttribute.cs index b30a00770cc..d1efc68ccf6 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapElementAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapElementAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="SoapElementAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapEnumAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapEnumAttribute.cs index 28af677d6d0..badd54f86c9 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapEnumAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapEnumAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="SoapEnumAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapIgnoreAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapIgnoreAttribute.cs index fbd44f76885..d4b6f158a4f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapIgnoreAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapIgnoreAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="SoapIgnoreAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapIncludeAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapIncludeAttribute.cs index 5c406d7f558..b94e97973a7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapIncludeAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapIncludeAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="SoapIncludeAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapReflectionImporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapReflectionImporter.cs index 5c7fdae0cfb..89159cfe0e1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapReflectionImporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapReflectionImporter.cs @@ -2,7 +2,7 @@ // <copyright file="SoapReflectionImporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemaExporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemaExporter.cs index 17d6dfd5778..aaf94a6442a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemaExporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemaExporter.cs @@ -2,7 +2,7 @@ // <copyright file="SoapSchemaExporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemaImporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemaImporter.cs index 65a6e2a38ca..f36606e7bc3 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemaImporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemaImporter.cs @@ -2,7 +2,7 @@ // <copyright file="SoapSchemaImporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemamember.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemamember.cs index 09f0e10d724..eb710ad171d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemamember.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapSchemamember.cs @@ -2,7 +2,7 @@ // <copyright file="SoapSchemaMember.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapTypeAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapTypeAttribute.cs index 450f4ce5aac..51b16412cfb 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapTypeAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SoapTypeAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="SoapTypeAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SourceInfo.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SourceInfo.cs index 1663c89a9ab..b0337dfe8c0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SourceInfo.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/SourceInfo.cs @@ -2,7 +2,7 @@ // <copyright file="SourceInfo.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Types.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Types.cs index f924a4374a5..103b424f9fd 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Types.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Types.cs @@ -2,7 +2,7 @@ // <copyright file="Types.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { @@ -476,7 +476,7 @@ namespace System.Xml.Serialization { AddPrimitive(typeof(byte[]), "base64Binary", "ByteArrayBase64", TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference | TypeFlags.IgnoreDefault | TypeFlags.XmlEncodingNotRequired | TypeFlags.HasDefaultConstructor); AddPrimitive(typeof(byte[]), "hexBinary", "ByteArrayHex", TypeFlags.AmbiguousDataType | TypeFlags.CanBeAttributeValue | TypeFlags.CanBeElementValue | TypeFlags.HasCustomFormatter | TypeFlags.Reference | TypeFlags.IgnoreDefault | TypeFlags.XmlEncodingNotRequired | TypeFlags.HasDefaultConstructor); - // NOTE, [....]: byte[] can also be used to mean array of bytes. That datatype is not a primitive, so we + // NOTE, Microsoft: byte[] can also be used to mean array of bytes. That datatype is not a primitive, so we // can't use the AmbiguousDataType mechanism. To get an array of bytes in literal XML, apply [XmlArray] or // [XmlArrayItem]. diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyAttributeAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyAttributeAttribute.cs index 87a78f38d64..aee71d513bf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyAttributeAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyAttributeAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAnyAttributeAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyElementAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyElementAttribute.cs index d83ce1e407c..d9479840f30 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyElementAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyElementAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAnyElementAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyElementAttributes.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyElementAttributes.cs index 898934b9005..58a9fc1cc96 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyElementAttributes.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAnyElementAttributes.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAnyElementAttributes.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayAttribute.cs index 6011b322f6c..f2f777ba416 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlArrayAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayItemAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayItemAttribute.cs index a476a7edaca..e652fb697cd 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayItemAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayItemAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlArrayItemAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayItemAttributes.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayItemAttributes.cs index b5fbde2b9ff..fb335d877b4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayItemAttributes.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlArrayItemAttributes.cs @@ -2,7 +2,7 @@ // <copyright file="XmlArrayItemAttributes.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributeAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributeAttribute.cs index 07751a9b3b5..f7d59c32f0f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributeAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributeAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAttributeAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributeOverrides.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributeOverrides.cs index af725a3320d..bdb8893ecf6 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributeOverrides.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributeOverrides.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAttributeOverrides.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributes.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributes.cs index 58437dabae8..31bb36612ed 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributes.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlAttributes.cs @@ -2,7 +2,7 @@ // <copyright file="XmlAttributes.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlChoiceIdentifierAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlChoiceIdentifierAttribute.cs index c30af562a27..021d99d07b1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlChoiceIdentifierAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlChoiceIdentifierAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlChoiceIdentifierAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlCodeExporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlCodeExporter.cs index 0c6eed03907..bb8d1e1771c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlCodeExporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlCodeExporter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlCodeExporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { @@ -414,8 +414,10 @@ namespace System.Xml.Serialization { } if (value == null) return; if (!(mapping is PrimitiveMapping)) { - DropDefaultAttribute(accessor, comments, memberTypeDesc.FullName); - AddWarningComment(comments, Res.GetString(Res.XmlDropNonPrimitiveAttributeValue, attributeName, defaultValue.ToString())); + if (comments != null) { + DropDefaultAttribute(accessor, comments, memberTypeDesc.FullName); + AddWarningComment(comments, Res.GetString(Res.XmlDropNonPrimitiveAttributeValue, attributeName, defaultValue.ToString())); + } return; } PrimitiveMapping pm = (PrimitiveMapping)mapping; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlElementAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlElementAttribute.cs index cb302c652ce..bbe4dea2037 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlElementAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlElementAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlElementAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlElementAttributes.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlElementAttributes.cs index a94e8215b17..d868493f227 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlElementAttributes.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlElementAttributes.cs @@ -2,7 +2,7 @@ // <copyright file="XmlElementAttributes.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlEnumAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlEnumAttribute.cs index 3c658f592c4..969830dc0f7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlEnumAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlEnumAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlEnumAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlIgnoreAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlIgnoreAttribute.cs index 1205bb29f9f..3aafd13b76d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlIgnoreAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlIgnoreAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlIgnoreAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlIncludeAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlIncludeAttribute.cs index 54034c8e1b1..7616791ae34 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlIncludeAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlIncludeAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlIncludeAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMapping.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMapping.cs index 6158e7773d9..33efdae68e7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMapping.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMapping.cs @@ -2,7 +2,7 @@ // <copyright file="XmlMapping.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMemberMapping.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMemberMapping.cs index 1636b004ab6..ee5af6c4d29 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMemberMapping.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMemberMapping.cs @@ -2,7 +2,7 @@ // <copyright file="XmlMemberMapping.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMembersMapping.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMembersMapping.cs index cfda2925269..75331e3de27 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMembersMapping.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlMembersMapping.cs @@ -2,7 +2,7 @@ // <copyright file="XmlMembersMapping.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlNamespaceDeclarationsAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlNamespaceDeclarationsAttribute.cs index efe61e28415..ff139a06888 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlNamespaceDeclarationsAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlNamespaceDeclarationsAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNamespaceDeclarationsAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlReflectionImporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlReflectionImporter.cs index 67ee9bc5426..67901745399 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlReflectionImporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlReflectionImporter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlReflectionImporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlReflectionMember.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlReflectionMember.cs index 2c9c0699d61..d3f36fe9293 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlReflectionMember.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlReflectionMember.cs @@ -2,7 +2,7 @@ // <copyright file="XmlReflectionMember.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlRootAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlRootAttribute.cs index fd00efa5441..62253930333 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlRootAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlRootAttribute.cs @@ -3,7 +3,7 @@ // <copyright file="XmlRootAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaExporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaExporter.cs index 8c0704b15a2..d8e6e131852 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaExporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaExporter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaExporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaImporter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaImporter.cs index 2f4309b4f24..1f7aa1d1a10 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaImporter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaImporter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemaImporter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaProviderAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaProviderAttribute.cs index ccdeec6bb4d..27c46a66269 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaProviderAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemaProviderAttribute.cs @@ -3,7 +3,7 @@ // <copyright file="XmlSchemaProviderAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemas.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemas.cs index eef8682e727..1e3e27f8ea8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemas.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSchemas.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSchemas.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationGeneratedCode.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationGeneratedCode.cs index a46500689de..d3f83800163 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationGeneratedCode.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationGeneratedCode.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializationGeneratedCode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationILGen.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationILGen.cs index 564d888ef91..3460db55baf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationILGen.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationILGen.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializationILGen.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationReader.cs index b6800a7f4e6..5a3d21642d4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationReader.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializationReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { @@ -4185,7 +4185,7 @@ namespace System.Xml.Serialization { memberMapping.TypeDesc = arrayMapping.TypeDesc; memberMapping.ReadOnly = readOnly; Member member = new Member(this, source, arrayName, 0, memberMapping, false); - member.IsNullable = false;//Note, [....]: IsNullable is set to false since null condition (xsi:nil) is already handled by 'ReadNull()' + member.IsNullable = false;//Note, Microsoft: IsNullable is set to false since null condition (xsi:nil) is already handled by 'ReadNull()' Member[] members = new Member[] { member }; WriteMemberBegin(members); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationReaderILGen.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationReaderILGen.cs index e7f2c1bef49..6ba4b2d7fb5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationReaderILGen.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationReaderILGen.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializationReaderILGen.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { @@ -2881,7 +2881,7 @@ namespace System.Xml.Serialization { memberMapping.MemberInfo = memberInfos[source.Substring(3)]; } Member member = new Member(this, source, arrayName, elementIndex, memberMapping, false); - member.IsNullable = false;//Note, [....]: IsNullable is set to false since null condition (xsi:nil) is already handled by 'ReadNull()' + member.IsNullable = false;//Note, Microsoft: IsNullable is set to false since null condition (xsi:nil) is already handled by 'ReadNull()' Member[] members = new Member[] { member }; WriteMemberBegin(members); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationWriter.cs index 69bbbd40862..d15b2bf9bf5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationWriter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializationWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { @@ -3627,7 +3627,7 @@ namespace System.Xml.Serialization { return "(("+typeDesc.CSharpName+")"+obj+").@"+memberName; } //throw GetReflectionVariableException(saveTypeDesc.CSharpName,memberName); - // NOTE, [....]:Must never happen. If it does let the code + // NOTE, Microsoft:Must never happen. If it does let the code // gen continue to help debugging what's gone wrong. // Eventually the compilation will fail. return "["+obj+"]"; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationWriterILGen.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationWriterILGen.cs index 0884a6c7b5d..05e529ea2cc 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationWriterILGen.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializationWriterILGen.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializationWriterILGen.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializer.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializer.cs index 9600e7603b2..eb11fe3b372 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializer.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializer.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializer.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerAssemblyAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerAssemblyAttribute.cs index 677f7a15fae..d8b1a898d02 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerAssemblyAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerAssemblyAttribute.cs @@ -3,7 +3,7 @@ // <copyright file="XmlSerializerAssemblyAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerFactory.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerFactory.cs index 9163984f441..a4bf3a0a940 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerFactory.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerFactory.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializer.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerNamespaces.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerNamespaces.cs index de689d2a564..ce3b533dcfc 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerNamespaces.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerNamespaces.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSerializerNamespaces.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerVersionAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerVersionAttribute.cs index 4b5d05ee5c8..be04e89919e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerVersionAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlSerializerVersionAttribute.cs @@ -3,7 +3,7 @@ // <copyright file="XmlSerializerVersionAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTextAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTextAttribute.cs index 0d793ef7b6f..45fc96f741e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTextAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTextAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlTextAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTypeAttribute.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTypeAttribute.cs index 63619468773..59a472331b8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTypeAttribute.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTypeAttribute.cs @@ -2,7 +2,7 @@ // <copyright file="XmlTypeAttribute.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTypeMapping.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTypeMapping.cs index 4466a51600d..c8240f3a0b2 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTypeMapping.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/XmlTypeMapping.cs @@ -2,7 +2,7 @@ // <copyright file="XmlTypeMapping.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Xmlcustomformatter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Xmlcustomformatter.cs index d186daa2aa5..6708ebeee9d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Xmlcustomformatter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/Xmlcustomformatter.cs @@ -2,7 +2,7 @@ // <copyright file="XmlCustomFormatter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/_Events.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/_Events.cs index 491828807d0..ec9b3e78207 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/_Events.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/_Events.cs @@ -2,7 +2,7 @@ // <copyright file="_Events.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/indentedWriter.cs b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/indentedWriter.cs index 22dac15fdda..5c6867eafbe 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Serialization/indentedWriter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Serialization/indentedWriter.cs @@ -2,7 +2,7 @@ // <copyright file="IndentedWriter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Serialization { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/ValidateNames.cs b/mcs/class/referencesource/System.Xml/System/Xml/ValidateNames.cs index 34bc7327952..bf034e162b4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/ValidateNames.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/ValidateNames.cs @@ -2,7 +2,7 @@ // <copyright file="ValidateNames.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/IXPathNavigable.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/IXPathNavigable.cs index 85f0b8d444c..c0073517ebd 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/IXPathNavigable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/IXPathNavigable.cs @@ -2,7 +2,7 @@ // <copyright file="IXPathNavigable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">sdub</owner> //------------------------------------------------------------------------------ namespace System.Xml.XPath { @@ -11,4 +11,4 @@ namespace System.Xml.XPath { public interface IXPathNavigable { XPathNavigator CreateNavigator(); } -} +}
\ No newline at end of file diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AbsoluteQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AbsoluteQuery.cs index 7c126900c12..1dc479fe504 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AbsoluteQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AbsoluteQuery.cs @@ -2,7 +2,7 @@ // <copyright file="AbsoluteQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AstNode.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AstNode.cs index fab712c28dc..013253be04a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AstNode.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AstNode.cs @@ -2,7 +2,7 @@ // <copyright file="AstNode.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">sdub</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AttributeQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AttributeQuery.cs index 93be0280437..052dfbc453e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AttributeQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/AttributeQuery.cs @@ -2,7 +2,7 @@ // <copyright file="AttributeQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Axis.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Axis.cs index 658c08c7b1e..c64fb4307cf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Axis.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Axis.cs @@ -2,7 +2,7 @@ // <copyright file="Axis.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BaseAxisQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BaseAxisQuery.cs index 83170d035d3..91c37b719a8 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BaseAxisQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BaseAxisQuery.cs @@ -2,7 +2,7 @@ // <copyright file="baseaxisquery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanExpr.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanExpr.cs index a8af11f65c3..fb3b9f7be91 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanExpr.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanExpr.cs @@ -2,7 +2,7 @@ // <copyright file="BooleanExpr.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanFunctions.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanFunctions.cs index 4fa3553f230..b18ef609c91 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanFunctions.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/BooleanFunctions.cs @@ -2,7 +2,7 @@ // <copyright file="BooleanFunctions.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheAxisQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheAxisQuery.cs index 47dd13ee645..4a264f4e706 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheAxisQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheAxisQuery.cs @@ -2,7 +2,7 @@ // <copyright file="CacheAxisQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheChildrenQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheChildrenQuery.cs index 53954396cb8..3ad2a6fb2b7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheChildrenQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheChildrenQuery.cs @@ -2,7 +2,7 @@ // <copyright file="CacheChildrenQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheOutputQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheOutputQuery.cs index 492358dbcef..e6331502c17 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheOutputQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CacheOutputQuery.cs @@ -2,7 +2,7 @@ // <copyright file="CacheOutputQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ChildrenQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ChildrenQuery.cs index a088816ba7a..7784a5ff4b2 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ChildrenQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ChildrenQuery.cs @@ -2,7 +2,7 @@ // <copyright file="ChildrenQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ClonableStack.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ClonableStack.cs index b2bc1773586..6181cd0d52c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ClonableStack.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ClonableStack.cs @@ -2,7 +2,7 @@ // <copyright file="ClonableStack.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CompiledXPathExpr.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CompiledXPathExpr.cs index f5fd3854859..0f87cd36796 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CompiledXPathExpr.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/CompiledXPathExpr.cs @@ -2,7 +2,7 @@ // <copyright file="CompiledXpathExpr.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ContextQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ContextQuery.cs index 98ccd0e783a..56d4661d77a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ContextQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ContextQuery.cs @@ -2,7 +2,7 @@ // <copyright file="ContextQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantBaseQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantBaseQuery.cs index b05f45174e7..3fa58383c38 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantBaseQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantBaseQuery.cs @@ -2,7 +2,7 @@ // <copyright file="DescendantQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantQuery.cs index 30920469762..317e0da51a3 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantQuery.cs @@ -2,7 +2,7 @@ // <copyright file="DescendantQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantoverDescendantQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantoverDescendantQuery.cs index 140f6afe046..4cc0776e065 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantoverDescendantQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DescendantoverDescendantQuery.cs @@ -2,7 +2,7 @@ // <copyright file="DescendantOverDescendantQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DocumentorderQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DocumentorderQuery.cs index 9f38f0c7f35..0093670b3ec 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DocumentorderQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/DocumentorderQuery.cs @@ -2,7 +2,7 @@ // <copyright file="DocumentOrderQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/EmptyQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/EmptyQuery.cs index 141206b5a78..4469a732c33 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/EmptyQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/EmptyQuery.cs @@ -2,7 +2,7 @@ // <copyright file="EmptyQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ExtensionQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ExtensionQuery.cs index 6069968f22a..219afd68e64 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ExtensionQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ExtensionQuery.cs @@ -2,7 +2,7 @@ // <copyright file="ExtensionQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Filter.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Filter.cs index 4dd89f4891f..b30bce34c1e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Filter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Filter.cs @@ -2,7 +2,7 @@ // <copyright file="Filter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FilterQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FilterQuery.cs index 257d441e259..04b9e742746 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FilterQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FilterQuery.cs @@ -2,7 +2,7 @@ // <copyright file="FilterQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingQuery.cs index f6e8379884b..38235ba79c0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingQuery.cs @@ -2,7 +2,7 @@ // <copyright file="followingquery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingSibling.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingSibling.cs index a50814efff8..c26df84de05 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingSibling.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FollowingSibling.cs @@ -2,7 +2,7 @@ // <copyright file="followingsibling.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ForwardPositionQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ForwardPositionQuery.cs index eef25bcce75..34f5664b654 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ForwardPositionQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ForwardPositionQuery.cs @@ -2,7 +2,7 @@ // <copyright file="ForwardPositionQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Function.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Function.cs index 1233c723594..027bc49f215 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Function.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Function.cs @@ -2,7 +2,7 @@ // <copyright file="Function.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FunctionQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FunctionQuery.cs index 26fc0f7e020..0a94d6efe19 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FunctionQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/FunctionQuery.cs @@ -2,7 +2,7 @@ // <copyright file="FunctionQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { @@ -62,7 +62,7 @@ namespace MS.Internal.Xml.XPath { object[] argVals = new object[args.Count]; for (int i = 0; i < args.Count; i ++) { argVals[i] = args[i].Evaluate(nodeIterator); - if (argVals[i] is XPathNodeIterator) {// ForBack Compat. To protect our queries from users. bug#372077 & 20006123 + if (argVals[i] is XPathNodeIterator) {// ForBack Compat. To protect our queries from users. argVals[i] = new XPathSelectionIterator(nodeIterator.Current, args[i]); } } diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Group.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Group.cs index 454ffb263f4..578826b68e6 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Group.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Group.cs @@ -2,7 +2,7 @@ // <copyright file="Group.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/GroupQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/GroupQuery.cs index 597f939662f..087d3bafa45 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/GroupQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/GroupQuery.cs @@ -2,7 +2,7 @@ // <copyright file="GroupQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/IdQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/IdQuery.cs index 5a6e292fd70..9f4c1589d74 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/IdQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/IdQuery.cs @@ -2,7 +2,7 @@ // <copyright file="IDQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/IteratorFilter.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/IteratorFilter.cs index e0718275e44..09279e23933 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/IteratorFilter.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/IteratorFilter.cs @@ -2,7 +2,7 @@ // <copyright file="IteratorFilter.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/LogicalExpr.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/LogicalExpr.cs index 8a59b0566c3..a0438225c6e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/LogicalExpr.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/LogicalExpr.cs @@ -2,7 +2,7 @@ // <copyright file="LogicalExpr.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/MergeFilterQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/MergeFilterQuery.cs index 0b354f536aa..7412739210e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/MergeFilterQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/MergeFilterQuery.cs @@ -2,7 +2,7 @@ // <copyright file="MergeFilterQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NamespaceQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NamespaceQuery.cs index 36fd3fc1e1d..f3ad0049873 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NamespaceQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NamespaceQuery.cs @@ -2,7 +2,7 @@ // <copyright file="NamespaceQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NodeFunctions.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NodeFunctions.cs index e7607376bc4..cf9566dfd5f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NodeFunctions.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NodeFunctions.cs @@ -2,7 +2,7 @@ // <copyright file="NodeFunctions.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NumberFunctions.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NumberFunctions.cs index b824bca297d..72c11f9176d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NumberFunctions.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NumberFunctions.cs @@ -2,7 +2,7 @@ // <copyright file="NumberFunctions.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NumericExpr.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NumericExpr.cs index ee2878f7745..4a2fd0da6d4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NumericExpr.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/NumericExpr.cs @@ -2,7 +2,7 @@ // <copyright file="NumericExpr.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Operand.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Operand.cs index 6240de8ab7d..aebbd8ef7a2 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Operand.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Operand.cs @@ -2,7 +2,7 @@ // <copyright file="Operand.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/OperandQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/OperandQuery.cs index 6cf3e30d87a..b88525410a0 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/OperandQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/OperandQuery.cs @@ -2,7 +2,7 @@ // <copyright file="OperandQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Operator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Operator.cs index c4d7481fc74..9739fb12758 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Operator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Operator.cs @@ -2,7 +2,7 @@ // <copyright file="Operator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ParentQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ParentQuery.cs index 8a0a6deba7a..b755fa5352d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ParentQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ParentQuery.cs @@ -2,7 +2,7 @@ // <copyright file="ParentQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingQuery.cs index d56cac2bf02..bc925cc1c6b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingQuery.cs @@ -2,7 +2,7 @@ // <copyright file="precedingquery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingSibling.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingSibling.cs index 75399c76a70..f690049c7dd 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingSibling.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/PrecedingSibling.cs @@ -2,7 +2,7 @@ // <copyright file="precedingsibling.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Query.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Query.cs index e2fa1daf90a..a70822ac732 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Query.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Query.cs @@ -2,7 +2,7 @@ // <copyright file="Query.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { @@ -73,7 +73,6 @@ namespace MS.Internal.Xml.XPath { public virtual QueryProps Properties { get { return QueryProps.Merge; } } // ----------------- Helper methods ------------- - [System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline across NGen image boundaries")] public static Query Clone(Query input) { if (input != null) { return (Query)input.Clone(); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/QueryBuilder.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/QueryBuilder.cs index 19a56067a58..580491f0f49 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/QueryBuilder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/QueryBuilder.cs @@ -2,7 +2,7 @@ // <copyright file="querybuilder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ResetableIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ResetableIterator.cs index 9943abe24df..e48a28e36fa 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ResetableIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ResetableIterator.cs @@ -2,7 +2,7 @@ // <copyright file="ResetableIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ReversePositionQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ReversePositionQuery.cs index 406ed7e5b46..35bd8eff288 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ReversePositionQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ReversePositionQuery.cs @@ -2,7 +2,7 @@ // <copyright file="ReversePositionQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Root.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Root.cs index fbfee264668..ad0fa9c9186 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Root.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Root.cs @@ -2,7 +2,7 @@ // <copyright file="Root.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/SortQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/SortQuery.cs index 47e28a29143..4be9a067e2e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/SortQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/SortQuery.cs @@ -2,7 +2,7 @@ // <copyright file="SortQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/StringFunctions.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/StringFunctions.cs index 1d545b5e563..8b477ecf78f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/StringFunctions.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/StringFunctions.cs @@ -2,7 +2,7 @@ // <copyright file="StringFunctions.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/UnionExpr.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/UnionExpr.cs index 79e24be6b05..b14786fc632 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/UnionExpr.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/UnionExpr.cs @@ -2,7 +2,7 @@ // <copyright file="UnionExpr.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ValueQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ValueQuery.cs index 41aa2e08731..ee50b81b7ea 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ValueQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/ValueQuery.cs @@ -2,7 +2,7 @@ // <copyright file="ValueQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Variable.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Variable.cs index 1d6f50cf141..594b9c8aead 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Variable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/Variable.cs @@ -2,7 +2,7 @@ // <copyright file="Variable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/VariableQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/VariableQuery.cs index ce6b7132ccc..c2b6ee2e3e4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/VariableQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/VariableQuery.cs @@ -2,7 +2,7 @@ // <copyright file="VariableQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorIterator.cs index 5f839cdfe9b..d0709058bad 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathAncestorIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorQuery.cs index 503d1f600af..1d2f04cc86c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAncestorQuery.cs @@ -2,7 +2,7 @@ // <copyright file="XPathAncestorQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathArrayIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathArrayIterator.cs index 724df0e3208..9f16db6db82 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathArrayIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathArrayIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathArrayIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAxisIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAxisIterator.cs index 512e8618f23..c0aeb7005ba 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAxisIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathAxisIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathAxisIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathChildIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathChildIterator.cs index f87c9c7619c..2ea63b69459 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathChildIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathChildIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathChildIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathDescendantIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathDescendantIterator.cs index 2cf77bef277..5879555dfaf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathDescendantIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathDescendantIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathDescendantIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathEmptyIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathEmptyIterator.cs index 6fa40453c26..7970452a31e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathEmptyIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathEmptyIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathEmptyIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathMultyIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathMultyIterator.cs index ef8cb5858d5..ac2f1fbecba 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathMultyIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathMultyIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathMultyIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathParser.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathParser.cs index c6a07aaa571..0192d80a606 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathParser.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathParser.cs @@ -2,7 +2,7 @@ // <copyright file="XPathParser.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathScanner.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathScanner.cs index 76e15142ea4..3b78f4fadb6 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathScanner.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathScanner.cs @@ -2,7 +2,7 @@ // <copyright file="XPathScanner.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelectionIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelectionIterator.cs index f09f8acc010..deb89811455 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelectionIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelectionIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathSelectionIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelfQuery.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelfQuery.cs index e15cacaf7cf..33f932c26f7 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelfQuery.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSelfQuery.cs @@ -2,7 +2,7 @@ // <copyright file="XPathSelfQuery.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSingletonIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSingletonIterator.cs index 6e32451a869..4528669ed86 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSingletonIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/Internal/XPathSingletonIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathSingletonIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace MS.Internal.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathDocument.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathDocument.cs index 3bb8e8ad5a0..e1d9bbe8eb4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathDocument.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathDocument.cs @@ -2,7 +2,7 @@ // <copyright file="XPathDocument.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; @@ -231,7 +231,7 @@ namespace System.Xml.XPath { case XmlNodeType.Whitespace: // We intentionally ignore the reader.XmlSpace property here and blindly trust - // the reported node type. If the reported information is not in [....] + // the reported node type. If the reported information is not in sync // (in this case if the reader.XmlSpace == Preserve) then we make the choice // to trust the reported node type. Since we have no control over the input reader // we can't even assert here. diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathException.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathException.cs index 533518ac83e..8eb02788a5a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathException.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathException.cs @@ -2,7 +2,7 @@ // <copyright file="XPathException.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathExpr.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathExpr.cs index 803907df7c1..195bf20b98a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathExpr.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathExpr.cs @@ -2,7 +2,7 @@ // <copyright file="XPathExpr.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathItem.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathItem.cs index ea954b05db5..85653c0dcef 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathItem.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathItem.cs @@ -2,7 +2,7 @@ // <copyright file="XPathItem.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNamespaceScope.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNamespaceScope.cs index 346d77bffb6..24b5f143104 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNamespaceScope.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNamespaceScope.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNamespaceScope.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">sdub</owner> //------------------------------------------------------------------------------ namespace System.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigator.cs index ae5ecbc9bc7..a1900faf08b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNavigator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.ComponentModel; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorKeyComparer.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorKeyComparer.cs index dc09acf2048..f6c83e1a493 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorKeyComparer.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorKeyComparer.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNavigatorReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.IO; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorReader.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorReader.cs index beab98822b7..12226d2052b 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorReader.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNavigatorReader.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNavigatorReader.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.IO; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNodeIterator.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNodeIterator.cs index 3731627edae..2d60c854409 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNodeIterator.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNodeIterator.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNodeIterator.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNodeType.cs b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNodeType.cs index da1df727598..3bbc780c40f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNodeType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XPath/XPathNodeType.cs @@ -2,7 +2,7 @@ // <copyright file="XPathNodeType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">sdub</owner> //------------------------------------------------------------------------------ namespace System.Xml.XPath { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlCharType.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlCharType.cs index 46237198c2f..17946153fc1 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlCharType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlCharType.cs @@ -6,7 +6,7 @@ // <copyright file="XmlCharType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ //#define XMLCHARTYPE_USE_RESOURCE // load the character properties from resources (XmlCharType.bin must be linked to System.Xml.dll) diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlComplianceUtil.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlComplianceUtil.cs index 3c204926ddf..c30f7263e52 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlComplianceUtil.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlComplianceUtil.cs @@ -2,7 +2,7 @@ // <copyright file="XmlComplianceUtil.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlConvert.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlConvert.cs index 976980e0678..6942060d9cf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlConvert.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlConvert.cs @@ -2,7 +2,7 @@ // <copyright file="XmlConvert.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { @@ -678,7 +678,6 @@ namespace System.Xml { return value.ToString(null, NumberFormatInfo.InvariantInfo); } -#if !SILVERLIGHT ///<include file='doc\XmlConvert.uex' path='docs/doc[@for="XmlConvert.ToString6"]/*' /> /// <devdoc> /// <para>[To be supplied.]</para> @@ -695,7 +694,6 @@ namespace System.Xml { public static string ToString(UInt16 value) { return value.ToString(null, NumberFormatInfo.InvariantInfo); } -#endif ///<include file='doc\XmlConvert.uex' path='docs/doc[@for="XmlConvert.ToString8"]/*' /> /// <devdoc> diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlDownloadManager.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlDownloadManager.cs index 305dee8b7de..e388818d1af 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlDownloadManager.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlDownloadManager.cs @@ -2,7 +2,7 @@ // <copyright file="XmlDownloadManager.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlEncoding.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlEncoding.cs index c896a213686..012e1523d38 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlEncoding.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlEncoding.cs @@ -2,7 +2,7 @@ // <copyright file="XmlEncoding.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Text; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlException.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlException.cs index 40594f7477b..2873952c65f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlException.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlException.cs @@ -2,7 +2,7 @@ // <copyright file="XmlException.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlNameTable.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlNameTable.cs index 2a3c5b58c45..e9fef50075c 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlNameTable.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlNameTable.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNameTable.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlNamespaceScope.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlNamespaceScope.cs index 55076abe1e6..d27b75f41da 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlNamespaceScope.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlNamespaceScope.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNamespaceScope.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlNamespacemanager.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlNamespacemanager.cs index 7c825a1f38f..7cab6b1036d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlNamespacemanager.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlNamespacemanager.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNamespaceManager.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlNodeOrder.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlNodeOrder.cs index 566697c1af9..f79c528958e 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlNodeOrder.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlNodeOrder.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNodeOrder.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">ionv</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlNodeType.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlNodeType.cs index d0eb8fb866f..3cddbed0dd9 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlNodeType.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlNodeType.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNodeType.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">helenak</owner> //------------------------------------------------------------------------------ diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlNullResolver.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlNullResolver.cs index 14dc8ded501..620bdc1c70d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlNullResolver.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlNullResolver.cs @@ -2,7 +2,7 @@ // <copyright file="XmlNullResolver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ #if !SILVERLIGHT diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlQualifiedName.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlQualifiedName.cs index 25f07a438a3..6aa29802b9f 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlQualifiedName.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlQualifiedName.cs @@ -2,12 +2,18 @@ // <copyright file="XmlQualifiedName.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { using System.Collections; using System.Diagnostics; +#if !SILVERLIGHT + using Microsoft.Win32; + using System.Reflection; + using System.Security; + using System.Security.Permissions; +#endif /// <include file='doc\XmlQualifiedName.uex' path='docs/doc[@for="XmlQualifiedName"]/*' /> /// <devdoc> @@ -17,6 +23,10 @@ namespace System.Xml { [Serializable] #endif public class XmlQualifiedName { +#if !SILVERLIGHT + delegate int HashCodeOfStringDelegate(string s, int sLen, long additionalEntropy); + static HashCodeOfStringDelegate hashCodeDelegate = null; +#endif string name; string ns; @@ -74,7 +84,16 @@ namespace System.Xml { /// </devdoc> public override int GetHashCode() { if(hash == 0) { +#if !SILVERLIGHT + if (hashCodeDelegate == null) { + hashCodeDelegate = GetHashCodeDelegate(); + } + + hash = hashCodeDelegate(Name, Name.Length, 0); +#else + hash = Name.GetHashCode() /*+ Namespace.GetHashCode()*/; // for perf reasons we are not taking ns's hashcode. +#endif } return hash; } @@ -144,6 +163,59 @@ namespace System.Xml { } #if !SILVERLIGHT // These methods are not used in Silverlight + [SecuritySafeCritical] + [ReflectionPermission(SecurityAction.Assert, Unrestricted = true)] + private static HashCodeOfStringDelegate GetHashCodeDelegate() { + // If we are using randomized hashing and we find the Marving hash method, we use that + // Otherwise, we use the old string hashing function. + + if (!IsRandomizedHashingDisabled()) + { + MethodInfo getHashCodeMethodInfo = typeof(String).GetMethod("InternalMarvin32HashString", BindingFlags.NonPublic | BindingFlags.Static); + if (getHashCodeMethodInfo != null) + { + return (HashCodeOfStringDelegate)Delegate.CreateDelegate(typeof(HashCodeOfStringDelegate), getHashCodeMethodInfo); + } + // This will fall through and return a delegate to the old hash function + Debug.Assert(false, "Randomized hashing is not supported."); + } + return new HashCodeOfStringDelegate(GetHashCodeOfString); + } + + [SecuritySafeCritical] + [RegistryPermission(SecurityAction.Assert, Unrestricted = true)] + private static bool IsRandomizedHashingDisabled() { + const string regValueName = "DisableRandomizedHashingOnXmlQualifiedName"; + bool disableHashing = false; // default value + if (!ReadBoolFromXmlRegistrySettings(Registry.CurrentUser, regValueName, ref disableHashing)) { + ReadBoolFromXmlRegistrySettings(Registry.LocalMachine, regValueName, ref disableHashing); + } + return disableHashing; + } + + [SecurityCritical] + private static bool ReadBoolFromXmlRegistrySettings(RegistryKey hive, string regValueName, ref bool value) { + const string regValuePath = @"SOFTWARE\Microsoft\.NETFramework\XML"; + try { + using (RegistryKey xmlRegKey = hive.OpenSubKey(regValuePath, false)) { + if (xmlRegKey != null) { + if (xmlRegKey.GetValueKind(regValueName) == RegistryValueKind.DWord) { + value = ((int)xmlRegKey.GetValue(regValueName)) == 1; + return true; + } + } + } + } + catch { /* use the default if we couldn't read the key */ } + return false; + } + + private static int GetHashCodeOfString(string s, int length, long additionalEntropy) + { + // This is the fallback method for calling the regular hashcode method + return s.GetHashCode(); + } + // --------- Some useful internal stuff ----------------- internal void Init(string name, string ns) { Debug.Assert(name != null && ns != null); diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlReservedNs.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlReservedNs.cs index 4564ecf7a6c..4e9db69f795 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlReservedNs.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlReservedNs.cs @@ -2,7 +2,7 @@ // <copyright file="XmlReservedNS.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">derekdb</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlResolver.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlResolver.cs index 0576f38a828..2245d76d20a 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlResolver.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlResolver.cs @@ -2,7 +2,7 @@ // <copyright file="XmlResolver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolver.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolver.cs index 6cd15034393..463bb7b6813 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolver.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlSecureResolver.cs @@ -2,7 +2,7 @@ // <copyright file="XmlSecureResolver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/XmlUrlResolver.cs b/mcs/class/referencesource/System.Xml/System/Xml/XmlUrlResolver.cs index e762f5e358d..7dc2e20afa5 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/XmlUrlResolver.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/XmlUrlResolver.cs @@ -2,7 +2,7 @@ // <copyright file="XmlUrlResolver.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Threading; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslCompiledTransform.cs b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslCompiledTransform.cs index dda06980688..455e8912aaf 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslCompiledTransform.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslCompiledTransform.cs @@ -2,7 +2,7 @@ // <copyright file="XslCompiledTransform.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> // <spec>http://webdata/xml/specs/XslCompiledTransform.xml</spec> //------------------------------------------------------------------------------ diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs index 5a3acdfce2c..b9ff06c66fe 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XslTransform.cs @@ -2,7 +2,7 @@ // <copyright file="XslTransform.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ namespace System.Xml.Xsl { diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltArgumentList.cs b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltArgumentList.cs index d8f0c98b28f..bc33f89cb37 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltArgumentList.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltArgumentList.cs @@ -2,7 +2,7 @@ // <copyright file="XsltArgumentList.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltContext.cs b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltContext.cs index 64bf74fbd97..ec37ade341d 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltContext.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltContext.cs @@ -2,7 +2,7 @@ // <copyright file="XsltContext.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Collections; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltException.cs b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltException.cs index 1f4aaf2c678..d724bcb10d4 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltException.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltException.cs @@ -2,7 +2,7 @@ // <copyright file="XsltException.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> //------------------------------------------------------------------------------ using System.Globalization; diff --git a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltSettings.cs b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltSettings.cs index 94fcee6d2d9..d99fc067bab 100644 --- a/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltSettings.cs +++ b/mcs/class/referencesource/System.Xml/System/Xml/Xslt/XsltSettings.cs @@ -2,7 +2,7 @@ // <copyright file="XsltSettings.cs" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> -// <owner current="true" primary="true">[....]</owner> +// <owner current="true" primary="true">Microsoft</owner> // <spec>http://webdata/xml/specs/XslCompiledTransform.xml</spec> //------------------------------------------------------------------------------ |