mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 09:34:49 +09:00
Enable IDE0065 (Misplaced using directive) (#70919)
This commit is contained in:
parent
8442a62336
commit
246d9bb4fa
240 changed files with 1253 additions and 1297 deletions
|
@ -1492,7 +1492,7 @@ dotnet_diagnostic.IDE0063.severity = silent
|
|||
dotnet_diagnostic.IDE0064.severity = silent
|
||||
|
||||
# IDE0065: Misplaced using directive
|
||||
dotnet_diagnostic.IDE0065.severity = suggestion
|
||||
dotnet_diagnostic.IDE0065.severity = warning
|
||||
|
||||
# IDE0066: Convert switch statement to expression
|
||||
dotnet_diagnostic.IDE0066.severity = suggestion
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
<NoWarn>$(NoWarn);CS8602;CS8603;CS8604;CS8618;CS8625;CS8632;CS8765</NoWarn>
|
||||
|
||||
<!-- we should just fix -->
|
||||
<NoWarn>$(NoWarn);CA1810;CA1823;CA1825;CA1852;CA2208;SA1129;SA1205;SA1400;SA1517</NoWarn>
|
||||
<NoWarn>$(NoWarn);CA1810;CA1823;CA1825;CA1852;CA2208;SA1129;SA1205;SA1400;SA1517;IDE0065</NoWarn>
|
||||
|
||||
<!-- Arrays as attribute arguments is not CLS-compliant -->
|
||||
<NoWarn>$(NoWarn);CS3016</NoWarn>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.ComponentModel
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
/// <summary>
|
||||
/// DesignTimeVisibileAttribute marks a component's visibility. If
|
||||
/// DesignTimeVisibileAttribute.Yes is present, a visual designer can show
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
|
||||
namespace System.Configuration
|
||||
{
|
||||
using Collections;
|
||||
|
||||
// Contains all the updates to section definitions across all location sections.
|
||||
internal sealed class ConfigDefinitionUpdates
|
||||
{
|
||||
|
|
|
@ -9,11 +9,10 @@ using System.Diagnostics.CodeAnalysis;
|
|||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using SysTx = System.Transactions;
|
||||
|
||||
namespace System.Data.OleDb
|
||||
{
|
||||
using SysTx = Transactions;
|
||||
|
||||
// wraps the OLEDB IDBInitialize interface which represents a connection
|
||||
// Notes about connection pooling
|
||||
// 1. Only happens if we use the IDataInitialize or IDBPromptInitialize interfaces
|
||||
|
|
|
@ -8,11 +8,10 @@ using System.Diagnostics;
|
|||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using SysTx = System.Transactions;
|
||||
|
||||
namespace System.Data.OleDb
|
||||
{
|
||||
using SysTx = Transactions;
|
||||
|
||||
internal sealed class OleDbConnectionInternal : DbConnectionInternal, IDisposable
|
||||
{
|
||||
private static volatile OleDbServicesWrapper? idataInitialize;
|
||||
|
|
|
@ -2,14 +2,13 @@
|
|||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
#if DEBUG
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
#endif
|
||||
|
||||
namespace System.Data.OleDb
|
||||
{
|
||||
#if DEBUG
|
||||
using Globalization;
|
||||
using Text;
|
||||
#endif
|
||||
|
||||
internal enum DBBindStatus
|
||||
{
|
||||
OK = 0,
|
||||
|
|
|
@ -5,11 +5,10 @@ using System.Data.Common;
|
|||
using System.Data.ProviderBase;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using SysTx = System.Transactions;
|
||||
|
||||
namespace System.Data.OleDb
|
||||
{
|
||||
using SysTx = Transactions;
|
||||
|
||||
public sealed partial class OleDbConnection : DbConnection
|
||||
{
|
||||
private static readonly DbConnectionFactory _connectionFactory = OleDbConnectionFactory.SingletonInstance;
|
||||
|
|
|
@ -11,11 +11,10 @@ using System.Runtime.InteropServices;
|
|||
using System.Runtime.Versioning;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using SysTx = System.Transactions;
|
||||
|
||||
namespace System.Data.ProviderBase
|
||||
{
|
||||
using SysTx = Transactions;
|
||||
|
||||
internal sealed class DbConnectionPool
|
||||
{
|
||||
private enum State
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.DirectoryServices;
|
||||
|
||||
namespace System.DirectoryServices.AccountManagement
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using System.DirectoryServices;
|
||||
|
||||
internal sealed class ExtensionCacheValue
|
||||
{
|
||||
internal ExtensionCacheValue(object[] value)
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
//
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// This file defines many COM dual interfaces which are legacy and,
|
||||
// cannot be changed. Tolerate possible obsoletion.
|
||||
//
|
||||
#pragma warning disable CS0618 // Type or member is obsolete
|
||||
|
||||
namespace System.DirectoryServices.AccountManagement
|
||||
{
|
||||
using System.Runtime.InteropServices;
|
||||
using System;
|
||||
|
||||
internal static class Constants
|
||||
{
|
||||
internal static byte[] GUID_FOREIGNSECURITYPRINCIPALS_CONTAINER_BYTE = new byte[] { 0x22, 0xb7, 0x0c, 0x67, 0xd5, 0x6e, 0x4e, 0xfb, 0x91, 0xe9, 0x30, 0x0f, 0xca, 0x3d, 0xc1, 0xaa };
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Threading;
|
||||
|
||||
namespace System.Drawing
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Threading;
|
||||
|
||||
/// <summary>
|
||||
/// Animates one or more images that have time-based frames.
|
||||
/// See the ImageInfo.cs file for the helper nested ImageInfo class.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Drawing.Imaging
|
||||
{
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// sdkinc\imaging.h
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 8)]
|
||||
internal struct ImageCodecInfoPrivate
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
namespace System.Drawing.Imaging
|
||||
{
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
#if NET7_0_OR_GREATER
|
||||
using System.Runtime.InteropServices.Marshalling;
|
||||
using System.Runtime.InteropServices.Marshalling;
|
||||
#endif
|
||||
|
||||
namespace System.Drawing.Imaging
|
||||
{
|
||||
#if NET7_0_OR_GREATER
|
||||
[NativeMarshalling(typeof(PinningMarshaller))]
|
||||
#endif
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
namespace System.Drawing.Imaging
|
||||
{
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
#if NET7_0_OR_GREATER
|
||||
using System.Runtime.InteropServices.Marshalling;
|
||||
#endif
|
||||
|
||||
namespace System.Drawing.Imaging
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 8)]
|
||||
internal sealed class MetafileHeaderWmf
|
||||
{
|
||||
|
|
|
@ -15,9 +15,11 @@ namespace System.Resources
|
|||
.Extensions
|
||||
#endif
|
||||
{
|
||||
#pragma warning disable IDE0065
|
||||
#if RESOURCES_EXTENSIONS
|
||||
using ResourceReader = DeserializingResourceReader;
|
||||
#endif
|
||||
#pragma warning restore IDE0065
|
||||
|
||||
// Provides the default implementation of IResourceReader, reading
|
||||
// .resources file from the system default binary format. This class
|
||||
|
|
|
@ -11,9 +11,12 @@ namespace System.Resources
|
|||
.Extensions
|
||||
#endif
|
||||
{
|
||||
#pragma warning disable IDE0065
|
||||
#if RESOURCES_EXTENSIONS
|
||||
using ResourceReader = DeserializingResourceReader;
|
||||
#endif
|
||||
#pragma warning restore IDE0065
|
||||
|
||||
// A RuntimeResourceSet stores all the resources defined in one
|
||||
// particular CultureInfo, with some loading optimizations.
|
||||
//
|
||||
|
|
|
@ -1,24 +1,23 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
using System.Linq;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
internal sealed class ClassDataContract : DataContract
|
||||
{
|
||||
public XmlDictionaryString[]? ContractNamespaces;
|
||||
|
|
|
@ -1,22 +1,21 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using System.Linq;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
using System.Security;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
// The interface is a perf optimization.
|
||||
// Only KeyValuePairAdapter should implement the interface.
|
||||
internal interface IKeyValuePairAdapter { }
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Buffers.Binary;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml;
|
||||
using System.Xml.Schema;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Buffers.Binary;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Linq;
|
||||
using Xml.Schema;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Diagnostics;
|
||||
|
||||
internal abstract class DataContract
|
||||
{
|
||||
private XmlDictionaryString _name;
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Runtime.CompilerServices;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
public sealed class DataContractSerializer : XmlObjectSerializer
|
||||
{
|
||||
private Type _rootType;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.CodeDom;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.CodeDom;
|
||||
using System.Reflection;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
internal static class DataContractSurrogateCaller
|
||||
{
|
||||
[RequiresUnreferencedCode(DataContract.SerializerTrimmerWarning)]
|
||||
|
|
|
@ -1,23 +1,22 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Security;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization.Json
|
||||
{
|
||||
using System.Runtime.Serialization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Collections;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Security;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
public sealed class DataContractJsonSerializer : XmlObjectSerializer
|
||||
{
|
||||
internal IList<Type>? knownTypeList;
|
||||
|
|
|
@ -2,20 +2,17 @@
|
|||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
using System.Reflection.Emit;
|
||||
using System.Runtime;
|
||||
using System.Security;
|
||||
using System.Xml;
|
||||
|
||||
namespace System.Runtime.Serialization.Json
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
using System.Reflection.Emit;
|
||||
using System.Runtime;
|
||||
using System.Security;
|
||||
using System.Xml;
|
||||
|
||||
internal delegate object JsonFormatClassReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson? context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString[]? memberNames);
|
||||
internal delegate object JsonFormatCollectionReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString itemName, CollectionDataContract collectionContract);
|
||||
internal delegate void JsonFormatGetOnlyCollectionReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString itemName, CollectionDataContract collectionContract);
|
||||
|
|
|
@ -2,19 +2,16 @@
|
|||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
using System.Reflection.Emit;
|
||||
using System.Security;
|
||||
using System.Xml;
|
||||
|
||||
namespace System.Runtime.Serialization.Json
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
using System.Reflection.Emit;
|
||||
using System.Security;
|
||||
using System.Xml;
|
||||
|
||||
internal delegate void JsonFormatClassWriterDelegate(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, ClassDataContract dataContract, XmlDictionaryString[]? memberNames);
|
||||
internal delegate void JsonFormatCollectionWriterDelegate(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, CollectionDataContract dataContract);
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
|
||||
internal struct ScopedKnownTypes
|
||||
{
|
||||
internal DataContractDictionary[] dataContractDictionaries;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Security;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
internal sealed class SurrogateDataContract : DataContract
|
||||
{
|
||||
private readonly SurrogateDataContractCriticalHelper _helper;
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using System.Xml.Schema;
|
||||
using System.Xml.Serialization;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using System.Threading;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
using System.Xml.Serialization;
|
||||
using System.Xml.Schema;
|
||||
using System.Security;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
internal delegate IXmlSerializable CreateXmlSerializableDelegate();
|
||||
internal sealed class XmlDataContract : DataContract
|
||||
{
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Security;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Xml;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Security;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
public abstract class XmlObjectSerializer
|
||||
{
|
||||
[RequiresUnreferencedCode(DataContract.SerializerTrimmerWarning)]
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
using System.Security;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Reflection;
|
||||
using System.Security;
|
||||
using System.Xml;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
|
||||
internal class XmlObjectSerializerContext
|
||||
{
|
||||
protected XmlObjectSerializer serializer;
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Security;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.Runtime.Serialization.DataContract>;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
using System.Security;
|
||||
using DataContractDictionary = System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, DataContract>;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
internal class XmlObjectSerializerReadContext : XmlObjectSerializerContext
|
||||
{
|
||||
internal Attributes? attributes;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Xml;
|
||||
using System.Xml.Schema;
|
||||
|
||||
namespace System.Runtime.Serialization
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Xml;
|
||||
using System.Xml.Schema;
|
||||
|
||||
public static class XmlSerializableServices
|
||||
{
|
||||
public static XmlNode[] ReadNodes(XmlReader xmlReader)
|
||||
|
|
|
@ -36,8 +36,6 @@ gets updated.
|
|||
|
||||
namespace System
|
||||
{
|
||||
using System;
|
||||
|
||||
internal static class HResults
|
||||
{
|
||||
// Xml
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Xml.Schema;
|
||||
|
||||
namespace System.Xml
|
||||
{
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Schema;
|
||||
using System.Diagnostics;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// This writer wraps an XmlRawWriter and inserts additional lexical information into the resulting
|
||||
/// Xml 1.0 document:
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Xml.Schema;
|
||||
|
||||
namespace System.Xml
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Xml.Schema;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// This writer implements XmlOutputMethod.AutoDetect. If the first element is "html", then output will be
|
||||
/// directed to an Html writer. Otherwise, output will be directed to an Xml writer.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Xml
|
||||
{
|
||||
using System.Diagnostics;
|
||||
|
||||
internal static class DiagnosticsSwitches
|
||||
{
|
||||
private static volatile BooleanSwitch? s_keepTempFiles;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.XPath;
|
||||
|
||||
namespace System.Xml
|
||||
{
|
||||
using System.Xml.XPath;
|
||||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal sealed class XPathNodeList : XmlNodeList
|
||||
{
|
||||
private readonly List<XmlNode?> _list;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Text;
|
||||
using System.Xml.Schema;
|
||||
|
||||
namespace System.Xml
|
||||
{
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
using System.Xml.Schema;
|
||||
|
||||
internal class XmlName : IXmlSchemaInfo
|
||||
{
|
||||
private readonly string _prefix;
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Xml.Schema;
|
||||
|
||||
namespace System.Xml
|
||||
{
|
||||
using System;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Xml.Schema;
|
||||
using System.Globalization;
|
||||
|
||||
internal sealed class XmlNodeReaderNavigator
|
||||
{
|
||||
private XmlNode _curNode;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Xml
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
// Contains a notation declared in the DTD or schema.
|
||||
public class XmlNotation : XmlNode
|
||||
{
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.XPath;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.Xml.Schema;
|
||||
using MS.Internal.Xml.XPath;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.XPath;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.Xml.Schema;
|
||||
using MS.Internal.Xml.XPath;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
/*--------------------------------------------------------------------------------------------- *
|
||||
* Dynamic Part Below... *
|
||||
* -------------------------------------------------------------------------------------------- */
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
|
||||
#pragma warning disable 618
|
||||
|
||||
internal sealed class AutoValidator : BaseValidator
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
|
||||
internal class BaseProcessor
|
||||
{
|
||||
private readonly XmlNameTable _nameTable;
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Xml;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Xml;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
#pragma warning disable 618
|
||||
|
||||
internal class BaseValidator
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Xml.XPath;
|
||||
using MS.Internal.Xml.XPath;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Xml.XPath;
|
||||
using MS.Internal.Xml.XPath;
|
||||
|
||||
internal sealed class CompiledIdentityConstraint
|
||||
{
|
||||
internal XmlQualifiedName name = XmlQualifiedName.Empty;
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml;
|
||||
using System.Xml.XPath;
|
||||
using System.Xml.Serialization;
|
||||
using System.Reflection;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml;
|
||||
using System.Xml.XPath;
|
||||
using System.Xml.Serialization;
|
||||
using System.Reflection;
|
||||
|
||||
public enum XmlSchemaDatatypeVariety
|
||||
{
|
||||
Atomic,
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Diagnostics;
|
||||
using System.Xml.Schema;
|
||||
using System.Xml.XPath;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Diagnostics;
|
||||
using System.Xml.Schema;
|
||||
using System.Xml.XPath;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
#pragma warning disable 618
|
||||
|
||||
internal sealed class DtdValidator : BaseValidator
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
using System.Xml.Schema;
|
||||
using System.Xml.XPath;
|
||||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Globalization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
using System.Xml.Schema;
|
||||
using System.Xml.XPath;
|
||||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Threading;
|
||||
using System.Globalization;
|
||||
|
||||
internal abstract class FacetsChecker
|
||||
{
|
||||
private struct FacetsCompiler
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
using System.Diagnostics;
|
||||
|
||||
internal class NamespaceList
|
||||
{
|
||||
public enum ListType
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
internal sealed partial class Parser
|
||||
{
|
||||
private SchemaType _schemaType;
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
|
||||
using System.Threading.Tasks;
|
||||
|
||||
internal sealed partial class Parser
|
||||
{
|
||||
public async Task StartParsingAsync(XmlReader reader, string? targetNamespace)
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Reflection;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Reflection;
|
||||
|
||||
internal enum Compositor
|
||||
{
|
||||
Root,
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
/*
|
||||
* This class describes an attribute type and potential values.
|
||||
* This encapsulates the information for one Attdef * in an
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
#pragma warning disable 618
|
||||
internal sealed class SchemaCollectionPreprocessor : BaseProcessor
|
||||
{
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
internal abstract class SchemaDeclBase
|
||||
{
|
||||
internal enum Use
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal sealed class SchemaElementDecl : SchemaDeclBase, IDtdAttributeListInfo
|
||||
{
|
||||
private readonly Dictionary<XmlQualifiedName, SchemaAttDef> _attdefs = new Dictionary<XmlQualifiedName, SchemaAttDef>();
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
internal sealed class SchemaEntity : IDtdEntityInfo
|
||||
{
|
||||
private readonly XmlQualifiedName _qname; // Name of entity
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
|
||||
internal sealed class SchemaNames
|
||||
{
|
||||
private readonly XmlNameTable _nameTable;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
internal sealed class SchemaNamespaceManager : XmlNamespaceManager
|
||||
{
|
||||
private readonly XmlSchemaObject _node;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
|
||||
internal sealed class SchemaNotation
|
||||
{
|
||||
internal const int SYSTEM = 0;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
internal struct StateUnion
|
||||
{
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
/*
|
||||
* The XdrBuilder class parses the XDR Schema and
|
||||
* builds internal validation information
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System.Globalization;
|
||||
using System.Runtime.Versioning;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
#pragma warning disable 618
|
||||
internal sealed class XdrValidator : BaseValidator
|
||||
{
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
using System.Threading;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.IO;
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
using System.Threading;
|
||||
using System.Diagnostics;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
[XmlRoot("schema", Namespace = XmlSchema.Namespace)]
|
||||
public class XmlSchema : XmlSchemaObject
|
||||
{
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaAll : XmlSchemaGroupBase
|
||||
{
|
||||
private XmlSchemaObjectCollection _items = new XmlSchemaObjectCollection();
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaAnnotated : XmlSchemaObject
|
||||
{
|
||||
private string? _id;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaAnnotation : XmlSchemaObject
|
||||
{
|
||||
private string? _id;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
using System.Text;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
using System.Text;
|
||||
|
||||
public class XmlSchemaAny : XmlSchemaParticle
|
||||
{
|
||||
private string? _ns;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaAnyAttribute : XmlSchemaAnnotated
|
||||
{
|
||||
private string? _ns;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaAppInfo : XmlSchemaObject
|
||||
{
|
||||
private string? _source;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaAttributeGroup : XmlSchemaAnnotated
|
||||
{
|
||||
private string? _name;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaAttributeGroupRef : XmlSchemaAnnotated
|
||||
{
|
||||
private XmlQualifiedName _refName = XmlQualifiedName.Empty;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaChoice : XmlSchemaGroupBase
|
||||
{
|
||||
private XmlSchemaObjectCollection _items = new XmlSchemaObjectCollection();
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Threading;
|
||||
using System.Collections;
|
||||
using System.Xml.Schema;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Threading;
|
||||
using System.Collections;
|
||||
using System.Xml.Schema;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// The XmlSchemaCollection contains a set of namespace URI's.
|
||||
/// Each namespace also have an associated private data cache
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaComplexContent : XmlSchemaContentModel
|
||||
{
|
||||
private XmlSchemaContent? _content;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaComplexContentExtension : XmlSchemaContent
|
||||
{
|
||||
private XmlSchemaParticle? _particle;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaComplexContentRestriction : XmlSchemaContent
|
||||
{
|
||||
private XmlSchemaParticle? _particle;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public abstract class XmlSchemaContent : XmlSchemaAnnotated
|
||||
{
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public abstract class XmlSchemaContentModel : XmlSchemaAnnotated
|
||||
{
|
||||
[XmlIgnore]
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public enum XmlSchemaContentProcessing
|
||||
{
|
||||
[XmlIgnore]
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
[Flags]
|
||||
public enum XmlSchemaDerivationMethod
|
||||
{
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaDocumentation : XmlSchemaObject
|
||||
{
|
||||
private string? _source;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public abstract class XmlSchemaExternal : XmlSchemaObject
|
||||
{
|
||||
private string? _location;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
internal enum FacetType
|
||||
{
|
||||
None,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
// if change the enum, have to change xsdbuilder as well.
|
||||
/// <devdoc>
|
||||
/// <para>[To be supplied.]</para>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaGroup : XmlSchemaAnnotated
|
||||
{
|
||||
private string? _name;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public abstract class XmlSchemaGroupBase : XmlSchemaParticle
|
||||
{
|
||||
internal XmlSchemaGroupBase() { }
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaGroupRef : XmlSchemaParticle
|
||||
{
|
||||
private XmlQualifiedName _refName = XmlQualifiedName.Empty;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaIdentityConstraint : XmlSchemaAnnotated
|
||||
{
|
||||
private string? _name;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaImport : XmlSchemaExternal
|
||||
{
|
||||
private string? _ns;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaInclude : XmlSchemaExternal
|
||||
{
|
||||
private XmlSchemaAnnotation? _annotation;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaNotation : XmlSchemaAnnotated
|
||||
{
|
||||
private string? _name;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Diagnostics;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Diagnostics;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public abstract class XmlSchemaObject
|
||||
{
|
||||
private int _lineNum;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.ComponentModel;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaObjectCollection : CollectionBase
|
||||
{
|
||||
private readonly XmlSchemaObject? _parent;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
|
||||
public class XmlSchemaObjectTable
|
||||
{
|
||||
private readonly Dictionary<XmlQualifiedName, XmlSchemaObject> _table = new Dictionary<XmlQualifiedName, XmlSchemaObject>();
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public abstract class XmlSchemaParticle : XmlSchemaAnnotated
|
||||
{
|
||||
[Flags]
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaRedefine : XmlSchemaExternal
|
||||
{
|
||||
private readonly XmlSchemaObjectCollection _items = new XmlSchemaObjectCollection();
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaSequence : XmlSchemaGroupBase
|
||||
{
|
||||
private XmlSchemaObjectCollection _items = new XmlSchemaObjectCollection();
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaSimpleContent : XmlSchemaContentModel
|
||||
{
|
||||
private XmlSchemaContent? _content;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace System.Xml.Schema
|
||||
{
|
||||
using System.Xml.Serialization;
|
||||
|
||||
public class XmlSchemaSimpleContentExtension : XmlSchemaContent
|
||||
{
|
||||
private XmlSchemaObjectCollection _attributes = new XmlSchemaObjectCollection();
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue