using System; using System.CodeDom; using System.CodeDom.Compiler; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Configuration; using System.Diagnostics; using System.Globalization; using System.IO; using System.Reflection; using System.Resources; using System.Runtime; using System.Runtime.CompilerServices; using System.Runtime.Diagnostics; using System.Runtime.InteropServices; using System.Runtime.Serialization.Formatters; using System.Security; using System.Security.Permissions; using System.Text; using System.Threading.Tasks; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; using System.Xml.XPath; [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyTitle("System.Runtime.Serialization.dll")] [assembly: AssemblyDescription("System.Runtime.Serialization.dll")] [assembly: AssemblyDefaultAlias("System.Runtime.Serialization.dll")] [assembly: AssemblyCompany("Mono development team")] [assembly: AssemblyProduct("Mono Common Language Infrastructure")] [assembly: AssemblyCopyright("(c) Various Mono authors")] [assembly: SatelliteContractVersion("4.0.0.0")] [assembly: AssemblyInformationalVersion("4.0.30319.17020")] [assembly: AssemblyFileVersion("4.0.30319.17020")] [assembly: NeutralResourcesLanguage("en-US")] [assembly: CLSCompliant(true)] [assembly: AssemblyDelaySign(true)] [assembly: AssemblyKeyFile("../silverlight.pub")] [assembly: CompilationRelaxations(8)] [assembly: ComVisible(false)] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("4.0.0.0")] [module: UnverifiableCode] internal static class SR { [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(string name, params object[] args) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(CultureInfo culture, string name, params object[] args) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(CultureInfo culture, string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string Format(string resourceFormat, params object[] args) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string Format(string resourceFormat, object p1) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string Format(string resourceFormat, object p1, object p2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string Format(string resourceFormat, object p1, object p2, object p3) { throw null; } } namespace System { internal static class LocalAppContextSwitches { public static readonly bool DoNotUseTimeZoneInfo; public static readonly bool DoNotUseEcmaScriptV6EscapeControlCharacter; [MethodImpl(MethodImplOptions.NoInlining)] static LocalAppContextSwitches() { throw null; } } } namespace System.Xml { internal abstract class ArrayHelper { [MethodImpl(MethodImplOptions.NoInlining)] public TArray[] ReadArray(XmlDictionaryReader reader, TArgument localName, TArgument namespaceUri, int maxArrayLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteArray(XmlDictionaryWriter writer, string prefix, TArgument localName, TArgument namespaceUri, XmlDictionaryReader reader) { throw null; } protected abstract int ReadArray(XmlDictionaryReader reader, TArgument localName, TArgument namespaceUri, TArray[] array, int offset, int count); protected abstract void WriteArray(XmlDictionaryWriter writer, string prefix, TArgument localName, TArgument namespaceUri, TArray[] array, int offset, int count); [MethodImpl(MethodImplOptions.NoInlining)] protected ArrayHelper() { throw null; } } internal class BooleanArrayHelperWithString : ArrayHelper { public static readonly BooleanArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public BooleanArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static BooleanArrayHelperWithString() { throw null; } } internal class BooleanArrayHelperWithDictionaryString : ArrayHelper { public static readonly BooleanArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public BooleanArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static BooleanArrayHelperWithDictionaryString() { throw null; } } internal class Int16ArrayHelperWithString : ArrayHelper { public static readonly Int16ArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Int16ArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static Int16ArrayHelperWithString() { throw null; } } internal class Int16ArrayHelperWithDictionaryString : ArrayHelper { public static readonly Int16ArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Int16ArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static Int16ArrayHelperWithDictionaryString() { throw null; } } internal class Int32ArrayHelperWithString : ArrayHelper { public static readonly Int32ArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Int32ArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static Int32ArrayHelperWithString() { throw null; } } internal class Int32ArrayHelperWithDictionaryString : ArrayHelper { public static readonly Int32ArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Int32ArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static Int32ArrayHelperWithDictionaryString() { throw null; } } internal class Int64ArrayHelperWithString : ArrayHelper { public static readonly Int64ArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Int64ArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static Int64ArrayHelperWithString() { throw null; } } internal class Int64ArrayHelperWithDictionaryString : ArrayHelper { public static readonly Int64ArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Int64ArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static Int64ArrayHelperWithDictionaryString() { throw null; } } internal class SingleArrayHelperWithString : ArrayHelper { public static readonly SingleArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public SingleArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static SingleArrayHelperWithString() { throw null; } } internal class SingleArrayHelperWithDictionaryString : ArrayHelper { public static readonly SingleArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public SingleArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static SingleArrayHelperWithDictionaryString() { throw null; } } internal class DoubleArrayHelperWithString : ArrayHelper { public static readonly DoubleArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DoubleArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static DoubleArrayHelperWithString() { throw null; } } internal class DoubleArrayHelperWithDictionaryString : ArrayHelper { public static readonly DoubleArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DoubleArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static DoubleArrayHelperWithDictionaryString() { throw null; } } internal class DecimalArrayHelperWithString : ArrayHelper { public static readonly DecimalArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DecimalArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static DecimalArrayHelperWithString() { throw null; } } internal class DecimalArrayHelperWithDictionaryString : ArrayHelper { public static readonly DecimalArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DecimalArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static DecimalArrayHelperWithDictionaryString() { throw null; } } internal class DateTimeArrayHelperWithString : ArrayHelper { public static readonly DateTimeArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DateTimeArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static DateTimeArrayHelperWithString() { throw null; } } internal class DateTimeArrayHelperWithDictionaryString : ArrayHelper { public static readonly DateTimeArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DateTimeArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static DateTimeArrayHelperWithDictionaryString() { throw null; } } internal class GuidArrayHelperWithString : ArrayHelper { public static readonly GuidArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public GuidArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static GuidArrayHelperWithString() { throw null; } } internal class GuidArrayHelperWithDictionaryString : ArrayHelper { public static readonly GuidArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public GuidArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static GuidArrayHelperWithDictionaryString() { throw null; } } internal class TimeSpanArrayHelperWithString : ArrayHelper { public static readonly TimeSpanArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public TimeSpanArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static TimeSpanArrayHelperWithString() { throw null; } } internal class TimeSpanArrayHelperWithDictionaryString : ArrayHelper { public static readonly TimeSpanArrayHelperWithDictionaryString Instance; [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public TimeSpanArrayHelperWithDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static TimeSpanArrayHelperWithDictionaryString() { throw null; } } internal class EncodingStreamWrapper : Stream { private enum SupportedEncoding { UTF8, UTF16LE, UTF16BE, None } private static readonly UTF8Encoding SafeUTF8; private static readonly UnicodeEncoding SafeUTF16; private static readonly UnicodeEncoding SafeBEUTF16; private static readonly UTF8Encoding ValidatingUTF8; private static readonly UnicodeEncoding ValidatingUTF16; private static readonly UnicodeEncoding ValidatingBEUTF16; private const int BufferLength = 128; private static readonly byte[] encodingAttr; private static readonly byte[] encodingUTF8; private static readonly byte[] encodingUnicode; private static readonly byte[] encodingUnicodeLE; private static readonly byte[] encodingUnicodeBE; private SupportedEncoding encodingCode; private Encoding encoding; private Encoder enc; private Decoder dec; private bool isReading; private Stream stream; private char[] chars; private byte[] bytes; private int byteOffset; private int byteCount; private byte[] byteBuffer; public override bool CanRead { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanSeek { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanWrite { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override long Position { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public override bool CanTimeout { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override long Length { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int ReadTimeout { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public override int WriteTimeout { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public EncodingStreamWrapper(Stream stream, Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetReadDocumentEncoding(SupportedEncoding e) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static Encoding GetEncoding(SupportedEncoding e) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static Encoding GetSafeEncoding(SupportedEncoding e) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetEncodingName(SupportedEncoding enc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static SupportedEncoding GetSupportedEncoding(Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public EncodingStreamWrapper(Stream stream, Encoding encoding, bool emitBOM) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private SupportedEncoding ReadBOMEncoding(bool notOutOfBand) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static SupportedEncoding ReadBOMEncoding(byte b1, byte b2, byte b3, byte b4, bool notOutOfBand, out int preserve) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void FillBuffer(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureBuffers() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureByteBuffer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void CheckUTF8DeclarationEncoding(byte[] buffer, int offset, int count, SupportedEncoding e, SupportedEncoding expectedEnc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool CompareCaseInsensitive(byte[] key, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool Compare(byte[] key, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsWhitespace(byte ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static ArraySegment ProcessBuffer(byte[] buffer, int offset, int count, Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowExpectedEncodingMismatch(SupportedEncoding expEnc, SupportedEncoding actualEnc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowEncodingMismatch(string declEnc, SupportedEncoding enc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowEncodingMismatch(string declEnc, string docEnc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int Read(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CleanupCharBreak() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long Seek(long offset, SeekOrigin origin) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteByte(byte b) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Write(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void SetLength(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static EncodingStreamWrapper() { throw null; } } public interface IFragmentCapableXmlDictionaryWriter { bool CanFragment { get; } void StartFragment(Stream stream, bool generateSelfContainedTextFragment); void EndFragment(); void WriteFragment(byte[] buffer, int offset, int count); } public interface IStreamProvider { Stream GetStream(); void ReleaseStream(Stream stream); } public interface IXmlDictionary { bool TryLookup(string value, out XmlDictionaryString result); bool TryLookup(int key, out XmlDictionaryString result); bool TryLookup(XmlDictionaryString value, out XmlDictionaryString result); } internal enum PrefixHandleType { Empty, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Buffer, Max } internal class PrefixHandle { private XmlBufferReader bufferReader; private PrefixHandleType type; private int offset; private int length; private static string[] prefixStrings; private static byte[] prefixBuffer; public bool IsEmpty { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool IsXmlns { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool IsXml { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public PrefixHandle(XmlBufferReader bufferReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(PrefixHandleType type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(PrefixHandle prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetShortPrefix(out PrefixHandleType type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string GetString(PrefixHandleType type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static PrefixHandleType GetAlphaPrefix(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static byte[] GetString(PrefixHandleType type, out int offset, out int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetString(XmlNameTable nameTable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte[] GetString(out int offset, out int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int CompareTo(PrefixHandle that) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals2(PrefixHandle prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals2(string prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals2(XmlDictionaryString prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator ==(PrefixHandle prefix1, string prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator !=(PrefixHandle prefix1, string prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator ==(PrefixHandle prefix1, XmlDictionaryString prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator !=(PrefixHandle prefix1, XmlDictionaryString prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator ==(PrefixHandle prefix1, PrefixHandle prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator !=(PrefixHandle prefix1, PrefixHandle prefix2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Equals(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static PrefixHandle() { throw null; } } internal enum StringHandleConstStringType { Type, Root, Item } internal class StringHandle { private enum StringHandleType { Dictionary, UTF8, EscapedUTF8, ConstString } private XmlBufferReader bufferReader; private StringHandleType type; private int key; private int offset; private int length; private static string[] constStrings; public bool IsEmpty { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool IsXmlns { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public StringHandle(XmlBufferReader bufferReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetConstantValue(StringHandleConstStringType constStringType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(int offset, int length, bool escaped) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(StringHandle value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ToPrefixHandle(PrefixHandle prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetString(XmlNameTable nameTable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte[] GetString(out int offset, out int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetDictionaryString(out XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals2(int key2, XmlBufferReader bufferReader2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals2(XmlDictionaryString xmlString2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals2(string s2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals2(int offset2, int length2, XmlBufferReader bufferReader2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals2(StringHandle s2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator ==(StringHandle s1, XmlDictionaryString xmlString2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator !=(StringHandle s1, XmlDictionaryString xmlString2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator ==(StringHandle s1, string s2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator !=(StringHandle s1, string s2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator ==(StringHandle s1, StringHandle s2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator !=(StringHandle s1, StringHandle s2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int CompareTo(StringHandle that) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Equals(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static StringHandle() { throw null; } } public class UniqueId { private long idLow; private long idHigh; [SecurityCritical] private string s; private const int guidLength = 16; private const int uuidLength = 45; private static short[] char2val; private const string val2char = "0123456789abcdef"; public int CharArrayLength { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public bool IsGuid { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public UniqueId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public UniqueId(Guid guid) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public UniqueId(byte[] guid) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public UniqueId(byte[] guid, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public UniqueId(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public UniqueId(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe int UnsafeDecode(short* char2val, char ch1, char ch2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeEncode(char* val2char, byte b, char* pch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeParse(char* chars, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public int ToCharArray(char[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetGuid(out Guid guid) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public bool TryGetGuid(byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override string ToString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator ==(UniqueId id1, UniqueId id2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool operator !=(UniqueId id1, UniqueId id2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Equals(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe long UnsafeGetInt64(byte* pb) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe int UnsafeGetInt32(byte* pb) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeSetInt64(long value, byte* pb) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeSetInt32(int value, byte* pb) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static UniqueId() { throw null; } } internal enum ValueHandleConstStringType { String, Number, Array, Object, Boolean, Null } internal static class ValueHandleLength { public const int Int8 = 1; public const int Int16 = 2; public const int Int32 = 4; public const int Int64 = 8; public const int UInt64 = 8; public const int Single = 4; public const int Double = 8; public const int Decimal = 16; public const int DateTime = 8; public const int TimeSpan = 8; public const int Guid = 16; public const int UniqueId = 16; } internal enum ValueHandleType { Empty, True, False, Zero, One, Int8, Int16, Int32, Int64, UInt64, Single, Double, Decimal, DateTime, TimeSpan, Guid, UniqueId, UTF8, EscapedUTF8, Base64, Dictionary, List, Char, Unicode, QName, ConstString } internal class ValueHandle { private XmlBufferReader bufferReader; private ValueHandleType type; private int offset; private int length; private static Base64Encoding base64Encoding; private static string[] constStrings; private static Base64Encoding Base64Encoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ValueHandle(XmlBufferReader bufferReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetConstantValue(ValueHandleConstStringType constStringType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(ValueHandleType type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetDictionaryValue(int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetCharValue(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetQNameValue(int prefix, int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetValue(ValueHandleType type, int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsWhitespace() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Type ToType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool ToBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ToInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public long ToLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ulong ToULong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public float ToSingle() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public double ToDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public decimal ToDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DateTime ToDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public UniqueId ToUniqueId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public TimeSpan ToTimeSpan() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Guid ToGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte[] ToByteArray() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Equals2(string str, bool checkLower) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Sign(XmlSigningNodeWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object[] ToList() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object ToObject() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryReadBase64(byte[] buffer, int offset, int count, out int actual) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryReadChars(char[] chars, int offset, int count, out int actual) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryReadUnicodeChars(char[] chars, int offset, int count, out int actual) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetDictionaryString(out XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetByteArrayLength(out int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetCharsText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetUnicodeCharsText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetEscapedCharsText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetCharText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetChar() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetInt8() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetInt16() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetInt32() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private long GetInt64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ulong GetUInt64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private float GetSingle() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private double GetDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private decimal GetDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private UniqueId GetUniqueId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private Guid GetGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void GetBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlDictionaryString GetDictionaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetQNameDictionaryText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static ValueHandle() { throw null; } } internal abstract class XmlBaseReader : XmlDictionaryReader { protected enum QNameType { Normal, Xmlns } protected class XmlNode { protected enum XmlNodeFlags { None = 0, CanGetAttribute = 1, CanMoveToElement = 2, HasValue = 4, AtomicValue = 8, SkipValue = 0x10, HasContent = 0x20 } private XmlNodeType nodeType; private PrefixHandle prefix; private StringHandle localName; private ValueHandle value; private Namespace ns; private bool hasValue; private bool canGetAttribute; private bool canMoveToElement; private ReadState readState; private XmlAttributeTextNode attributeTextNode; private bool exitScope; private int depthDelta; private bool isAtomicValue; private bool skipValue; private QNameType qnameType; private bool hasContent; private bool isEmptyElement; private char quoteChar; public bool HasValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ReadState ReadState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public StringHandle LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public PrefixHandle Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool CanGetAttribute { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool CanMoveToElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public XmlAttributeTextNode AttributeText { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool SkipValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ValueHandle Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int DepthDelta { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool HasContent { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public XmlNodeType NodeType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public QNameType QNameType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public Namespace Namespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsAtomicValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool ExitScope { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsEmptyElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public char QuoteChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string ValueAsString { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlNode(XmlNodeType nodeType, PrefixHandle prefix, StringHandle localName, ValueHandle value, XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsLocalName(XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsNamespaceUri(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsNamespaceUri(XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsLocalNameAndNamespaceUri(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsLocalNameAndNamespaceUri(XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsPrefixAndLocalName(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetLocalNameAsDictionaryString(out XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetNamespaceUriAsDictionaryString(out XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetValueAsDictionaryString(out XmlDictionaryString value) { throw null; } } protected class XmlElementNode : XmlNode { private XmlEndElementNode endElementNode; private int bufferOffset; public int NameOffset; public int NameLength; public XmlEndElementNode EndElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int BufferOffset { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlElementNode(XmlBufferReader bufferReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlElementNode(PrefixHandle prefix, StringHandle localName, ValueHandle value) { throw null; } } protected class XmlAttributeNode : XmlNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlAttributeNode(XmlBufferReader bufferReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlAttributeNode(PrefixHandle prefix, StringHandle localName, ValueHandle value) { throw null; } } protected class XmlEndElementNode : XmlNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlEndElementNode(PrefixHandle prefix, StringHandle localName, ValueHandle value) { throw null; } } protected class XmlTextNode : XmlNode { [MethodImpl(MethodImplOptions.NoInlining)] protected XmlTextNode(XmlNodeType nodeType, PrefixHandle prefix, StringHandle localName, ValueHandle value, XmlNodeFlags nodeFlags, ReadState readState, XmlAttributeTextNode attributeTextNode, int depthDelta) { throw null; } } protected class XmlAtomicTextNode : XmlTextNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlAtomicTextNode(XmlBufferReader bufferReader) { throw null; } } protected class XmlComplexTextNode : XmlTextNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlComplexTextNode(XmlBufferReader bufferReader) { throw null; } } protected class XmlWhitespaceTextNode : XmlTextNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlWhitespaceTextNode(XmlBufferReader bufferReader) { throw null; } } protected class XmlCDataNode : XmlTextNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlCDataNode(XmlBufferReader bufferReader) { throw null; } } protected class XmlAttributeTextNode : XmlTextNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlAttributeTextNode(PrefixHandle prefix, StringHandle localName, ValueHandle value) { throw null; } } protected class XmlInitialNode : XmlNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlInitialNode(XmlBufferReader bufferReader) { throw null; } } protected class XmlDeclarationNode : XmlNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlDeclarationNode(XmlBufferReader bufferReader) { throw null; } } protected class XmlCommentNode : XmlNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlCommentNode(XmlBufferReader bufferReader) { throw null; } } protected class XmlEndOfFileNode : XmlNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlEndOfFileNode(XmlBufferReader bufferReader) { throw null; } } protected class XmlClosedNode : XmlNode { [MethodImpl(MethodImplOptions.NoInlining)] public XmlClosedNode(XmlBufferReader bufferReader) { throw null; } } private class AttributeSorter : IComparer { private object[] indeces; private XmlAttributeNode[] attributeNodes; private int attributeCount; private int attributeIndex1; private int attributeIndex2; [MethodImpl(MethodImplOptions.NoInlining)] public bool Sort(XmlAttributeNode[] attributeNodes, int attributeCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void GetIndeces(out int attributeIndex1, out int attributeIndex2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Sort() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsSorted() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int Compare(object obj1, object obj2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int CompareQNameType(QNameType type1, QNameType type2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public AttributeSorter() { throw null; } } private class NamespaceManager { private class XmlAttribute { private XmlSpace space; private string lang; private int depth; public int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlAttribute() { throw null; } } private XmlBufferReader bufferReader; private Namespace[] namespaces; private int nsCount; private int depth; private Namespace[] shortPrefixUri; private static Namespace emptyNamespace; private static Namespace xmlNamespace; private XmlAttribute[] attributes; private int attributeCount; private XmlSpace space; private string lang; public static Namespace XmlNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public static Namespace EmptyNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public NamespaceManager(XmlBufferReader bufferReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void EnterScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ExitScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Sign(XmlSigningNodeWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void AddLangAttribute(string lang) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void AddSpaceAttribute(XmlSpace space) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Register(Namespace nameSpace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Namespace AddNamespace() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Namespace LookupNamespace(PrefixHandleType prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Namespace LookupNamespace(PrefixHandle prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Namespace LookupNamespace(string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryGetShortPrefix(string s, out PrefixHandleType shortPrefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static NamespaceManager() { throw null; } } protected class Namespace { private PrefixHandle prefix; private StringHandle uri; private int depth; private Namespace outerUri; private string uriString; public int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public PrefixHandle Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public StringHandle Uri { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public Namespace OuterUri { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public Namespace(XmlBufferReader bufferReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsUri(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsUri(XmlDictionaryString s) { throw null; } } private class QuotaNameTable : XmlNameTable { private XmlDictionaryReader reader; private XmlNameTable nameTable; private int maxCharCount; private int charCount; [MethodImpl(MethodImplOptions.NoInlining)] public QuotaNameTable(XmlDictionaryReader reader, int maxCharCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string Get(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string Get(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Add(int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string Add(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string Add(string value) { throw null; } } private XmlBufferReader bufferReader; private XmlNode node; private NamespaceManager nsMgr; private XmlElementNode[] elementNodes; private XmlAttributeNode[] attributeNodes; private XmlAtomicTextNode atomicTextNode; private int depth; private int attributeCount; private int attributeStart; private XmlDictionaryReaderQuotas quotas; private XmlNameTable nameTable; private XmlDeclarationNode declarationNode; private XmlComplexTextNode complexTextNode; private XmlWhitespaceTextNode whitespaceTextNode; private XmlCDataNode cdataNode; private XmlCommentNode commentNode; private XmlElementNode rootElementNode; private int attributeIndex; private char[] chars; private string prefix; private string localName; private string ns; private string value; private int trailCharCount; private int trailByteCount; private char[] trailChars; private byte[] trailBytes; private bool rootElement; private bool readingElement; private XmlSigningNodeWriter signingWriter; private bool signing; private AttributeSorter attributeSorter; private static XmlInitialNode initialNode; private static XmlEndOfFileNode endOfFileNode; private static XmlClosedNode closedNode; private static BinHexEncoding binhexEncoding; private static Base64Encoding base64Encoding; private const string xmlns = "xmlns"; private const string xml = "xml"; private const string xmlnsNamespace = "http://www.w3.org/2000/xmlns/"; private const string xmlNamespace = "http://www.w3.org/XML/1998/namespace"; private static BinHexEncoding BinHexEncoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private static Base64Encoding Base64Encoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected XmlBufferReader BufferReader { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlDictionaryReaderQuotas Quotas { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected XmlNode Node { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected XmlElementNode ElementNode { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected bool OutsideRootElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadBinaryContent { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadValueChunk { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string BaseURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsDefault { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[int index] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string localName, string namespaceUri] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int AttributeCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public sealed override int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool EOF { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public sealed override bool IsEmptyElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string NamespaceURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNameTable NameTable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public sealed override XmlNodeType NodeType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override char QuoteChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override ReadState ReadState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override Type ValueType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanCanonicalize { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected bool Signing { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlBaseReader() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void MoveToNode(XmlNode node) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void MoveToInitial(XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlDeclarationNode MoveToDeclaration() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckStandalone(int attr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckDeclAttribute(int index, string localName, string value, bool checkLower, string valueSR) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlCommentNode MoveToComment() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlCDataNode MoveToCData() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlAtomicTextNode MoveToAtomicText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlComplexTextNode MoveToComplexText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlTextNode MoveToWhitespaceText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void MoveToEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void MoveToEndOfFile() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlElementNode EnterScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void ExitScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlAttributeNode AddAttribute(QNameType qnameType, bool isAtomicValue) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected Namespace AddNamespace() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlAttributeNode AddAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlAttributeNode AddXmlAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlAttributeNode AddXmlnsAttribute(Namespace ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void FixXmlAttribute(XmlAttributeNode attributeNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlAttributeNode GetAttributeNode(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlAttributeNode GetAttributeNode(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlAttributeNode GetAttributeNode(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlAttributeNode GetAttributeNode(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupNamespace(string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected Namespace LookupNamespace(PrefixHandleType prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected Namespace LookupNamespace(PrefixHandle prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void ProcessAttributes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ProcessAttributes(XmlAttributeNode[] attributeNodes, int attributeCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckAttributes(XmlAttributeNode[] attributeNodes, int attributeCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void MoveToAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override XmlNodeType MoveToContent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToFirstAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToNextAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetLocalName(bool enforceAtomization) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetNamespaceUri(bool enforceAtomization) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void GetNonAtomizedNames(out string localName, out string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsLocalName(XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsNamespaceUri(string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsNamespaceUri(XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public sealed override bool IsStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int IndexOfLocalName(string[] localNames, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int IndexOfLocalName(XmlDictionaryString[] localNames, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueChunk(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadElementContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadElementString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadElementString(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadElementString(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ReadStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ReadStartElement(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ReadStartElement(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ReadEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadAttributeValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SkipValue(XmlNode node) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool TryGetBase64ContentLength(out int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override byte[] ReadContentAsBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadElementContentAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override byte[] ReadContentAsBinHex() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadElementContentAsBinHex(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBinHex(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadBytes(Encoding encoding, int byteBlock, int charBlock, byte[] buffer, int offset, int byteCount, bool readContent) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadContentAsBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long ReadContentAsLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override DateTime ReadContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override double ReadContentAsDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override float ReadContentAsFloat() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal ReadContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override UniqueId ReadContentAsUniqueId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override TimeSpan ReadContentAsTimeSpan() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override Guid ReadContentAsGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadContentAsObject() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadContentAs(Type type, IXmlNamespaceResolver namespaceResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ResolveEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Skip() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool TryGetLocalNameAsDictionaryString(out XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool TryGetNamespaceUriAsDictionaryString(out XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool TryGetValueAsDictionaryString(out XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override short[] ReadInt16Array(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override short[] ReadInt16Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int[] ReadInt32Array(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int[] ReadInt32Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long[] ReadInt64Array(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long[] ReadInt64Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override float[] ReadSingleArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override float[] ReadSingleArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override double[] ReadDoubleArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override double[] ReadDoubleArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal[] ReadDecimalArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal[] ReadDecimalArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override DateTime[] ReadDateTimeArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override DateTime[] ReadDateTimeArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override Guid[] ReadGuidArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override Guid[] ReadGuidArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override TimeSpan[] ReadTimeSpanArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override TimeSpan[] ReadTimeSpanArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetOpenElements() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private char[] GetCharBuffer(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SignStartElement(XmlSigningNodeWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SignAttribute(XmlSigningNodeWriter writer, XmlAttributeNode attributeNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SignEndElement(XmlSigningNodeWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SignNode(XmlSigningNodeWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void SignNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void EndCanonicalization() { throw null; } protected abstract XmlSigningNodeWriter CreateSigningNodeWriter(); [MethodImpl(MethodImplOptions.NoInlining)] static XmlBaseReader() { throw null; } } internal abstract class XmlBaseWriter : XmlDictionaryWriter, IFragmentCapableXmlDictionaryWriter { private class WriteBase64AsyncResult : AsyncResult { private static AsyncCompletion onComplete; private XmlBaseWriter writer; private byte[] buffer; private int offset; private int count; private int actualByteCount; private int totalByteCount; [MethodImpl(MethodImplOptions.NoInlining)] public WriteBase64AsyncResult(byte[] buffer, int offset, int count, XmlBaseWriter writer, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleWriteBase64Text(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void End(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static WriteBase64AsyncResult() { throw null; } } private class Element { private string prefix; private string localName; private int prefixId; public string Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public int PrefixId { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Element() { throw null; } } private enum DocumentState : byte { None, Document, Epilog, End } private class NamespaceManager { private class XmlAttribute { private XmlSpace space; private string lang; private int depth; public int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } } private class Namespace { private string prefix; private string ns; private XmlDictionaryString xNs; private int depth; private char prefixChar; public int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public char PrefixChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string Uri { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlDictionaryString UriDictionaryString { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public Namespace() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } } private Namespace[] namespaces; private Namespace lastNameSpace; private int nsCount; private int depth; private XmlAttribute[] attributes; private int attributeCount; private XmlSpace space; private string lang; private int namespaceBoundary; private int nsTop; private Namespace defaultNamespace; public string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int NamespaceBoundary { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public NamespaceManager() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void DeclareNamespaces(XmlNodeWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void EnterScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ExitScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void AddLangAttribute(string lang) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void AddSpaceAttribute(XmlSpace space) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string AddNamespace(string uri, XmlDictionaryString uriDictionaryString) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void AddNamespaceIfNotDeclared(string prefix, string uri, XmlDictionaryString uriDictionaryString) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void AddNamespace(string prefix, string uri, XmlDictionaryString uriDictionaryString) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string LookupPrefix(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string LookupAttributePrefix(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string LookupNamespace(string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Sign(XmlCanonicalWriter signingWriter) { throw null; } } private class XmlBaseWriterNodeWriterAsyncHelper { private static AsyncEventArgsCallback onWriteComplete; private XmlBaseWriter writer; private byte[] buffer; private int offset; private int count; private int actualByteCount; private int totalByteCount; private AsyncEventArgs nodeWriterAsyncState; private XmlNodeWriterWriteBase64TextArgs nodeWriterArgs; private AsyncEventArgs inputState; [MethodImpl(MethodImplOptions.NoInlining)] public XmlBaseWriterNodeWriterAsyncHelper(XmlBaseWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetArguments(AsyncEventArgs inputState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public AsyncCompletionResult StartAsync() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnWriteComplete(IAsyncEventArgs asyncEventArgs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleWriteBase64Text(bool isAsyncCallback) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Clear() { throw null; } } private XmlNodeWriter writer; private NamespaceManager nsMgr; private Element[] elements; private int depth; private string attributeLocalName; private string attributeValue; private bool isXmlAttribute; private bool isXmlnsAttribute; private WriteState writeState; private DocumentState documentState; private byte[] trailBytes; private int trailByteCount; private XmlStreamNodeWriter nodeWriter; private XmlSigningNodeWriter signingWriter; private XmlUTF8NodeWriter textFragmentWriter; private XmlNodeWriter oldWriter; private Stream oldStream; private int oldNamespaceBoundary; private bool inList; private const string xmlnsNamespace = "http://www.w3.org/2000/xmlns/"; private const string xmlNamespace = "http://www.w3.org/XML/1998/namespace"; private static BinHexEncoding binhexEncoding; private static string[] prefixes; private XmlBaseWriterNodeWriterAsyncHelper nodeWriterAsyncHelper; protected bool IsClosed { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private static BinHexEncoding BinHexEncoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override WriteState WriteState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected int NamespaceBoundary { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public override bool CanCanonicalize { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected bool Signing { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public virtual bool CanFragment { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlBaseWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void SetOutput(XmlStreamNodeWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void ThrowClosed() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void StartAttribute(ref string prefix, string localName, string ns, XmlDictionaryString xNs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteFullEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDocType(string name, string pubid, string sysid, string subset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void StartElement(ref string prefix, string localName, string ns, XmlDictionaryString xNs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private Element EnterScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ExitScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void FlushElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void StartComment() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void EndComment() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void StartContent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void StartContent(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void StartContent(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void StartContent(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void VerifyWhitespace(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void VerifyWhitespace(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void VerifyWhitespace(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsWhitespace(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void EndContent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AutoComplete(WriteState writeState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EndStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupPrefix(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string LookupNamespace(string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetQualifiedNamePrefix(string namespaceUri, XmlDictionaryString xNs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument(bool standalone) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteProcessingInstruction(string name, string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void FinishDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEntityRef(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteName(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteNmToken(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteWhitespace(string whitespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteChars(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteSurrogateCharEntity(char lowChar, char highChar) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void WritePrimitiveValue(object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteValue(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(decimal value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(UniqueId value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(Guid value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override IAsyncResult BeginWriteBase64(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void EndWriteBase64(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override AsyncCompletionResult WriteBase64Async(AsyncEventArgs state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBinHex(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void EndCanonicalization() { throw null; } protected abstract XmlSigningNodeWriter CreateSigningNodeWriter(); [MethodImpl(MethodImplOptions.NoInlining)] public void StartFragment(Stream stream, bool generateSelfContainedTextFragment) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void EndFragment() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteFragment(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void FlushBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void FlushTrailBytes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteValue(object[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteValue(Array array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void StartArray(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void EndArray() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureBufferBounds(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GeneratePrefix(string ns, XmlDictionaryString xNs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void SignScope(XmlCanonicalWriter signingWriter) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteAttributeText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlBaseWriter() { throw null; } } internal enum XmlBinaryNodeType { EndElement = 1, Comment = 2, Array = 3, MinAttribute = 4, ShortAttribute = 4, Attribute = 5, ShortDictionaryAttribute = 6, DictionaryAttribute = 7, ShortXmlnsAttribute = 8, XmlnsAttribute = 9, ShortDictionaryXmlnsAttribute = 10, DictionaryXmlnsAttribute = 11, PrefixDictionaryAttributeA = 12, PrefixDictionaryAttributeB = 13, PrefixDictionaryAttributeC = 14, PrefixDictionaryAttributeD = 15, PrefixDictionaryAttributeE = 16, PrefixDictionaryAttributeF = 17, PrefixDictionaryAttributeG = 18, PrefixDictionaryAttributeH = 19, PrefixDictionaryAttributeI = 20, PrefixDictionaryAttributeJ = 21, PrefixDictionaryAttributeK = 22, PrefixDictionaryAttributeL = 23, PrefixDictionaryAttributeM = 24, PrefixDictionaryAttributeN = 25, PrefixDictionaryAttributeO = 26, PrefixDictionaryAttributeP = 27, PrefixDictionaryAttributeQ = 28, PrefixDictionaryAttributeR = 29, PrefixDictionaryAttributeS = 30, PrefixDictionaryAttributeT = 31, PrefixDictionaryAttributeU = 32, PrefixDictionaryAttributeV = 33, PrefixDictionaryAttributeW = 34, PrefixDictionaryAttributeX = 35, PrefixDictionaryAttributeY = 36, PrefixDictionaryAttributeZ = 37, PrefixAttributeA = 38, PrefixAttributeB = 39, PrefixAttributeC = 40, PrefixAttributeD = 41, PrefixAttributeE = 42, PrefixAttributeF = 43, PrefixAttributeG = 44, PrefixAttributeH = 45, PrefixAttributeI = 46, PrefixAttributeJ = 47, PrefixAttributeK = 48, PrefixAttributeL = 49, PrefixAttributeM = 50, PrefixAttributeN = 51, PrefixAttributeO = 52, PrefixAttributeP = 53, PrefixAttributeQ = 54, PrefixAttributeR = 55, PrefixAttributeS = 56, PrefixAttributeT = 57, PrefixAttributeU = 58, PrefixAttributeV = 59, PrefixAttributeW = 60, PrefixAttributeX = 61, PrefixAttributeY = 62, PrefixAttributeZ = 63, MaxAttribute = 63, MinElement = 64, ShortElement = 64, Element = 65, ShortDictionaryElement = 66, DictionaryElement = 67, PrefixDictionaryElementA = 68, PrefixDictionaryElementB = 69, PrefixDictionaryElementC = 70, PrefixDictionaryElementD = 71, PrefixDictionaryElementE = 72, PrefixDictionaryElementF = 73, PrefixDictionaryElementG = 74, PrefixDictionaryElementH = 75, PrefixDictionaryElementI = 76, PrefixDictionaryElementJ = 77, PrefixDictionaryElementK = 78, PrefixDictionaryElementL = 79, PrefixDictionaryElementM = 80, PrefixDictionaryElementN = 81, PrefixDictionaryElementO = 82, PrefixDictionaryElementP = 83, PrefixDictionaryElementQ = 84, PrefixDictionaryElementR = 85, PrefixDictionaryElementS = 86, PrefixDictionaryElementT = 87, PrefixDictionaryElementU = 88, PrefixDictionaryElementV = 89, PrefixDictionaryElementW = 90, PrefixDictionaryElementX = 91, PrefixDictionaryElementY = 92, PrefixDictionaryElementZ = 93, PrefixElementA = 94, PrefixElementB = 95, PrefixElementC = 96, PrefixElementD = 97, PrefixElementE = 98, PrefixElementF = 99, PrefixElementG = 100, PrefixElementH = 101, PrefixElementI = 102, PrefixElementJ = 103, PrefixElementK = 104, PrefixElementL = 105, PrefixElementM = 106, PrefixElementN = 107, PrefixElementO = 108, PrefixElementP = 109, PrefixElementQ = 110, PrefixElementR = 111, PrefixElementS = 112, PrefixElementT = 113, PrefixElementU = 114, PrefixElementV = 115, PrefixElementW = 116, PrefixElementX = 117, PrefixElementY = 118, PrefixElementZ = 119, MaxElement = 119, MinText = 128, ZeroText = 128, OneText = 130, FalseText = 132, TrueText = 134, Int8Text = 136, Int16Text = 138, Int32Text = 140, Int64Text = 142, FloatText = 144, DoubleText = 146, DecimalText = 148, DateTimeText = 150, Chars8Text = 152, Chars16Text = 154, Chars32Text = 156, Bytes8Text = 158, Bytes16Text = 160, Bytes32Text = 162, StartListText = 164, EndListText = 166, EmptyText = 168, DictionaryText = 170, UniqueIdText = 172, TimeSpanText = 174, GuidText = 176, UInt64Text = 178, BoolText = 180, UnicodeChars8Text = 182, UnicodeChars16Text = 184, UnicodeChars32Text = 186, QNameDictionaryText = 188, ZeroTextWithEndElement = 129, OneTextWithEndElement = 131, FalseTextWithEndElement = 133, TrueTextWithEndElement = 135, Int8TextWithEndElement = 137, Int16TextWithEndElement = 139, Int32TextWithEndElement = 141, Int64TextWithEndElement = 143, FloatTextWithEndElement = 145, DoubleTextWithEndElement = 147, DecimalTextWithEndElement = 149, DateTimeTextWithEndElement = 151, Chars8TextWithEndElement = 153, Chars16TextWithEndElement = 155, Chars32TextWithEndElement = 157, Bytes8TextWithEndElement = 159, Bytes16TextWithEndElement = 161, Bytes32TextWithEndElement = 163, StartListTextWithEndElement = 165, EndListTextWithEndElement = 167, EmptyTextWithEndElement = 169, DictionaryTextWithEndElement = 171, UniqueIdTextWithEndElement = 173, TimeSpanTextWithEndElement = 175, GuidTextWithEndElement = 177, UInt64TextWithEndElement = 179, BoolTextWithEndElement = 181, UnicodeChars8TextWithEndElement = 183, UnicodeChars16TextWithEndElement = 185, UnicodeChars32TextWithEndElement = 187, QNameDictionaryTextWithEndElement = 189, MaxText = 189 } public interface IXmlBinaryReaderInitializer { void SetInput(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose); void SetInput(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose); } internal class XmlBinaryReader : XmlBaseReader, IXmlBinaryReaderInitializer { private enum ArrayState { None, Element, Content } private bool isTextWithEndElement; private bool buffered; private ArrayState arrayState; private int arrayCount; private int maxBytesPerRead; private XmlBinaryNodeType arrayNodeType; private OnXmlDictionaryReaderClose onClose; [MethodImpl(MethodImplOptions.NoInlining)] public XmlBinaryReader() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetInput(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetInput(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveToInitial(XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadElementContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadElementContentAsBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadElementContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool CanOptimizeReadElementContent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override float ReadElementContentAsFloat() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override double ReadElementContentAsDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal ReadElementContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override DateTime ReadElementContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override TimeSpan ReadElementContentAsTimeSpan() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override Guid ReadElementContentAsGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override UniqueId ReadElementContentAsUniqueId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool TryGetBase64ContentLength(out int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadTextWithEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlAtomicTextNode MoveToAtomicTextWithEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool ReadNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void VerifyWhitespace() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadAttributes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadAttributes2() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadText(XmlTextNode textNode, ValueHandleType type, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadBinaryText(XmlTextNode textNode, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadPartialUTF8Text(bool withEndElement, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadUnicodeText(bool withEndElement, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadPartialUnicodeText(bool withEndElement, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadPartialBinaryText(bool withEndElement, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InsertNode(XmlBinaryNodeType nodeType, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadAttributeText(XmlAttributeTextNode textNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadName(ValueHandle value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadName(StringHandle handle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadName(PrefixHandle prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadDictionaryName(StringHandle s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlBinaryNodeType GetNodeType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SkipNodeType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadDictionaryKey() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadMultiByteUInt31() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadUInt8() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadUInt16() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadUInt31() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsValidArrayType(XmlBinaryNodeType nodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadArray() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveToArrayElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SkipArrayElements(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartArray(out Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool TryGetArrayLength(out int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsStartArray(string localName, string namespaceUri, XmlBinaryNodeType nodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsStartArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, XmlBinaryNodeType nodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckArray(Array array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private int ReadArray(bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private int ReadArray(short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private int ReadArray(int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private int ReadArray(long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private int ReadArray(float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private int ReadArray(double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private int ReadArray(decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadArray(DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadArray(Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadArray(TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(string localName, string namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override XmlSigningNodeWriter CreateSigningNodeWriter() { throw null; } } public class XmlBinaryReaderSession : IXmlDictionary { private const int MaxArrayEntries = 2048; private XmlDictionaryString[] strings; private Dictionary stringDict; [MethodImpl(MethodImplOptions.NoInlining)] public XmlBinaryReaderSession() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlDictionaryString Add(int id, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(int key, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(string value, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(XmlDictionaryString value, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } } public interface IXmlBinaryWriterInitializer { void SetOutput(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream); } internal class XmlBinaryNodeWriter : XmlStreamNodeWriter { private struct AttributeValue { private string captureText; private XmlDictionaryString captureXText; private MemoryStream captureStream; [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteText(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteText(XmlDictionaryString s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteBase64Text(byte[] trailBytes, int trailByteCount, byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteTo(XmlBinaryNodeWriter writer) { throw null; } } private IXmlDictionary dictionary; private XmlBinaryWriterSession session; private bool inAttribute; private bool inList; private bool wroteAttributeValue; private AttributeValue attributeValue; private const int maxBytesPerChar = 3; private int textNodeOffset; [MethodImpl(MethodImplOptions.NoInlining)] public XmlBinaryNodeWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetOutput(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteNode(XmlBinaryNodeType nodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WroteAttributeValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteTextNode(XmlBinaryNodeType nodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private byte[] GetTextNodeBuffer(int size, out int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteTextNodeWithLength(XmlBinaryNodeType nodeType, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteTextNodeWithInt64(XmlBinaryNodeType nodeType, long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDeclaration() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WritePrefixNode(XmlBinaryNodeType nodeType, int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndStartElement(bool isEmpty) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryGetKey(XmlDictionaryString s, out int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteDictionaryString(XmlDictionaryString s, int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private void WriteName(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeWriteName(char* chars, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteMultiByteInt32(int i) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteEmptyText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBoolText(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteInt32Text(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteInt64Text(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUInt64Text(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteInt64(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64Text(byte[] trailBytes, int trailByteCount, byte[] base64Buffer, int base64Offset, int base64Count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(byte[] chars, int charOffset, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeWriteText(char* chars, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteFloatText(float f) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteDoubleText(double d) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteDecimalText(decimal d) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDateTimeText(DateTime dt) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUniqueIdText(UniqueId value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteGuidText(Guid guid) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteTimeSpanText(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartListText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteListSeparator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndListText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteArrayNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteArrayInfo(XmlBinaryNodeType nodeType, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public unsafe void UnsafeWriteArray(XmlBinaryNodeType nodeType, int count, byte* array, byte* arrayMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeWriteArray(byte* array, int byteCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteDateTimeArray(DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteGuidArray(Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteTimeSpanArray(TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void FlushBuffer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } } internal class XmlBinaryWriter : XmlBaseWriter, IXmlBinaryWriterInitializer { private XmlBinaryNodeWriter writer; private char[] chars; private byte[] bytes; [MethodImpl(MethodImplOptions.NoInlining)] public void SetOutput(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override XmlSigningNodeWriter CreateSigningNodeWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteTextNode(XmlDictionaryReader reader, bool attribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteStartArray(string prefix, string localName, string namespaceUri, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteStartArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteEndArray() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeWriteArray(string prefix, string localName, string namespaceUri, XmlBinaryNodeType nodeType, int count, byte* array, byte* arrayMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeWriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, XmlBinaryNodeType nodeType, int count, byte* array, byte* arrayMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckArray(Array array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, string localName, string namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, string localName, string namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, string localName, string namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, string localName, string namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, string localName, string namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, string localName, string namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlBinaryWriter() { throw null; } } public class XmlBinaryWriterSession { private class PriorityDictionary where K : class { private struct Entry { public K Key; public V Value; public int Time; } private Dictionary dictionary; private Entry[] list; private int listCount; private int now; private int Now { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public PriorityDictionary() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryGetValue(K key, out V value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Add(K key, V value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void DecreaseAll() { throw null; } } private class IntArray { private int[] array; public int this[int index] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public IntArray(int size) { throw null; } } private PriorityDictionary strings; private PriorityDictionary maps; private int nextKey; [MethodImpl(MethodImplOptions.NoInlining)] public XmlBinaryWriterSession() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryAdd(XmlDictionaryString value, out int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int Add(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private IntArray AddKeys(IXmlDictionary dictionary, int minCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Reset() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryLookup(XmlDictionaryString s, out int key) { throw null; } } internal class XmlBufferReader { private XmlDictionaryReader reader; private Stream stream; private byte[] streamBuffer; private byte[] buffer; private int offsetMin; private int offsetMax; private IXmlDictionary dictionary; private XmlBinaryReaderSession session; private byte[] guid; private int offset; private const int maxBytesPerChar = 3; private char[] chars; private int windowOffset; private int windowOffsetMax; private ValueHandle listValue; private static byte[] emptyByteArray; private static XmlBufferReader empty; public static XmlBufferReader Empty { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public byte[] Buffer { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool IsStreamed { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool EndOfFile { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int Offset { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlBufferReader(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlBufferReader(byte[] buffer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetBuffer(Stream stream, IXmlDictionary dictionary, XmlBinaryReaderSession session) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetBuffer(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlBinaryReaderSession session) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetBuffer(Stream stream, byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlBinaryReaderSession session) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte GetByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SkipByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private byte GetByteHard() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte[] GetBuffer(int count, out int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte[] GetBuffer(int count, out int offset, out int offsetMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte[] GetBuffer(out int offset, out int offsetMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private byte[] GetBufferHard(int count, out int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryEnsureByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureBytes(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryEnsureBytes(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Advance(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void InsertBytes(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetWindow(int windowOffset, int windowLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadBytes(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadMultiByteUInt31() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadUInt8() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadInt8() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadUInt16() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadInt16() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadInt32() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadUInt31() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public long ReadInt64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public float ReadSingle() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public double ReadDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public decimal ReadDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public UniqueId ReadUniqueId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DateTime ReadDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public TimeSpan ReadTimeSpan() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Guid ReadGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string ReadUTF8String(int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public unsafe void UnsafeReadArray(byte* dst, byte* dstMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeReadArray(byte* dst, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private char[] GetCharBuffer(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetChars(int offset, int length, char[] chars) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetChars(int offset, int length, char[] chars, int charOffset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetString(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetUnicodeString(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetString(int offset, int length, XmlNameTable nameTable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetEscapedChars(int offset, int length, char[] chars) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsAttrChar(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetEscapedString(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetEscapedString(int offset, int length, XmlNameTable nameTable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetLessThanCharEntity(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetGreaterThanCharEntity(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetQuoteCharEntity(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetAmpersandCharEntity(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetApostropheCharEntity(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetDecimalCharEntity(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetHexCharEntity(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetCharEntity(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsWhitespaceKey(int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsWhitespaceUTF8(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsWhitespaceUnicode(int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Equals2(int key1, int key2, XmlBufferReader bufferReader2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Equals2(int key1, XmlDictionaryString xmlString2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Equals2(int offset1, int length1, byte[] buffer2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Equals2(int offset1, int length1, XmlBufferReader bufferReader2, int offset2, int length2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Equals2(int offset1, int length1, int offset2, int length2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public bool Equals2(int offset1, int length1, string s2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int Compare(int offset1, int length1, int offset2, int length2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte GetByte(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetInt8(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetInt16(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetInt32(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public long GetInt64(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ulong GetUInt64(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public float GetSingle(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public double GetDouble(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public decimal GetDecimal(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public UniqueId GetUniqueId(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Guid GetGuid(int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void GetBase64(int srcOffset, byte[] buffer, int dstOffset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlBinaryNodeType GetNodeType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SkipNodeType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object[] GetList(int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlDictionaryString GetDictionaryString(int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadDictionaryKey() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ReadValue(XmlBinaryNodeType nodeType, ValueHandle value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadValue(ValueHandle value, ValueHandleType type, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadUnicodeValue(ValueHandle value, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadList(ValueHandle value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ReadQName(ValueHandle value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int[] GetRows() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlBufferReader() { throw null; } } internal sealed class XmlCanonicalWriter { private class AttributeSorter : IComparer { private XmlCanonicalWriter writer; [MethodImpl(MethodImplOptions.NoInlining)] public AttributeSorter(XmlCanonicalWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Sort() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int Compare(object obj1, object obj2) { throw null; } } private struct Scope { public int xmlnsAttributeCount; public int xmlnsOffset; } private struct Element { public int prefixOffset; public int prefixLength; public int localNameOffset; public int localNameLength; } private struct Attribute { public int prefixOffset; public int prefixLength; public int localNameOffset; public int localNameLength; public int nsOffset; public int nsLength; public int offset; public int length; } private struct XmlnsAttribute { public int prefixOffset; public int prefixLength; public int nsOffset; public int nsLength; public bool referred; } private XmlUTF8NodeWriter writer; private MemoryStream elementStream; private byte[] elementBuffer; private XmlUTF8NodeWriter elementWriter; private bool inStartElement; private int depth; private Scope[] scopes; private int xmlnsAttributeCount; private XmlnsAttribute[] xmlnsAttributes; private int attributeCount; private Attribute[] attributes; private Attribute attribute; private Element element; private byte[] xmlnsBuffer; private int xmlnsOffset; private const int maxBytesPerChar = 3; private int xmlnsStartOffset; private bool includeComments; private string[] inclusivePrefixes; private const string xmlnsNamespace = "http://www.w3.org/2000/xmlns/"; private static readonly bool[] isEscapedAttributeChar; private static readonly bool[] isEscapedElementChar; [MethodImpl(MethodImplOptions.NoInlining)] public XmlCanonicalWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetOutput(Stream stream, bool includeComments, string[] inclusivePrefixes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteDeclaration() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteComment(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void StartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteStartElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteStartElement(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsInclusivePrefix(ref XmlnsAttribute xmlnsAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteEndStartElement(bool isEmpty) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteEndElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureXmlnsBuffer(int byteCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteXmlnsAttribute(string prefix, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteXmlnsAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] nsBuffer, int nsOffset, int nsLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteStartAttribute(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteStartAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteCharEntity(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteEscapedText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteEscapedText(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteEscapedText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteText(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteText(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowIfClosed() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowClosed() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteXmlnsAttribute(ref XmlnsAttribute xmlnsAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SortAttributes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddAttribute(ref Attribute attribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddXmlnsAttribute(ref XmlnsAttribute xmlnsAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ResolvePrefix(int prefixOffset, int prefixLength, out int nsOffset, out int nsLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ResolvePrefix(ref Attribute attribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ResolvePrefixes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int Compare(ref XmlnsAttribute xmlnsAttribute1, ref XmlnsAttribute xmlnsAttribute2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int Compare(ref Attribute attribute1, ref Attribute attribute2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int Compare(byte[] buffer, int offset1, int length1, int offset2, int length2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int Compare(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool Equals(byte[] buffer1, int offset1, int length1, byte[] buffer2, int offset2, int length2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlCanonicalWriter() { throw null; } } internal static class XmlConverter { public const int MaxDateTimeChars = 64; public const int MaxInt32Chars = 16; public const int MaxInt64Chars = 32; public const int MaxBoolChars = 5; public const int MaxFloatChars = 16; public const int MaxDoubleChars = 32; public const int MaxDecimalChars = 40; public const int MaxUInt64Chars = 32; public const int MaxPrimitiveChars = 64; private static char[] whiteSpaceChars; private static UTF8Encoding utf8Encoding; private static UnicodeEncoding unicodeEncoding; private static Base64Encoding base64Encoding; public static Base64Encoding Base64Encoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private static UTF8Encoding UTF8Encoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private static UnicodeEncoding UnicodeEncoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public static bool ToBoolean(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool ToBoolean(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToInt32(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToInt32(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static long ToInt64(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static long ToInt64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static float ToSingle(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static float ToSingle(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static double ToDouble(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static double ToDouble(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static decimal ToDecimal(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static decimal ToDecimal(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static DateTime ToDateTime(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static DateTime ToDateTime(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static DateTime ToDateTime(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static UniqueId ToUniqueId(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static UniqueId ToUniqueId(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static TimeSpan ToTimeSpan(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static TimeSpan ToTimeSpan(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static Guid ToGuid(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static Guid ToGuid(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static ulong ToUInt64(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static ulong ToUInt64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToStringUnicode(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static byte[] ToBytes(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(byte[] buffer, int offset, int count, char[] chars, int charOffset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(decimal value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(UniqueId value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(Guid value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string ToString(object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ToString(object[] objects) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ToQualifiedName(string qname, out string prefix, out string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool TryParseInt32(byte[] chars, int offset, int count, out int result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool TryParseInt64(byte[] chars, int offset, int count, out long result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool TryParseSingle(byte[] chars, int offset, int count, out float result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool TryParseDouble(byte[] chars, int offset, int count, out double result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToInt32D2(byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToInt32D4(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToInt32D7(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool TryParseDateTime(byte[] chars, int offset, int count, out DateTime result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(bool value, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToCharsR(int value, byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(int value, byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToCharsR(long value, byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(long value, byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static bool IsNegativeZero(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static bool IsNegativeZero(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToInfinity(bool isNegative, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToZero(bool isNegative, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(double value, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(float value, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(decimal value, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(ulong value, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToAsciiChars(string s, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToCharsD2(int value, byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToCharsD4(int value, byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ToCharsD7(int value, byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static int ToChars(DateTime value, byte[] chars, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool IsWhitespace(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool IsWhitespace(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string StripWhitespace(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string Trim(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlConverter() { throw null; } } public class XmlDictionary : IXmlDictionary { private class EmptyDictionary : IXmlDictionary { [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(string value, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(int key, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(XmlDictionaryString value, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public EmptyDictionary() { throw null; } } private static IXmlDictionary empty; private Dictionary lookup; private XmlDictionaryString[] strings; private int nextId; public static IXmlDictionary Empty { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlDictionary() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlDictionary(int capacity) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual XmlDictionaryString Add(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryLookup(string value, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryLookup(int key, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryLookup(XmlDictionaryString value, out XmlDictionaryString result) { throw null; } } public delegate void OnXmlDictionaryReaderClose(XmlDictionaryReader reader); public abstract class XmlDictionaryReader : XmlReader { private class XmlWrappedReader : XmlDictionaryReader, IXmlLineInfo { private XmlReader reader; private XmlNamespaceManager nsMgr; public override int AttributeCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string BaseURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadBinaryContent { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadValueChunk { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool EOF { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsDefault { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsEmptyElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string NamespaceURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNameTable NameTable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNodeType NodeType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override char QuoteChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override ReadState ReadState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[int index] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name, string namespaceUri] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override Type ValueType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int LineNumber { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int LinePosition { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlWrappedReader(XmlReader reader, XmlNamespaceManager nsMgr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupNamespace(string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void MoveToAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToFirstAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToNextAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadAttributeValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadElementString(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadElementString(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadInnerXml() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadOuterXml() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ReadStartElement(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ReadStartElement(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ReadEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ResolveEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadElementContentAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadElementContentAsBinHex(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBinHex(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueChunk(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadContentAsBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override DateTime ReadContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal ReadContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override double ReadContentAsDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long ReadContentAsLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override float ReadContentAsFloat() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadContentAs(Type type, IXmlNamespaceResolver namespaceResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool HasLineInfo() { throw null; } } internal const int MaxInitialArrayLength = 65535; public virtual bool CanCanonicalize { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public virtual XmlDictionaryReaderQuotas Quotas { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateDictionaryReader(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(byte[] buffer, int offset, int count, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(Stream stream, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateBinaryReader(Stream stream, IXmlDictionary dictionary, XmlDictionaryReaderQuotas quotas, XmlBinaryReaderSession session, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateTextReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateTextReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateTextReader(Stream stream, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateTextReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateMtomReader(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateMtomReader(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void EndCanonicalization() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void MoveToStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void MoveToStartElement(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void MoveToStartElement(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void MoveToStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool IsLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool IsLocalName(XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool IsNamespaceUri(string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool IsNamespaceUri(XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void ReadFullStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void ReadFullStartElement(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void ReadFullStartElement(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void ReadFullStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void ReadStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool IsStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int IndexOfLocalName(string[] localNames, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int IndexOfLocalName(XmlDictionaryString[] localNames, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual string GetAttribute(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryGetBase64ContentLength(out int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadValueAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual byte[] ReadContentAsBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal byte[] ReadContentAsBase64(int maxByteArrayContentLength, int maxInitialCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected string ReadContentAsString(int maxStringContentLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected string ReadString(int maxStringContentLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual byte[] ReadContentAsBinHex() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected byte[] ReadContentAsBinHex(int maxByteArrayContentLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private byte[] ReadContentAsBytes(bool base64, int maxByteArrayContentLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected bool IsTextNode(XmlNodeType nodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadContentAsChars(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadContentAs(Type type, IXmlNamespaceResolver namespaceResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual string ReadContentAsString(string[] strings, out int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual string ReadContentAsString(XmlDictionaryString[] strings, out int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal ReadContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override float ReadContentAsFloat() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual UniqueId ReadContentAsUniqueId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual Guid ReadContentAsGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual TimeSpan ReadContentAsTimeSpan() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void ReadContentAsQualifiedName(out string localName, out string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadElementContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadElementContentAsBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadElementContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long ReadElementContentAsLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override float ReadElementContentAsFloat() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override double ReadElementContentAsDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal ReadElementContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override DateTime ReadElementContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual UniqueId ReadElementContentAsUniqueId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual Guid ReadElementContentAsGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual TimeSpan ReadElementContentAsTimeSpan() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual byte[] ReadElementContentAsBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual byte[] ReadElementContentAsBinHex() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void GetNonAtomizedNames(out string localName, out string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryGetLocalNameAsDictionaryString(out XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryGetNamespaceUriAsDictionaryString(out XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryGetValueAsDictionaryString(out XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckArray(Array array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool IsStartArray(out Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool TryGetArrayLength(out int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool[] ReadBooleanArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool[] ReadBooleanArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual short[] ReadInt16Array(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual short[] ReadInt16Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int[] ReadInt32Array(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int[] ReadInt32Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual long[] ReadInt64Array(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual long[] ReadInt64Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual float[] ReadSingleArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual float[] ReadSingleArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual double[] ReadDoubleArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual double[] ReadDoubleArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual decimal[] ReadDecimalArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual decimal[] ReadDecimalArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual DateTime[] ReadDateTimeArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual DateTime[] ReadDateTimeArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual Guid[] ReadGuidArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual Guid[] ReadGuidArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual TimeSpan[] ReadTimeSpanArray(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual TimeSpan[] ReadTimeSpanArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(string localName, string namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlDictionaryReader() { throw null; } } [Flags] public enum XmlDictionaryReaderQuotaTypes { MaxDepth = 1, MaxStringContentLength = 2, MaxArrayLength = 4, MaxBytesPerRead = 8, MaxNameTableCharCount = 0x10 } public sealed class XmlDictionaryReaderQuotas { private bool readOnly; private int maxStringContentLength; private int maxArrayLength; private int maxDepth; private int maxNameTableCharCount; private int maxBytesPerRead; private XmlDictionaryReaderQuotaTypes modifiedQuotas; private const int DefaultMaxDepth = 32; private const int DefaultMaxStringContentLength = 8192; private const int DefaultMaxArrayLength = 16384; private const int DefaultMaxBytesPerRead = 4096; private const int DefaultMaxNameTableCharCount = 16384; private static XmlDictionaryReaderQuotas defaultQuota; private static XmlDictionaryReaderQuotas maxQuota; public static XmlDictionaryReaderQuotas Max { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [DefaultValue(8192)] public int MaxStringContentLength { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [DefaultValue(16384)] public int MaxArrayLength { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [DefaultValue(4096)] public int MaxBytesPerRead { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [DefaultValue(32)] public int MaxDepth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [DefaultValue(16384)] public int MaxNameTableCharCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlDictionaryReaderQuotaTypes ModifiedQuotas { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlDictionaryReaderQuotas() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlDictionaryReaderQuotas(int maxDepth, int maxStringContentLength, int maxArrayLength, int maxBytesPerRead, int maxNameTableCharCount, XmlDictionaryReaderQuotaTypes modifiedQuotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void CopyTo(XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void InternalCopyTo(XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void MakeReadOnly() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlDictionaryReaderQuotas() { throw null; } } public class XmlDictionaryString { private class EmptyStringDictionary : IXmlDictionary { private XmlDictionaryString empty; public XmlDictionaryString EmptyString { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public EmptyStringDictionary() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(string value, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(int key, out XmlDictionaryString result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool TryLookup(XmlDictionaryString value, out XmlDictionaryString result) { throw null; } } internal const int MinKey = 0; internal const int MaxKey = 536870911; private IXmlDictionary dictionary; private string value; private int key; private byte[] buffer; private static EmptyStringDictionary emptyStringDictionary; public static XmlDictionaryString Empty { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public IXmlDictionary Dictionary { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int Key { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlDictionaryString(IXmlDictionary dictionary, string value, int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(XmlDictionaryString s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal byte[] ToUTF8() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ToString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlDictionaryString() { throw null; } } public abstract class XmlDictionaryWriter : XmlWriter { private class WriteValueFastAsyncResult : AsyncResult { private enum Operation { Read, Write, Complete } private bool completed; private int blockSize; private byte[] block; private int bytesRead; private Stream stream; private Operation nextOperation; private IStreamProvider streamProvider; private XmlDictionaryWriter writer; private AsyncEventArgs writerAsyncState; private XmlWriteBase64AsyncArguments writerAsyncArgs; private static AsyncCallback onReadComplete; private static AsyncEventArgsCallback onWriteComplete; [MethodImpl(MethodImplOptions.NoInlining)] public WriteValueFastAsyncResult(XmlDictionaryWriter writer, IStreamProvider value, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CompleteAndReleaseStream(bool completedSynchronously, Exception completionException = null) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ContinueWork(bool completedSynchronously, Exception completionException = null) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private AsyncCompletionResult ReadAsync() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void HandleReadComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnReadComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private AsyncCompletionResult WriteAsync() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void HandleWriteComplete() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnWriteComplete(IAsyncEventArgs asyncState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void End(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static WriteValueFastAsyncResult() { throw null; } } private class WriteValueAsyncResult : AsyncResult { private enum Operation { Read, Write } private int blockSize; private byte[] block; private int bytesRead; private Stream stream; private Operation operation; private IStreamProvider streamProvider; private XmlDictionaryWriter writer; private Func writeBlockHandler; private static Func handleWriteBlock; private static Func handleWriteBlockAsync; private static AsyncCallback onContinueWork; [MethodImpl(MethodImplOptions.NoInlining)] public WriteValueAsyncResult(XmlDictionaryWriter writer, IStreamProvider value, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AdjustBlockSize() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CompleteAndReleaseStream(bool completedSynchronously, Exception completionException) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool ContinueWork(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleReadBlock(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool HandleWriteBlock(IAsyncResult result, WriteValueAsyncResult thisPtr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool HandleWriteBlockAsync(IAsyncResult result, WriteValueAsyncResult thisPtr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnContinueWork(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void End(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static WriteValueAsyncResult() { throw null; } } private class WriteBase64AsyncResult : ScheduleActionItemAsyncResult { private byte[] buffer; private int index; private int count; private XmlDictionaryWriter writer; [MethodImpl(MethodImplOptions.NoInlining)] public WriteBase64AsyncResult(byte[] buffer, int index, int count, XmlDictionaryWriter writer, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void OnDoWork() { throw null; } } private class XmlWrappedWriter : XmlDictionaryWriter { private XmlWriter writer; private int depth; private int prefix; public override WriteState WriteState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlWrappedWriter(XmlWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupPrefix(string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteAttributes(XmlReader reader, bool defattr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBinHex(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteChars(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDocType(string name, string pubid, string sysid, string subset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEntityRef(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteFullEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteName(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteNmToken(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteNode(XmlReader reader, bool defattr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteProcessingInstruction(string name, string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(string data) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument(bool standalone) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteSurrogateCharEntity(char lowChar, char highChar) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteWhitespace(string whitespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, string namespaceUri) { throw null; } } internal virtual bool FastAsync { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public virtual bool CanCanonicalize { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual AsyncCompletionResult WriteBase64Async(AsyncEventArgs state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override Task WriteBase64Async(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual IAsyncResult BeginWriteBase64(byte[] buffer, int index, int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void EndWriteBase64(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateBinaryWriter(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateBinaryWriter(Stream stream, IXmlDictionary dictionary) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateBinaryWriter(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateBinaryWriter(Stream stream, IXmlDictionary dictionary, XmlBinaryWriterSession session, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateTextWriter(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateTextWriter(Stream stream, Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateTextWriter(Stream stream, Encoding encoding, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateMtomWriter(Stream stream, Encoding encoding, int maxSizeInBytes, string startInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateMtomWriter(Stream stream, Encoding encoding, int maxSizeInBytes, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateDictionaryWriter(XmlWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteStartElement(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteStartAttribute(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteStartAttribute(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteAttributeString(XmlDictionaryString localName, XmlDictionaryString namespaceUri, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteXmlnsAttribute(string prefix, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteXmlnsAttribute(string prefix, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteXmlAttribute(string localName, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteXmlAttribute(XmlDictionaryString localName, XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteAttributeString(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteElementString(XmlDictionaryString localName, XmlDictionaryString namespaceUri, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteElementString(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteString(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteQualifiedName(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteValue(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteValue(IStreamProvider value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual Task WriteValueAsync(IStreamProvider value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual IAsyncResult BeginWriteValue(IStreamProvider value, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void EndWriteValue(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteValue(UniqueId value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteValue(Guid value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteValue(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void EndCanonicalization() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteElementNode(XmlDictionaryReader reader, bool defattr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteArrayNode(XmlDictionaryReader reader, string prefix, string localName, string namespaceUri, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteArrayNode(XmlDictionaryReader reader, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteArrayNode(XmlDictionaryReader reader, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void WriteTextNode(XmlDictionaryReader reader, bool isAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteNode(XmlReader reader, bool defattr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteNode(XmlDictionaryReader reader, bool defattr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckArray(Array array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, string localName, string namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlDictionaryWriter() { throw null; } } public interface IXmlMtomReaderInitializer { void SetInput(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose); void SetInput(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose); } internal class XmlMtomReader : XmlDictionaryReader, IXmlLineInfo, IXmlMtomReaderInitializer { internal class MimePart { private Stream stream; private MimeHeaders headers; private byte[] buffer; private bool isReferencedFromInfoset; internal Stream Stream { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MimeHeaders Headers { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool ReferencedFromInfoset { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal long Length { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal MimePart(Stream stream, MimeHeaders headers) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal byte[] GetBuffer(int maxBuffer, ref int remaining) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Release(int maxBuffer, ref int remaining) { throw null; } } internal class XopIncludeReader : XmlDictionaryReader, IXmlLineInfo { private int chunkSize; private int bytesRemaining; private MimePart part; private ReadState readState; private XmlDictionaryReader parentReader; private string stringValue; private int stringOffset; private XmlNodeType nodeType; private MemoryStream binHexStream; private byte[] valueBuffer; private int valueOffset; private int valueCount; private bool finishedStream; public override XmlDictionaryReaderQuotas Quotas { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNodeType NodeType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int AttributeCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string BaseURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadBinaryContent { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadValueChunk { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanResolveEntity { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool EOF { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasAttributes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsDefault { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsEmptyElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string NamespaceURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNameTable NameTable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override char QuoteChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override ReadState ReadState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlReaderSettings Settings { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[int index] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name, string ns] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override Type ValueType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } int IXmlLineInfo.LineNumber { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } int IXmlLineInfo.LinePosition { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XopIncludeReader(MimePart part, XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBinHex(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueChunk(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CloseStreams() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsLocalName(XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsNamespaceUri(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsNamespaceUri(XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupNamespace(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void MoveToAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToFirstAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToNextAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadAttributeValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadInnerXml() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadOuterXml() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ResolveEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Skip() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] bool IXmlLineInfo.HasLineInfo() { throw null; } } private Encoding[] encodings; private XmlDictionaryReader xmlReader; private XmlDictionaryReader infosetReader; private MimeReader mimeReader; private Dictionary mimeParts; private OnXmlDictionaryReaderClose onClose; private bool readingBinaryElement; private int maxBufferSize; private int bufferRemaining; private MimePart part; public override XmlDictionaryReaderQuotas Quotas { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int AttributeCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string BaseURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadBinaryContent { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadValueChunk { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanResolveEntity { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool EOF { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasAttributes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsDefault { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsEmptyElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string NamespaceURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNameTable NameTable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNodeType NodeType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override char QuoteChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override ReadState ReadState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlReaderSettings Settings { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[int index] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name, string ns] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override Type ValueType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int LineNumber { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int LinePosition { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlMtomReader() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DecrementBufferQuota(int maxBuffer, ref int remaining, int size) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetReadEncodings(Encoding[] encodings) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckContentType(string contentType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetInput(byte[] buffer, int offset, int count, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetInput(Stream stream, Encoding[] encodings, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(Stream stream, string contentType, XmlDictionaryReaderQuotas quotas, int maxBufferSize) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadMessageMimeVersionHeader(MimeVersionHeader header) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadMessageContentTypeHeader(ContentTypeHeader header, out string boundary, out string start, out string startInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private Encoding ReadRootContentTypeHeader(ContentTypeHeader header, Encoding[] expectedEncodings, string expectedType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckContentTransferEncodingOnRoot(ContentTransferEncodingHeader header) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckContentTransferEncodingOnBinaryPart(ContentTransferEncodingHeader header) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string GetStartUri(string startUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private MimePart ReadMimePart(string uri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private MimePart ReadRootMimePart() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AdvanceToContentOnElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsLocalName(XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsNamespaceUri(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsNamespaceUri(XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupNamespace(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void MoveToAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToFirstAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToNextAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadAttributeValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadContentAs(Type returnType, IXmlNamespaceResolver namespaceResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override byte[] ReadContentAsBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadElementContentAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadElementContentAsBinHex(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBinHex(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadContentAsBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsChars(char[] chars, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override DateTime ReadContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal ReadContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override double ReadContentAsDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long ReadContentAsLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadContentAsObject() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override float ReadContentAsFloat() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadInnerXml() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadOuterXml() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueChunk(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ResolveEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Skip() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool HasLineInfo() { throw null; } } internal class MimeMessageReader { private static byte[] CRLFCRLF; private bool getContentStreamCalled; private MimeHeaderReader mimeHeaderReader; private DelimittedStreamReader reader; [MethodImpl(MethodImplOptions.NoInlining)] public MimeMessageReader(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Stream GetContentStream() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public MimeHeaders ReadHeaders(int maxBuffer, ref int remaining) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static MimeMessageReader() { throw null; } } internal class MimeReader { private static byte[] CRLFCRLF; private byte[] boundaryBytes; private string content; private Stream currentStream; private MimeHeaderReader mimeHeaderReader; private DelimittedStreamReader reader; private byte[] scratch; public string Preface { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public MimeReader(Stream stream, string boundary) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Stream GetContentStream() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool ReadNextPart() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public MimeHeaders ReadHeaders(int maxBuffer, ref int remaining) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int BlockRead(Stream stream, byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static MimeReader() { throw null; } } internal class DelimittedStreamReader { private enum MatchState { True, False, InsufficientData } private class DelimittedReadStream : Stream { private DelimittedStreamReader reader; public override bool CanRead { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanSeek { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanWrite { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override long Length { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override long Position { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DelimittedReadStream(DelimittedStreamReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void EndWrite(IAsyncResult asyncResult) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int Read(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long Seek(long offset, SeekOrigin origin) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void SetLength(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Write(byte[] buffer, int offset, int count) { throw null; } } private bool canGetNextStream; private DelimittedReadStream currentStream; private byte[] delimitter; private byte[] matchBuffer; private byte[] scratch; private BufferedReadStream stream; [MethodImpl(MethodImplOptions.NoInlining)] public DelimittedStreamReader(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Close(DelimittedReadStream caller) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Stream GetNextStream(byte[] delimitter) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private MatchState MatchDelimitter(byte[] buffer, int start, int end) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ProcessRead(byte[] buffer, int offset, int read) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int Read(DelimittedReadStream caller, byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool MatchRemainder(int start, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Push(byte[] buffer, int offset, int count) { throw null; } } internal class MimeHeaders { private static class Constants { public const string ContentTransferEncoding = "content-transfer-encoding"; public const string ContentID = "content-id"; public const string ContentType = "content-type"; public const string MimeVersion = "mime-version"; } private Dictionary headers; public ContentTypeHeader ContentType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ContentIDHeader ContentID { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ContentTransferEncodingHeader ContentTransferEncoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public MimeVersionHeader MimeVersion { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public MimeHeaders() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Add(string name, string value, ref int remaining) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Add(MimeHeader header) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Release(ref int remaining) { throw null; } } internal class MimeHeader { private string name; private string value; public string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public MimeHeader(string name, string value) { throw null; } } internal class ContentTypeHeader : MimeHeader { public static readonly ContentTypeHeader Default; private string mediaType; private string subType; private Dictionary parameters; public string MediaType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string MediaSubtype { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public Dictionary Parameters { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ContentTypeHeader(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ParseValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static ContentTypeHeader() { throw null; } } internal enum ContentTransferEncoding { SevenBit, EightBit, Binary, Other, Unspecified } internal class ContentTransferEncodingHeader : MimeHeader { private ContentTransferEncoding contentTransferEncoding; private string contentTransferEncodingValue; public static readonly ContentTransferEncodingHeader Binary; public static readonly ContentTransferEncodingHeader EightBit; public static readonly ContentTransferEncodingHeader SevenBit; public ContentTransferEncoding ContentTransferEncoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string ContentTransferEncodingValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ContentTransferEncodingHeader(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ContentTransferEncodingHeader(ContentTransferEncoding contentTransferEncoding, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ParseValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static ContentTransferEncodingHeader() { throw null; } } internal class ContentIDHeader : MimeHeader { [MethodImpl(MethodImplOptions.NoInlining)] public ContentIDHeader(string name, string value) { throw null; } } internal class MimeVersionHeader : MimeHeader { public static readonly MimeVersionHeader Default; private string version; public string Version { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public MimeVersionHeader(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ParseValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static MimeVersionHeader() { throw null; } } internal class MimeHeaderReader { private enum ReadState { ReadName, SkipWS, ReadValue, ReadLF, ReadWS, EOF } private string value; private byte[] buffer; private int maxOffset; private string name; private int offset; private ReadState readState; private Stream stream; public string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public MimeHeaderReader(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Read(int maxBuffer, ref int remaining) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] [PermissionSet(SecurityAction.Demand, Unrestricted = true)] private bool ProcessBuffer(int maxBuffer, ref int remaining) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool BufferEnd() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Reset(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AppendValue(string value, int maxBuffer, ref int remaining) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AppendName(string value, int maxBuffer, ref int remaining) { throw null; } } internal class BufferedReadStream : Stream { private Stream stream; private byte[] storedBuffer; private int storedLength; private int storedOffset; private bool readMore; public override bool CanWrite { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanSeek { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanRead { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override long Length { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override long Position { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public BufferedReadStream(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public BufferedReadStream(Stream stream, bool readMore) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int EndRead(IAsyncResult asyncResult) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void EndWrite(IAsyncResult asyncResult) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int Read(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadBlock(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Push(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long Seek(long offset, SeekOrigin origin) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void SetLength(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Write(byte[] buffer, int offset, int count) { throw null; } } internal static class MailBnfHelper { private static bool[] s_fqtext; private static bool[] s_ttext; private static bool[] s_digits; private static bool[] s_boundary; [MethodImpl(MethodImplOptions.NoInlining)] static MailBnfHelper() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool SkipCFWS(string data, ref int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ReadQuotedString(string data, ref int offset, StringBuilder builder) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ReadParameterAttribute(string data, ref int offset, StringBuilder builder) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ReadParameterValue(string data, ref int offset, StringBuilder builder) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ReadToken(string data, ref int offset, StringBuilder builder) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string ReadDigits(string data, ref int offset, StringBuilder builder) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool IsValidMimeBoundary(string data) { throw null; } } public interface IXmlMtomWriterInitializer { void SetOutput(Stream stream, Encoding encoding, int maxSizeInBytes, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream); } internal class XmlMtomWriter : XmlDictionaryWriter, IXmlMtomWriterInitializer { private static class MimeBoundaryGenerator { private static long id; private static string prefix; [MethodImpl(MethodImplOptions.NoInlining)] static MimeBoundaryGenerator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string Next() { throw null; } } private class MimePart { internal IList binaryData; internal string contentID; internal string contentType; internal string contentTransferEncoding; internal int sizeInBytes; [MethodImpl(MethodImplOptions.NoInlining)] internal MimePart(IList binaryData, string contentID, string contentType, string contentTransferEncoding, int sizeOfBufferedBinaryData, int maxSizeInBytes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int GetSize(string contentID, string contentType, string contentTransferEncoding, int sizeOfBufferedBinaryData, int maxSizeInBytes) { throw null; } } private const int MaxInlinedBytes = 767; private int maxSizeInBytes; private XmlDictionaryWriter writer; private XmlDictionaryWriter infosetWriter; private MimeWriter mimeWriter; private Encoding encoding; private bool isUTF8; private string contentID; private string contentType; private string initialContentTypeForRootPart; private string initialContentTypeForMimeMessage; private MemoryStream contentTypeStream; private List mimeParts; private IList binaryDataChunks; private int depth; private int totalSizeOfMimeParts; private int sizeOfBufferedBinaryData; private char[] chars; private byte[] bytes; private bool isClosed; private bool ownsStream; private XmlDictionaryWriter Writer { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool IsInitialized { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlWriterSettings Settings { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override WriteState WriteState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlMtomWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetOutput(Stream stream, Encoding encoding, int maxSizeInBytes, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(Stream stream, string startInfo, string boundary, string startUri, bool writeMessageHeaders, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetBoundaryString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsUTF8Encoding(Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetContentTypeForMimeMessage(string boundary, string startUri, string startInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetContentTypeForRootMimePart(Encoding encoding, string startInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string CharSet(Encoding enc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowIfElementIsXOPInclude(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteFullEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(IStreamProvider value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static int ValidateSizeOfMessage(int maxSize, int offset, int size) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteBase64InlineIfPresent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteBase64Inline() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteXOPInclude() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string GenerateUriForMimePart(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteXOPBinaryParts() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteMimeHeaders(string contentID, string contentType, string contentTransferEncoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckIfStartContentTypeAttribute(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckIfEndContentTypeAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupPrefix(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteAttributes(XmlReader reader, bool defattr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBinHex(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteChars(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDocType(string name, string pubid, string sysid, string subset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEntityRef(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteName(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteNmToken(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteTextNode(XmlDictionaryReader reader, bool attribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteNode(XPathNavigator navigator, bool defattr) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteProcessingInstruction(string name, string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(string data) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument(bool standalone) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteSurrogateCharEntity(char lowChar, char highChar) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteWhitespace(string whitespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, XmlDictionaryString ns) { throw null; } } internal static class MtomGlobals { internal static string XopIncludeLocalName; internal static string XopIncludeNamespace; internal static string XopIncludePrefix; internal static string XopIncludeHrefLocalName; internal static string XopIncludeHrefNamespace; internal static string MediaType; internal static string MediaSubtype; internal static string BoundaryParam; internal static string TypeParam; internal static string XopMediaType; internal static string XopMediaSubtype; internal static string XopType; internal static string StartParam; internal static string StartInfoParam; internal static string ActionParam; internal static string CharsetParam; internal static string MimeContentTypeLocalName; internal static string MimeContentTypeNamespace200406; internal static string MimeContentTypeNamespace200505; internal static string DefaultContentTypeForBinary; [MethodImpl(MethodImplOptions.NoInlining)] static MtomGlobals() { throw null; } } internal static class MimeGlobals { internal static string MimeVersionHeader; internal static string DefaultVersion; internal static string ContentIDScheme; internal static string ContentIDHeader; internal static string ContentTypeHeader; internal static string ContentTransferEncodingHeader; internal static string EncodingBinary; internal static string Encoding8bit; internal static byte[] COLONSPACE; internal static byte[] DASHDASH; internal static byte[] CRLF; internal static byte[] BoundaryPrefix; [MethodImpl(MethodImplOptions.NoInlining)] static MimeGlobals() { throw null; } } internal enum MimeWriterState { Start, StartPreface, StartPart, Header, Content, Closed } internal class MimeWriter { private Stream stream; private byte[] boundaryBytes; private MimeWriterState state; private BufferedWrite bufferedWrite; private Stream contentStream; internal MimeWriterState WriteState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal MimeWriter(Stream stream, string boundary) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static int GetHeaderSize(string name, string value, int maxSizeInBytes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static byte[] GetBoundaryBytes(string boundary) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal int GetBoundarySize() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void StartPreface() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void StartPart() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteHeader(string name, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal Stream GetContentStream() { throw null; } } internal class BufferedWrite { private byte[] buffer; private int offset; internal int Length { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal BufferedWrite() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal BufferedWrite(int initialSize) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureBuffer(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal byte[] GetBuffer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Reset() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Write(byte[] value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Write(byte[] value, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Write(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Write(string value, int index, int count) { throw null; } } internal enum MtomBinaryDataType { Provider, Segment } internal class MtomBinaryData { internal MtomBinaryDataType type; internal IStreamProvider provider; internal byte[] chunk; internal long Length { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal MtomBinaryData(IStreamProvider provider) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal MtomBinaryData(byte[] buffer, int offset, int count) { throw null; } } internal abstract class XmlNodeWriter { private class XmlNullNodeWriter : XmlNodeWriter { [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDeclaration() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndStartElement(bool isEmpty) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] nsBuffer, int nsOffset, int nsLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteInt32Text(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteInt64Text(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBoolText(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUInt64Text(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteFloatText(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDoubleText(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDecimalText(decimal value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDateTimeText(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUniqueIdText(UniqueId value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteTimeSpanText(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteGuidText(Guid value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartListText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteListSeparator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndListText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64Text(byte[] trailBuffer, int trailCount, byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlNullNodeWriter() { throw null; } } private class WriteBase64TextAsyncResult : ScheduleActionItemAsyncResult { private byte[] trailBuffer; private int trailCount; private byte[] buffer; private int offset; private int count; private XmlNodeWriter nodeWriter; [MethodImpl(MethodImplOptions.NoInlining)] public WriteBase64TextAsyncResult(byte[] trailBuffer, int trailCount, byte[] buffer, int offset, int count, XmlNodeWriter nodeWriter, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void OnDoWork() { throw null; } } private static XmlNodeWriter nullNodeWriter; public static XmlNodeWriter Null { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual AsyncCompletionResult WriteBase64TextAsync(AsyncEventArgs state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual IAsyncResult BeginWriteBase64Text(byte[] trailBuffer, int trailCount, byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void EndWriteBase64Text(IAsyncResult result) { throw null; } public abstract void Flush(); public abstract void Close(); public abstract void WriteDeclaration(); public abstract void WriteComment(string text); public abstract void WriteCData(string text); public abstract void WriteStartElement(string prefix, string localName); [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteStartElement(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } public abstract void WriteStartElement(string prefix, XmlDictionaryString localName); public abstract void WriteEndStartElement(bool isEmpty); public abstract void WriteEndElement(string prefix, string localName); [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteEndElement(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } public abstract void WriteXmlnsAttribute(string prefix, string ns); [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteXmlnsAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] nsBuffer, int nsOffset, int nsLength) { throw null; } public abstract void WriteXmlnsAttribute(string prefix, XmlDictionaryString ns); public abstract void WriteStartAttribute(string prefix, string localName); [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteStartAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } public abstract void WriteStartAttribute(string prefix, XmlDictionaryString localName); public abstract void WriteEndAttribute(); public abstract void WriteCharEntity(int ch); public abstract void WriteEscapedText(string value); public abstract void WriteEscapedText(XmlDictionaryString value); public abstract void WriteEscapedText(char[] chars, int offset, int count); public abstract void WriteEscapedText(byte[] buffer, int offset, int count); public abstract void WriteText(string value); public abstract void WriteText(XmlDictionaryString value); public abstract void WriteText(char[] chars, int offset, int count); public abstract void WriteText(byte[] buffer, int offset, int count); public abstract void WriteInt32Text(int value); public abstract void WriteInt64Text(long value); public abstract void WriteBoolText(bool value); public abstract void WriteUInt64Text(ulong value); public abstract void WriteFloatText(float value); public abstract void WriteDoubleText(double value); public abstract void WriteDecimalText(decimal value); public abstract void WriteDateTimeText(DateTime value); public abstract void WriteUniqueIdText(UniqueId value); public abstract void WriteTimeSpanText(TimeSpan value); public abstract void WriteGuidText(Guid value); public abstract void WriteStartListText(); public abstract void WriteListSeparator(); public abstract void WriteEndListText(); public abstract void WriteBase64Text(byte[] trailBuffer, int trailCount, byte[] buffer, int offset, int count); public abstract void WriteQualifiedName(string prefix, XmlDictionaryString localName); [MethodImpl(MethodImplOptions.NoInlining)] protected XmlNodeWriter() { throw null; } } internal class XmlNodeWriterWriteBase64TextArgs { internal byte[] TrailBuffer { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } internal int TrailCount { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } internal byte[] Buffer { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } internal int Offset { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } internal int Count { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlNodeWriterWriteBase64TextArgs() { throw null; } } internal class XmlSigningNodeWriter : XmlNodeWriter { private XmlNodeWriter writer; private XmlCanonicalWriter signingWriter; private byte[] chars; private byte[] base64Chars; private bool text; public XmlNodeWriter NodeWriter { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlCanonicalWriter CanonicalWriter { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlSigningNodeWriter(bool text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetOutput(XmlNodeWriter writer, Stream stream, bool includeComments, string[] inclusivePrefixes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDeclaration() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndStartElement(bool isEmpty) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] nsBuffer, int nsOffset, int nsLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteInt32Text(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteInt64Text(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBoolText(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUInt64Text(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteFloatText(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDoubleText(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDecimalText(decimal value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDateTimeText(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUniqueIdText(UniqueId value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteTimeSpanText(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteGuidText(Guid value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartListText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteListSeparator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndListText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64Text(byte[] trailBytes, int trailByteCount, byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteBase64Text(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string prefix, XmlDictionaryString localName) { throw null; } } internal abstract class XmlStreamNodeWriter : XmlNodeWriter { private class GetBufferAsyncResult : AsyncResult { private XmlStreamNodeWriter writer; private int offset; private int count; private static AsyncCompletion onComplete; [MethodImpl(MethodImplOptions.NoInlining)] public GetBufferAsyncResult(int count, XmlStreamNodeWriter writer, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleFlushBuffer(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static byte[] End(IAsyncResult result, out int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static GetBufferAsyncResult() { throw null; } } private class WriteBytesAsyncResult : AsyncResult { private static AsyncCompletion onHandleGetBufferComplete; private static AsyncCompletion onHandleFlushBufferComplete; private static AsyncCompletion onHandleWrite; private byte[] byteBuffer; private int byteOffset; private int byteCount; private XmlStreamNodeWriter writer; [MethodImpl(MethodImplOptions.NoInlining)] public WriteBytesAsyncResult(byte[] byteBuffer, int byteOffset, int byteCount, XmlStreamNodeWriter writer, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnHandleGetBufferComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnHandleFlushBufferComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnHandleWrite(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleGetBuffer(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleFlushBuffer(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleWrite(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void End(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static WriteBytesAsyncResult() { throw null; } } private class FlushBufferAsyncResult : AsyncResult { private static AsyncCompletion onComplete; private XmlStreamNodeWriter writer; [MethodImpl(MethodImplOptions.NoInlining)] public FlushBufferAsyncResult(XmlStreamNodeWriter writer, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleFlushBuffer(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void End(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static FlushBufferAsyncResult() { throw null; } } internal class GetBufferArgs { public int Count { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public GetBufferArgs() { throw null; } } internal class GetBufferEventResult { internal byte[] Buffer { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } internal int Offset { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public GetBufferEventResult() { throw null; } } internal class GetBufferAsyncEventArgs : AsyncEventArgs { [MethodImpl(MethodImplOptions.NoInlining)] public GetBufferAsyncEventArgs() { throw null; } } private Stream stream; private byte[] buffer; private int offset; private bool ownsStream; private const int bufferLength = 512; private const int maxEntityLength = 32; private const int maxBytesPerChar = 3; private Encoding encoding; private int hasPendingWrite; private AsyncEventArgs flushBufferState; private static UTF8Encoding UTF8Encoding; private static AsyncCallback onFlushBufferComplete; private static AsyncEventArgsCallback onGetFlushComplete; public Stream Stream { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public byte[] StreamBuffer { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int BufferOffset { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int Position { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlStreamNodeWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void SetOutput(Stream stream, bool ownsStream, Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected byte[] GetBuffer(int count, out int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal AsyncCompletionResult GetBufferAsync(GetBufferAsyncEventArgs getBufferState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void GetBufferFlushComplete(IAsyncEventArgs completionState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private AsyncCompletionResult FlushBufferAsync(AsyncEventArgs state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnFlushBufferCompete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected IAsyncResult BeginGetBuffer(int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected byte[] EndGetBuffer(IAsyncResult result, out int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void Advance(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void WriteByte(byte b) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void WriteByte(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void WriteBytes(byte b1, byte b2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void WriteBytes(char ch1, char ch2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteBytes(byte[] byteBuffer, int byteOffset, int byteCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public IAsyncResult BeginWriteBytes(byte[] byteBuffer, int byteOffset, int byteCount, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void EndWriteBytes(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] protected unsafe void UnsafeWriteBytes(byte* bytes, int byteCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] protected void WriteUTF8Char(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void WriteUTF8Chars(byte[] chars, int charOffset, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] protected void WriteUTF8Chars(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] protected unsafe void UnsafeWriteUTF8Chars(char* chars, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] protected unsafe void UnsafeWriteUnicodeChars(char* chars, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] protected unsafe int UnsafeGetUnicodeChars(char* chars, int charCount, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] protected unsafe int UnsafeGetUTF8Length(char* chars, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] protected unsafe int UnsafeGetUTF8Chars(char* chars, int charCount, byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void FlushBuffer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual IAsyncResult BeginFlushBuffer(AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void EndFlushBuffer(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlStreamNodeWriter() { throw null; } } public interface IXmlTextReaderInitializer { void SetInput(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); } internal class XmlUTF8TextReader : XmlBaseReader, IXmlLineInfo, IXmlTextReaderInitializer { private static class CharType { public const byte None = 0; public const byte FirstName = 1; public const byte Name = 2; public const byte Whitespace = 4; public const byte Text = 8; public const byte AttributeText = 16; public const byte SpecialWhitespace = 32; public const byte Comment = 64; } private const int MaxTextChunk = 2048; private PrefixHandle prefix; private StringHandle localName; private int[] rowOffsets; private OnXmlDictionaryReaderClose onClose; private bool buffered; private int maxBytesPerRead; private static byte[] charType; public int LineNumber { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int LinePosition { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlUTF8TextReader() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetInput(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveToInitial(XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SkipWhitespace() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadDeclaration() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void VerifyNCName(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadQualifiedName(PrefixHandle prefix, StringHandle localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadAttributeText(byte[] buffer, int offset, int offsetMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadAttributes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadNonFFFE() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsNextCharacterNonFFFE(byte[] buffer, int offset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void BufferElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private new void ReadStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private new void ReadEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadComment() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadCData() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadCharRef() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadWhitespace() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadWhitespace(byte[] buffer, int offset, int offsetMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadText(byte[] buffer, int offset, int offsetMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadTextAndWatchForInvalidCharacters(byte[] buffer, int offset, int offsetMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int BreakText(byte[] buffer, int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadText(bool hasLeadingByteOf0xEF) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadEscapedText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override XmlSigningNodeWriter CreateSigningNodeWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool HasLineInfo() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void GetPosition(out int row, out int column) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlUTF8TextReader() { throw null; } } public interface IXmlTextWriterInitializer { void SetOutput(Stream stream, Encoding encoding, bool ownsStream); } internal class XmlUTF8TextWriter : XmlBaseWriter, IXmlTextWriterInitializer { private XmlUTF8NodeWriter writer; internal override bool FastAsync { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanFragment { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public void SetOutput(Stream stream, Encoding encoding, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override XmlSigningNodeWriter CreateSigningNodeWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlUTF8TextWriter() { throw null; } } internal class XmlUTF8NodeWriter : XmlStreamNodeWriter { private class InternalWriteBase64TextAsyncWriter { private AsyncEventArgs nodeState; private AsyncEventArgs writerState; private XmlWriteBase64AsyncArguments writerArgs; private XmlUTF8NodeWriter writer; private GetBufferAsyncEventArgs getBufferState; private GetBufferArgs getBufferArgs; private static AsyncEventArgsCallback onTrailByteComplete; private static AsyncEventArgsCallback onWriteComplete; private static AsyncEventArgsCallback onGetBufferComplete; [MethodImpl(MethodImplOptions.NoInlining)] public InternalWriteBase64TextAsyncWriter(XmlUTF8NodeWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal AsyncCompletionResult StartAsync(AsyncEventArgs xmlNodeWriterState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnTrailBytesComplete(IAsyncEventArgs eventArgs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private AsyncCompletionResult WriteBufferAsync() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnWriteComplete(IAsyncEventArgs eventArgs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private AsyncCompletionResult InternalWriteBase64TextAsync(AsyncEventArgs writerState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnGetBufferComplete(IAsyncEventArgs state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static InternalWriteBase64TextAsyncWriter() { throw null; } } private class WriteBase64TextAsyncResult : AsyncResult { private static AsyncCompletion onTrailBytesComplete; private static AsyncCompletion onComplete; private byte[] trailBytes; private int trailByteCount; private byte[] buffer; private int offset; private int count; private XmlUTF8NodeWriter writer; [MethodImpl(MethodImplOptions.NoInlining)] public WriteBase64TextAsyncResult(byte[] trailBytes, int trailByteCount, byte[] buffer, int offset, int count, XmlUTF8NodeWriter writer, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnTrailBytesComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnComplete(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleWriteTrailBytes(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleWriteBase64Text(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void End(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static WriteBase64TextAsyncResult() { throw null; } } private class InternalWriteBase64TextAsyncResult : AsyncResult { private byte[] buffer; private int offset; private int count; private Base64Encoding encoding; private XmlUTF8NodeWriter writer; private static AsyncCallback onWriteCharacters; private static AsyncCompletion onWriteTrailingCharacters; [MethodImpl(MethodImplOptions.NoInlining)] public InternalWriteBase64TextAsyncResult(byte[] buffer, int offset, int count, XmlUTF8NodeWriter writer, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool OnWriteTrailingCharacters(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool ContinueWork() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleWriteCharacters(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HandleWriteTrailingCharacters(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void OnWriteCharacters(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void End(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static InternalWriteBase64TextAsyncResult() { throw null; } } private byte[] entityChars; private bool[] isEscapedAttributeChar; private bool[] isEscapedElementChar; private bool inAttribute; private const int bufferLength = 512; private const int maxEntityLength = 32; private const int maxBytesPerChar = 3; private Encoding encoding; private char[] chars; private InternalWriteBase64TextAsyncWriter internalWriteBase64TextAsyncWriter; private static readonly byte[] startDecl; private static readonly byte[] endDecl; private static readonly byte[] utf8Decl; private static readonly byte[] digits; private static readonly bool[] defaultIsEscapedAttributeChar; private static readonly bool[] defaultIsEscapedElementChar; public Encoding Encoding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlUTF8NodeWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlUTF8NodeWriter(bool[] isEscapedAttributeChar, bool[] isEscapedElementChar) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public new void SetOutput(Stream stream, bool ownsStream, Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private byte[] GetCharEntityBuffer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private char[] GetCharBuffer(int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDeclaration() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteStartComment() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteEndComment() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndStartElement(bool isEmpty) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteStartXmlnsAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] nsBuffer, int nsOffset, int nsLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(byte[] prefixBuffer, int prefixOffset, int prefixLength, byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WritePrefix(string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WritePrefix(byte[] prefixBuffer, int prefixOffset, int prefixLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteLocalName(byte[] localNameBuffer, int localNameOffset, int localNameLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(XmlDictionaryString s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteEscapedText(string s) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteEscapedText(char[] s, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private unsafe void UnsafeWriteEscapedText(char* chars, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEscapedText(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteText(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(byte[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override void WriteText(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteText(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteLessThanCharEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteGreaterThanCharEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteAmpersandCharEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteApostropheCharEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteQuoteCharEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteHexCharEntity(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ToBase16(byte[] chars, int offset, uint value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBoolText(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDecimalText(decimal value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDoubleText(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteFloatText(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDateTimeText(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUniqueIdText(UniqueId value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteInt32Text(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteInt64Text(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUInt64Text(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteGuidText(Guid value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64Text(byte[] trailBytes, int trailByteCount, byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InternalWriteBase64Text(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override AsyncCompletionResult WriteBase64TextAsync(AsyncEventArgs xmlNodeWriterState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override IAsyncResult BeginWriteBase64Text(byte[] trailBytes, int trailByteCount, byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void EndWriteBase64Text(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private IAsyncResult BeginInternalWriteBase64Text(byte[] buffer, int offset, int count, AsyncCallback callback, object state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EndInternalWriteBase64Text(IAsyncResult result) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteTimeSpanText(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartListText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteListSeparator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndListText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string prefix, XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlUTF8NodeWriter() { throw null; } } internal class XmlWriteBase64AsyncArguments { internal byte[] Buffer { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } internal int Index { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } internal int Count { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } internal int Offset { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlWriteBase64AsyncArguments() { throw null; } } internal static class XmlExceptionHelper { [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowXmlException(XmlDictionaryReader reader, string res) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1, string arg2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowXmlException(XmlDictionaryReader reader, string res, string arg1, string arg2, string arg3) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowXmlException(XmlDictionaryReader reader, XmlException exception) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetName(string prefix, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetWhatWasFound(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowStartElementExpected(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowStartElementExpected(XmlDictionaryReader reader, string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowStartElementExpected(XmlDictionaryReader reader, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowStartElementExpected(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowFullStartElementExpected(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowFullStartElementExpected(XmlDictionaryReader reader, string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowFullStartElementExpected(XmlDictionaryReader reader, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowFullStartElementExpected(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowEndElementExpected(XmlDictionaryReader reader, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowMaxStringContentLengthExceeded(XmlDictionaryReader reader, int maxStringContentLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowMaxArrayLengthExceeded(XmlDictionaryReader reader, int maxArrayLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowMaxArrayLengthOrMaxItemsQuotaExceeded(XmlDictionaryReader reader, int maxQuota) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowMaxDepthExceeded(XmlDictionaryReader reader, int maxDepth) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowMaxBytesPerReadExceeded(XmlDictionaryReader reader, int maxBytesPerRead) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowMaxNameTableCharCountExceeded(XmlDictionaryReader reader, int maxNameTableCharCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowBase64DataExpected(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowUndefinedPrefix(XmlDictionaryReader reader, string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowProcessingInstructionNotSupported(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowInvalidXml(XmlDictionaryReader reader, byte b) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowUnexpectedEndOfFile(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowUnexpectedEndElement(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowTokenExpected(XmlDictionaryReader reader, string expected, char found) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowTokenExpected(XmlDictionaryReader reader, string expected, string found) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowInvalidCharRef(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowTagMismatch(XmlDictionaryReader reader, string expectedPrefix, string expectedLocalName, string foundPrefix, string foundLocalName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowDuplicateXmlnsAttribute(XmlDictionaryReader reader, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowDuplicateAttribute(XmlDictionaryReader reader, string prefix1, string prefix2, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowInvalidBinaryFormat(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowInvalidRootData(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowMultipleRootElements(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowDeclarationNotFirst(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowConversionOverflow(XmlDictionaryReader reader, string value, string type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowXmlDictionaryStringIDOutOfRange(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowXmlDictionaryStringIDUndefinedStatic(XmlDictionaryReader reader, int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowXmlDictionaryStringIDUndefinedSession(XmlDictionaryReader reader, int key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowEmptyNamespace(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlException CreateConversionException(string value, string type, Exception exception) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlException CreateEncodingException(byte[] buffer, int offset, int count, Exception exception) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlException CreateEncodingException(string value, Exception exception) { throw null; } } } namespace System.Text { internal class Base64Encoding : Encoding { private static byte[] char2val; private static string val2char; private static byte[] val2byte; [MethodImpl(MethodImplOptions.NoInlining)] public override int GetMaxByteCount(int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsValidLeadBytes(int v1, int v2, int v3, int v4) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsValidTailBytes(int v3, int v4) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override int GetByteCount(char[] chars, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public virtual int GetBytes(byte[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetMaxCharCount(int byteCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetCharCount(byte[] bytes, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public int GetChars(byte[] bytes, int byteIndex, int byteCount, byte[] chars, int charIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Base64Encoding() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static Base64Encoding() { throw null; } } internal class BinHexEncoding : Encoding { private static byte[] char2val; private static string val2char; [MethodImpl(MethodImplOptions.NoInlining)] public override int GetMaxByteCount(int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetByteCount(char[] chars, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetMaxCharCount(int byteCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetCharCount(byte[] bytes, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public BinHexEncoding() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static BinHexEncoding() { throw null; } } internal struct SurrogateChar { private char lowChar; private char highChar; public const int MinValue = 65536; public const int MaxValue = 1114111; private const char surHighMin = '\ud800'; private const char surHighMax = '\udbff'; private const char surLowMin = '\udc00'; private const char surLowMax = '\udfff'; public char LowChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public char HighChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int Char { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public SurrogateChar(int ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public SurrogateChar(char lowChar, char highChar) { throw null; } } } namespace System.Runtime.CompilerServices { internal class FriendAccessAllowedAttribute : Attribute { [MethodImpl(MethodImplOptions.NoInlining)] public FriendAccessAllowedAttribute() { throw null; } } } namespace System.Runtime.Serialization { public interface ISerializationSurrogateProvider { Type GetSurrogateType(Type type); object GetObjectToSerialize(object obj, Type targetType); object GetDeserializedObject(object obj, Type targetType); } internal static class AppSettings { internal const string MaxMimePartsAppSettingsString = "microsoft:xmldictionaryreader:maxmimeparts"; private const int DefaultMaxMimeParts = 1000; private static int maxMimeParts; private static volatile bool settingsInitalized; private static object appSettingsLock; internal static int MaxMimeParts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] private static void EnsureSettingsLoaded() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static AppSettings() { throw null; } } internal class Attributes { [SecurityCritical] private static XmlDictionaryString[] serializationLocalNames; [SecurityCritical] private static XmlDictionaryString[] schemaInstanceLocalNames; internal string Id; internal string Ref; internal string XsiTypeName; internal string XsiTypeNamespace; internal string XsiTypePrefix; internal bool XsiNil; internal string ClrAssembly; internal string ClrType; internal int ArraySZSize; internal string FactoryTypeName; internal string FactoryTypeNamespace; internal string FactoryTypePrefix; internal bool UnrecognizedAttributesFound; [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] static Attributes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal void Read(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Reset() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadId(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadRef(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadXsiNil(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadArraySize(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadXsiType(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadFactoryType(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Attributes() { throw null; } } internal sealed class ClassDataContract : DataContract { private class ClassDataContractCriticalHelper : DataContractCriticalHelper { internal struct Member { internal DataMember member; internal string ns; internal int baseTypeIndex; [MethodImpl(MethodImplOptions.NoInlining)] internal Member(DataMember member, string ns, int baseTypeIndex) { throw null; } } internal class DataMemberConflictComparer : IComparer { internal static DataMemberConflictComparer Singleton; [MethodImpl(MethodImplOptions.NoInlining)] public int Compare(Member x, Member y) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataMemberConflictComparer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static DataMemberConflictComparer() { throw null; } } private ClassDataContract baseContract; private List members; private MethodInfo onSerializing; private MethodInfo onSerialized; private MethodInfo onDeserializing; private MethodInfo onDeserialized; private MethodInfo extensionDataSetMethod; private Dictionary knownDataContracts; private string serializationExceptionMessage; private bool isISerializable; private bool isKnownTypeAttributeChecked; private bool isMethodChecked; private bool hasExtensionData; private bool isNonAttributedType; private bool hasDataContract; private XmlDictionaryString[] childElementNamespaces; private XmlFormatClassReaderDelegate xmlFormatReaderDelegate; private XmlFormatClassWriterDelegate xmlFormatWriterDelegate; public XmlDictionaryString[] ContractNamespaces; public XmlDictionaryString[] MemberNames; public XmlDictionaryString[] MemberNamespaces; private static Type[] serInfoCtorArgs; internal ClassDataContract BaseContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal List Members { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal MethodInfo OnSerializing { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MethodInfo OnSerialized { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MethodInfo OnDeserializing { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MethodInfo OnDeserialized { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MethodInfo ExtensionDataSetMethod { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal string SerializationExceptionMessage { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal string DeserializationExceptionMessage { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool IsISerializable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool HasDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool HasExtensionData { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool IsNonAttributedType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal XmlFormatClassWriterDelegate XmlFormatWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal XmlFormatClassReaderDelegate XmlFormatReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlDictionaryString[] ChildElementNamespaces { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } private static Type[] SerInfoCtorArgs { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal ClassDataContractCriticalHelper() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal ClassDataContractCriticalHelper(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal ClassDataContractCriticalHelper(Type type, XmlDictionaryString ns, string[] memberNames) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureIsReferenceImported(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ImportDataMembers() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool SetIfGetOnlyCollection(DataMember memberContract, bool skipIfReadOnlyContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetIfMembersHaveConflict(List members) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private XmlQualifiedName GetStableNameAndSetHasDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetIsNonAttributedType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsMethodOverriding(MethodInfo method) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void EnsureMethodsImported() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsValidExtensionDataSetMethod(MethodInfo method, ParameterInfo[] parameters) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsValidCallback(MethodInfo method, ParameterInfo[] parameters, Type attributeType, MethodInfo currentCallback, ref Type prevAttributeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal ConstructorInfo GetISerializableConstructor() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal ConstructorInfo GetNonAttributedTypeConstructor() { throw null; } } internal class DataMemberComparer : IComparer { internal static DataMemberComparer Singleton; [MethodImpl(MethodImplOptions.NoInlining)] public int Compare(DataMember x, DataMember y) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataMemberComparer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static DataMemberComparer() { throw null; } } public XmlDictionaryString[] ContractNamespaces; public XmlDictionaryString[] MemberNames; public XmlDictionaryString[] MemberNamespaces; private XmlDictionaryString[] childElementNamespaces; private ClassDataContractCriticalHelper helper; internal ClassDataContract BaseContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal List Members { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } public XmlDictionaryString[] ChildElementNamespaces { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal MethodInfo OnSerializing { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal MethodInfo OnSerialized { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal MethodInfo OnDeserializing { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal MethodInfo OnDeserialized { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal MethodInfo ExtensionDataSetMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal override Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal override bool IsISerializable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsNonAttributedType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal bool HasDataContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal bool HasExtensionData { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal string SerializationExceptionMessage { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal string DeserializationExceptionMessage { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal bool IsReadOnlyContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal XmlFormatClassWriterDelegate XmlFormatWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal XmlFormatClassReaderDelegate XmlFormatReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal ClassDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal ClassDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ClassDataContract(Type type, XmlDictionaryString ns, string[] memberNames) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InitClassDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal ConstructorInfo GetISerializableConstructor() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal ConstructorInfo GetNonAttributedTypeConstructor() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static ClassDataContract CreateClassDataContractForKeyValue(Type type, XmlDictionaryString ns, string[] memberNames) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void CheckAndAddMember(List members, DataMember memberContract, Dictionary memberNamesTable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlDictionaryString GetChildNamespaceToDeclare(DataContract dataContract, Type childType, XmlDictionary dictionary) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsNonAttributedTypeValidForSerialization(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlDictionaryString[] CreateChildElementNamespaces() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private void EnsureMethodsImported() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal override DataContract BindGenericParameters(DataContract[] paramContracts, Dictionary boundContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool Equals(object other, Dictionary checkedContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsEveryDataMemberOptional(IEnumerable dataMembers) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } } [DataContract(Namespace = "http://schemas.microsoft.com/2003/10/Serialization/Arrays")] internal struct KeyValue { private K key; private V value; [DataMember(IsRequired = true)] public K Key { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [DataMember(IsRequired = true)] public V Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal KeyValue(K key, V value) { throw null; } } internal enum CollectionKind : byte { None, GenericDictionary, Dictionary, GenericList, GenericCollection, List, GenericEnumerable, Collection, Enumerable, Array } internal sealed class CollectionDataContract : DataContract { private class CollectionDataContractCriticalHelper : DataContractCriticalHelper { private static Type[] _knownInterfaces; private Type itemType; private bool isItemTypeNullable; private CollectionKind kind; private readonly MethodInfo getEnumeratorMethod; private readonly MethodInfo addMethod; private readonly ConstructorInfo constructor; private readonly string serializationExceptionMessage; private readonly string deserializationExceptionMessage; private DataContract itemContract; private DataContract sharedTypeContract; private Dictionary knownDataContracts; private bool isKnownTypeAttributeChecked; private string itemName; private bool itemNameSetExplicit; private XmlDictionaryString collectionItemName; private string keyName; private string valueName; private XmlDictionaryString childElementNamespace; private string invalidCollectionInSharedContractMessage; private XmlFormatCollectionReaderDelegate xmlFormatReaderDelegate; private XmlFormatGetOnlyCollectionReaderDelegate xmlFormatGetOnlyCollectionReaderDelegate; private XmlFormatCollectionWriterDelegate xmlFormatWriterDelegate; private bool isConstructorCheckRequired; internal static Type[] KnownInterfaces { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal CollectionKind Kind { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal Type ItemType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal DataContract ItemContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal DataContract SharedTypeContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal string ItemName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsConstructorCheckRequired { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlDictionaryString CollectionItemName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal string KeyName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal string ValueName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsDictionary { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string SerializationExceptionMessage { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string DeserializationExceptionMessage { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public XmlDictionaryString ChildElementNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsItemTypeNullable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal MethodInfo GetEnumeratorMethod { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MethodInfo AddMethod { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal ConstructorInfo Constructor { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal string InvalidCollectionInSharedContractMessage { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool ItemNameSetExplicit { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal XmlFormatCollectionWriterDelegate XmlFormatWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal XmlFormatCollectionReaderDelegate XmlFormatReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal XmlFormatGetOnlyCollectionReaderDelegate XmlFormatGetOnlyCollectionReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] private void Init(CollectionKind kind, Type itemType, CollectionDataContractAttribute collectionContractAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CollectionDataContractCriticalHelper(CollectionKind kind) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CollectionDataContractCriticalHelper(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CollectionDataContractCriticalHelper(Type type, DataContract itemContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CollectionDataContractCriticalHelper(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, string serializationExceptionMessage, string deserializationExceptionMessage) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CollectionDataContractCriticalHelper(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod, ConstructorInfo constructor) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CollectionDataContractCriticalHelper(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod, ConstructorInfo constructor, bool isConstructorCheckRequired) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CollectionDataContractCriticalHelper(Type type, string invalidCollectionInSharedContractMessage) { throw null; } } public class DictionaryEnumerator : IEnumerator>, IDisposable, IEnumerator { private IDictionaryEnumerator enumerator; public KeyValue Current { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } object IEnumerator.Current { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DictionaryEnumerator(IDictionaryEnumerator enumerator) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool MoveNext() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Reset() { throw null; } } public class GenericDictionaryEnumerator : IEnumerator>, IDisposable, IEnumerator { private IEnumerator> enumerator; public KeyValue Current { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } object IEnumerator.Current { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public GenericDictionaryEnumerator(IEnumerator> enumerator) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Dispose() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool MoveNext() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Reset() { throw null; } } [SecurityCritical] private XmlDictionaryString collectionItemName; [SecurityCritical] private XmlDictionaryString childElementNamespace; [SecurityCritical] private DataContract itemContract; [SecurityCritical] private CollectionDataContractCriticalHelper helper; private static Type[] KnownInterfaces { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal CollectionKind Kind { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal Type ItemType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public DataContract ItemContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal DataContract SharedTypeContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal string ItemName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } public XmlDictionaryString CollectionItemName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal string KeyName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal string ValueName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsDictionary { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public XmlDictionaryString ChildElementNamespace { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal bool IsItemTypeNullable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsConstructorCheckRequired { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal MethodInfo GetEnumeratorMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal MethodInfo AddMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal ConstructorInfo Constructor { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal override Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal string InvalidCollectionInSharedContractMessage { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal string SerializationExceptionMessage { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal string DeserializationExceptionMessage { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal bool IsReadOnlyContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool ItemNameSetExplicit { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal XmlFormatCollectionWriterDelegate XmlFormatWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal XmlFormatCollectionReaderDelegate XmlFormatReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal XmlFormatGetOnlyCollectionReaderDelegate XmlFormatGetOnlyCollectionReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal CollectionDataContract(CollectionKind kind) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal CollectionDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal CollectionDataContract(Type type, DataContract itemContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private CollectionDataContract(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, string serializationExceptionMessage, string deserializationExceptionMessage) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private CollectionDataContract(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod, ConstructorInfo constructor) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private CollectionDataContract(Type type, CollectionKind kind, Type itemType, MethodInfo getEnumeratorMethod, MethodInfo addMethod, ConstructorInfo constructor, bool isConstructorCheckRequired) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private CollectionDataContract(Type type, string invalidCollectionInSharedContractMessage) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] private void InitCollectionDataContract(DataContract sharedTypeContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InitSharedTypeContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private DataContract GetSharedTypeContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsCollectionInterface(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsCollection(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsCollection(Type type, out Type itemType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsCollection(Type type, bool constructorRequired, bool skipIfReadOnlyContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsCollectionHelper(Type type, out Type itemType, bool constructorRequired, bool skipIfReadOnlyContract = false) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool TryCreate(Type type, out DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool TryCreateGetOnlyCollectionDataContract(Type type, out DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static MethodInfo GetTargetMethodWithName(string name, Type type, Type interfaceType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsArraySegment(Type t) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsCollectionOrTryCreate(Type type, bool tryCreate, out DataContract dataContract, out Type itemType, bool constructorRequired, bool skipIfReadOnlyContract = false) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsCollectionDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool HandleIfInvalidCollection(Type type, bool tryCreate, bool hasCollectionDataContract, bool createContractWithException, string message, string param, ref DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void GetReadOnlyCollectionExceptionMessages(Type type, bool hasCollectionDataContract, string message, string param, out string serializationExceptionMessage, out string deserializationExceptionMessage) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetInvalidCollectionMessage(string message, string nestedMessage, string param) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void FindCollectionMethodsOnInterface(Type type, Type interfaceType, ref MethodInfo addMethod, ref MethodInfo getEnumeratorMethod) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void GetCollectionMethods(Type type, Type interfaceType, Type[] addMethodTypeArray, bool addMethodOnInterface, out MethodInfo getEnumeratorMethod, out MethodInfo addMethod) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsKnownInterface(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal override DataContract BindGenericParameters(DataContract[] paramContracts, Dictionary boundContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetValidContract(SerializationMode mode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowIfInvalid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetValidContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private void CheckConstructor() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool IsValidContract(SerializationMode mode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool Equals(object other, Dictionary checkedContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) { throw null; } } [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = false, AllowMultiple = false)] public sealed class CollectionDataContractAttribute : Attribute { private string name; private string ns; private string itemName; private string keyName; private string valueName; private bool isReference; private bool isNameSetExplicitly; private bool isNamespaceSetExplicitly; private bool isReferenceSetExplicitly; private bool isItemNameSetExplicitly; private bool isKeyNameSetExplicitly; private bool isValueNameSetExplicitly; public string Namespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsNamespaceSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsNameSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string ItemName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsItemNameSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string KeyName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsReference { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsReferenceSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool IsKeyNameSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string ValueName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsValueNameSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public CollectionDataContractAttribute() { throw null; } } [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module, Inherited = false, AllowMultiple = true)] public sealed class ContractNamespaceAttribute : Attribute { private string clrNamespace; private string contractNamespace; public string ClrNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string ContractNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ContractNamespaceAttribute(string contractNamespace) { throw null; } } internal abstract class DataContract { protected class DataContractCriticalHelper { private static Dictionary typeToIDCache; private static DataContract[] dataContractCache; private static int dataContractID; private static Dictionary typeToBuiltInContract; private static Dictionary nameToBuiltInContract; private static Dictionary typeNameToBuiltInContract; private static Dictionary namespaces; private static Dictionary clrTypeStrings; private static XmlDictionary clrTypeStringsDictionary; private static TypeHandleRef typeHandleRef; private static object cacheLock; private static object createDataContractLock; private static object initBuiltInContractsLock; private static object namespacesLock; private static object clrTypeStringsLock; private readonly Type underlyingType; private Type originalUnderlyingType; private bool isReference; private bool isValueType; private XmlQualifiedName stableName; private GenericInfo genericInfo; private XmlDictionaryString name; private XmlDictionaryString ns; private Type typeForInitialization; private MethodInfo parseMethod; private bool parseMethodSet; internal Type UnderlyingType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal Type OriginalUnderlyingType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal virtual bool IsBuiltInDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal Type TypeForInitialization { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool IsReference { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsValueType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal XmlQualifiedName StableName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal GenericInfo GenericInfo { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal virtual Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal virtual bool IsISerializable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal XmlDictionaryString Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlDictionaryString Namespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal virtual bool HasRoot { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal virtual XmlDictionaryString TopLevelElementName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal virtual XmlDictionaryString TopLevelElementNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal virtual bool CanContainReferences { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal virtual bool IsPrimitive { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MethodInfo ParseMethod { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] static DataContractCriticalHelper() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetDataContractSkipValidation(int id, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetGetOnlyCollectionDataContractSkipValidation(int id, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetDataContractForInitialization(int id) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static int GetIdForInitialization(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool ContractMatches(DataContract contract, DataContract cachedContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static int GetId(RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static IntRef GetNextId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static DataContract CreateDataContract(int id, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void AssignDataContractToId(DataContract dataContract, int id) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static DataContract CreateGetOnlyCollectionDataContract(int id, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Type GetDataContractAdapterType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Type GetDataContractOriginalType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static RuntimeTypeHandle GetDataContractAdapterTypeHandle(RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static DataContract GetBuiltInDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static DataContract GetBuiltInDataContract(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static DataContract GetBuiltInDataContract(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool TryCreateBuiltInDataContract(Type type, out DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool TryCreateBuiltInDataContract(string name, string ns, out DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetNamespace(string key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlDictionaryString GetClrTypeString(string key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void ThrowInvalidDataContractException(string message, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContractCriticalHelper() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContractCriticalHelper(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private void SetTypeForInitialization(Type classType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteRootElement(XmlWriterDelegator writer, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void SetDataContractName(XmlQualifiedName stableName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void SetDataContractName(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void ThrowInvalidDataContractException(string message) { throw null; } } [SecurityCritical] private XmlDictionaryString name; [SecurityCritical] private XmlDictionaryString ns; [SecurityCritical] private DataContractCriticalHelper helper; protected DataContractCriticalHelper Helper { [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] get { throw null; } } internal Type UnderlyingType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal Type OriginalUnderlyingType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal virtual bool IsBuiltInDataContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal Type TypeForInitialization { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal bool IsValueType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsReference { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal XmlQualifiedName StableName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal GenericInfo GenericInfo { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal virtual Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal virtual bool IsISerializable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal XmlDictionaryString Name { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public virtual XmlDictionaryString Namespace { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal virtual bool HasRoot { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal virtual XmlDictionaryString TopLevelElementName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal virtual XmlDictionaryString TopLevelElementNamespace { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal virtual bool CanContainReferences { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal virtual bool IsPrimitive { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MethodInfo ParseMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] protected DataContract(DataContractCriticalHelper helper) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetDataContract(RuntimeTypeHandle typeHandle, Type type, SerializationMode mode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetDataContract(int id, RuntimeTypeHandle typeHandle, SerializationMode mode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static DataContract GetDataContractSkipValidation(int id, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetGetOnlyCollectionDataContract(int id, RuntimeTypeHandle typeHandle, Type type, SerializationMode mode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static DataContract GetGetOnlyCollectionDataContractSkipValidation(int id, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static DataContract GetDataContractForInitialization(int id) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static int GetIdForInitialization(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static int GetId(RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public static DataContract GetBuiltInDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public static DataContract GetBuiltInDataContract(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public static DataContract GetBuiltInDataContract(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static string GetNamespace(string key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static XmlDictionaryString GetClrTypeString(string key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static void ThrowInvalidDataContractException(string message, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual object ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteRootElement(XmlWriterDelegator writer, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual DataContract BindGenericParameters(DataContract[] paramContracts, Dictionary boundContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual DataContract GetValidContract(SerializationMode mode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual DataContract GetValidContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual bool IsValidContract(SerializationMode mode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsTypeSerializable(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsTypeSerializable(Type type, Dictionary previousCollectionTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ValidatePreviousCollectionTypes(Type collectionType, Type itemType, Dictionary previousCollectionTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Type UnwrapRedundantNullableType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Type UnwrapNullableType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsAlpha(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsDigit(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsAsciiLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string EncodeLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsValidNCName(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlQualifiedName GetStableName(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlQualifiedName GetStableName(Type type, out bool hasDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static XmlQualifiedName GetStableName(Type type, Dictionary previousCollectionTypes, out bool hasDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static XmlQualifiedName GetDCTypeStableName(Type type, DataContractAttribute dataContractAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static XmlQualifiedName GetNonDCTypeStableName(Type type, Dictionary previousCollectionTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool TryGetBuiltInXmlAndArrayTypeStableName(Type type, Dictionary previousCollectionTypes, out XmlQualifiedName stableName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static bool TryGetDCAttribute(Type type, out DataContractAttribute dataContractAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlQualifiedName GetCollectionStableName(Type type, Type itemType, out CollectionDataContractAttribute collectionContractAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static XmlQualifiedName GetCollectionStableName(Type type, Type itemType, Dictionary previousCollectionTypes, out CollectionDataContractAttribute collectionContractAttribute) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetArrayPrefix(ref Type itemType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlQualifiedName GetArrayTypeName(bool isNullable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetCollectionNamespace(string elementNs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlQualifiedName GetDefaultStableName(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetDefaultStableLocalName(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetDefaultDataContractNamespace(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static IList GetDataContractNameForGenericName(string typeName, StringBuilder localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsBuiltInNamespace(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetDefaultStableNamespace(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlQualifiedName CreateQualifiedName(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetDefaultStableNamespace(string clrNs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void CheckExplicitDataContractNamespaceUri(string dataContractNs, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetClrTypeFullName(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetClrAssemblyName(Type type, out bool hasTypeForwardedFrom) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetClrTypeFullNameUsingTypeForwardedFromAttribute(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetClrTypeFullNameForArray(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetClrTypeFullNameForNonArrayTypes(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void GetClrNameAndNamespace(string fullTypeName, out string localName, out string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void GetDefaultStableName(string fullTypeName, out string localName, out string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void GetDefaultStableName(CodeTypeReference typeReference, out string localName, out string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetDataContractNamespaceFromUri(string uriString) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetGlobalDataContractNamespace(string clrNs, ICustomAttributeProvider customAttribuetProvider) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetNamespacesDigest(string namespaces) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string ExpandGenericParameters(string format, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string ExpandGenericParameters(string format, IGenericNameProvider genericNameProvider) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsTypeNullable(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowTypeNotSerializable(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Dictionary ImportKnownTypeAttributes(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ImportKnownTypeAttributes(Type type, Dictionary typesChecked, ref Dictionary knownDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static void LoadKnownTypesFromConfig(Type type, Dictionary typesChecked, ref Dictionary knownDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void CheckRootTypeInConfigIsGeneric(Type type, ref Type rootType, ref Type[] genArgs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsElemTypeNullOrNotEqualToRootType(string elemTypeName, Type rootType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsCollectionElementTypeEqualToRootType(string collectionElementTypeName, Type rootType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] [SecurityTreatAsSafe] internal static void CheckAndAdd(Type type, Dictionary typesChecked, ref Dictionary nameToDataContractTable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsOpenGenericType(Type t) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public sealed override bool Equals(object other) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual bool Equals(object other, Dictionary checkedContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsEqualOrChecked(object other, Dictionary checkedContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void ThrowInvalidDataContractException(string message) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsTypeVisible(Type t) { throw null; } } internal interface IGenericNameProvider { bool ParametersFromBuiltInNamespaces { get; } int GetParameterCount(); IList GetNestedParameterCounts(); string GetParameterName(int paramIndex); string GetNamespaces(); string GetGenericTypeName(); } internal class GenericNameProvider : IGenericNameProvider { private string genericTypeName; private object[] genericParams; private IList nestedParamCounts; public bool ParametersFromBuiltInNamespaces { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal GenericNameProvider(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal GenericNameProvider(string genericTypeName, object[] genericParams) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetParameterCount() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public IList GetNestedParameterCounts() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetParameterName(int paramIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetNamespaces() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetGenericTypeName() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlQualifiedName GetStableName(int i) { throw null; } } internal class GenericInfo : IGenericNameProvider { private string genericTypeName; private XmlQualifiedName stableName; private List paramGenericInfos; private List nestedParamCounts; internal XmlQualifiedName StableName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal IList Parameters { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool ParametersFromBuiltInNamespaces { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal GenericInfo(XmlQualifiedName stableName, string genericTypeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Add(GenericInfo actualParamInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void AddToLevel(int level, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlQualifiedName GetExpandedStableName() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string GetStableNamespace() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetParameterCount() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public IList GetNestedParameterCounts() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetParameterName(int paramIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetNamespaces() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetGenericTypeName() { throw null; } } internal class DataContractPairKey { private object object1; private object object2; [MethodImpl(MethodImplOptions.NoInlining)] public DataContractPairKey(object object1, object object2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Equals(object other) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } } internal class TypeHandleRefEqualityComparer : IEqualityComparer { [MethodImpl(MethodImplOptions.NoInlining)] public bool Equals(TypeHandleRef x, TypeHandleRef y) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetHashCode(TypeHandleRef obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public TypeHandleRefEqualityComparer() { throw null; } } internal class TypeHandleRef { private RuntimeTypeHandle value; public RuntimeTypeHandle Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public TypeHandleRef() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public TypeHandleRef(RuntimeTypeHandle value) { throw null; } } internal class IntRef { private int value; public int Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public IntRef(int value) { throw null; } } [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, Inherited = false, AllowMultiple = false)] public sealed class DataContractAttribute : Attribute { private string name; private string ns; private bool isNameSetExplicitly; private bool isNamespaceSetExplicitly; private bool isReference; private bool isReferenceSetExplicitly; public bool IsReference { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsReferenceSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Namespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsNamespaceSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsNameSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractAttribute() { throw null; } } public abstract class DataContractResolver { public abstract bool TryResolveType(Type type, Type declaredType, DataContractResolver knownTypeResolver, out XmlDictionaryString typeName, out XmlDictionaryString typeNamespace); public abstract Type ResolveName(string typeName, string typeNamespace, Type declaredType, DataContractResolver knownTypeResolver); [MethodImpl(MethodImplOptions.NoInlining)] protected DataContractResolver() { throw null; } } public sealed class DataContractSerializer : XmlObjectSerializer { private Type rootType; private DataContract rootContract; private bool needsContractNsAtRoot; private XmlDictionaryString rootName; private XmlDictionaryString rootNamespace; private int maxItemsInObjectGraph; private bool ignoreExtensionDataObject; private bool preserveObjectReferences; private IDataContractSurrogate dataContractSurrogate; private ReadOnlyCollection knownTypeCollection; internal IList knownTypeList; internal Dictionary knownDataContracts; private DataContractResolver dataContractResolver; private bool serializeReadOnlyTypes; public ReadOnlyCollection KnownTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int MaxItemsInObjectGraph { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public IDataContractSurrogate DataContractSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool PreserveObjectReferences { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool IgnoreExtensionDataObject { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public DataContractResolver DataContractResolver { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool SerializeReadOnlyTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private DataContract RootContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, IEnumerable knownTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, string rootName, string rootNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, string rootName, string rootNamespace, IEnumerable knownTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, string rootName, string rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, string rootName, string rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable knownTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializer(Type type, DataContractSerializerSettings settings) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(Type type, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate, DataContractResolver dataContractResolver, bool serializeReadOnlyTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(Type type, XmlDictionaryString rootName, XmlDictionaryString rootNamespace, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, bool preserveObjectReferences, IDataContractSurrogate dataContractSurrogate, DataContractResolver dataContractResolver, bool serializeReadOnlyTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteObject(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteObject(XmlWriterDelegator writer, object graph, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObject(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartObject(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObjectContent(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndObject(XmlWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartObject(XmlDictionaryWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObjectContent(XmlDictionaryWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndObject(XmlDictionaryWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteObject(XmlDictionaryWriter writer, object graph, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlReader reader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartObject(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartObject(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object ReadObject(XmlDictionaryReader reader, bool verifyObjectName, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteStartObject(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteObjectContent(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void InternalWriteObjectContent(XmlWriterDelegator writer, object graph, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetDataContract(DataContract declaredTypeContract, Type declaredType, Type objectType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void SetDataContractSurrogate(IDataContractSurrogate adapter) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteEndObject(XmlWriterDelegator writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override object InternalReadObject(XmlReaderDelegator xmlReader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override object InternalReadObject(XmlReaderDelegator xmlReader, bool verifyObjectName, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool InternalIsStartObject(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override Type GetSerializeType(object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override Type GetDeserializeType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object SurrogateToDataContractType(IDataContractSurrogate dataContractSurrogate, object oldObj, Type surrogatedDeclaredType, ref Type objType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Type GetSurrogatedType(IDataContractSurrogate dataContractSurrogate, Type type) { throw null; } } public class DataContractSerializerSettings { private int maxItemsInObjectGraph; public XmlDictionaryString RootName { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public XmlDictionaryString RootNamespace { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public IEnumerable KnownTypes { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public int MaxItemsInObjectGraph { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IgnoreExtensionDataObject { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public bool PreserveObjectReferences { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public IDataContractSurrogate DataContractSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public DataContractResolver DataContractResolver { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public bool SerializeReadOnlyTypes { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializerSettings() { throw null; } } internal class DataContractSet { private Dictionary contracts; private Dictionary processedContracts; private IDataContractSurrogate dataContractSurrogate; private Hashtable surrogateDataTable; private Dictionary knownTypesForObject; private ICollection referencedTypes; private ICollection referencedCollectionTypes; private Dictionary referencedTypesDictionary; private Dictionary referencedCollectionTypesDictionary; private Dictionary Contracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private Dictionary ProcessedContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private Hashtable SurrogateDataTable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal Dictionary KnownTypesForObject { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public DataContract this[XmlQualifiedName key] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public IDataContractSurrogate DataContractSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContractSet(IDataContractSurrogate dataContractSurrogate) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContractSet(IDataContractSurrogate dataContractSurrogate, ICollection referencedTypes, ICollection referencedCollectionTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContractSet(DataContractSet dataContractSet) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Add(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void EnsureTypeNotGeneric(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Add(DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Add(XmlQualifiedName name, DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void InternalAdd(XmlQualifiedName name, DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddClassDataContract(ClassDataContract classDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddCollectionDataContract(CollectionDataContract collectionDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddXmlDataContract(XmlDataContract xmlDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddKnownDataContracts(Dictionary knownDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlQualifiedName GetStableName(Type clrType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContract GetDataContract(Type clrType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContract GetMemberTypeDataContract(DataMember dataMember) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContract GetItemTypeDataContract(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object GetSurrogateData(object key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void SetSurrogateData(object key, object surrogateData) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Remove(XmlQualifiedName key) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public IEnumerator> GetEnumerator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsContractProcessed(DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void SetContractProcessed(DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private Dictionary GetReferencedTypes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private Dictionary GetReferencedCollectionTypes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddReferencedType(Dictionary referencedTypes, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryGetReferencedType(XmlQualifiedName stableName, DataContract dataContract, out Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryGetReferencedCollectionType(XmlQualifiedName stableName, DataContract dataContract, out Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryGetReferencedType(XmlQualifiedName stableName, DataContract dataContract, bool useReferencedCollectionTypes, out Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsTypeReferenceable(Type type) { throw null; } } internal class DataMember { private class CriticalHelper { private DataContract memberTypeContract; private string name; private int order; private bool isRequired; private bool emitDefaultValue; private bool isNullable; private bool isGetOnlyCollection; private MemberInfo memberInfo; private bool hasConflictingNameAndType; private DataMember conflictingMember; internal MemberInfo MemberInfo { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal int Order { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsRequired { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool EmitDefaultValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsNullable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsGetOnlyCollection { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal Type MemberType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal DataContract MemberTypeContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool HasConflictingNameAndType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal DataMember ConflictingMember { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal CriticalHelper() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CriticalHelper(MemberInfo memberInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CriticalHelper(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CriticalHelper(DataContract memberTypeContract, string name, bool isNullable, bool isRequired, bool emitDefaultValue, int order) { throw null; } } [SecurityCritical] private CriticalHelper helper; internal MemberInfo MemberInfo { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal string Name { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal int Order { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsRequired { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool EmitDefaultValue { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsNullable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsGetOnlyCollection { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal Type MemberType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal DataContract MemberTypeContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool HasConflictingNameAndType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal DataMember ConflictingMember { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal DataMember() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal DataMember(MemberInfo memberInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal DataMember(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal DataMember(DataContract memberTypeContract, string name, bool isNullable, bool isRequired, bool emitDefaultValue, int order) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataMember BindGenericParameters(DataContract[] paramContracts, Dictionary boundContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool Equals(object other, Dictionary checkedContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } } [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)] public sealed class DataMemberAttribute : Attribute { private string name; private bool isNameSetExplicitly; private int order; private bool isRequired; private bool emitDefaultValue; public string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsNameSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int Order { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsRequired { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool EmitDefaultValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DataMemberAttribute() { throw null; } } public class DateTimeFormat { private string formatString; private IFormatProvider formatProvider; private DateTimeStyles dateTimeStyles; public string FormatString { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public IFormatProvider FormatProvider { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public DateTimeStyles DateTimeStyles { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DateTimeFormat(string formatString) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DateTimeFormat(string formatString, IFormatProvider formatProvider) { throw null; } } [DataContract(Name = "DateTimeOffset", Namespace = "http://schemas.datacontract.org/2004/07/System")] internal struct DateTimeOffsetAdapter { private DateTime utcDateTime; private short offsetMinutes; [DataMember(Name = "DateTime", IsRequired = true)] public DateTime UtcDateTime { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [DataMember(Name = "OffsetMinutes", IsRequired = true)] public short OffsetMinutes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DateTimeOffsetAdapter(DateTime dateTime, short offsetMinutes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static DateTimeOffset GetDateTimeOffset(DateTimeOffsetAdapter value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static DateTimeOffsetAdapter GetDateTimeOffsetAdapter(DateTimeOffset value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string ToString(IFormatProvider provider) { throw null; } } internal static class DictionaryGlobals { public static readonly XmlDictionaryString EmptyString; public static readonly XmlDictionaryString SchemaInstanceNamespace; public static readonly XmlDictionaryString SchemaNamespace; public static readonly XmlDictionaryString SerializationNamespace; public static readonly XmlDictionaryString XmlnsNamespace; public static readonly XmlDictionaryString XsiTypeLocalName; public static readonly XmlDictionaryString XsiNilLocalName; public static readonly XmlDictionaryString ClrTypeLocalName; public static readonly XmlDictionaryString ClrAssemblyLocalName; public static readonly XmlDictionaryString ArraySizeLocalName; public static readonly XmlDictionaryString IdLocalName; public static readonly XmlDictionaryString RefLocalName; public static readonly XmlDictionaryString ISerializableFactoryTypeLocalName; public static readonly XmlDictionaryString CharLocalName; public static readonly XmlDictionaryString BooleanLocalName; public static readonly XmlDictionaryString SignedByteLocalName; public static readonly XmlDictionaryString UnsignedByteLocalName; public static readonly XmlDictionaryString ShortLocalName; public static readonly XmlDictionaryString UnsignedShortLocalName; public static readonly XmlDictionaryString IntLocalName; public static readonly XmlDictionaryString UnsignedIntLocalName; public static readonly XmlDictionaryString LongLocalName; public static readonly XmlDictionaryString UnsignedLongLocalName; public static readonly XmlDictionaryString FloatLocalName; public static readonly XmlDictionaryString DoubleLocalName; public static readonly XmlDictionaryString DecimalLocalName; public static readonly XmlDictionaryString DateTimeLocalName; public static readonly XmlDictionaryString StringLocalName; public static readonly XmlDictionaryString ByteArrayLocalName; public static readonly XmlDictionaryString ObjectLocalName; public static readonly XmlDictionaryString TimeSpanLocalName; public static readonly XmlDictionaryString GuidLocalName; public static readonly XmlDictionaryString UriLocalName; public static readonly XmlDictionaryString QNameLocalName; public static readonly XmlDictionaryString Space; public static readonly XmlDictionaryString timeLocalName; public static readonly XmlDictionaryString dateLocalName; public static readonly XmlDictionaryString hexBinaryLocalName; public static readonly XmlDictionaryString gYearMonthLocalName; public static readonly XmlDictionaryString gYearLocalName; public static readonly XmlDictionaryString gMonthDayLocalName; public static readonly XmlDictionaryString gDayLocalName; public static readonly XmlDictionaryString gMonthLocalName; public static readonly XmlDictionaryString integerLocalName; public static readonly XmlDictionaryString positiveIntegerLocalName; public static readonly XmlDictionaryString negativeIntegerLocalName; public static readonly XmlDictionaryString nonPositiveIntegerLocalName; public static readonly XmlDictionaryString nonNegativeIntegerLocalName; public static readonly XmlDictionaryString normalizedStringLocalName; public static readonly XmlDictionaryString tokenLocalName; public static readonly XmlDictionaryString languageLocalName; public static readonly XmlDictionaryString NameLocalName; public static readonly XmlDictionaryString NCNameLocalName; public static readonly XmlDictionaryString XSDIDLocalName; public static readonly XmlDictionaryString IDREFLocalName; public static readonly XmlDictionaryString IDREFSLocalName; public static readonly XmlDictionaryString ENTITYLocalName; public static readonly XmlDictionaryString ENTITIESLocalName; public static readonly XmlDictionaryString NMTOKENLocalName; public static readonly XmlDictionaryString NMTOKENSLocalName; public static readonly XmlDictionaryString AsmxTypesNamespace; [MethodImpl(MethodImplOptions.NoInlining)] static DictionaryGlobals() { throw null; } } public enum EmitTypeInformation { AsNeeded, Always, Never } internal sealed class EnumDataContract : DataContract { private class EnumDataContractCriticalHelper : DataContractCriticalHelper { private static Dictionary typeToName; private static Dictionary nameToType; private XmlQualifiedName baseContractName; private List members; private List values; private bool isULong; private bool isFlags; private bool hasDataContract; private XmlDictionaryString[] childElementNames; internal XmlQualifiedName BaseContractName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal List Members { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal List Values { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsFlags { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsULong { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal XmlDictionaryString[] ChildElementNames { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] static EnumDataContractCriticalHelper() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void Add(Type type, string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlQualifiedName GetBaseContractName(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Type GetBaseType(XmlQualifiedName baseContractName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal EnumDataContractCriticalHelper() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal EnumDataContractCriticalHelper(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ImportBaseType(Type baseType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ImportDataMembers() { throw null; } } [SecurityCritical] private EnumDataContractCriticalHelper helper; internal XmlQualifiedName BaseContractName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal List Members { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal List Values { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsFlags { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsULong { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } private XmlDictionaryString[] ChildElementNames { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal override bool CanContainReferences { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal EnumDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal EnumDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static XmlQualifiedName GetBaseContractName(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static Type GetBaseType(XmlQualifiedName baseContractName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteEnumValue(XmlWriterDelegator writer, object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object ReadEnumValue(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private long ReadEnumValue(string value, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string GetStringFromEnumValue(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal long GetEnumValueFromString(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool Equals(object other, Dictionary checkedContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) { throw null; } } [AttributeUsage(AttributeTargets.Field, Inherited = false, AllowMultiple = false)] public sealed class EnumMemberAttribute : Attribute { private string value; private bool isValueSetExplicitly; public string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IsValueSetExplicitly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public EnumMemberAttribute() { throw null; } } public class ExportOptions { private Collection knownTypes; private IDataContractSurrogate dataContractSurrogate; public IDataContractSurrogate DataContractSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public Collection KnownTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal IDataContractSurrogate GetSurrogate() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ExportOptions() { throw null; } } public sealed class ExtensionDataObject { private IList members; internal IList Members { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal ExtensionDataObject() { throw null; } } internal class ExtensionDataMember { private string name; private string ns; private IDataNode value; private int memberIndex; public string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string Namespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public IDataNode Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public int MemberIndex { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ExtensionDataMember() { throw null; } } internal interface IDataNode { Type DataType { get; } object Value { get; set; } string DataContractName { get; set; } string DataContractNamespace { get; set; } string ClrTypeName { get; set; } string ClrAssemblyName { get; set; } string Id { get; set; } bool PreservesReferences { get; } bool IsFinalValue { get; set; } void GetData(ElementData element); void Clear(); } internal class DataNode : IDataNode { protected Type dataType; private T value; private string dataContractName; private string dataContractNamespace; private string clrTypeName; private string clrAssemblyName; private string id; private bool isFinalValue; public Type DataType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public object Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } bool IDataNode.IsFinalValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string DataContractName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string DataContractNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string ClrTypeName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public string ClrAssemblyName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool PreservesReferences { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Id { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal DataNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataNode(T value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public T GetValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void GetData(ElementData element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void AddQualifiedNameAttribute(ElementData element, string elementPrefix, string elementName, string elementNs, string valueName, string valueNs) { throw null; } } internal class ClassDataNode : DataNode { private IList members; internal IList Members { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal ClassDataNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Clear() { throw null; } } internal class CollectionDataNode : DataNode { private IList items; private string itemName; private string itemNamespace; private int size; internal IList Items { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal string ItemName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal string ItemNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal int Size { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal CollectionDataNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void GetData(ElementData element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Clear() { throw null; } } internal class XmlDataNode : DataNode { private IList xmlAttributes; private IList xmlChildNodes; private XmlDocument ownerDocument; internal IList XmlAttributes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal IList XmlChildNodes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal XmlDocument OwnerDocument { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlDataNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Clear() { throw null; } } internal class ISerializableDataNode : DataNode { private string factoryTypeName; private string factoryTypeNamespace; private IList members; internal string FactoryTypeName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal string FactoryTypeNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal IList Members { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal ISerializableDataNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void GetData(ElementData element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Clear() { throw null; } } internal class ISerializableDataMember { private string name; private IDataNode value; internal string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal IDataNode Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ISerializableDataMember() { throw null; } } internal class ExtensionDataReader : XmlReader { private enum ExtensionDataNodeType { None, Element, EndElement, Text, Xml, ReferencedElement, NullElement } private Hashtable cache; private ElementData[] elements; private ElementData element; private ElementData nextElement; private ReadState readState; private ExtensionDataNodeType internalNodeType; private XmlNodeType nodeType; private int depth; private string localName; private string ns; private string prefix; private string value; private int attributeCount; private int attributeIndex; private XmlNodeReader xmlNodeReader; private Queue deserializedDataNodes; private XmlObjectSerializerReadContext context; [SecurityCritical] private static Dictionary nsToPrefixTable; [SecurityCritical] private static Dictionary prefixToNsTable; private bool IsXmlDataNode { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNodeType NodeType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string NamespaceURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int AttributeCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool EOF { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override ReadState ReadState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsEmptyElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsDefault { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override char QuoteChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[int i] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name, string namespaceURI] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string BaseURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNameTable NameTable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] static ExtensionDataReader() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal ExtensionDataReader(XmlObjectSerializerReadContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void SetDeserializedValue(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal IDataNode GetCurrentNode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void SetDataNode(IDataNode dataNode, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Reset() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToFirstAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToNextAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void MoveToAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name, string namespaceURI) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name, string namespaceURI) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public override string LookupNamespace(string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Skip() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsElementNode(ExtensionDataNodeType nodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(int i) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ResolveEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadAttributeValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveNext(IDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetNextElement(IDataNode node, string name, string ns, string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddDeserializedDataNode(IDataNode node) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckIfNodeHandled(IDataNode node) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveNextInClass(ClassDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveNextInCollection(CollectionDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveNextInISerializable(ISerializableDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveNextInXml(XmlDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveToDeserializedObject(IDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool MoveToText(Type type, IDataNode dataNode, bool isTypedNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void PushElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void PopElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void GrowElementsIfNeeded() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ElementData GetNextElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static string GetPrefix(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static void AddPrefix(string prefix, string ns) { throw null; } } internal class AttributeData { public string prefix; public string ns; public string localName; public string value; [MethodImpl(MethodImplOptions.NoInlining)] public AttributeData() { throw null; } } internal class ElementData { public string localName; public string ns; public string prefix; public int attributeCount; public AttributeData[] attributes; public IDataNode dataNode; public int childElementIndex; [MethodImpl(MethodImplOptions.NoInlining)] public void AddAttribute(string prefix, string ns, string name, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void GrowAttributesIfNeeded() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ElementData() { throw null; } } internal sealed class GenericParameterDataContract : DataContract { private class GenericParameterDataContractCriticalHelper : DataContractCriticalHelper { private int parameterPosition; internal int ParameterPosition { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal GenericParameterDataContractCriticalHelper(Type type) { throw null; } } [SecurityCritical] private GenericParameterDataContractCriticalHelper helper; internal int ParameterPosition { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal override bool IsBuiltInDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal GenericParameterDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract BindGenericParameters(DataContract[] paramContracts, Dictionary boundContracts) { throw null; } } internal static class Globals { internal const BindingFlags ScanAllMembers = BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic; [SecurityCritical] private static XmlQualifiedName idQualifiedName; [SecurityCritical] private static XmlQualifiedName refQualifiedName; [SecurityCritical] private static Type typeOfObject; [SecurityCritical] private static Type typeOfValueType; [SecurityCritical] private static Type typeOfArray; [SecurityCritical] private static Type typeOfString; [SecurityCritical] private static Type typeOfInt; [SecurityCritical] private static Type typeOfULong; [SecurityCritical] private static Type typeOfVoid; [SecurityCritical] private static Type typeOfByteArray; [SecurityCritical] private static Type typeOfTimeSpan; [SecurityCritical] private static Type typeOfGuid; [SecurityCritical] private static Type typeOfDateTimeOffset; [SecurityCritical] private static Type typeOfDateTimeOffsetAdapter; [SecurityCritical] private static Type typeOfUri; [SecurityCritical] private static Type typeOfTypeEnumerable; [SecurityCritical] private static Type typeOfStreamingContext; [SecurityCritical] private static Type typeOfISerializable; [SecurityCritical] private static Type typeOfIDeserializationCallback; [SecurityCritical] private static Type typeOfIObjectReference; [SecurityCritical] private static Type typeOfXmlFormatClassWriterDelegate; [SecurityCritical] private static Type typeOfXmlFormatCollectionWriterDelegate; [SecurityCritical] private static Type typeOfXmlFormatClassReaderDelegate; [SecurityCritical] private static Type typeOfXmlFormatCollectionReaderDelegate; [SecurityCritical] private static Type typeOfXmlFormatGetOnlyCollectionReaderDelegate; [SecurityCritical] private static Type typeOfKnownTypeAttribute; [SecurityCritical] private static Type typeOfDataContractAttribute; [SecurityCritical] private static Type typeOfContractNamespaceAttribute; [SecurityCritical] private static Type typeOfDataMemberAttribute; [SecurityCritical] private static Type typeOfEnumMemberAttribute; [SecurityCritical] private static Type typeOfCollectionDataContractAttribute; [SecurityCritical] private static Type typeOfOptionalFieldAttribute; [SecurityCritical] private static Type typeOfObjectArray; [SecurityCritical] private static Type typeOfOnSerializingAttribute; [SecurityCritical] private static Type typeOfOnSerializedAttribute; [SecurityCritical] private static Type typeOfOnDeserializingAttribute; [SecurityCritical] private static Type typeOfOnDeserializedAttribute; [SecurityCritical] private static Type typeOfFlagsAttribute; [SecurityCritical] private static Type typeOfSerializableAttribute; [SecurityCritical] private static Type typeOfNonSerializedAttribute; [SecurityCritical] private static Type typeOfSerializationInfo; [SecurityCritical] private static Type typeOfSerializationInfoEnumerator; [SecurityCritical] private static Type typeOfSerializationEntry; [SecurityCritical] private static Type typeOfIXmlSerializable; [SecurityCritical] private static Type typeOfXmlSchemaProviderAttribute; [SecurityCritical] private static Type typeOfXmlRootAttribute; [SecurityCritical] private static Type typeOfXmlQualifiedName; [SecurityCritical] private static Type typeOfXmlSchemaType; [SecurityCritical] private static Type typeOfXmlSerializableServices; [SecurityCritical] private static Type typeOfXmlNodeArray; [SecurityCritical] private static Type typeOfXmlSchemaSet; [SecurityCritical] private static object[] emptyObjectArray; [SecurityCritical] private static Type[] emptyTypeArray; [SecurityCritical] private static Type typeOfIPropertyChange; [SecurityCritical] private static Type typeOfIExtensibleDataObject; [SecurityCritical] private static Type typeOfExtensionDataObject; [SecurityCritical] private static Type typeOfISerializableDataNode; [SecurityCritical] private static Type typeOfClassDataNode; [SecurityCritical] private static Type typeOfCollectionDataNode; [SecurityCritical] private static Type typeOfXmlDataNode; [SecurityCritical] private static Type typeOfNullable; [SecurityCritical] private static Type typeOfReflectionPointer; [SecurityCritical] private static Type typeOfIDictionaryGeneric; [SecurityCritical] private static Type typeOfIDictionary; [SecurityCritical] private static Type typeOfIListGeneric; [SecurityCritical] private static Type typeOfIList; [SecurityCritical] private static Type typeOfICollectionGeneric; [SecurityCritical] private static Type typeOfICollection; [SecurityCritical] private static Type typeOfIEnumerableGeneric; [SecurityCritical] private static Type typeOfIEnumerable; [SecurityCritical] private static Type typeOfIEnumeratorGeneric; [SecurityCritical] private static Type typeOfIEnumerator; [SecurityCritical] private static Type typeOfKeyValuePair; [SecurityCritical] private static Type typeOfKeyValue; [SecurityCritical] private static Type typeOfIDictionaryEnumerator; [SecurityCritical] private static Type typeOfDictionaryEnumerator; [SecurityCritical] private static Type typeOfGenericDictionaryEnumerator; [SecurityCritical] private static Type typeOfDictionaryGeneric; [SecurityCritical] private static Type typeOfHashtable; [SecurityCritical] private static Type typeOfListGeneric; [SecurityCritical] private static Type typeOfXmlElement; [SecurityCritical] private static Type typeOfDBNull; [SecurityCritical] private static Uri dataContractXsdBaseNamespaceUri; public const bool DefaultIsRequired = false; public const bool DefaultEmitDefaultValue = true; public const int DefaultOrder = 0; public const bool DefaultIsReference = false; public static readonly string NewObjectId; public const string SimpleSRSInternalsVisiblePattern = "^[\\s]*System\\.Runtime\\.Serialization[\\s]*$"; public const string FullSRSInternalsVisiblePattern = "^[\\s]*System\\.Runtime\\.Serialization[\\s]*,[\\s]*PublicKey[\\s]*=[\\s]*(?i:00000000000000000400000000000000)[\\s]*$"; public const string NullObjectId = null; public const string Space = " "; public const string OpenBracket = "["; public const string CloseBracket = "]"; public const string Comma = ","; public const string XsiPrefix = "i"; public const string XsdPrefix = "x"; public const string SerPrefix = "z"; public const string SerPrefixForSchema = "ser"; public const string ElementPrefix = "q"; public const string DataContractXsdBaseNamespace = "http://schemas.datacontract.org/2004/07/"; public const string DataContractXmlNamespace = "http://schemas.datacontract.org/2004/07/System.Xml"; public const string SchemaInstanceNamespace = "http://www.w3.org/2001/XMLSchema-instance"; public const string SchemaNamespace = "http://www.w3.org/2001/XMLSchema"; public const string XsiNilLocalName = "nil"; public const string XsiTypeLocalName = "type"; public const string TnsPrefix = "tns"; public const string OccursUnbounded = "unbounded"; public const string AnyTypeLocalName = "anyType"; public const string StringLocalName = "string"; public const string IntLocalName = "int"; public const string True = "true"; public const string False = "false"; public const string ArrayPrefix = "ArrayOf"; public const string XmlnsNamespace = "http://www.w3.org/2000/xmlns/"; public const string XmlnsPrefix = "xmlns"; public const string SchemaLocalName = "schema"; public const string CollectionsNamespace = "http://schemas.microsoft.com/2003/10/Serialization/Arrays"; public const string DefaultClrNamespace = "GeneratedNamespace"; public const string DefaultTypeName = "GeneratedType"; public const string DefaultGeneratedMember = "GeneratedMember"; public const string DefaultFieldSuffix = "Field"; public const string DefaultPropertySuffix = "Property"; public const string DefaultMemberSuffix = "Member"; public const string NameProperty = "Name"; public const string NamespaceProperty = "Namespace"; public const string OrderProperty = "Order"; public const string IsReferenceProperty = "IsReference"; public const string IsRequiredProperty = "IsRequired"; public const string EmitDefaultValueProperty = "EmitDefaultValue"; public const string ClrNamespaceProperty = "ClrNamespace"; public const string ItemNameProperty = "ItemName"; public const string KeyNameProperty = "KeyName"; public const string ValueNameProperty = "ValueName"; public const string SerializationInfoPropertyName = "SerializationInfo"; public const string SerializationInfoFieldName = "info"; public const string NodeArrayPropertyName = "Nodes"; public const string NodeArrayFieldName = "nodesField"; public const string ExportSchemaMethod = "ExportSchema"; public const string IsAnyProperty = "IsAny"; public const string ContextFieldName = "context"; public const string GetObjectDataMethodName = "GetObjectData"; public const string GetEnumeratorMethodName = "GetEnumerator"; public const string MoveNextMethodName = "MoveNext"; public const string AddValueMethodName = "AddValue"; public const string CurrentPropertyName = "Current"; public const string ValueProperty = "Value"; public const string EnumeratorFieldName = "enumerator"; public const string SerializationEntryFieldName = "entry"; public const string ExtensionDataSetMethod = "set_ExtensionData"; public const string ExtensionDataSetExplicitMethod = "System.Runtime.Serialization.IExtensibleDataObject.set_ExtensionData"; public const string ExtensionDataObjectPropertyName = "ExtensionData"; public const string ExtensionDataObjectFieldName = "extensionDataField"; public const string AddMethodName = "Add"; public const string ParseMethodName = "Parse"; public const string GetCurrentMethodName = "get_Current"; public const string SerializationNamespace = "http://schemas.microsoft.com/2003/10/Serialization/"; public const string ClrTypeLocalName = "Type"; public const string ClrAssemblyLocalName = "Assembly"; public const string IsValueTypeLocalName = "IsValueType"; public const string EnumerationValueLocalName = "EnumerationValue"; public const string SurrogateDataLocalName = "Surrogate"; public const string GenericTypeLocalName = "GenericType"; public const string GenericParameterLocalName = "GenericParameter"; public const string GenericNameAttribute = "Name"; public const string GenericNamespaceAttribute = "Namespace"; public const string GenericParameterNestedLevelAttribute = "NestedLevel"; public const string IsDictionaryLocalName = "IsDictionary"; public const string ActualTypeLocalName = "ActualType"; public const string ActualTypeNameAttribute = "Name"; public const string ActualTypeNamespaceAttribute = "Namespace"; public const string DefaultValueLocalName = "DefaultValue"; public const string EmitDefaultValueAttribute = "EmitDefaultValue"; public const string ISerializableFactoryTypeLocalName = "FactoryType"; public const string IdLocalName = "Id"; public const string RefLocalName = "Ref"; public const string ArraySizeLocalName = "Size"; public const string KeyLocalName = "Key"; public const string ValueLocalName = "Value"; public const string MscorlibAssemblyName = "0"; public const string MscorlibAssemblySimpleName = "mscorlib"; public const string MscorlibFileName = "mscorlib.dll"; public const string SerializationSchema = "\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n"; internal static XmlQualifiedName IdQualifiedName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static XmlQualifiedName RefQualifiedName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfObject { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfValueType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfArray { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfString { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfInt { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfULong { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfVoid { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfByteArray { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfTimeSpan { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfGuid { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfDateTimeOffset { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfDateTimeOffsetAdapter { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfUri { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfTypeEnumerable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfStreamingContext { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfISerializable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIDeserializationCallback { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIObjectReference { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlFormatClassWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlFormatCollectionWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlFormatClassReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlFormatCollectionReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlFormatGetOnlyCollectionReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfKnownTypeAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfDataContractAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfContractNamespaceAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfDataMemberAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfEnumMemberAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfCollectionDataContractAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfOptionalFieldAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfObjectArray { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfOnSerializingAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfOnSerializedAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfOnDeserializingAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfOnDeserializedAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfFlagsAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfSerializableAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfNonSerializedAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfSerializationInfo { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfSerializationInfoEnumerator { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfSerializationEntry { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIXmlSerializable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlSchemaProviderAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlRootAttribute { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlQualifiedName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlSchemaType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlSerializableServices { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlNodeArray { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlSchemaSet { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static object[] EmptyObjectArray { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type[] EmptyTypeArray { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIPropertyChange { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIExtensibleDataObject { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfExtensionDataObject { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfISerializableDataNode { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfClassDataNode { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfCollectionDataNode { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlDataNode { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfNullable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfReflectionPointer { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIDictionaryGeneric { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIDictionary { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIListGeneric { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIList { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfICollectionGeneric { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfICollection { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIEnumerableGeneric { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIEnumerable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIEnumeratorGeneric { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIEnumerator { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfKeyValuePair { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfKeyValue { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfIDictionaryEnumerator { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfDictionaryEnumerator { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfGenericDictionaryEnumerator { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfDictionaryGeneric { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfHashtable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfListGeneric { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfXmlElement { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Type TypeOfDBNull { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static Uri DataContractXsdBaseNamespaceUri { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] static Globals() { throw null; } } internal class HybridObjectCache { private Dictionary objectDictionary; private Dictionary referencedObjectDictionary; [MethodImpl(MethodImplOptions.NoInlining)] internal HybridObjectCache() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Add(string id, object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Remove(string id) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object GetObject(string id) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsObjectReferenced(string id) { throw null; } } public interface IDataContractSurrogate { Type GetDataContractType(Type type); object GetObjectToSerialize(object obj, Type targetType); object GetDeserializedObject(object obj, Type targetType); object GetCustomDataToExport(MemberInfo memberInfo, Type dataContractType); object GetCustomDataToExport(Type clrType, Type dataContractType); void GetKnownCustomDataTypes(Collection customDataTypes); Type GetReferencedTypeOnImport(string typeName, string typeNamespace, object customData); CodeTypeDeclaration ProcessImportedType(CodeTypeDeclaration typeDeclaration, CodeCompileUnit compileUnit); } internal static class DataContractSurrogateCaller { [MethodImpl(MethodImplOptions.NoInlining)] internal static Type GetDataContractType(IDataContractSurrogate surrogate, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object GetObjectToSerialize(IDataContractSurrogate surrogate, object obj, Type objType, Type membertype) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object GetDeserializedObject(IDataContractSurrogate surrogate, object obj, Type objType, Type memberType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object GetCustomDataToExport(IDataContractSurrogate surrogate, MemberInfo memberInfo, Type dataContractType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object GetCustomDataToExport(IDataContractSurrogate surrogate, Type clrType, Type dataContractType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void GetKnownCustomDataTypes(IDataContractSurrogate surrogate, Collection customDataTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Type GetReferencedTypeOnImport(IDataContractSurrogate surrogate, string typeName, string typeNamespace, object customData) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static CodeTypeDeclaration ProcessImportedType(IDataContractSurrogate surrogate, CodeTypeDeclaration typeDeclaration, CodeCompileUnit compileUnit) { throw null; } } public interface IExtensibleDataObject { ExtensionDataObject ExtensionData { get; set; } } [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)] public sealed class IgnoreDataMemberAttribute : Attribute { [MethodImpl(MethodImplOptions.NoInlining)] public IgnoreDataMemberAttribute() { throw null; } } [Serializable] public class InvalidDataContractException : Exception { [MethodImpl(MethodImplOptions.NoInlining)] public InvalidDataContractException() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public InvalidDataContractException(string message) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public InvalidDataContractException(string message, Exception innerException) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected InvalidDataContractException(SerializationInfo info, StreamingContext context) { throw null; } } internal static class JsonFormatGeneratorStatics { [SecurityCritical] private static MethodInfo boxPointer; [SecurityCritical] private static PropertyInfo collectionItemNameProperty; [SecurityCritical] private static ConstructorInfo extensionDataObjectCtor; [SecurityCritical] private static PropertyInfo extensionDataProperty; [SecurityCritical] private static MethodInfo getItemContractMethod; [SecurityCritical] private static MethodInfo getJsonDataContractMethod; [SecurityCritical] private static MethodInfo getJsonMemberIndexMethod; [SecurityCritical] private static MethodInfo getRevisedItemContractMethod; [SecurityCritical] private static MethodInfo getUninitializedObjectMethod; [SecurityCritical] private static MethodInfo ienumeratorGetCurrentMethod; [SecurityCritical] private static MethodInfo ienumeratorMoveNextMethod; [SecurityCritical] private static MethodInfo isStartElementMethod0; [SecurityCritical] private static MethodInfo isStartElementMethod2; [SecurityCritical] private static PropertyInfo localNameProperty; [SecurityCritical] private static PropertyInfo namespaceProperty; [SecurityCritical] private static MethodInfo moveToContentMethod; [SecurityCritical] private static PropertyInfo nodeTypeProperty; [SecurityCritical] private static MethodInfo onDeserializationMethod; [SecurityCritical] private static MethodInfo readJsonValueMethod; [SecurityCritical] private static ConstructorInfo serializationExceptionCtor; [SecurityCritical] private static Type[] serInfoCtorArgs; [SecurityCritical] private static MethodInfo throwDuplicateMemberExceptionMethod; [SecurityCritical] private static MethodInfo throwMissingRequiredMembersMethod; [SecurityCritical] private static PropertyInfo typeHandleProperty; [SecurityCritical] private static MethodInfo unboxPointer; [SecurityCritical] private static PropertyInfo useSimpleDictionaryFormatReadProperty; [SecurityCritical] private static PropertyInfo useSimpleDictionaryFormatWriteProperty; [SecurityCritical] private static MethodInfo writeAttributeStringMethod; [SecurityCritical] private static MethodInfo writeEndElementMethod; [SecurityCritical] private static MethodInfo writeJsonISerializableMethod; [SecurityCritical] private static MethodInfo writeJsonNameWithMappingMethod; [SecurityCritical] private static MethodInfo writeJsonValueMethod; [SecurityCritical] private static MethodInfo writeStartElementMethod; [SecurityCritical] private static MethodInfo writeStartElementStringMethod; [SecurityCritical] private static MethodInfo parseEnumMethod; [SecurityCritical] private static MethodInfo getJsonMemberNameMethod; public static MethodInfo BoxPointer { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static PropertyInfo CollectionItemNameProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static ConstructorInfo ExtensionDataObjectCtor { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static PropertyInfo ExtensionDataProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo GetCurrentMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo GetItemContractMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo GetJsonDataContractMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo GetJsonMemberIndexMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo GetRevisedItemContractMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo GetUninitializedObjectMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo IsStartElementMethod0 { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo IsStartElementMethod2 { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static PropertyInfo LocalNameProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static PropertyInfo NamespaceProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo MoveNextMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo MoveToContentMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static PropertyInfo NodeTypeProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo OnDeserializationMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo ReadJsonValueMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static ConstructorInfo SerializationExceptionCtor { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static Type[] SerInfoCtorArgs { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo ThrowDuplicateMemberExceptionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo ThrowMissingRequiredMembersMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static PropertyInfo TypeHandleProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo UnboxPointer { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static PropertyInfo UseSimpleDictionaryFormatReadProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static PropertyInfo UseSimpleDictionaryFormatWriteProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo WriteAttributeStringMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo WriteEndElementMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo WriteJsonISerializableMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo WriteJsonNameWithMappingMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo WriteJsonValueMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo WriteStartElementMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo WriteStartElementStringMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo ParseEnumMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public static MethodInfo GetJsonMemberNameMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } } [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, Inherited = true, AllowMultiple = true)] public sealed class KnownTypeAttribute : Attribute { private string methodName; private Type type; public string MethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public Type Type { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] private KnownTypeAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public KnownTypeAttribute(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public KnownTypeAttribute(string methodName) { throw null; } } internal sealed class KnownTypeDataContractResolver : DataContractResolver { private XmlObjectSerializerContext context; [MethodImpl(MethodImplOptions.NoInlining)] internal KnownTypeDataContractResolver(XmlObjectSerializerContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool TryResolveType(Type type, Type declaredType, DataContractResolver knownTypeResolver, out XmlDictionaryString typeName, out XmlDictionaryString typeNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override Type ResolveName(string typeName, string typeNamespace, Type declaredType, DataContractResolver knownTypeResolver) { throw null; } } public sealed class NetDataContractSerializer : XmlObjectSerializer, IFormatter { private XmlDictionaryString rootName; private XmlDictionaryString rootNamespace; private StreamingContext context; private SerializationBinder binder; private ISurrogateSelector surrogateSelector; private int maxItemsInObjectGraph; private bool ignoreExtensionDataObject; private FormatterAssemblyStyle assemblyFormat; private DataContract cachedDataContract; private static Hashtable typeNameCache; private static bool? unsafeTypeForwardingEnabled; internal static bool UnsafeTypeForwardingEnabled { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public StreamingContext Context { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public SerializationBinder Binder { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public ISurrogateSelector SurrogateSelector { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public FormatterAssemblyStyle AssemblyFormat { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public int MaxItemsInObjectGraph { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool IgnoreExtensionDataObject { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public NetDataContractSerializer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public NetDataContractSerializer(StreamingContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public NetDataContractSerializer(StreamingContext context, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, FormatterAssemblyStyle assemblyFormat, ISurrogateSelector surrogateSelector) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public NetDataContractSerializer(string rootName, string rootNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public NetDataContractSerializer(string rootName, string rootNamespace, StreamingContext context, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, FormatterAssemblyStyle assemblyFormat, ISurrogateSelector surrogateSelector) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public NetDataContractSerializer(XmlDictionaryString rootName, XmlDictionaryString rootNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public NetDataContractSerializer(XmlDictionaryString rootName, XmlDictionaryString rootNamespace, StreamingContext context, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, FormatterAssemblyStyle assemblyFormat, ISurrogateSelector surrogateSelector) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(StreamingContext context, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, FormatterAssemblyStyle assemblyFormat, ISurrogateSelector surrogateSelector) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(XmlDictionaryString rootName, XmlDictionaryString rootNamespace, StreamingContext context, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, FormatterAssemblyStyle assemblyFormat, ISurrogateSelector surrogateSelector) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Serialize(Stream stream, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object Deserialize(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteObject(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObject(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartObject(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObjectContent(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndObject(XmlWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartObject(XmlDictionaryWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteStartObject(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InternalWriteStartObject(XmlWriterDelegator writer, object graph, DataContract contract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObjectContent(XmlDictionaryWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteObjectContent(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InternalWriteObjectContent(XmlWriterDelegator writer, object graph, DataContract contract, Hashtable surrogateDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteClrTypeInfo(XmlWriterDelegator writer, DataContract dataContract, SerializationBinder binder) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteClrTypeInfo(XmlWriterDelegator writer, Type dataContractType, SerializationBinder binder, string defaultClrTypeName, string defaultClrAssemblyName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteClrTypeInfo(XmlWriterDelegator writer, Type dataContractType, SerializationBinder binder, SerializationInfo serInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void WriteClrTypeInfo(XmlWriterDelegator writer, string clrTypeName, string clrAssemblyName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndObject(XmlDictionaryWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteEndObject(XmlWriterDelegator writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlReader reader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartObject(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartObject(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override object InternalReadObject(XmlReaderDelegator xmlReader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool InternalIsStartObject(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContract GetDataContract(object obj, ref Hashtable surrogateDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContract GetDataContract(Type type, ref Hashtable surrogateDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContract GetDataContract(RuntimeTypeHandle typeHandle, Type type, ref Hashtable surrogateDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] [PermissionSet(SecurityAction.Demand, Unrestricted = true)] private static ISerializationSurrogate GetSurrogate(Type type, ISurrogateSelector surrogateSelector, StreamingContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetDataContractFromSurrogateSelector(ISurrogateSelector surrogateSelector, StreamingContext context, RuntimeTypeHandle typeHandle, Type type, ref Hashtable surrogateDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static TypeInformation GetTypeInformation(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsAssemblyNameForwardingSafe(string originalAssemblyName, string newAssemblyName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsPublicKeyTokenForwardingSafe(byte[] sourceToken, byte[] destinationToken) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static NetDataContractSerializer() { throw null; } } internal struct ObjectReferenceStack { private const int MaximumArraySize = 16; private const int InitialArraySize = 4; private int count; private object[] objectArray; private bool[] isReferenceArray; private Dictionary objectDictionary; internal int Count { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal void Push(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void EnsureSetAsIsReference(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Pop(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool Contains(object obj) { throw null; } } internal class ObjectToIdCache { internal int m_currentCount; internal int[] m_ids; internal object[] m_objs; private bool[] m_isWrapped; internal static readonly int[] primes; [MethodImpl(MethodImplOptions.NoInlining)] public ObjectToIdCache() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetId(object obj, ref bool newId) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReassignId(int oldObjId, object oldObj, object newObj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int FindElement(object obj, out bool isEmpty, out bool isWrapped) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void RemoveAt(int position) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ComputeStartPosition(object o) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Rehash() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int GetPrime(int min) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsPrime(int candidate) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static ObjectToIdCache() { throw null; } } internal abstract class PrimitiveDataContract : DataContract { private class PrimitiveDataContractCriticalHelper : DataContractCriticalHelper { private MethodInfo xmlFormatWriterMethod; private MethodInfo xmlFormatContentWriterMethod; private MethodInfo xmlFormatReaderMethod; internal MethodInfo XmlFormatWriterMethod { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal MethodInfo XmlFormatContentWriterMethod { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal MethodInfo XmlFormatReaderMethod { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal PrimitiveDataContractCriticalHelper(Type type, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } } [SecurityCritical] private PrimitiveDataContractCriticalHelper helper; internal abstract string WriteMethodName { get; } internal abstract string ReadMethodName { get; } internal override XmlDictionaryString TopLevelElementNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal override bool CanContainReferences { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool IsPrimitive { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool IsBuiltInDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal MethodInfo XmlFormatWriterMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal MethodInfo XmlFormatContentWriterMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal MethodInfo XmlFormatReaderMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] protected PrimitiveDataContract(Type type, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static PrimitiveDataContract GetPrimitiveDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static PrimitiveDataContract GetPrimitiveDataContract(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected object HandleReadValue(object obj, XmlObjectSerializerReadContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected bool TryReadNullAtTopLevel(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool Equals(object other, Dictionary checkedContracts) { throw null; } } internal class CharDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal CharDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CharDataContract(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class AsmxCharDataContract : CharDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal AsmxCharDataContract() { throw null; } } internal class BooleanDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal BooleanDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class SignedByteDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal SignedByteDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class UnsignedByteDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal UnsignedByteDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class ShortDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal ShortDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class UnsignedShortDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal UnsignedShortDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class IntDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal IntDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class UnsignedIntDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal UnsignedIntDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class LongDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal LongDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal LongDataContract(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class IntegerDataContract : LongDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal IntegerDataContract() { throw null; } } internal class PositiveIntegerDataContract : LongDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal PositiveIntegerDataContract() { throw null; } } internal class NegativeIntegerDataContract : LongDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal NegativeIntegerDataContract() { throw null; } } internal class NonPositiveIntegerDataContract : LongDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal NonPositiveIntegerDataContract() { throw null; } } internal class NonNegativeIntegerDataContract : LongDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal NonNegativeIntegerDataContract() { throw null; } } internal class UnsignedLongDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal UnsignedLongDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class FloatDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal FloatDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class DoubleDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal DoubleDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class DecimalDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal DecimalDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class DateTimeDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal DateTimeDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class StringDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal StringDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal StringDataContract(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class TimeDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal TimeDataContract() { throw null; } } internal class DateDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal DateDataContract() { throw null; } } internal class HexBinaryDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal HexBinaryDataContract() { throw null; } } internal class GYearMonthDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal GYearMonthDataContract() { throw null; } } internal class GYearDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal GYearDataContract() { throw null; } } internal class GMonthDayDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal GMonthDayDataContract() { throw null; } } internal class GDayDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal GDayDataContract() { throw null; } } internal class GMonthDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal GMonthDataContract() { throw null; } } internal class NormalizedStringDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal NormalizedStringDataContract() { throw null; } } internal class TokenDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal TokenDataContract() { throw null; } } internal class LanguageDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal LanguageDataContract() { throw null; } } internal class NameDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal NameDataContract() { throw null; } } internal class NCNameDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal NCNameDataContract() { throw null; } } internal class IDDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal IDDataContract() { throw null; } } internal class IDREFDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal IDREFDataContract() { throw null; } } internal class IDREFSDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal IDREFSDataContract() { throw null; } } internal class ENTITYDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal ENTITYDataContract() { throw null; } } internal class ENTITIESDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal ENTITIESDataContract() { throw null; } } internal class NMTOKENDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal NMTOKENDataContract() { throw null; } } internal class NMTOKENSDataContract : StringDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal NMTOKENSDataContract() { throw null; } } internal class ByteArrayDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal ByteArrayDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class ObjectDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool CanContainReferences { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool IsPrimitive { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal ObjectDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class TimeSpanDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal TimeSpanDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal TimeSpanDataContract(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class XsDurationDataContract : TimeSpanDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal XsDurationDataContract() { throw null; } } internal class GuidDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal GuidDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal GuidDataContract(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class AsmxGuidDataContract : GuidDataContract { [MethodImpl(MethodImplOptions.NoInlining)] internal AsmxGuidDataContract() { throw null; } } internal class UriDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal UriDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } } internal class QNameDataContract : PrimitiveDataContract { internal override string WriteMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override string ReadMethodName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool IsPrimitive { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal QNameDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator writer, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator reader, XmlObjectSerializerReadContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteRootElement(XmlWriterDelegator writer, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } } internal struct ScopedKnownTypes { internal Dictionary[] dataContractDictionaries; private int count; [MethodImpl(MethodImplOptions.NoInlining)] internal void Push(Dictionary dataContractDictionary) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Pop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContract GetDataContract(XmlQualifiedName qname) { throw null; } } internal enum SerializationMode { SharedContract, SharedType } internal static class SerializationTrace { [SecurityCritical] private static TraceSource codeGen; internal static SourceSwitch CodeGenerationSwitch { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private static TraceSource CodeGenerationTraceSource { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteInstruction(int lineNumber, string instruction) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void TraceInstruction(string instruction) { throw null; } } internal sealed class SpecialTypeDataContract : DataContract { private class SpecialTypeDataContractCriticalHelper : DataContractCriticalHelper { [MethodImpl(MethodImplOptions.NoInlining)] internal SpecialTypeDataContractCriticalHelper(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal SpecialTypeDataContractCriticalHelper(Type type, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } } [SecurityCritical] private SpecialTypeDataContractCriticalHelper helper; internal override bool IsBuiltInDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public SpecialTypeDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public SpecialTypeDataContract(Type type, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } } internal sealed class SurrogateDataContract : DataContract { private class SurrogateDataContractCriticalHelper : DataContractCriticalHelper { private ISerializationSurrogate serializationSurrogate; internal ISerializationSurrogate SerializationSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal SurrogateDataContractCriticalHelper(Type type, ISerializationSurrogate serializationSurrogate) { throw null; } } [SecurityCritical] private SurrogateDataContractCriticalHelper helper; internal ISerializationSurrogate SerializationSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal SurrogateDataContract(Type type, ISerializationSurrogate serializationSurrogate) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] [PermissionSet(SecurityAction.Demand, Unrestricted = true)] private object SerializationSurrogateSetObjectData(object obj, SerializationInfo serInfo, StreamingContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] [PermissionSet(SecurityAction.Demand, Unrestricted = true)] internal static object GetRealObject(IObjectReference obj, StreamingContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] [PermissionSet(SecurityAction.Demand, Unrestricted = true)] private object GetUninitializedObject(Type objType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] [PermissionSet(SecurityAction.Demand, Unrestricted = true)] private void SerializationSurrogateGetObjectData(object obj, SerializationInfo serInfo, StreamingContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) { throw null; } } internal sealed class TypeInformation { private string fullTypeName; private string assemblyString; private bool hasTypeForwardedFrom; internal string FullTypeName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal string AssemblyString { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool HasTypeForwardedFrom { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal TypeInformation(string fullTypeName, string assemblyString, bool hasTypeForwardedFrom) { throw null; } } public static class XPathQueryGenerator { private class ExportContext { private XmlNamespaceManager namespaces; private int nextPrefix; private StringBuilder xPathBuilder; public XmlNamespaceManager Namespaces { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string XPath { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ExportContext(DataContract rootContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ExportContext(StringBuilder rootContractXPath) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteChildToContext(DataMember contextMember, string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string SetNamespace(string ns) { throw null; } } [CompilerGenerated] private sealed class d__6 : IEnumerable, IEnumerable, IEnumerator, IDisposable, IEnumerator { private int <>1__state; private DataMember <>2__current; private int <>l__initialThreadId; private ClassDataContract contract; public ClassDataContract <>3__contract; private IEnumerator <>7__wrap1; private List.Enumerator <>7__wrap2; DataMember IEnumerator.Current { [MethodImpl(MethodImplOptions.NoInlining)] [DebuggerHidden] get { throw null; } } object IEnumerator.Current { [MethodImpl(MethodImplOptions.NoInlining)] [DebuggerHidden] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [DebuggerHidden] public d__6(int <>1__state) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [DebuggerHidden] void IDisposable.Dispose() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool MoveNext() { throw null; } bool IEnumerator.MoveNext() { //ILSpy generated this explicit interface implementation from .override directive in MoveNext return this.MoveNext(); } [MethodImpl(MethodImplOptions.NoInlining)] private void <>m__Finally1() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void <>m__Finally2() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [DebuggerHidden] void IEnumerator.Reset() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [DebuggerHidden] IEnumerator IEnumerable.GetEnumerator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [DebuggerHidden] IEnumerator IEnumerable.GetEnumerator() { throw null; } } private const string XPathSeparator = "/"; private const string NsSeparator = ":"; [MethodImpl(MethodImplOptions.NoInlining)] public static string CreateFromDataContractSerializer(Type type, MemberInfo[] pathToMember, out XmlNamespaceManager namespaces) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string CreateFromDataContractSerializer(Type type, MemberInfo[] pathToMember, StringBuilder rootElementXpath, out XmlNamespaceManager namespaces) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static DataContract ProcessDataContract(DataContract contract, ExportContext context, MemberInfo memberNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static DataContract ProcessClassDataContract(ClassDataContract contract, ExportContext context, MemberInfo memberNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [IteratorStateMachine(typeof(d__6))] private static IEnumerable GetDataMembers(ClassDataContract contract) { throw null; } } internal delegate IXmlSerializable CreateXmlSerializableDelegate(); internal sealed class XmlDataContract : DataContract { private class XmlDataContractCriticalHelper : DataContractCriticalHelper { private Dictionary knownDataContracts; private bool isKnownTypeAttributeChecked; private XmlDictionaryString topLevelElementName; private XmlDictionaryString topLevelElementNamespace; private bool isTopLevelElementNullable; private bool isTypeDefinedOnImport; private XmlSchemaType xsdType; private bool hasRoot; private CreateXmlSerializableDelegate createXmlSerializable; internal override Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal XmlSchemaType XsdType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsAnonymous { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool HasRoot { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal override XmlDictionaryString TopLevelElementName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal override XmlDictionaryString TopLevelElementNamespace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsTopLevelElementNullable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool IsTypeDefinedOnImport { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal CreateXmlSerializableDelegate CreateXmlSerializableDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlDataContractCriticalHelper() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlDataContractCriticalHelper(Type type) { throw null; } } [SecurityCritical] private XmlDataContractCriticalHelper helper; internal override Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal XmlSchemaType XsdType { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsAnonymous { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal override bool HasRoot { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal override XmlDictionaryString TopLevelElementName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal override XmlDictionaryString TopLevelElementNamespace { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsTopLevelElementNullable { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal bool IsTypeDefinedOnImport { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] set { throw null; } } internal CreateXmlSerializableDelegate CreateXmlSerializableDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal override bool CanContainReferences { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool IsBuiltInDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal XmlDataContract() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal XmlDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ConstructorInfo GetConstructor() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] internal void SetTopLevelElementName(XmlQualifiedName elementName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool Equals(object other, Dictionary checkedContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlValue(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadXmlValue(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal CreateXmlSerializableDelegate GenerateCreateXmlSerializableDelegate() { throw null; } } internal static class XmlFormatGeneratorStatics { [SecurityCritical] private static MethodInfo writeStartElementMethod2; [SecurityCritical] private static MethodInfo writeStartElementMethod3; [SecurityCritical] private static MethodInfo writeEndElementMethod; [SecurityCritical] private static MethodInfo writeNamespaceDeclMethod; [SecurityCritical] private static PropertyInfo extensionDataProperty; [SecurityCritical] private static MethodInfo boxPointer; [SecurityCritical] private static ConstructorInfo dictionaryEnumeratorCtor; [SecurityCritical] private static MethodInfo ienumeratorMoveNextMethod; [SecurityCritical] private static MethodInfo ienumeratorGetCurrentMethod; [SecurityCritical] private static MethodInfo getItemContractMethod; [SecurityCritical] private static MethodInfo isStartElementMethod2; [SecurityCritical] private static MethodInfo isStartElementMethod0; [SecurityCritical] private static MethodInfo getUninitializedObjectMethod; [SecurityCritical] private static MethodInfo onDeserializationMethod; [SecurityCritical] private static MethodInfo unboxPointer; [SecurityCritical] private static PropertyInfo nodeTypeProperty; [SecurityCritical] private static ConstructorInfo serializationExceptionCtor; [SecurityCritical] private static ConstructorInfo extensionDataObjectCtor; [SecurityCritical] private static ConstructorInfo hashtableCtor; [SecurityCritical] private static MethodInfo getStreamingContextMethod; [SecurityCritical] private static MethodInfo getCollectionMemberMethod; [SecurityCritical] private static MethodInfo storeCollectionMemberInfoMethod; [SecurityCritical] private static MethodInfo storeIsGetOnlyCollectionMethod; [SecurityCritical] private static MethodInfo throwNullValueReturnedForGetOnlyCollectionExceptionMethod; private static MethodInfo throwArrayExceededSizeExceptionMethod; [SecurityCritical] private static MethodInfo incrementItemCountMethod; [SecurityCritical] private static MethodInfo demandSerializationFormatterPermissionMethod; [SecurityCritical] private static MethodInfo demandMemberAccessPermissionMethod; [SecurityCritical] private static MethodInfo internalDeserializeMethod; [SecurityCritical] private static MethodInfo moveToNextElementMethod; [SecurityCritical] private static MethodInfo getMemberIndexMethod; [SecurityCritical] private static MethodInfo getMemberIndexWithRequiredMembersMethod; [SecurityCritical] private static MethodInfo throwRequiredMemberMissingExceptionMethod; [SecurityCritical] private static MethodInfo skipUnknownElementMethod; [SecurityCritical] private static MethodInfo readIfNullOrRefMethod; [SecurityCritical] private static MethodInfo readAttributesMethod; [SecurityCritical] private static MethodInfo resetAttributesMethod; [SecurityCritical] private static MethodInfo getObjectIdMethod; [SecurityCritical] private static MethodInfo getArraySizeMethod; [SecurityCritical] private static MethodInfo addNewObjectMethod; [SecurityCritical] private static MethodInfo addNewObjectWithIdMethod; [SecurityCritical] private static MethodInfo replaceDeserializedObjectMethod; [SecurityCritical] private static MethodInfo getExistingObjectMethod; [SecurityCritical] private static MethodInfo getRealObjectMethod; [SecurityCritical] private static MethodInfo readMethod; [SecurityCritical] private static MethodInfo ensureArraySizeMethod; [SecurityCritical] private static MethodInfo trimArraySizeMethod; [SecurityCritical] private static MethodInfo checkEndOfArrayMethod; [SecurityCritical] private static MethodInfo getArrayLengthMethod; [SecurityCritical] private static MethodInfo readSerializationInfoMethod; [SecurityCritical] private static MethodInfo createUnexpectedStateExceptionMethod; [SecurityCritical] private static MethodInfo internalSerializeReferenceMethod; [SecurityCritical] private static MethodInfo internalSerializeMethod; [SecurityCritical] private static MethodInfo writeNullMethod; [SecurityCritical] private static MethodInfo incrementArrayCountMethod; [SecurityCritical] private static MethodInfo incrementCollectionCountMethod; [SecurityCritical] private static MethodInfo incrementCollectionCountGenericMethod; [SecurityCritical] private static MethodInfo getDefaultValueMethod; [SecurityCritical] private static MethodInfo getNullableValueMethod; [SecurityCritical] private static MethodInfo throwRequiredMemberMustBeEmittedMethod; [SecurityCritical] private static MethodInfo getHasValueMethod; [SecurityCritical] private static MethodInfo writeISerializableMethod; [SecurityCritical] private static MethodInfo writeExtensionDataMethod; [SecurityCritical] private static MethodInfo writeXmlValueMethod; [SecurityCritical] private static MethodInfo readXmlValueMethod; [SecurityCritical] private static MethodInfo throwTypeNotSerializableMethod; [SecurityCritical] private static PropertyInfo namespaceProperty; [SecurityCritical] private static FieldInfo contractNamespacesField; [SecurityCritical] private static FieldInfo memberNamesField; [SecurityCritical] private static MethodInfo extensionDataSetExplicitMethodInfo; [SecurityCritical] private static PropertyInfo childElementNamespacesProperty; [SecurityCritical] private static PropertyInfo collectionItemNameProperty; [SecurityCritical] private static PropertyInfo childElementNamespaceProperty; [SecurityCritical] private static MethodInfo getDateTimeOffsetMethod; [SecurityCritical] private static MethodInfo getDateTimeOffsetAdapterMethod; [SecurityCritical] private static MethodInfo traceInstructionMethod; [SecurityCritical] private static MethodInfo throwInvalidDataContractExceptionMethod; [SecurityCritical] private static PropertyInfo serializeReadOnlyTypesProperty; [SecurityCritical] private static PropertyInfo classSerializationExceptionMessageProperty; [SecurityCritical] private static PropertyInfo collectionSerializationExceptionMessageProperty; internal static MethodInfo WriteStartElementMethod2 { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo WriteStartElementMethod3 { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo WriteEndElementMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo WriteNamespaceDeclMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo ExtensionDataProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo BoxPointer { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static ConstructorInfo DictionaryEnumeratorCtor { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo MoveNextMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetCurrentMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetItemContractMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo IsStartElementMethod2 { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo IsStartElementMethod0 { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetUninitializedObjectMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo OnDeserializationMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo UnboxPointer { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo NodeTypeProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static ConstructorInfo SerializationExceptionCtor { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static ConstructorInfo ExtensionDataObjectCtor { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static ConstructorInfo HashtableCtor { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetStreamingContextMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetCollectionMemberMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo StoreCollectionMemberInfoMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo StoreIsGetOnlyCollectionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ThrowNullValueReturnedForGetOnlyCollectionExceptionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ThrowArrayExceededSizeExceptionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo IncrementItemCountMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo DemandSerializationFormatterPermissionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo DemandMemberAccessPermissionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo InternalDeserializeMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo MoveToNextElementMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetMemberIndexMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetMemberIndexWithRequiredMembersMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ThrowRequiredMemberMissingExceptionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo SkipUnknownElementMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ReadIfNullOrRefMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ReadAttributesMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ResetAttributesMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetObjectIdMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetArraySizeMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo AddNewObjectMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo AddNewObjectWithIdMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ReplaceDeserializedObjectMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetExistingObjectMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetRealObjectMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ReadMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo EnsureArraySizeMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo TrimArraySizeMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo CheckEndOfArrayMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetArrayLengthMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ReadSerializationInfoMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo CreateUnexpectedStateExceptionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo InternalSerializeReferenceMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo InternalSerializeMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo WriteNullMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo IncrementArrayCountMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo IncrementCollectionCountMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo IncrementCollectionCountGenericMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetDefaultValueMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetNullableValueMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ThrowRequiredMemberMustBeEmittedMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetHasValueMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo WriteISerializableMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo WriteExtensionDataMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo WriteXmlValueMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ReadXmlValueMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ThrowTypeNotSerializableMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo NamespaceProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static FieldInfo ContractNamespacesField { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static FieldInfo MemberNamesField { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ExtensionDataSetExplicitMethodInfo { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo ChildElementNamespacesProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo CollectionItemNameProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo ChildElementNamespaceProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetDateTimeOffsetMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo GetDateTimeOffsetAdapterMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo TraceInstructionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static MethodInfo ThrowInvalidDataContractExceptionMethod { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo SerializeReadOnlyTypesProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo ClassSerializationExceptionMessageProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal static PropertyInfo CollectionSerializationExceptionMessageProperty { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } } internal delegate object XmlFormatClassReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces); internal delegate object XmlFormatCollectionReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract); internal delegate void XmlFormatGetOnlyCollectionReaderDelegate(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract); internal sealed class XmlFormatReaderGenerator { private class CriticalHelper { [MethodImpl(MethodImplOptions.NoInlining)] internal XmlFormatClassReaderDelegate GenerateClassReader(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlFormatCollectionReaderDelegate GenerateCollectionReader(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlFormatGetOnlyCollectionReaderDelegate GenerateGetOnlyCollectionReader(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CriticalHelper() { throw null; } } [SecurityCritical] private CriticalHelper helper; [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public XmlFormatReaderGenerator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public XmlFormatClassReaderDelegate GenerateClassReader(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public XmlFormatCollectionReaderDelegate GenerateCollectionReader(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public XmlFormatGetOnlyCollectionReaderDelegate GenerateGetOnlyCollectionReader(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal static object UnsafeGetUninitializedObject(int id) { throw null; } } internal delegate void XmlFormatClassWriterDelegate(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context, ClassDataContract dataContract); internal delegate void XmlFormatCollectionWriterDelegate(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context, CollectionDataContract dataContract); internal sealed class XmlFormatWriterGenerator { private class CriticalHelper { [MethodImpl(MethodImplOptions.NoInlining)] internal XmlFormatClassWriterDelegate GenerateClassWriter(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlFormatCollectionWriterDelegate GenerateCollectionWriter(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CriticalHelper() { throw null; } } [SecurityCritical] private CriticalHelper helper; [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public XmlFormatWriterGenerator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] internal XmlFormatClassWriterDelegate GenerateClassWriter(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] internal XmlFormatCollectionWriterDelegate GenerateCollectionWriter(CollectionDataContract collectionContract) { throw null; } } public abstract class XmlObjectSerializer { [SecurityCritical] private static IFormatterConverter formatterConverter; internal virtual Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal static IFormatterConverter FormatterConverter { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } public abstract void WriteStartObject(XmlDictionaryWriter writer, object graph); public abstract void WriteObjectContent(XmlDictionaryWriter writer, object graph); public abstract void WriteEndObject(XmlDictionaryWriter writer); [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteObject(Stream stream, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteObject(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteStartObject(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteObjectContent(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteEndObject(XmlWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteObject(XmlDictionaryWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteObjectHandleExceptions(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteObjectHandleExceptions(XmlWriterDelegator writer, object graph, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void InternalWriteObject(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void InternalWriteObject(XmlWriterDelegator writer, object graph, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void InternalWriteStartObject(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void InternalWriteObjectContent(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void InternalWriteEndObject(XmlWriterDelegator writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteStartObjectHandleExceptions(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteObjectContentHandleExceptions(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteEndObjectHandleExceptions(XmlWriterDelegator writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteRootElement(XmlWriterDelegator writer, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns, bool needsContractNsAtRoot) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool CheckIfNeedsContractNsAtRoot(XmlDictionaryString name, XmlDictionaryString ns, DataContract contract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteNull(XmlWriterDelegator writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsContractDeclared(DataContract contract, DataContract declaredContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual object ReadObject(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual object ReadObject(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual object ReadObject(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual object ReadObject(XmlReader reader, bool verifyObjectName) { throw null; } public abstract object ReadObject(XmlDictionaryReader reader, bool verifyObjectName); [MethodImpl(MethodImplOptions.NoInlining)] public virtual bool IsStartObject(XmlReader reader) { throw null; } public abstract bool IsStartObject(XmlDictionaryReader reader); [MethodImpl(MethodImplOptions.NoInlining)] internal virtual object InternalReadObject(XmlReaderDelegator reader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual object InternalReadObject(XmlReaderDelegator reader, bool verifyObjectName, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual bool InternalIsStartObject(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object ReadObjectHandleExceptions(XmlReaderDelegator reader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object ReadObjectHandleExceptions(XmlReaderDelegator reader, bool verifyObjectName, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsStartObjectHandleExceptions(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsRootXmlAny(XmlDictionaryString rootName, DataContract contract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsStartElement(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsRootElement(XmlReaderDelegator reader, DataContract contract, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void CheckNull(object obj, string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string TryAddLineInfo(XmlReaderDelegator reader, string errorMessage) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception CreateSerializationExceptionWithReaderDetails(string errorMessage, XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static SerializationException CreateSerializationException(string errorMessage) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static SerializationException CreateSerializationException(string errorMessage, Exception innerException) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetTypeInfo(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetTypeInfoError(string errorMessage, Type type, Exception innerException) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual Type GetSerializeType(object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual Type GetDeserializeType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlObjectSerializer() { throw null; } } internal class XmlObjectSerializerContext { protected XmlObjectSerializer serializer; protected DataContract rootTypeDataContract; internal ScopedKnownTypes scopedKnownTypes; protected Dictionary serializerKnownDataContracts; private bool isSerializerKnownDataContractsSetExplicit; protected IList serializerKnownTypeList; [SecurityCritical] private bool demandedSerializationFormatterPermission; [SecurityCritical] private bool demandedMemberAccessPermission; private int itemCount; private int maxItemsInObjectGraph; private StreamingContext streamingContext; private bool ignoreExtensionDataObject; private DataContractResolver dataContractResolver; private KnownTypeDataContractResolver knownTypeResolver; private static MethodInfo incrementItemCountMethod; internal virtual SerializationMode Mode { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal virtual bool IsGetOnlyCollection { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal static MethodInfo IncrementItemCountMethod { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal int RemainingItemCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool IgnoreExtensionDataObject { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected DataContractResolver DataContractResolver { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected KnownTypeDataContractResolver KnownTypeResolver { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private Dictionary SerializerKnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerContext(NetDataContractSerializer serializer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public void DemandSerializationFormatterPermission() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public void DemandMemberAccessPermission() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public StreamingContext GetStreamingContext() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void IncrementItemCount(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal DataContract GetDataContract(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual DataContract GetDataContract(RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual DataContract GetDataContractSkipValidation(int typeId, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual DataContract GetDataContract(int id, RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void CheckIfTypeSerializable(Type memberType, bool isMemberTypeSerializable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual Type GetSurrogatedType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private DataContract GetDataContractFromSerializerKnownTypes(XmlQualifiedName qname) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Dictionary GetDataContractsForKnownTypes(IList knownTypeList) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsKnownType(DataContract dataContract, Dictionary knownDataContracts, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsKnownType(DataContract dataContract, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private DataContract ResolveDataContractFromKnownTypes(XmlQualifiedName typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private DataContract ResolveDataContractFromDataContractResolver(XmlQualifiedName typeName, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal Type ResolveNameFromKnownTypes(XmlQualifiedName typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected DataContract ResolveDataContractFromKnownTypes(string typeName, string typeNs, DataContract memberTypeContract, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual DataContract ResolveDataContractFromRootDataContract(XmlQualifiedName typeQName) { throw null; } } internal class XmlObjectSerializerReadContext : XmlObjectSerializerContext { internal Attributes attributes; private HybridObjectCache deserializedObjects; private XmlSerializableReader xmlSerializableReader; private XmlDocument xmlDocument; private Attributes attributesInXmlData; private XmlReaderDelegator extensionDataReader; private object getOnlyCollectionValue; private bool isGetOnlyCollection; private HybridObjectCache DeserializedObjects { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private XmlDocument Document { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool IsGetOnlyCollection { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal object GetCollectionMember() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void StoreCollectionMemberInfo(object collectionMember) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void ThrowNullValueReturnedForGetOnlyCollectionException(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void ThrowArrayExceededSizeException(int arraySize, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlObjectSerializerReadContext CreateContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlObjectSerializerReadContext CreateContext(NetDataContractSerializer serializer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerReadContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerReadContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlObjectSerializerReadContext(NetDataContractSerializer serializer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual object InternalDeserialize(XmlReaderDelegator xmlReader, int id, RuntimeTypeHandle declaredTypeHandle, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual object InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual object InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected bool TryHandleNullOrRef(XmlReaderDelegator reader, Type declaredType, string name, string ns, ref object retObj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected object InternalDeserialize(XmlReaderDelegator reader, string name, string ns, Type declaredType, ref DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool ReplaceScopedKnownTypesTop(Dictionary knownDataContracts, bool knownTypesAddedInCurrentScope) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool MoveToNextElement(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetMemberIndex(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces, int memberIndex, ExtensionDataObject extensionData) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetMemberIndexWithRequiredMembers(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces, int memberIndex, int requiredIndex, ExtensionDataObject extensionData) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowRequiredMemberMissingException(XmlReaderDelegator xmlReader, int memberIndex, int requiredIndex, XmlDictionaryString[] memberNames) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void HandleMemberNotFound(XmlReaderDelegator xmlReader, ExtensionDataObject extensionData, int memberIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void HandleUnknownElement(XmlReaderDelegator xmlReader, ExtensionDataObject extensionData, int memberIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SkipUnknownElement(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string ReadIfNullOrRef(XmlReaderDelegator xmlReader, Type memberType, bool isMemberTypeSerializable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void ReadAttributes(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ResetAttributes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string GetObjectId() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual int GetArraySize() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void AddNewObject(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void AddNewObjectWithId(string id, object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ReplaceDeserializedObject(string id, object oldObj, object newObj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object GetExistingObject(string id, Type type, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object GetExistingObjectOrExtensionData(string id) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object GetRealObject(IObjectReference obj, string id) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object DeserializeFromExtensionData(IDataNode dataNode, Type type, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void Read(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void ParseQualifiedName(string qname, XmlReaderDelegator xmlReader, out string name, out string ns, out string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static T[] EnsureArraySize(T[] array, int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static T[] TrimArraySize(T[] array, int size) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void CheckEndOfArray(XmlReaderDelegator xmlReader, int arraySize, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object ReadIXmlSerializable(XmlReaderDelegator xmlReader, XmlDataContract xmlDataContract, bool isMemberType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object ReadRootIXmlSerializable(XmlReaderDelegator xmlReader, XmlDataContract xmlDataContract, bool isMemberType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object ReadIXmlSerializable(XmlSerializableReader xmlSerializableReader, XmlReaderDelegator xmlReader, XmlDataContract xmlDataContract, bool isMemberType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public SerializationInfo ReadSerializationInfo(XmlReaderDelegator xmlReader, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual DataContract ResolveDataContractFromTypeName() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ExtensionDataMember ReadExtensionDataMember(XmlReaderDelegator xmlReader, int memberIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public IDataNode ReadExtensionDataValue(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void StartReadExtensionDataValue(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private IDataNode ReadExtensionDataValue(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual IDataNode ReadPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void InitializeExtensionDataNode(IDataNode dataNode, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private IDataNode ReadUnknownPrimitiveData(XmlReaderDelegator xmlReader, Type type, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ClassDataNode ReadUnknownClassData(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private CollectionDataNode ReadUnknownCollectionData(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ISerializableDataNode ReadUnknownISerializableData(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private IDataNode ReadUnknownXmlData(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private IDataNode ReadAndResolveUnknownXmlData(XmlReaderDelegator xmlReader, IDictionary namespaces, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsContentNode(XmlNodeType nodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlReaderDelegator CreateReaderOverChildNodes(IList xmlAttributes, IList xmlChildNodes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlNode CreateWrapperXmlElement(XmlDocument document, IList xmlAttributes, IList xmlChildNodes, string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlAttribute AddNamespaceDeclaration(string prefix, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static Exception CreateUnexpectedStateException(XmlNodeType expectedState, XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual object ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual XmlReaderDelegator CreateReaderDelegatorForReader(XmlReader xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual bool IsReadingCollectionExtensionData(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual bool IsReadingClassExtensionData(XmlReaderDelegator xmlReader) { throw null; } } internal class XmlObjectSerializerReadContextComplex : XmlObjectSerializerReadContext { private sealed class TopLevelAssemblyTypeResolver { private Assembly topLevelAssembly; [MethodImpl(MethodImplOptions.NoInlining)] public TopLevelAssemblyTypeResolver(Assembly topLevelAssembly) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Type ResolveType(Assembly assembly, string simpleTypeName, bool ignoreCase) { throw null; } } private class XmlObjectDataContractTypeInfo { private Assembly assembly; private Type type; public Assembly Assembly { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public Type Type { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlObjectDataContractTypeInfo(Assembly assembly, Type type) { throw null; } } private class XmlObjectDataContractTypeKey { private string assemblyName; private string typeName; [MethodImpl(MethodImplOptions.NoInlining)] public XmlObjectDataContractTypeKey(string assemblyName, string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Equals(object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int GetHashCode() { throw null; } } private static Hashtable dataContractTypeCache; private bool preserveObjectReferences; protected IDataContractSurrogate dataContractSurrogate; private SerializationMode mode; private SerializationBinder binder; private ISurrogateSelector surrogateSelector; private FormatterAssemblyStyle assemblyFormat; private Hashtable surrogateDataContracts; internal override SerializationMode Mode { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerReadContextComplex(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerReadContextComplex(NetDataContractSerializer serializer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerReadContextComplex(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContract(int id, RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContract(RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object InternalDeserialize(XmlReaderDelegator xmlReader, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override object InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override object InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object InternalDeserializeInSharedTypeMode(XmlReaderDelegator xmlReader, int declaredTypeID, Type declaredType, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object InternalDeserializeWithSurrogate(XmlReaderDelegator xmlReader, Type declaredType, DataContract surrogateDataContract, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private Type ResolveDataContractTypeInSharedTypeMode(string assemblyName, string typeName, out Assembly assembly) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private DataContract ResolveDataContractInSharedTypeMode(string assemblyName, string typeName, out Assembly assembly, out Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override DataContract ResolveDataContractFromTypeName() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] [PermissionSet(SecurityAction.Demand, Unrestricted = true)] private bool CheckIfTypeSerializableForSharedTypeMode(Type memberType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void CheckIfTypeSerializable(Type memberType, bool isMemberTypeSerializable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override Type GetSurrogatedType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override int GetArraySize() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static Assembly ResolveSimpleAssemblyName(AssemblyName assemblyName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static Assembly ResolveSimpleAssemblyName(string assemblyName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static void CheckTypeForwardedTo(Assembly sourceAssembly, Assembly destinationAssembly, Type resolvedType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlObjectSerializerReadContextComplex() { throw null; } } internal class XmlObjectSerializerWriteContext : XmlObjectSerializerContext { private ObjectReferenceStack byValObjectsInScope; private XmlSerializableWriter xmlSerializableWriter; private const int depthToCheckCyclicReference = 512; protected bool preserveObjectReferences; private ObjectToIdCache serializedObjects; private bool isGetOnlyCollection; private readonly bool unsafeTypeForwardingEnabled; protected bool serializeReadOnlyTypes; protected ObjectToIdCache SerializedObjects { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override bool IsGetOnlyCollection { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal bool SerializeReadOnlyTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool UnsafeTypeForwardingEnabled { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlObjectSerializerWriteContext CreateContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlObjectSerializerWriteContext CreateContext(NetDataContractSerializer serializer, Hashtable surrogateDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlObjectSerializerWriteContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver resolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected XmlObjectSerializerWriteContext(NetDataContractSerializer serializer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerWriteContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void StoreIsGetOnlyCollection() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void InternalSerializeReference(XmlWriterDelegator xmlWriter, object obj, bool isDeclaredType, bool writeXsiType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void InternalSerialize(XmlWriterDelegator xmlWriter, object obj, bool isDeclaredType, bool writeXsiType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void SerializeWithoutXsiType(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void SerializeWithXsiTypeAtTopLevel(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void SerializeWithXsiType(XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool OnHandleIsReference(XmlWriterDelegator xmlWriter, DataContract contract, object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, bool verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, Type dataContractType, string clrTypeName, string clrAssemblyName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, Type dataContractType, SerializationInfo serInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteAnyType(XmlWriterDelegator xmlWriter, object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteString(XmlWriterDelegator xmlWriter, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteString(XmlWriterDelegator xmlWriter, string value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteBase64(XmlWriterDelegator xmlWriter, byte[] value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteBase64(XmlWriterDelegator xmlWriter, byte[] value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteUri(XmlWriterDelegator xmlWriter, Uri value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteUri(XmlWriterDelegator xmlWriter, Uri value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteQName(XmlWriterDelegator xmlWriter, XmlQualifiedName value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteQName(XmlWriterDelegator xmlWriter, XmlQualifiedName value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void HandleGraphAtTopLevel(XmlWriterDelegator writer, object obj, DataContract contract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual bool OnHandleReference(XmlWriterDelegator xmlWriter, object obj, bool canContainCyclicReference) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void OnEndHandleReference(XmlWriterDelegator xmlWriter, object obj, bool canContainCyclicReference) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteNull(XmlWriterDelegator xmlWriter, Type memberType, bool isMemberTypeSerializable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteNull(XmlWriterDelegator xmlWriter, Type memberType, bool isMemberTypeSerializable, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void IncrementArrayCount(XmlWriterDelegator xmlWriter, Array array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void IncrementCollectionCount(XmlWriterDelegator xmlWriter, ICollection collection) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void IncrementCollectionCountGeneric(XmlWriterDelegator xmlWriter, ICollection collection) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void IncrementCollectionCount(XmlWriterDelegator xmlWriter, int size) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteArraySize(XmlWriterDelegator xmlWriter, int size) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static T GetDefaultValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static T GetNullableValue(T? value) where T : struct { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowRequiredMemberMustBeEmitted(string memberName, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool GetHasValue(T? value) where T : struct { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteIXmlSerializable(XmlWriterDelegator xmlWriter, object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteRootIXmlSerializable(XmlWriterDelegator xmlWriter, object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void WriteIXmlSerializable(XmlWriterDelegator xmlWriter, object obj, XmlSerializableWriter xmlSerializableWriter) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] internal void GetObjectData(ISerializable obj, SerializationInfo serInfo, StreamingContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteISerializable(XmlWriterDelegator xmlWriter, ISerializable obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteSerializationInfo(XmlWriterDelegator xmlWriter, Type objType, SerializationInfo serInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteExtensionData(XmlWriterDelegator xmlWriter, ExtensionDataObject extensionData, int memberIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteExtensionDataMember(XmlWriterDelegator xmlWriter, ExtensionDataMember member) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteExtensionDataTypeInfo(XmlWriterDelegator xmlWriter, IDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteExtensionDataValue(XmlWriterDelegator xmlWriter, IDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryWriteDeserializedExtensionData(XmlWriterDelegator xmlWriter, IDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteExtensionClassData(XmlWriterDelegator xmlWriter, ClassDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteExtensionCollectionData(XmlWriterDelegator xmlWriter, CollectionDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteExtensionISerializableData(XmlWriterDelegator xmlWriter, ISerializableDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteExtensionXmlData(XmlWriterDelegator xmlWriter, XmlDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void WriteNull(XmlWriterDelegator xmlWriter) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteResolvedTypeInfo(XmlWriterDelegator writer, Type objectType, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool ResolveType(Type objectType, Type declaredType, out XmlDictionaryString typeName, out XmlDictionaryString typeNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual bool WriteTypeInfo(XmlWriterDelegator writer, DataContract contract, DataContract declaredContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void WriteTypeInfo(XmlWriterDelegator writer, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected virtual void WriteTypeInfo(XmlWriterDelegator writer, XmlDictionaryString dataContractName, XmlDictionaryString dataContractNamespace) { throw null; } } internal class XmlObjectSerializerWriteContextComplex : XmlObjectSerializerWriteContext { protected IDataContractSurrogate dataContractSurrogate; private SerializationMode mode; private SerializationBinder binder; private ISurrogateSelector surrogateSelector; private StreamingContext streamingContext; private Hashtable surrogateDataContracts; internal override SerializationMode Mode { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerWriteContextComplex(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver dataContractResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerWriteContextComplex(NetDataContractSerializer serializer, Hashtable surrogateDataContracts) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlObjectSerializerWriteContextComplex(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContract(RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContract(int id, RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContractSkipValidation(int typeId, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, Type dataContractType, string clrTypeName, string clrAssemblyName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, Type dataContractType, SerializationInfo serInfo) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteAnyType(XmlWriterDelegator xmlWriter, object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(XmlWriterDelegator xmlWriter, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(XmlWriterDelegator xmlWriter, string value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64(XmlWriterDelegator xmlWriter, byte[] value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64(XmlWriterDelegator xmlWriter, byte[] value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUri(XmlWriterDelegator xmlWriter, Uri value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteUri(XmlWriterDelegator xmlWriter, Uri value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQName(XmlWriterDelegator xmlWriter, XmlQualifiedName value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQName(XmlWriterDelegator xmlWriter, XmlQualifiedName value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void InternalSerialize(XmlWriterDelegator xmlWriter, object obj, bool isDeclaredType, bool writeXsiType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool OnHandleReference(XmlWriterDelegator xmlWriter, object obj, bool canContainCyclicReference) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void OnEndHandleReference(XmlWriterDelegator xmlWriter, object obj, bool canContainCyclicReference) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] [PermissionSet(SecurityAction.Demand, Unrestricted = true)] private bool CheckIfTypeSerializableForSharedTypeMode(Type memberType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void CheckIfTypeSerializable(Type memberType, bool isMemberTypeSerializable) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override Type GetSurrogatedType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InternalSerializeWithSurrogate(XmlWriterDelegator xmlWriter, object obj, bool isDeclaredType, bool writeXsiType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteArraySize(XmlWriterDelegator xmlWriter, int size) { throw null; } } internal class XmlReaderDelegator { protected XmlReader reader; protected XmlDictionaryReader dictionaryReader; protected bool isEndOfEmptyElement; internal XmlReader UnderlyingReader { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal ExtensionDataReader UnderlyingExtensionDataReader { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal int AttributeCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool IsEmptyElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public XmlNodeType NodeType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal int LineNumber { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal int LinePosition { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool Normalized { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal WhitespaceHandling WhitespaceHandling { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal string NamespaceURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal Type ValueType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool EOF { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlReaderDelegator(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string GetAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string GetAttribute(string name, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string GetAttribute(int i) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsNamespaceURI(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsLocalName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsNamespaceUri(XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsLocalName(XmlDictionaryString localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal int IndexOfLocalName(XmlDictionaryString[] localNames, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsStartElement(string localname, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool IsStartElement(XmlDictionaryString localname, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool MoveToAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool MoveToAttribute(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void MoveToAttribute(int i) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool MoveToElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool MoveToFirstAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool MoveToNextAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal XmlNodeType MoveToContent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool ReadAttributeValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ReadEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private Exception CreateInvalidPrimitiveTypeException(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object ReadElementContentAsAnyType(Type valueType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object ReadContentAsAnyType(Type valueType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal IDataNode ReadExtensionData(Type valueType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowConversionException(string value, string type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowNotAtElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual char ReadElementContentAsChar() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual char ReadContentAsChar() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private char ToChar(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public string ReadElementContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string ReadContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool ReadElementContentAsBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool ReadContentAsBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public float ReadElementContentAsFloat() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal float ReadContentAsSingle() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public double ReadElementContentAsDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal double ReadContentAsDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public decimal ReadElementContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal decimal ReadContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual byte[] ReadElementContentAsBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual byte[] ReadContentAsBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal byte[] ReadContentAsBase64(string str) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual DateTime ReadElementContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual DateTime ReadContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int ReadElementContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal int ReadContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public long ReadElementContentAsLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal long ReadContentAsLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public short ReadElementContentAsShort() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal short ReadContentAsShort() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private short ToShort(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte ReadElementContentAsUnsignedByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal byte ReadContentAsUnsignedByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private byte ToByte(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public sbyte ReadElementContentAsSignedByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal sbyte ReadContentAsSignedByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private sbyte ToSByte(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public uint ReadElementContentAsUnsignedInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal uint ReadContentAsUnsignedInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private uint ToUInt32(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual ulong ReadElementContentAsUnsignedLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual ulong ReadContentAsUnsignedLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ushort ReadElementContentAsUnsignedShort() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal ushort ReadContentAsUnsignedShort() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ushort ToUInt16(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public TimeSpan ReadElementContentAsTimeSpan() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal TimeSpan ReadContentAsTimeSpan() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Guid ReadElementContentAsGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal Guid ReadContentAsGuid() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public Uri ReadElementContentAsUri() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal Uri ReadContentAsUri() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlQualifiedName ReadElementContentAsQName() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual XmlQualifiedName ReadContentAsQName() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private XmlQualifiedName ParseQualifiedName(string str) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckExpectedArrayLength(XmlObjectSerializerReadContext context, int arrayLength) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected int GetArrayLengthQuota(XmlObjectSerializerReadContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckActualArrayLength(int expectedLength, int actualLength, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryReadBooleanArray(XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, out bool[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryReadDateTimeArray(XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, out DateTime[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryReadDecimalArray(XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, out decimal[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryReadInt32Array(XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, out int[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryReadInt64Array(XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, out long[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryReadSingleArray(XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, out float[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryReadDoubleArray(XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, out double[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal IDictionary GetNamespacesInScope(XmlNamespaceScope scope) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool HasLineInfo() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string LookupNamespace(string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Skip() { throw null; } } internal class XmlSerializableReader : XmlReader, IXmlLineInfo, IXmlTextParser { private XmlReaderDelegator xmlReader; private int startDepth; private bool isRootEmptyElement; private XmlReader innerReader; private XmlReader InnerReader { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlReaderSettings Settings { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNodeType NodeType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Name { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string LocalName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string NamespaceURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Prefix { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int Depth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string BaseURI { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsEmptyElement { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool IsDefault { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override char QuoteChar { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override IXmlSchemaInfo SchemaInfo { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override Type ValueType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override int AttributeCount { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[int i] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string this[string name, string namespaceURI] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool EOF { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override ReadState ReadState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlNameTable NameTable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanResolveEntity { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadBinaryContent { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanReadValueChunk { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool HasAttributes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } bool IXmlTextParser.Normalized { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } WhitespaceHandling IXmlTextParser.WhitespaceHandling { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } int IXmlLineInfo.LineNumber { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } int IXmlLineInfo.LinePosition { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal void BeginRead(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void EndRead() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name, string namespaceURI) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(int i) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToAttribute(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void MoveToAttribute(int i) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToFirstAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToNextAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool MoveToElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupNamespace(string prefix) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadAttributeValue() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void ResolveEntity() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartElement(string localname, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override XmlNodeType MoveToContent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadContentAsObject() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool ReadContentAsBoolean() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override DateTime ReadContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override double ReadContentAsDouble() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long ReadContentAsLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadContentAsString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadContentAs(Type returnType, IXmlNamespaceResolver namespaceResolver) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBase64(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsBinHex(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueChunk(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string ReadString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] bool IXmlLineInfo.HasLineInfo() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlSerializableReader() { throw null; } } public static class XmlSerializableServices { internal static readonly string ReadNodesMethodName; internal static string WriteNodesMethodName; internal static string AddDefaultSchemaMethodName; [MethodImpl(MethodImplOptions.NoInlining)] public static XmlNode[] ReadNodes(XmlReader xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsValidAttribute(XmlReader xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void WriteNodes(XmlWriter xmlWriter, XmlNode[] nodes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void AddDefaultSchema(XmlSchemaSet schemas, XmlQualifiedName typeQName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlSerializableServices() { throw null; } } internal class XmlSerializableWriter : XmlWriter { private XmlWriter xmlWriter; private int depth; private object obj; public override WriteState WriteState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal void BeginWrite(XmlWriter xmlWriter, object obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void EndWrite() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument(bool standalone) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDocType(string name, string pubid, string sysid, string subset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteFullEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteProcessingInstruction(string name, string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEntityRef(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteWhitespace(string ws) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteSurrogateCharEntity(char lowChar, char highChar) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteChars(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(string data) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBinHex(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteName(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupPrefix(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteNmToken(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlSerializableWriter() { throw null; } } internal class XmlWriterDelegator { protected XmlWriter writer; protected XmlDictionaryWriter dictionaryWriter; internal int depth; private int prefixes; private const int CharChunkSize = 76; private const int ByteChunkSize = 57; internal XmlWriter Writer { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal WriteState WriteState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlWriterDelegator(XmlWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal string LookupPrefix(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteRaw(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteRaw(string data) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteXmlnsAttribute(XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteXmlnsAttribute(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteXmlnsAttribute(string prefix, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteStartAttribute(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteStartAttribute(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAttributeString(string prefix, string localName, string ns, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAttributeString(string prefix, XmlDictionaryString attrName, XmlDictionaryString attrNs, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteAttributeStringValue(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAttributeString(string prefix, XmlDictionaryString attrName, XmlDictionaryString attrNs, XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteAttributeStringValue(XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAttributeInt(string prefix, XmlDictionaryString attrName, XmlDictionaryString attrNs, int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteAttributeIntValue(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAttributeBool(string prefix, XmlDictionaryString attrName, XmlDictionaryString attrNs, bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteAttributeBoolValue(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAttributeQualifiedName(string attrPrefix, XmlDictionaryString attrName, XmlDictionaryString attrNs, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteAttributeQualifiedNameValue(string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAttributeQualifiedName(string attrPrefix, XmlDictionaryString attrName, XmlDictionaryString attrNs, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteAttributeQualifiedNameValue(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteStartElement(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteStartElement(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteStartElement(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteStartElement(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteStartElementPrimitive(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteEndElementPrimitive() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteNamespaceDecl(XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private Exception CreateInvalidPrimitiveTypeException(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAnyType(object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteAnyType(object value, Type valueType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteExtensionData(IDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteString(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteBoolean(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteBoolean(bool value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteDateTime(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteDateTime(DateTime value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteDecimal(decimal value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteDecimal(decimal value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteDouble(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteDouble(double value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteInt(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteInt(int value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteLong(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteLong(long value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteFloat(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteFloat(float value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteBase64(byte[] bytes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteShort(short value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteShort(short value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteUnsignedByte(byte value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteUnsignedByte(byte value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteSignedByte(sbyte value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteSignedByte(sbyte value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteUnsignedInt(uint value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteUnsignedInt(uint value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteUnsignedLong(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteUnsignedLong(ulong value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteUnsignedShort(ushort value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteUnsignedShort(ushort value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteChar(char value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteChar(char value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteTimeSpan(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteTimeSpan(TimeSpan value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteGuid(Guid value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteGuid(Guid value, XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteUri(Uri value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal virtual void WriteQName(XmlQualifiedName value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteQualifiedName(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteQualifiedName(XmlDictionaryString localName, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteBooleanArray(bool[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteDateTimeArray(DateTime[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteDecimalArray(decimal[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteInt32Array(int[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteInt64Array(long[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteSingleArray(float[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteDoubleArray(double[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } } internal class BitFlagsGenerator { private int bitCount; private byte[] locals; [MethodImpl(MethodImplOptions.NoInlining)] public BitFlagsGenerator(int bitCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Store(int bitIndex, bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Load(int bitIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte[] LoadArray() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetLocalCount() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetBitCount() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public byte GetLocal(int i) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static bool IsBitSet(byte[] bytes, int bitIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void SetBit(byte[] bytes, int bitIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int GetByteIndex(int bitIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static byte GetBitValue(int bitIndex) { throw null; } } internal static class CodeInterpreter { [MethodImpl(MethodImplOptions.NoInlining)] internal static object ConvertValue(object arg, Type source, Type target) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool CanConvert(TypeCode typeCode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static object InternalConvert(object arg, Type source, Type target, bool isAddress) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static object GetMember(MemberInfo memberInfo, object instance) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void SetMember(MemberInfo memberInfo, object instance, object value) { throw null; } } internal static class DiagnosticUtility { internal static class DiagnosticTrace { [MethodImpl(MethodImplOptions.NoInlining)] internal static void TraceEvent(params object[] args) { throw null; } } internal static class ExceptionUtility { [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception ThrowHelperError(Exception e) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception ThrowHelperCallback(string msg, Exception e) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception ThrowHelperCallback(Exception e) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception ThrowHelper(Exception e, TraceEventType type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception ThrowHelperArgument(string arg) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception ThrowHelperArgument(string arg, string message) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception ThrowHelperArgumentNull(string arg) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static Exception ThrowHelperFatal(string msg, Exception e) { throw null; } } internal static bool ShouldTraceError; internal static readonly bool ShouldTraceWarning; internal static readonly bool ShouldTraceInformation; internal static bool ShouldTraceVerbose; [MethodImpl(MethodImplOptions.NoInlining)] static DiagnosticUtility() { throw null; } } internal static class FxTrace { public static bool ShouldTraceError; public static bool ShouldTraceVerbose; public static EtwDiagnosticTrace Trace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public static ExceptionTrace Exception { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public static bool IsEventEnabled(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void UpdateEventDefinitions(EventDescriptor[] ed, ushort[] events) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static FxTrace() { throw null; } } internal static class SR { public const string ArrayExceededSize = "Array length '{0}' provided by the get-only collection of type '{1}' is less than the number of array elements found in the input stream. Consider increasing the length of the array."; public const string ArrayExceededSizeAttribute = "Array length '{0}' provided by Size attribute is not equal to the number of array elements '{1}' from namespace '{2}' found."; public const string ArrayTypeIsNotSupported = "An internal error has occurred. '{0}[]' is not supported when generating code for serialization."; public const string CannotDeserializeRefAtTopLevel = "Cannot deserialize since root element references unrecognized object with id '{0}'."; public const string CannotLoadMemberType = "Cannot load member type '{0}'."; public const string CannotSerializeObjectWithCycles = "Object graph for type '{0}' contains cycles and cannot be serialized if references are not tracked. Consider using the DataContractAttribute with the IsReference property set to true."; public const string CanOnlyStoreIntoArgOrLocGot0 = "An internal error has occurred. Data can only be stored into ArgBuilder or LocalBuilder. Got: {0}."; public const string CharIsInvalidPrimitive = "An internal error has occurred. Char is not a valid schema primitive and should be treated as int in DataContract."; public const string CallbackMustReturnVoid = "Serialization Callback '{1}' in type '{0}' must return void."; public const string CallbackParameterInvalid = "Serialization Callback '{1}' in type '{0}' must have a single parameter of type '{2}'."; public const string CallbacksCannotBeVirtualMethods = "Virtual Method '{0}' of type '{1}' cannot be marked with '{2}' attribute."; public const string CollectionMustHaveAddMethod = "Collection type '{0}' does not have a valid Add method."; public const string CollectionMustHaveGetEnumeratorMethod = "Collection type '{0}' does not have a valid GetEnumerator method."; public const string CollectionMustHaveItemType = "Collection type '{0}' must have a non-null item type."; public const string CollectionTypeCannotBeBuiltIn = "{0} is a built-in type and cannot be a collection."; public const string CollectionTypeCannotHaveDataContract = "{0} has DataContractAttribute attribute."; public const string CollectionTypeDoesNotHaveAddMethod = "{0} does not have a valid Add method with parameter of type '{1}'."; public const string CollectionTypeDoesNotHaveDefaultCtor = "{0} does not have a default constructor."; public const string CollectionTypeHasMultipleDefinitionsOfInterface = "{0} has multiple definitions of interface '{1}'."; public const string CollectionTypeIsNotIEnumerable = "{0} does not implement IEnumerable interface."; public const string DataContractCacheOverflow = "An internal error has occurred. DataContract cache overflow."; public const string DataContractNamespaceAlreadySet = "ContractNamespaceAttribute attribute maps CLR namespace '{2}' to multiple data contract namespaces '{0}' and '{1}'. You can map a CLR namespace to only one data contract namespace."; public const string DataContractNamespaceIsNotValid = "DataContract namespace '{0}' is not a valid URI."; public const string DataContractNamespaceReserved = "DataContract namespace '{0}' cannot be specified since it is reserved."; public const string DataMemberOnEnumField = "Member '{0}.{1}' has DataMemberAttribute attribute. Use EnumMemberAttribute attribute instead."; public const string DcTypeNotFoundOnDeserialize = "Element '{2}:{3}' contains data of the '{0}:{1}' data contract. The deserializer has no knowledge of any type that maps to this contract. Add the type corresponding to '{1}' to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding it to the list of known types passed to DataContractSerializer."; public const string DcTypeNotFoundOnSerialize = "Type '{0}' with data contract name '{1}:{2}' is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer."; public const string DcTypeNotResolvedOnDeserialize = "Element '{2}:{3}' contains data from a type that maps to the name '{0}:{1}'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name '{1}' and namespace '{0}'."; public const string DeserializedObjectWithIdNotFound = "Deserialized object with reference id '{0}' not found in stream."; public const string DupContractInKnownTypes = "Type '{0}' cannot be added to list of known types since another type '{1}' with the same data contract name '{2}:{3}' is already present."; public const string DupKeyValueName = "The collection data contract type '{0}' specifies the same value '{1}' for both the KeyName and the ValueName properties. This is not allowed. Consider changing either the KeyName or the ValueName property."; public const string DupEnumMemberValue = "Type '{2}' contains two members '{0}' 'and '{1}' with the same name '{3}'. Multiple members with the same name in one type are not supported. Consider changing one of the member names using EnumMemberAttribute attribute."; public const string DupMemberName = "Type '{2}' contains two members '{0}' 'and '{1}' with the same data member name '{3}'. Multiple members with the same name in one type are not supported. Consider changing one of the member names using DataMemberAttribute attribute."; public const string DuplicateAttribute = "Invalid Callback. Method '{3}' in type '{2}' has both '{0}' and '{1}'."; public const string DuplicateCallback = "Invalid attribute. Both '{0}' and '{1}' in type '{2}' have '{3}'."; public const string EncounteredWithNameNamespace = "{0}. Encountered '{1}' with name '{2}', namespace '{3}'."; public const string EnumTypeCannotHaveIsReference = "Enum type '{0}' cannot have the IsReference setting of '{1}'. Either change the setting to '{2}', or remove it completely."; public const string ErrorDeserializing = "There was an error deserializing the object {0}. {1}"; public const string ErrorInLine = "Error in line {0} position {1}."; public const string ErrorIsStartObject = "There was an error checking start element of object {0}. {1}"; public const string ErrorSerializing = "There was an error serializing the object {0}. {1}"; public const string ErrorTypeInfo = "of type {0}"; public const string ErrorWriteEndObject = "There was an error writing end element of object {0}. {1}"; public const string ErrorWriteStartObject = "There was an error writing start element of object {0}. {1}"; public const string ExceededMaxItemsQuota = "Maximum number of items that can be serialized or deserialized in an object graph is '{0}'."; public const string ExpectingElement = "Expecting element '{1}' from namespace '{0}'."; public const string ExpectingElementAtDeserialize = "Expecting state '{0}' when ReadObject is called."; public const string ExpectingEnd = "Expecting End'{0}'."; public const string ExpectingState = "Expecting state '{0}'."; public const string GenericNameBraceMismatch = "The data contract name '{0}' for type '{1}' has a curly brace '{{' that is not matched with a closing curly brace. Curly braces have special meaning in data contract names - they are used to customize the naming of data contracts for generic types."; public const string GenericParameterNotValid = "In the data contract name for type '{1}', there are curly braces with '{0}' inside, which is an invalid value. Curly braces have special meaning in data contract names - they are used to customize the naming of data contracts for generic types. Based on the number of generic parameters this type has, the contents of the curly braces must either be a number between 0 and '{2}' to insert the name of the generic parameter at that index or the '#' symbol to insert a digest of the generic parameter namespaces."; public const string InconsistentIsReference = "The IsReference setting for type '{0}' is '{1}', but the same setting for its parent class '{2}' is '{3}'. Derived types must have the same value for IsReference as the base type. Change the setting on type '{0}' to '{3}', or on type '{2}' to '{1}', or do not set IsReference explicitly."; public const string IndexedPropertyCannotBeSerialized = "Property '{1}' in type '{0}' cannot be serialized because serialization of indexed properties is not supported."; public const string InterfaceTypeCannotBeCreated = "Interface type '{0}' cannot be created. Consider replacing with a non-interface serializable type."; public const string InvalidCollectionContractItemName = "Type '{0}' cannot have CollectionDataContractAttribute attribute ItemName set to null or empty string."; public const string InvalidCollectionContractKeyName = "Type '{0}' cannot have CollectionDataContractAttribute attribute KeyName set to null or empty string."; public const string InvalidCollectionContractKeyNoDictionary = "The collection data contract type '{0}' specifies '{1}' for the KeyName property. This is not allowed since the type is not IDictionary. Remove the setting for the KeyName property."; public const string InvalidCollectionContractName = "Type '{0}' cannot have CollectionDataContractAttribute attribute Name set to null or empty string."; public const string InvalidCollectionContractNamespace = "Type '{0}' cannot have CollectionDataContractAttribute attribute Namespace set to null."; public const string InvalidCollectionContractValueName = "Type '{0}' cannot have CollectionDataContractAttribute attribute ValueName set to null or empty string."; public const string InvalidCollectionContractValueNoDictionary = "The collection data contract type '{0}' specifies '{1}' for the ValueName property. This is not allowed since the type is not IDictionary. Remove the setting for the ValueName property."; public const string InvalidCollectionDataContract = "Type '{0}' with CollectionDataContractAttribute attribute is an invalid collection type since it"; public const string InvalidCollectionType = "Type '{0}' is an invalid collection type since it"; public const string InvalidDataContractName = "Type '{0}' cannot have DataContractAttribute attribute Name set to null or empty string."; public const string InvalidDataContractNamespace = "Type '{0}' cannot have DataContractAttribute attribute Namespace set to null."; public const string InvalidDataMemberName = "Member '{0}' in type '{1}' cannot have DataMemberAttribute attribute Name set to null or empty string."; public const string InvalidEnumMemberValue = "'{0}' in type '{1}' cannot have EnumMemberAttribute attribute Value set to null or empty string."; public const string InvalidEnumValueOnRead = "Invalid enum value '{0}' cannot be deserialized into type '{1}'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute."; public const string InvalidEnumValueOnWrite = "Enum value '{0}' is invalid for type '{1}' and cannot be serialized. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute."; public const string InvalidGetSchemaMethod = "Type '{0}' cannot have MethodName on XmlSchemaProviderAttribute attribute set to null or empty string."; public const string InvalidGlobalDataContractNamespace = "CLR namespace '{0}' cannot have ContractNamespace set to null."; public const string InvalidMember = "Member '{0}.{1}' cannot be serialized since it is neither a field nor a property, and therefore cannot be marked with the DataMemberAttribute attribute. Remove the DataMemberAttribute attribute from the '{1}' member."; public const string InvalidNonNullReturnValueByIsAny = "Method '{0}.{1}()' returns a non-null value. The return value must be null since IsAny=true."; public const string InvalidPrimitiveType = "Type '{0}' is not a valid serializable type."; public const string InvalidReturnTypeOnGetSchemaMethod = "Method '{0}.{1}()' returns '{2}'. The return type must be compatible with '{3}'."; public const string InvalidSizeDefinition = "Invalid Size '{0}'. Must be non-negative integer."; public const string InvalidXmlDataContractName = "XML data contract Name for type '{0}' cannot be set to null or empty string."; public const string InvalidXsIdDefinition = "Invalid Id '{0}'. Must not be null or empty."; public const string InvalidXsRefDefinition = "Invalid Ref '{0}'. Must not be null or empty."; public const string IsAnyCannotBeNull = "A null value cannot be serialized at the top level for IXmlSerializable root type '{0}' since its IsAny setting is 'true'. This type must write all its contents including the root element. Verify that the IXmlSerializable implementation is correct."; public const string IsAnyCannotBeSerializedAsDerivedType = "An object of type '{0}' cannot be serialized at the top level for IXmlSerializable root type '{1}' since its IsAny setting is 'true'. This type must write all its contents including the root element. Verify that the IXmlSerializable implementation is correct."; public const string IsAnyCannotHaveXmlRoot = "Type '{0}' cannot specify an XmlRootAttribute attribute because its IsAny setting is 'true'. This type must write all its contents including the root element. Verify that the IXmlSerializable implementation is correct."; public const string IsNotAssignableFrom = "An internal error has occurred. '{0}' is not assignable from '{1}' - error generating code for serialization."; public const string IsRequiredDataMemberOnIsReferenceDataContractType = "'{0}.{1}' has the IsRequired setting of '{2}. However, '{0}' has the IsReference setting of '{2}', because either it is set explicitly, or it is derived from a base class. Set IsRequired on '{0}.{1}' to false, or disable IsReference on '{0}'."; public const string IXmlSerializableCannotHaveCollectionDataContract = "Type '{0}' cannot be IXmlSerializable and have CollectionDataContractAttribute attribute."; public const string IXmlSerializableCannotHaveDataContract = "Type '{0}' cannot be IXmlSerializable and have DataContractAttribute attribute."; public const string IXmlSerializableIllegalOperation = "This method cannot be called from IXmlSerializable implementations."; public const string IXmlSerializableMissingEndElements = "IXmlSerializable.WriteXml method of type '{0}' did not close all open tags. Verify that the IXmlSerializable implementation is correct."; public const string IXmlSerializableMustHaveDefaultConstructor = "IXmlSerializable Type '{0}' must have default constructor."; public const string IXmlSerializableWritePastSubTree = "IXmlSerializable.WriteXml method of type '{0}' attempted to close too many tags. Verify that the IXmlSerializable implementation is correct."; public const string KnownTypeAttributeEmptyString = "Method name specified by KnownTypeAttribute attribute on type '{0}' cannot be the empty string."; public const string KnownTypeAttributeUnknownMethod = "KnownTypeAttribute attribute on type '{1}' specifies a method named '{0}' to provide known types. Static method '{0}()' was not found on this type. Ensure that the method exists and is marked as static."; public const string KnownTypeAttributeReturnType = "KnownTypeAttribute attribute on type '{0}' specifies a method named '{1}' to provide known types. The return type of this method is invalid because it is not assignable to IEnumerable. Ensure that the method exists and has a valid signature."; public const string KnownTypeAttributeOneScheme = "Type '{0}': If a KnownTypeAttribute attribute specifies a method it must be the only KnownTypeAttribute attribute on that type."; public const string KnownTypeAttributeNoType = "KnownTypeAttribute attribute on type '{0}' contains no Type."; public const string KnownTypeConfigClosedGenericDeclared = "Declared type '{0}' in config cannot be a closed or partial generic type."; public const string KnownTypeAttributeValidMethodTypes = "Method specified by KnownTypeAttribute attribute on type '{0}' does not expose valid types."; public const string KnownTypeAttributeNoData = "KnownTypeAttribute attribute on type '{0}' contains no data."; public const string KnownTypeAttributeMethodNull = "Method specified by KnownTypeAttribute attribute on type '{0}' returned null."; public const string MaxArrayLengthExceeded = "The maximum array length ({0}) has been exceeded while reading XML data for array of type '{1}'."; public const string MissingGetSchemaMethod = "Type '{0}' does not have a static method '{1}' that takes a parameter of type 'System.Xml.Schema.XmlSchemaSet' as specified by the XmlSchemaProviderAttribute attribute."; public const string MultipleIdDefinition = "Invalid XML encountered. The same Id value '{0}' is defined more than once. Multiple objects cannot be deserialized using the same Id."; public const string NoConversionPossibleTo = "An internal error has occurred. No conversion is possible to '{0}' - error generating code for serialization."; public const string NoGetMethodForProperty = "No get method for property '{1}' in type '{0}'."; public const string NoSetMethodForProperty = "No set method for property '{1}' in type '{0}'."; public const string NullKnownType = "One of the known types provided to the serializer via '{0}' argument was invalid because it was null. All known types specified must be non-null values."; public const string NullValueReturnedForGetOnlyCollection = "The get-only collection of type '{0}' returned a null value. The input stream contains collection items which cannot be added if the instance is null. Consider initializing the collection either in the constructor of the the object or in the getter."; public const string ObjectTableOverflow = "An internal error has occurred. Object table overflow. This could be caused by serializing or deserializing extremely large object graphs."; public const string OrderCannotBeNegative = "Property 'Order' in DataMemberAttribute attribute cannot be a negative number."; public const string ParameterCountMismatch = "Invalid number of parameters to call method '{0}'. Expected '{1}' parameters, but '{2}' were provided."; public const string PartialTrustCollectionContractAddMethodNotPublic = "The collection data contract type '{0}' cannot be deserialized because the method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustCollectionContractNoPublicConstructor = "The collection data contract type '{0}' cannot be deserialized because it does not have a public parameterless constructor. Adding a public parameterless constructor will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustCollectionContractTypeNotPublic = "The collection data contract type '{0}' cannot be deserialized because it does not have a public parameterless constructor. Adding a public parameterless constructor will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractOnSerializingNotPublic = "The data contract type '{0}' cannot be serialized because the OnSerializing method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractOnSerializedNotPublic = "The data contract type '{0}' cannot be serialized because the OnSerialized method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractOnDeserializingNotPublic = "The data contract type '{0}' cannot be deserialized because the OnDeserializing method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractOnDeserializedNotPublic = "The data contract type '{0}' cannot be deserialized because the OnDeserialized method '{1}' is not public. Making the method public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractFieldGetNotPublic = "The data contract type '{0}' cannot be serialized because the member '{1}' is not public. Making the member public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractFieldSetNotPublic = "The data contract type '{0}' cannot be deserialized because the member '{1}' is not public. Making the member public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractPropertyGetNotPublic = "The data contract type '{0}' cannot be serialized because the property '{1}' does not have a public getter. Adding a public getter will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractPropertySetNotPublic = "The data contract type '{0}' cannot be deserialized because the property '{1}' does not have a public setter. Adding a public setter will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustDataContractTypeNotPublic = "The data contract type '{0}' is not serializable because it is not public. Making the type public will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustNonAttributedSerializableTypeNoPublicConstructor = "The type '{0}' cannot be deserialized because it does not have a public parameterless constructor. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustIXmlSerializableTypeNotPublic = "The IXmlSerializable type '{0}' is not serializable in partial trust because it is not public. Adding a public parameterless constructor will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string PartialTrustIXmlSerialzableNoPublicConstructor = "The IXmlSerializable type '{0}' cannot be deserialized because it does not have a public parameterless constructor. Adding a public parameterless constructor will fix this error. Alternatively, you can make it internal, and use the InternalsVisibleToAttribute attribute on your assembly in order to enable serialization of internal members - see documentation for more details. Be aware that doing so has certain security implications."; public const string NonAttributedSerializableTypesMustHaveDefaultConstructor = "The Type '{0}' must have a parameterless constructor."; public const string AttributedTypesCannotInheritFromNonAttributedSerializableTypes = "Type '{0}' cannot inherit from a type that is not marked with DataContractAttribute or SerializableAttribute. Consider marking the base type '{1}' with DataContractAttribute or SerializableAttribute, or removing them from the derived type."; public const string GetOnlyCollectionsNotSupported = "Get-only collection properties are not supported. Consider adding a public setter to property '{0}.{1}' or marking the it with the IgnoreDataMemberAttribute."; public const string QuotaMustBePositive = "Quota must be a positive value."; public const string QuotaIsReadOnly = "The '{0}' quota is readonly."; public const string QuotaCopyReadOnly = "Cannot copy XmlDictionaryReaderQuotas. Target is readonly."; public const string RequiredMemberMustBeEmitted = "Member {0} in type {1} cannot be serialized. This exception is usually caused by trying to use a null value where a null value is not allowed. The '{0}' member is set to its default value (usually null or zero). The member's EmitDefault setting is 'false', indicating that the member should not be serialized. However, the member's IsRequired setting is 'true', indicating that it must be serialized. This conflict cannot be resolved. Consider setting '{0}' to a non-default value. Alternatively, you can change the EmitDefaultValue property on the DataMemberAttribute attribute to true, or changing the IsRequired property to false."; public const string ResolveTypeReturnedFalse = "An object of type '{0}' which derives from DataContractResolver returned false from its TryResolveType method when attempting to resolve the name for an object of type '{1}', indicating that the resolution failed. Change the TryResolveType implementation to return true."; public const string ResolveTypeReturnedNull = "An object of type '{0}' which derives from DataContractResolver returned a null typeName or typeNamespace but not both from its TryResolveType method when attempting to resolve the name for an object of type '{1}'. Change the TryResolveType implementation to return non-null values, or to return null values for both typeName and typeNamespace in order to serialize as the declared type."; public const string SupportForMultidimensionalArraysNotPresent = "Multi-dimensional arrays are not supported."; public const string TooManyCollectionContracts = "Type '{0}' has more than one CollectionDataContractAttribute attribute."; public const string TooManyDataContracts = "Type '{0}' has more than one DataContractAttribute attribute."; public const string TooManyDataMembers = "Member '{0}.{1}' has more than one DataMemberAttribute attribute."; public const string TooManyEnumMembers = "Member '{0}.{1}' has more than one EnumMemberAttribute attribute."; public const string TooManyIgnoreDataMemberAttributes = "Member '{0}.{1}' has more than one IgnoreDataMemberAttribute attribute."; public const string TypeMustBeConcrete = "Error while getting known types for Type '{0}'. The type must not be an open or partial generic class."; public const string TypeNotSerializable = "Type '{0}' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute. Alternatively, you can ensure that the type is public and has a parameterless constructor - all public members of the type will then be serialized, and no attributes will be required."; public const string UnexpectedContractType = "An internal error has occurred. Unexpected contract type '{0}' for type '{1}' encountered."; public const string UnexpectedElementExpectingElements = "'{0}' '{1}' from namespace '{2}' is not expected. Expecting element '{3}'."; public const string UnexpectedEndOfFile = "Unexpected end of file."; public const string UnknownConstantType = "Unrecognized constant type '{0}'."; public const string UnsupportedIDictionaryAsDataMemberType = "Cannot deserialize one of the DataMember because it is an IDictionary. Use IDictionary instead."; public const string ValueMustBeNonNegative = "The value of this argument must be non-negative."; public const string ValueTypeCannotBeNull = "ValueType '{0}' cannot be null."; public const string ValueTypeCannotHaveBaseType = "Data contract '{0}' from namespace '{1}' is a value type and cannot have base contract '{2}' from namespace '{3}'."; public const string ValueTypeCannotHaveId = "ValueType '{0}' cannot have id."; public const string ValueTypeCannotHaveIsReference = "Value type '{0}' cannot have the IsReference setting of '{1}'. Either change the setting to '{2}', or remove it completely."; public const string ValueTypeCannotHaveRef = "ValueType '{0}' cannot have ref to another object."; public const string XmlElementAttributes = "Only Element nodes have attributes."; public const string XmlForObjectCannotHaveContent = "Element {0} from namespace {1} cannot have child contents to be deserialized as an object. Please use XElement to deserialize this pattern of XML."; public const string XmlInvalidConversion = "The value '{0}' cannot be parsed as the type '{1}'."; public const string XmlInvalidConversionWithoutValue = "The value cannot be parsed as the type '{0}'."; public const string XmlStartElementExpected = "Start element expected. Found {0}."; public const string XmlWriterMustBeInElement = "WriteState '{0}' not valid. Caller must write start element before serializing in contentOnly mode."; public const string OffsetExceedsBufferSize = "The specified offset exceeds the buffer size ({0} bytes)."; public const string SizeExceedsRemainingBufferSpace = "The specified size exceeds the remaining buffer space ({0} bytes)."; public const string ValueMustBeInRange = "The value of this argument must fall within the range {0} to {1}."; public const string XmlArrayTooSmallOutput = "Array too small. Must be able to hold at least {0}."; public const string XmlInvalidBase64Length = "Base64 sequence length ({0}) not valid. Must be a multiple of 4."; public const string XmlInvalidBase64Sequence = "The characters '{0}' at offset {1} are not a valid Base64 sequence."; public const string XmlInvalidBinHexLength = "BinHex sequence length ({0}) not valid. Must be a multiple of 2."; public const string XmlInvalidBinHexSequence = "The characters '{0}' at offset {1} are not a valid BinHex sequence."; public const string XmlInvalidHighSurrogate = "High surrogate char '0x{0}' not valid. High surrogate chars range from 0xD800 to 0xDBFF."; public const string XmlInvalidLowSurrogate = "Low surrogate char '0x{0}' not valid. Low surrogate chars range from 0xDC00 to 0xDFFF."; public const string XmlInvalidSurrogate = "Surrogate char '0x{0}' not valid. Surrogate chars range from 0x10000 to 0x10FFFF."; public const string CombinedPrefixNSLength = "The combined length of the prefix and namespace must not be greater than {0}."; public const string InvalidInclusivePrefixListCollection = "The inclusive namespace prefix collection cannot contain null as one of the items."; public const string InvalidLocalNameEmpty = "The empty string is not a valid local name."; public const string XmlArrayTooSmall = "Array too small."; public const string XmlArrayTooSmallInput = "Array too small. Length of available data must be at least {0}."; public const string XmlBadBOM = "Unrecognized Byte Order Mark."; public const string XmlBase64DataExpected = "Base64 encoded data expected. Found {0}."; public const string XmlCDATAInvalidAtTopLevel = "CData elements not valid at top level of an XML document."; public const string XmlCloseCData = "']]>' not valid in text node content."; public const string XmlConversionOverflow = "The value '{0}' cannot be represented with the type '{1}'."; public const string XmlDeclarationRequired = "An XML declaration with an encoding is required for all non-UTF8 documents."; public const string XmlDeclMissingVersion = "Version not found in XML declaration."; public const string XmlDeclMissing = "An XML declaration is required for all non-UTF8 documents."; public const string XmlDeclNotFirst = "No characters can appear before the XML declaration."; public const string XmlDictionaryStringIDRange = "XmlDictionaryString IDs must be in the range from {0} to {1}."; public const string XmlDictionaryStringIDUndefinedSession = "XmlDictionaryString ID {0} not defined in the XmlBinaryReaderSession."; public const string XmlDictionaryStringIDUndefinedStatic = "XmlDictionaryString ID {0} not defined in the static dictionary."; public const string XmlDuplicateAttribute = "Duplicate attribute found. Both '{0}' and '{1}' are from the namespace '{2}'."; public const string XmlEmptyNamespaceRequiresNullPrefix = "The empty namespace requires a null or empty prefix."; public const string XmlEncodingMismatch = "The encoding in the declaration '{0}' does not match the encoding of the document '{1}'."; public const string XmlEncodingNotSupported = "XML encoding not supported."; public const string XmlEndElementExpected = "End element '{0}' from namespace '{1}' expected. Found {2}."; public const string XmlEndElementNoOpenNodes = "No corresponding start element is open."; public const string XmlExpectedEncoding = "The expected encoding '{0}' does not match the actual encoding '{1}'."; public const string XmlFoundCData = "cdata '{0}'"; public const string XmlFoundComment = "comment '{0}'"; public const string XmlFoundElement = "element '{0}' from namespace '{1}'"; public const string XmlFoundEndElement = "end element '{0}' from namespace '{1}'"; public const string XmlFoundEndOfFile = "end of file"; public const string XmlFoundNodeType = "node {0}"; public const string XmlFoundText = "text '{0}'"; public const string XmlFullStartElementExpected = "Non-empty start element expected. Found {0}."; public const string XmlFullStartElementLocalNameNsExpected = "Non-empty start element '{0}' from namespace '{1}' expected. Found {2}."; public const string XmlFullStartElementNameExpected = "Non-empty start element '{0}' expected. Found {1}."; public const string XmlIDDefined = "ID already defined."; public const string XmlKeyAlreadyExists = "The specified key already exists in the dictionary."; public const string XmlIllegalOutsideRoot = "Text cannot be written outside the root element."; public const string XmlInvalidBytes = "Invalid byte encoding."; public const string XmlInvalidCharRef = "Character reference not valid."; public const string XmlInvalidCommentChars = "XML comments cannot contain '--' or end with '-'."; public const string XmlInvalidDeclaration = "XML declaration can only be written at the beginning of the document."; public const string XmlInvalidDepth = "Cannot call '{0}' while Depth is '{1}'."; public const string XmlInvalidEncoding = "XML encoding must be 'UTF-8'."; public const string XmlInvalidFFFE = "Characters with hexadecimal values 0xFFFE and 0xFFFF are not valid."; public const string XmlInvalidFormat = "The input source is not correctly formatted."; public const string XmlInvalidID = "ID must be >= 0."; public const string XmlInvalidOperation = "The reader cannot be advanced."; public const string XmlInvalidPrefixState = "A prefix cannot be defined while WriteState is '{0}'."; public const string XmlInvalidQualifiedName = "Expected XML qualified name. Found '{0}'."; public const string XmlInvalidRootData = "The data at the root level is invalid."; public const string XmlInvalidStandalone = "'standalone' value in declaration must be 'yes' or 'no'."; public const string XmlInvalidStream = "Stream returned by IStreamProvider cannot be null."; public const string XmlInvalidUniqueId = "UniqueId cannot be zero length."; public const string XmlInvalidUTF8Bytes = "'{0}' contains invalid UTF8 bytes."; public const string XmlInvalidVersion = "XML version must be '1.0'."; public const string XmlInvalidWriteState = "'{0}' cannot be called while WriteState is '{1}'."; public const string XmlInvalidXmlByte = "The byte 0x{0} is not valid at this location."; public const string XmlInvalidXmlSpace = "'{0}' is not a valid xml:space value. Valid values are 'default' and 'preserve'."; public const string XmlLineInfo = "Line {0}, position {1}."; public const string XmlMalformedDecl = "Malformed XML declaration."; public const string XmlMaxArrayLengthExceeded = "The maximum array length quota ({0}) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader."; public const string XmlMaxNameTableCharCountExceeded = "The maximum nametable character count quota ({0}) has been exceeded while reading XML data. The nametable is a data structure used to store strings encountered during XML processing - long XML documents with non-repeating element names, attribute names and attribute values may trigger this quota. This quota may be increased by changing the MaxNameTableCharCount property on the XmlDictionaryReaderQuotas object used when creating the XML reader."; public const string XmlMethodNotSupported = "This XmlWriter implementation does not support the '{0}' method."; public const string XmlMissingLowSurrogate = "The surrogate pair is invalid. Missing a low surrogate character."; public const string XmlMultipleRootElements = "There are multiple root elements."; public const string XmlNamespaceNotFound = "The namespace '{0}' is not defined."; public const string XmlNestedArraysNotSupported = "Nested arrays are not supported."; public const string XmlNoRootElement = "The document does not have a root element."; public const string XmlOnlyOneRoot = "Only one root element is permitted per document."; public const string XmlOnlyWhitespace = "Only white space characters can be written with this method."; public const string XmlOnlySingleValue = "Only a single typed value may be written inside an attribute or content."; public const string XmlPrefixBoundToNamespace = "The prefix '{0}' is bound to the namespace '{1}' and cannot be changed to '{2}'."; public const string XmlProcessingInstructionNotSupported = "Processing instructions (other than the XML declaration) and DTDs are not supported."; public const string XmlReservedPrefix = "Prefixes beginning with \"xml\" (regardless of casing) are reserved for use by XML."; public const string XmlSpaceBetweenAttributes = "Whitespace must appear between attributes."; public const string XmlSpecificBindingNamespace = "The namespace '{1}' can only be bound to the prefix '{0}'."; public const string XmlSpecificBindingPrefix = "The prefix '{0}' can only be bound to the namespace '{1}'."; public const string XmlStartElementLocalNameNsExpected = "Start element '{0}' from namespace '{1}' expected. Found {2}."; public const string XmlStartElementNameExpected = "Start element '{0}' expected. Found {1}."; public const string XmlTagMismatch = "Start element '{0}' does not match end element '{1}'."; public const string XmlTokenExpected = "The token '{0}' was expected but found '{1}'."; public const string XmlUndefinedPrefix = "The prefix '{0}' is not defined."; public const string XmlUnexpectedEndElement = "No matching start tag for end element."; public const string XmlUnexpectedEndOfFile = "Unexpected end of file. Following elements are not closed: {0}."; public const string XmlWriterClosed = "The XmlWriter is closed."; public const string Xml_InvalidNmToken = "Invalid NmToken value '{0}'."; public const string AbstractElementNotSupported = "Abstract element '{0}' is not supported."; public const string AbstractTypeNotSupported = "Abstract type is not supported"; public const string AmbiguousReferencedCollectionTypes1 = "Ambiguous collection types were referenced: {0}"; public const string AmbiguousReferencedCollectionTypes3 = "In '{0}' element in '{1}' namespace, ambiguous collection types were referenced: {2}"; public const string AmbiguousReferencedTypes1 = "Ambiguous types were referenced: {0}"; public const string AmbiguousReferencedTypes3 = "In '{0}' element in '{1}' namespace, ambiguous types were referenced: {2}"; public const string AnnotationAttributeNotFound = "Annotation attribute was not found: default value annotation is '{0}', type is '{1}' in '{2}' namespace, emit default value is {3}."; public const string AnonymousTypeNotSupported = "Anonymous type is not supported. Type is '{0}' in '{1}' namespace."; public const string AnyAttributeNotSupported = "XML Schema 'any' attribute is not supported"; public const string ArrayItemFormMustBe = "For array item, element 'form' must be {0}."; public const string ArraySizeAttributeIncorrect = "Array size attribute is incorrect; must be between {0} and {1}."; public const string ArrayTypeCannotBeImported = "Array type cannot be imported for '{0}' in '{1}' namespace: {2}."; public const string AssemblyNotFound = "Assembly '{0}' was not found."; public const string AttributeNotFound = "Attribute was not found for CLR type '{1}' in namespace '{0}'. XML reader node is on {2}, '{4}' node in '{3}' namespace."; public const string BaseTypeNotISerializable = "Base type '{0}' in '{1}' namespace is not ISerializable."; public const string CannotComputeUniqueName = "Cannot compute unique name for '{0}'."; public const string CannotDeriveFromSealedReferenceType = "Cannod drive from sealed reference type '{2}', for '{0}' element in '{1}' namespace."; public const string CannotDeserializeForwardedType = "Cannot deserialize forwarded type '{0}'."; public const string CannotExportNullAssembly = "Cannot export null assembly."; public const string CannotExportNullKnownType = "Cannot export null known type."; public const string CannotExportNullType = "Cannot export null type."; public const string CannotHaveDuplicateAttributeNames = "Cannot have duplicate attribute names '{0}'."; public const string CannotHaveDuplicateElementNames = "Cannot have duplicate element names '{0}'."; public const string CannotImportInvalidSchemas = "Cannot import invalid schemas."; public const string CannotImportNullDataContractName = "Cannot import data contract with null name."; public const string CannotImportNullSchema = "Cannot import from schema list that contains null."; public const string CannotSetMembersForReferencedType = "Cannot set members for already referenced type. Base type is '{0}'."; public const string CannotSetNamespaceForReferencedType = "Cannot set namespace for already referenced type. Base type is '{0}'."; public const string CannotUseGenericTypeAsBase = "For '{0}' in '{1}' namespace, generic type cannot be referenced as the base type."; public const string ChangingFullTypeNameNotSupported = "Changing full type name is not supported. Serialization type name: '{0}', data contract type name: '{1}'."; public const string CircularTypeReference = "Circular type reference was found for '{0}' in '{1}' namespace."; public const string ClassDataContractReturnedForGetOnlyCollection = "For '{0}' type, class data contract was returned for get-only collection."; public const string CLRNamespaceMappedMultipleTimes = "CLR namespace is mapped multiple times. Current data contract namespace is '{0}', found '{1}' for CLR namespace '{2}'."; public const string ClrTypeNotFound = "CLR type '{1}' in assembly '{0}' is not found."; public const string CollectionAssignedToIncompatibleInterface = "Collection of type '{0}' is assigned to an incompatible interface '{1}'"; public const string ComplexTypeRestrictionNotSupported = "XML schema complexType restriction is not supported."; public const string ConfigDataContractSerializerSectionLoadError = "Failed to load configuration section for dataContractSerializer."; public const string ConfigIndexOutOfRange = "For type '{0}', configuration index is out of range."; public const string ConfigMustOnlyAddParamsWithType = "Configuration parameter element must only add params with type."; public const string ConfigMustOnlySetTypeOrIndex = "Configuration parameter element can set only one of either type or index."; public const string ConfigMustSetTypeOrIndex = "Configuration parameter element must set either type or index."; public const string CouldNotReadSerializationSchema = "Could not read serialization schema for '{0}' namespace."; public const string DefaultOnElementNotSupported = "On element '{0}', default value is not supported."; public const string DerivedTypeNotISerializable = "On type '{0}' in '{1}' namespace, derived type is not ISerializable."; public const string DupContractInDataContractSet = "Duplicate contract in data contract set was found, for '{0}' in '{1}' namespace."; public const string DuplicateExtensionDataSetMethod = "Duplicate extension data set method was found, for method '{0}', existing method is '{1}', on data contract type '{2}'."; public const string DupTypeContractInDataContractSet = "Duplicate type contract in data contract set. Type name '{0}', for data contract '{1}' in '{2}' namespace."; public const string ElementMaxOccursMustBe = "On element '{0}', schema element maxOccurs must be 1."; public const string ElementMinOccursMustBe = "On element '{0}', schema element minOccurs must be less or equal to 1."; public const string ElementRefOnLocalElementNotSupported = "For local element, ref is not supported. The referenced name is '{0}' in '{1}' namespace."; public const string EnumEnumerationFacetsMustHaveValue = "Schema enumeration facet must have values."; public const string EnumListInAnonymousTypeNotSupported = "Enum list in anonymous type is not supported."; public const string EnumListMustContainAnonymousType = "Enum list must contain an anonymous type."; public const string EnumOnlyEnumerationFacetsSupported = "For schema facets, only enumeration is supported."; public const string EnumRestrictionInvalid = "For simpleType restriction, only enum is supported and this type could not be convert to enum."; public const string EnumTypeCannotBeImported = "For '{0}' in '{1}' namespace, enum type cannot be imported: {2}"; public const string EnumTypeNotSupportedByDataContractJsonSerializer = "Enum type is not supported by DataContractJsonSerializer. The underlying type is '{0}'."; public const string EnumUnionInAnonymousTypeNotSupported = "Enum union in anonymous type is not supported."; public const string ExtensionDataSetMustReturnVoid = "For type '{0}' method '{1}', extension data set method must return void."; public const string ExtensionDataSetParameterInvalid = "For type '{0}' method '{1}', extension data set method has invalid type of parameter '{2}'."; public const string FactoryObjectContainsSelfReference = "Factory object contains a reference to self. Old object is '{0}', new object is '{1}'."; public const string FactoryTypeNotISerializable = "For data contract '{1}', factory type '{0}' is not ISerializable."; public const string FixedOnElementNotSupported = "On schema element '{0}', fixed value is not supported."; public const string FlushBufferAlreadyInUse = "Flush buffer is already in use."; public const string FormMustBeQualified = "On schema element '{0}', form must be qualified."; public const string GenericAnnotationAttributeNotFound = "On type '{0}' Generic annotation attribute '{1}' was not found."; public const string GenericAnnotationForNestedLevelMustBeIncreasing = "On type '{2}', generic annotation for nested level must be increasing. Argument element is '{0}' in '{1}' namespace."; public const string GenericAnnotationHasInvalidAttributeValue = "On type '{2}', generic annotation has invalid attribute value '{3}'. Argument element is '{0}' in '{1}' namespace. Nested level attribute attribute name is '{4}'. Type is '{5}'."; public const string GenericAnnotationHasInvalidElement = "On type '{2}', generic annotation has invalid element. Argument element is '{0}' in '{1}' namespace."; public const string GenericTypeNameMismatch = "Generic type name mismatch. Expected '{0}' in '{1}' namespace, got '{2}' in '{3}' namespace instead."; public const string GenericTypeNotExportable = "Generic type '{0}' is not exportable."; public const string GetOnlyCollectionMustHaveAddMethod = "On type '{0}', get-only collection must have an Add method."; public const string GetRealObjectReturnedNull = "On the surrogate data contract for '{0}', GetRealObject method returned null."; public const string InvalidAnnotationExpectingText = "For annotation element '{0}' in namespace '{1}', expected text but got element '{2}' in '{3}' namespace."; public const string InvalidAssemblyFormat = "'{0}': invalid assembly format."; public const string InvalidCharacterEncountered = "Encountered an invalid character '{0}'."; public const string InvalidClassDerivation = "Invalid class derivation from '{0}' in '{1}' namespace."; public const string InvalidClrNameGeneratedForISerializable = "Invalid CLR name '{2}' is generated for ISerializable type '{0}' in '{1}' namespace."; public const string InvalidClrNamespaceGeneratedForISerializable = "Invalid CLR namespace '{3}' is generated for ISerializable type '{0}' in '{1}' namespace. Data contract namespace from the URI would be generated as '{2}'."; public const string InvalidDataNode = "Invalid data node for '{0}' type."; public const string InvalidEmitDefaultAnnotation = "Invalid EmilDefault annotation for '{0}' in type '{1}' in '{2}' namespace."; public const string InvalidEnumBaseType = "Invalid enum base type is specified for type '{0}' in '{1}' namespace, element name is '{2}' in '{3}' namespace."; public const string InvalidISerializableDerivation = "Invalid ISerializable derivation from '{0}' in '{1}' namespace."; public const string InvalidKeyValueType = "'{0}' is an invalid key value type."; public const string InvalidKeyValueTypeNamespace = "'{0}' in '{1}' namespace is an invalid key value type."; public const string InvalidReturnSchemaOnGetSchemaMethod = "On type '{0}', the return value from GetSchema method was invalid."; public const string InvalidStateInExtensionDataReader = "Invalid state in extension data reader."; public const string InvalidXmlDeserializingExtensionData = "Invalid XML while deserializing extension data."; public const string IsAnyNotSupportedByNetDataContractSerializer = "For type '{0}', IsAny is not supported by NetDataContractSerializer."; public const string IsDictionaryFormattedIncorrectly = "IsDictionary formatted value '{0}' is incorrect: {1}"; public const string ISerializableAssemblyNameSetToZero = "ISerializable AssemblyName is set to \"0\" for type '{0}'."; public const string ISerializableCannotHaveDataContract = "ISerializable type '{0}' cannot have DataContract."; public const string ISerializableContainsMoreThanOneItems = "ISerializable cannot contain more than one item."; public const string ISerializableDerivedContainsOneOrMoreItems = "Type derived from ISerializable cannot contain more than one item."; public const string ISerializableDoesNotContainAny = "ISerializable does not contain any element."; public const string ISerializableMustRefFactoryTypeAttribute = "ISerializable must have ref attribute that points to its factory type."; public const string ISerializableTypeCannotBeImported = "ISerializable type '{0}' in '{1}' namespace cannot be imported: {2}"; public const string ISerializableWildcardMaxOccursMustBe = "ISerializable wildcard maxOccurs must be '{0}'."; public const string ISerializableWildcardMinOccursMustBe = "ISerializable wildcard maxOccurs must be '{0}'."; public const string ISerializableWildcardNamespaceInvalid = "ISerializable wildcard namespace is invalid: '{0}'."; public const string ISerializableWildcardProcessContentsInvalid = "ISerializable wildcard processContents is invalid: '{0}'."; public const string IsReferenceGetOnlyCollectionsNotSupported = "On type '{1}', attribute '{0}' points to get-only collection, which is not supported."; public const string IsValueTypeFormattedIncorrectly = "IsValueType is formatted incorrectly as '{0}': {1}"; public const string JsonAttributeAlreadyWritten = "JSON attribute '{0}' is already written."; public const string JsonAttributeMustHaveElement = "JSON attribute must have an owner element."; public const string JsonCannotWriteStandaloneTextAfterQuotedText = "JSON writer cannot write standalone text after quoted text."; public const string JsonCannotWriteTextAfterNonTextAttribute = "JSON writer cannot write text after non-text attribute. Data type is '{0}'."; public const string JsonDateTimeOutOfRange = "JSON DateTime is out of range."; public const string JsonDuplicateMemberInInput = "Duplicate member '{0}' is found in JSON input."; public const string JsonDuplicateMemberNames = "Duplicate member, including '{1}', is found in JSON input, in type '{0}'."; public const string JsonEncodingNotSupported = "JSON Encoding is not supported."; public const string JsonEncounteredUnexpectedCharacter = "Encountered an unexpected character '{0}' in JSON."; public const string JsonEndElementNoOpenNodes = "Encountered an end element while there was no open element in JSON writer."; public const string JsonExpectedEncoding = "Expected encoding '{0}', got '{1}' instead."; public const string JsonInvalidBytes = "Invalid bytes in JSON."; public const string JsonInvalidDataTypeSpecifiedForServerType = "The specified data type is invalid for server type. Type: '{0}', specified data type: '{1}', server type: '{2}', object '{3}'."; public const string JsonInvalidDateTimeString = "Invalid JSON dateTime string is specified: original value '{0}', start guide writer: {1}, end guard writer: {2}."; public const string JsonInvalidFFFE = "FFFE in JSON is invalid."; public const string JsonInvalidItemNameForArrayElement = "Invalid JSON item name '{0}' for array element (item element is '{1}' in JSON)."; public const string JsonInvalidLocalNameEmpty = "Empty string is invalid as a local name."; public const string JsonInvalidMethodBetweenStartEndAttribute = "Invalid method call state between start and end attribute."; public const string JsonInvalidRootElementName = "Invalid root element name '{0}' (root element is '{1}' in JSON)."; public const string JsonInvalidStartElementCall = "Invalid call to JSON WriteStartElement method."; public const string JsonInvalidWriteState = "Invalid write state {1} for '{0}' method."; public const string JsonMethodNotSupported = "Method {0} is not supported in JSON."; public const string JsonMultipleRootElementsNotAllowedOnWriter = "Multiple root element is not allowed on JSON writer."; public const string JsonMustSpecifyDataType = "On JSON writer data type '{0}' must be specified. Object string is '{1}', server type string is '{2}'."; public const string JsonMustUseWriteStringForWritingAttributeValues = "On JSON writer WriteString must be used for writing attribute values."; public const string JsonNamespaceMustBeEmpty = "JSON namespace is specified as '{0}' but it must be empty."; public const string JsonNestedArraysNotSupported = "Nested array is not supported in JSON: '{0}'"; public const string JsonNodeTypeArrayOrObjectNotSpecified = "Either Object or Array of JSON node type must be specified."; public const string JsonNoMatchingStartAttribute = "WriteEndAttribute was called while there is no open attribute."; public const string JsonOffsetExceedsBufferSize = "On JSON writer, offset exceeded buffer size {0}."; public const string JsonOneRequiredMemberNotFound = "Required member {1} in type '{0}' is not found."; public const string JsonOnlyWhitespace = "Only whitespace characters are allowed for {1} method. The specified value is '{0}'"; public const string JsonOpenAttributeMustBeClosedFirst = "JSON attribute must be closed first before calling {0} method."; public const string JsonPrefixMustBeNullOrEmpty = "JSON prefix must be null or empty. '{0}' is specified instead."; public const string JsonRequiredMembersNotFound = "Required members {0} in type '{1}' are not found."; public const string JsonServerTypeSpecifiedForInvalidDataType = "Server type is specified for invalid data type in JSON. Server type: '{0}', type: '{1}', dataType: '{2}', object: '{3}'."; public const string JsonSizeExceedsRemainingBufferSpace = "JSON size exceeded remaining buffer space, by {0} byte(s)."; public const string JsonTypeNotSupportedByDataContractJsonSerializer = "Type '{0}' is not suppotred by DataContractJsonSerializer."; public const string JsonUnexpectedAttributeLocalName = "Unexpected attribute local name '{0}'."; public const string JsonUnexpectedAttributeValue = "Unexpected attribute value '{0}'."; public const string JsonUnexpectedEndOfFile = "Unexpected end of file in JSON."; public const string JsonUnsupportedForIsReference = "Unsupported value for IsReference for type '{0}', IsReference value is {1}."; public const string JsonWriteArrayNotSupported = "JSON WriteArray is not supported."; public const string JsonWriterClosed = "JSON writer is already closed."; public const string JsonXmlInvalidDeclaration = "Attempt to write invalid XML declration."; public const string JsonXmlProcessingInstructionNotSupported = "processing instruction is not supported in JSON writer."; public const string KeyTypeCannotBeParsedInSimpleDictionary = "Key type '{1}' for collection type '{0}' cannot be parsed in simple dictionary."; public const string KnownTypeConfigGenericParamMismatch = "Generic parameter count do not match between known type and configuration. Type is '{0}', known type has {1} parameters, configuration has {2} parameters."; public const string KnownTypeConfigIndexOutOfBounds = "For known type configuration, index is out of bound. Root type: '{0}' has {1} type arguments, and index was {2}."; public const string KnownTypeConfigIndexOutOfBoundsZero = "For known type configuration, index is out of bound. Root type: '{0}' has {1} type arguments, and index was {2}."; public const string KnownTypeConfigObject = "Known type configuration specifies System.Object."; public const string MaxMimePartsExceeded = "MIME parts number exceeded the maximum settings. Must be less than {0}. Specified as '{1}'."; public const string MimeContentTypeHeaderInvalid = "MIME content type header is invalid."; public const string MimeHeaderInvalidCharacter = "MIME header has an invalid character ('{0}', {1} in hexadecimal value)."; public const string MimeMessageGetContentStreamCalledAlready = "On MimeMessage, GetContentStream method is already called."; public const string MimeReaderHeaderAlreadyExists = "MIME header '{0}' already exists."; public const string MimeReaderMalformedHeader = "Malformed MIME header."; public const string MimeReaderResetCalledBeforeEOF = "On MimeReader, Reset method is called before EOF."; public const string MimeReaderTruncated = "MIME parts are truncated."; public const string MimeVersionHeaderInvalid = "MIME version header is invalid."; public const string MimeWriterInvalidStateForClose = "MIME writer is at invalid state for closing."; public const string MimeWriterInvalidStateForContent = "MIME writer is at invalid state for content."; public const string MimeWriterInvalidStateForHeader = "MIME writer is at invalid state for header."; public const string MimeWriterInvalidStateForStartPart = "MIME writer is at invalid state for starting a part."; public const string MimeWriterInvalidStateForStartPreface = "MIME writer is at invalid state for starting preface."; public const string MissingSchemaType = "Schema type '{0}' is missing and required for '{1}' type."; public const string MixedContentNotSupported = "Mixed content is not supported."; public const string MtomBoundaryInvalid = "MIME boundary is invalid: '{0}'."; public const string MtomBufferQuotaExceeded = "MTOM buffer quota exceeded. The maximum size is {0}."; public const string MtomContentTransferEncodingNotPresent = "MTOM content transfer encoding is not present. ContentTransferEncoding header is '{0}'."; public const string MtomContentTransferEncodingNotSupported = "MTOM content transfer encoding value is not supported. Raw value is '{0}', '{1}' in 7bit encoding, '{2}' in 8bit encoding, and '{3}' in binary."; public const string MtomContentTypeInvalid = "MTOM content type is invalid."; public const string MtomDataMustNotContainXopInclude = "MTOM data must not contain xop:Include element. '{0}' element in '{1}' namespace."; public const string MtomExceededMaxSizeInBytes = "MTOM exceeded max size in bytes. The maximum size is {0}."; public const string MtomInvalidCIDUri = "Invalid MTOM CID URI: '{0}'."; public const string MtomInvalidEmptyURI = "empty URI is invalid for MTOM MIME part."; public const string MtomInvalidStartUri = "Invalid MTOM start URI: '{0}'."; public const string MtomInvalidTransferEncodingForMimePart = "Invalid transfer encoding for MIME part: '{0}', in binary: '{1}'."; public const string MtomMessageContentTypeNotFound = "MTOM message content type was not found."; public const string MtomMessageInvalidContent = "MTOM message content is invalid."; public const string MtomMessageInvalidContentInMimePart = "MTOM message content in MIME part is invalid."; public const string MtomMessageInvalidMimeVersion = "MTOM message has invalid MIME version. Expected '{1}', got '{0}' instead."; public const string MtomMessageNotApplicationXopXml = "MTOM msssage type is not '{0}'."; public const string MtomMessageNotMultipart = "MTOM message is not multipart: media type should be '{0}', media subtype should be '{1}'."; public const string MtomMessageRequiredParamNotSpecified = "Required MTOM parameter '{0}' is not specified."; public const string MtomMimePartReferencedMoreThanOnce = "Specified MIME part '{0}' is referenced more than once."; public const string MtomPartNotFound = "MTOM part with URI '{0}' is not found."; public const string MtomRootContentTypeNotFound = "MTOM root content type is not found."; public const string MtomRootNotApplicationXopXml = "MTOM root should have media type '{0}' and subtype '{1}'."; public const string MtomRootPartNotFound = "MTOM root part is not found."; public const string MtomRootRequiredParamNotSpecified = "Required MTOM root parameter '{0}' is not specified."; public const string MtomRootUnexpectedCharset = "Unexpected charset on MTOM root. Expected '{1}', got '{0}' instead."; public const string MtomRootUnexpectedType = "Unexpected type on MTOM root. Expected '{1}', got '{0}' instead."; public const string MtomXopIncludeHrefNotSpecified = "xop Include element did not specify '{0}' attribute."; public const string MtomXopIncludeInvalidXopAttributes = "xop Include element has invalid attribute: '{0}' in '{1}' namespace."; public const string MtomXopIncludeInvalidXopElement = "xop Include element has invalid element: '{0}' in '{1}' namespace."; public const string MustContainOnlyLocalElements = "Only local elements can be imported."; public const string NoAsyncWritePending = "No async write operation is pending."; public const string NonOptionalFieldMemberOnIsReferenceSerializableType = "For type '{0}', non-optional field member '{1}' is on the Serializable type that has IsReference as {2}."; public const string OnlyDataContractTypesCanHaveExtensionData = "On '{0}' type, only DataContract types can have extension data."; public const string PartialTrustISerializableNoPublicConstructor = "Partial trust access required for the constructor on the ISerializable type '{0}'"; public const string QueryGeneratorPathToMemberNotFound = "The path to member was not found for XPath query generator."; public const string ReadNotSupportedOnStream = "Read operation is not supported on the Stream."; public const string ReadOnlyClassDeserialization = "Error on deserializing read-only members in the class: {0}"; public const string ReadOnlyCollectionDeserialization = "Error on deserializing read-only collection: {0}"; public const string RecursiveCollectionType = "Type '{0}' involves recursive collection."; public const string RedefineNotSupported = "XML Schema 'redefine' is not supported."; public const string ReferencedBaseTypeDoesNotExist = "Referenced base type does not exist. Data contract name: '{0}' in '{1}' namespace, expected type: '{2}' in '{3}' namespace. Collection can be '{4}' or '{5}'."; public const string ReferencedCollectionTypesCannotContainNull = "Referenced collection types cannot contain null."; public const string ReferencedTypeDoesNotMatch = "Referenced type '{0}' does not match the expected type '{1}' in '{2}' namespace."; public const string ReferencedTypeMatchingMessage = "Reference type matches."; public const string ReferencedTypeNotMatchingMessage = "Reference type does not match."; public const string ReferencedTypesCannotContainNull = "Referenced types cannot contain null."; public const string RequiresClassDataContractToSetIsISerializable = "To set IsISerializable, class data cotnract is required."; public const string RootParticleMustBeSequence = "Root particle must be sequence to be imported."; public const string RootSequenceMaxOccursMustBe = "On root sequence, maxOccurs must be 1."; public const string RootSequenceMustBeRequired = "Root sequence must have an item and minOccurs must be 1."; public const string SeekNotSupportedOnStream = "Seek operation is not supported on this Stream."; public const string SerializationInfo_ConstructorNotFound = "Constructor that takes SerializationInfo and StreamingContext is not found for '{0}'."; public const string SimpleContentNotSupported = "Simple content is not supported."; public const string SimpleTypeRestrictionDoesNotSpecifyBase = "This simpleType restriction does not specify the base type."; public const string SimpleTypeUnionNotSupported = "simpleType union is not supported."; public const string SpecifiedTypeNotFoundInSchema = "Specified type '{0}' in '{1}' namespace is not found in the schemas."; public const string SubstitutionGroupOnElementNotSupported = "substitutionGroups on elements are not supported."; public const string SurrogatesWithGetOnlyCollectionsNotSupported = "Surrogates with get-only collections are not supported. Type '{1}' contains '{2}' which is of '{0}' type."; public const string SurrogatesWithGetOnlyCollectionsNotSupportedSerDeser = "Surrogates with get-only collections are not supported. Found on type '{0}'."; public const string TopLevelElementRepresentsDifferentType = "Top-level element represents a different type. Expected '{0}' type in '{1}' namespace."; public const string TraceCodeElementIgnored = "Element ignored"; public const string TraceCodeFactoryTypeNotFound = "Factory type not found"; public const string TraceCodeObjectWithLargeDepth = "Object with large depth"; public const string TraceCodeReadObjectBegin = "ReadObject begins"; public const string TraceCodeReadObjectEnd = "ReadObject ends"; public const string TraceCodeWriteObjectBegin = "WriteObject begins"; public const string TraceCodeWriteObjectContentBegin = "WriteObjectContent begins"; public const string TraceCodeWriteObjectContentEnd = "WriteObjectContent ends"; public const string TraceCodeWriteObjectEnd = "WriteObject ends"; public const string TraceCodeXsdExportAnnotationFailed = "XSD export annotation failed"; public const string TraceCodeXsdExportBegin = "XSD export begins"; public const string TraceCodeXsdExportDupItems = "XSD export duplicate items"; public const string TraceCodeXsdExportEnd = "XSD export ends"; public const string TraceCodeXsdExportError = "XSD export error"; public const string TraceCodeXsdImportAnnotationFailed = "XSD import annotation failed"; public const string TraceCodeXsdImportBegin = "XSD import begins"; public const string TraceCodeXsdImportEnd = "XSD import ends"; public const string TraceCodeXsdImportError = "XSD import error"; public const string TypeCannotBeForwardedFrom = "Type '{0}' in assembly '{1}' cannot be forwarded from assembly '{2}'."; public const string TypeCannotBeImported = "Type '{0}' in '{1}' namespace cannot be imported: {2}"; public const string TypeCannotBeImportedHowToFix = "Type cannot be imported: {0}"; public const string TypeHasNotBeenImported = "Type '{0}' in '{1}' namespace has not been imported."; public const string TypeMustBeIXmlSerializable = "Type '{0}' must be IXmlSerializable. Contract type: '{1}', contract name: '{2}' in '{3}' namespace."; public const string TypeShouldNotContainAttributes = "Type should not contain attributes. Serialization namespace: '{0}'."; public const string UnknownXmlType = "Unknown XML type: '{0}'."; public const string WriteBufferOverflow = "Write buffer overflow."; public const string WriteNotSupportedOnStream = "Write operation is not supported on this '{0}' Stream."; public const string XmlCanonicalizationNotStarted = "XML canonicalization was not started."; public const string XmlCanonicalizationStarted = "XML canonicalization started"; public const string XmlMaxArrayLengthOrMaxItemsQuotaExceeded = "XML max array length or max items quota exceeded. It must be less than {0}."; public const string XmlMaxBytesPerReadExceeded = "XML max bytes per read exceeded. It must be less than {0}."; public const string XmlMaxDepthExceeded = "XML max depth exceeded. It must be less than {0}."; public const string XmlMaxStringContentLengthExceeded = "XML max string content length exceeded. It must be less than {0}."; public const string XmlObjectAssignedToIncompatibleInterface = "Object of type '{0}' is assigned to an incompatible interface '{1}'."; [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(string name, params object[] args) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(CultureInfo culture, string name, params object[] args) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string GetString(CultureInfo culture, string name) { throw null; } } internal class SchemaExporter { private static XmlQualifiedName actualTypeAnnotationName; internal static XmlQualifiedName ActualTypeAnnotationName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal static void GetXmlTypeInfo(Type type, out XmlQualifiedName stableName, out XmlSchemaType xsdType, out bool hasRoot) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsSpecialXmlType(Type type, out XmlQualifiedName typeName, out XmlSchemaType xsdType, out bool hasRoot) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void AddDefaultXmlType(XmlSchemaSet schemas, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool InvokeSchemaProviderMethod(Type clrType, XmlSchemaSet schemas, out XmlQualifiedName stableName, out XmlSchemaType xsdType, out bool hasRoot) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static XmlSchemaComplexType CreateAnyElementType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static XmlSchemaAnnotation GetSchemaAnnotation(params XmlNode[] nodes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static XmlSchemaComplexType CreateAnyType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static XmlElement ExportActualType(XmlQualifiedName typeName, XmlDocument xmlDoc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public SchemaExporter() { throw null; } } internal enum CodeTypeReferenceOptions { GlobalReference = 1, GenericTypeParameter } internal class CodeTypeReference { private string baseType; [OptionalField] private bool isInterface; private int arrayRank; private CodeTypeReference arrayElementType; [OptionalField] private List typeArguments; [OptionalField] private CodeTypeReferenceOptions referenceOptions; [OptionalField] private bool needsFixup; public CodeTypeReference ArrayElementType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public int ArrayRank { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal int NestedArrayDepth { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string BaseType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [ComVisible(false)] public CodeTypeReferenceOptions Options { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [ComVisible(false)] public List TypeArguments { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool IsInterface { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference(Type type, CodeTypeReferenceOptions codeTypeReferenceOption) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference(string typeName, CodeTypeReferenceOptions codeTypeReferenceOption) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InitializeFromType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(string typeName, CodeTypeReferenceOptions options) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference(string typeName, params CodeTypeReference[] typeArguments) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference(string baseType, int rank) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference(CodeTypeReference arrayType, int rank) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string RipOffAssemblyInformationFromTypeName(string typeName) { throw null; } } internal class XmlDataContractInterpreter { private XmlDataContract contract; [MethodImpl(MethodImplOptions.NoInlining)] public XmlDataContractInterpreter(XmlDataContract contract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public IXmlSerializable CreateXmlSerializable() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private ConstructorInfo GetConstructor() { throw null; } } internal class XmlFormatReaderInterpreter { private bool is_get_only_collection; private ClassDataContract classContract; private CollectionDataContract collectionContract; private object objectLocal; private Type objectType; private XmlReaderDelegator xmlReader; private XmlObjectSerializerReadContext context; private XmlDictionaryString[] memberNames; private XmlDictionaryString[] memberNamespaces; private XmlDictionaryString itemName; private XmlDictionaryString itemNamespace; [MethodImpl(MethodImplOptions.NoInlining)] public XmlFormatReaderInterpreter(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlFormatReaderInterpreter(CollectionDataContract collectionContract, bool isGetOnly) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object ReadFromXml(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString[] memberNames, XmlDictionaryString[] memberNamespaces) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object ReadCollectionFromXml(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ReadGetOnlyCollectionFromXml(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CreateObject(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InvokeOnDeserializing(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InvokeOnDeserialized(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HasFactoryMethod(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool InvokeFactoryMethod(ClassDataContract classContract, string objectId) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadISerializable(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadClass(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadMembers(ClassDataContract classContract, ExtensionDataObject extensionData) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadMembers(int index, ClassDataContract classContract, bool[] requiredMembers, ref int memberIndex, ref int requiredIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool[] GetRequiredMembers(ClassDataContract contract, out int firstRequiredMember) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int GetRequiredMembers(ClassDataContract contract, bool[] requiredMembers) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object ReadValue(Type type, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object InternalDeserialize(Type type, string name, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object WrapNullableObject(Type innerType, object innerValue, Type outerType, int nullables) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadCollection(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadGetOnlyCollection(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryReadPrimitiveArray(Type type, Type itemType, int size, out bool readResult) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object ReadCollectionItem(CollectionDataContract collectionContract, Type itemType, string itemName, string itemNs) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void StoreCollectionValue(object collection, Type valueType, object value, CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void HandleUnexpectedItemInCollection(ref int iterator) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsStartElement(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsEndElement() { throw null; } } internal class XmlFormatWriterInterpreter { private ClassDataContract classContract; private CollectionDataContract collectionContract; private XmlWriterDelegator writer; private object obj; private XmlObjectSerializerWriteContext ctx; private DataContract dataContract; private object objLocal; private XmlDictionaryString[] contractNamespaces; private XmlDictionaryString[] memberNames; private XmlDictionaryString[] childElementNamespaces; private int typeIndex; private int childElementIndex; private ClassDataContract classDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private CollectionDataContract collectionDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlFormatWriterInterpreter(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlFormatWriterInterpreter(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteToXml(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context, ClassDataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteCollectionToXml(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContext context, CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InitArgs(Type objType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InvokeOnSerializing(ClassDataContract classContract, object objSerialized, XmlObjectSerializerWriteContext ctx) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InvokeOnSerialized(ClassDataContract classContract, object objSerialized, XmlObjectSerializerWriteContext ctx) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteClass(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteCollection(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int WriteMembers(ClassDataContract classContract, ExtensionDataObject extensionData, ClassDataContract derivedMostClassContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsDefaultValue(Type type, object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object GetDefaultValue(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckIfMemberHasConflict(DataMember member, ClassDataContract classContract, ClassDataContract derivedMostClassContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckIfConflictingMembersHaveDifferentTypes(DataMember member) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool NeedsPrefix(Type type, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteStartElement(Type type, XmlDictionaryString ns, XmlDictionaryString namespaceLocal, XmlDictionaryString nameLocal, int nameIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteValue(Type memberType, object memberValue, bool writeXsiType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object UnwrapNullableObject(Func memberValue, ref Type memberType, out bool isNull) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryWritePrimitive(Type type, Func value, MemberInfo memberInfo, int? arrayItemIndex, XmlDictionaryString ns, XmlDictionaryString name, int nameIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryWritePrimitiveArray(Type type, Type itemType, Func value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object LoadMemberValue(DataMember member) { throw null; } } public class XsdDataContractExporter { public ExportOptions Options { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public XmlSchemaSet Schemas { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XsdDataContractExporter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XsdDataContractExporter(XmlSchemaSet schemas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool CanExport(ICollection assemblies) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool CanExport(ICollection types) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool CanExport(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Export(ICollection assemblies) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Export(ICollection types) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Export(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlQualifiedName GetRootElementName(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlSchemaType GetSchemaType(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlQualifiedName GetSchemaTypeName(Type type) { throw null; } } } namespace System.Runtime.Serialization.Json { internal class ByteArrayHelperWithString : ArrayHelper { public static readonly ByteArrayHelperWithString Instance; [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteArray(XmlWriter writer, byte[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, byte[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, byte[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowConversionException(string value, string type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private byte ToByte(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ByteArrayHelperWithString() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static ByteArrayHelperWithString() { throw null; } } [TypeForwardedFrom("System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] public sealed class DataContractJsonSerializer : XmlObjectSerializer { internal IList knownTypeList; internal Dictionary knownDataContracts; private EmitTypeInformation emitTypeInformation; private IDataContractSurrogate dataContractSurrogate; private bool ignoreExtensionDataObject; private ReadOnlyCollection knownTypeCollection; private int maxItemsInObjectGraph; private DataContract rootContract; private XmlDictionaryString rootName; private bool rootNameRequiresMapping; private Type rootType; private bool serializeReadOnlyTypes; private DateTimeFormat dateTimeFormat; private bool useSimpleDictionaryFormat; public IDataContractSurrogate DataContractSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool IgnoreExtensionDataObject { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ReadOnlyCollection KnownTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal override Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public int MaxItemsInObjectGraph { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal bool AlwaysEmitTypeInformation { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public EmitTypeInformation EmitTypeInformation { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool SerializeReadOnlyTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public DateTimeFormat DateTimeFormat { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool UseSimpleDictionaryFormat { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private DataContract RootContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private XmlDictionaryString RootName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, string rootName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, XmlDictionaryString rootName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, IEnumerable knownTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, string rootName, IEnumerable knownTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, XmlDictionaryString rootName, IEnumerable knownTypes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, IDataContractSurrogate dataContractSurrogate, bool alwaysEmitTypeInformation) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, string rootName, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, IDataContractSurrogate dataContractSurrogate, bool alwaysEmitTypeInformation) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, XmlDictionaryString rootName, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, IDataContractSurrogate dataContractSurrogate, bool alwaysEmitTypeInformation) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializer(Type type, DataContractJsonSerializerSettings settings) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartObject(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool IsStartObject(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlReader reader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlDictionaryReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadObject(XmlDictionaryReader reader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndObject(XmlWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndObject(XmlDictionaryWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObject(Stream stream, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObject(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObject(XmlDictionaryWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObjectContent(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteObjectContent(XmlDictionaryWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartObject(XmlWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartObject(XmlDictionaryWriter writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool CheckIfJsonNameRequiresMapping(string jsonName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool CheckIfJsonNameRequiresMapping(XmlDictionaryString jsonName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool CheckIfXmlNameRequiresMapping(string xmlName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool CheckIfXmlNameRequiresMapping(XmlDictionaryString xmlName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string ConvertXmlNameToJsonName(string xmlName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlDictionaryString ConvertXmlNameToJsonName(XmlDictionaryString xmlName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool IsJsonLocalName(XmlReaderDelegator reader, string elementName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object ReadJsonValue(DataContract contract, XmlReaderDelegator reader, XmlObjectSerializerReadContextComplexJson context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteJsonNull(XmlWriterDelegator writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteJsonValue(JsonDataContract contract, XmlWriterDelegator writer, object graph, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override Type GetDeserializeType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override Type GetSerializeType(object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool InternalIsStartObject(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override object InternalReadObject(XmlReaderDelegator xmlReader, bool verifyObjectName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteEndObject(XmlWriterDelegator writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteObject(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteObjectContent(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void InternalWriteStartObject(XmlWriterDelegator writer, object graph) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddCollectionItemTypeToKnownTypes(Type knownType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(Type type, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, IDataContractSurrogate dataContractSurrogate, EmitTypeInformation emitTypeInformation, bool serializeReadOnlyTypes, DateTimeFormat dateTimeFormat, bool useSimpleDictionaryFormat) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void Initialize(Type type, XmlDictionaryString rootName, IEnumerable knownTypes, int maxItemsInObjectGraph, bool ignoreExtensionDataObject, IDataContractSurrogate dataContractSurrogate, EmitTypeInformation emitTypeInformation, bool serializeReadOnlyTypes, DateTimeFormat dateTimeFormat, bool useSimpleDictionaryFormat) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void CheckIfTypeIsReference(DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetDataContract(DataContract declaredTypeContract, Type declaredType, Type objectType) { throw null; } } public class DataContractJsonSerializerSettings { private int maxItemsInObjectGraph; public string RootName { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public IEnumerable KnownTypes { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public int MaxItemsInObjectGraph { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool IgnoreExtensionDataObject { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public IDataContractSurrogate DataContractSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public EmitTypeInformation EmitTypeInformation { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public DateTimeFormat DateTimeFormat { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public bool SerializeReadOnlyTypes { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } public bool UseSimpleDictionaryFormat { [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [CompilerGenerated] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractJsonSerializerSettings() { throw null; } } [TypeForwardedFrom("System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] public interface IXmlJsonReaderInitializer { void SetInput(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose); } [TypeForwardedFrom("System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] public interface IXmlJsonWriterInitializer { void SetOutput(Stream stream, Encoding encoding, bool ownsStream); } internal class JsonByteArrayDataContract : JsonDataContract { [MethodImpl(MethodImplOptions.NoInlining)] public JsonByteArrayDataContract(ByteArrayDataContract traditionalByteArrayDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } } internal class JsonClassDataContract : JsonDataContract { private class JsonClassDataContractCriticalHelper : JsonDataContractCriticalHelper { private JsonFormatClassReaderDelegate jsonFormatReaderDelegate; private JsonFormatClassWriterDelegate jsonFormatWriterDelegate; private XmlDictionaryString[] memberNames; private ClassDataContract traditionalClassDataContract; private string typeName; internal JsonFormatClassReaderDelegate JsonFormatReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal JsonFormatClassWriterDelegate JsonFormatWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal XmlDictionaryString[] MemberNames { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal ClassDataContract TraditionalClassDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public JsonClassDataContractCriticalHelper(ClassDataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CopyMembersAndCheckDuplicateNames() { throw null; } } [SecurityCritical] private JsonClassDataContractCriticalHelper helper; internal JsonFormatClassReaderDelegate JsonFormatReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal JsonFormatClassWriterDelegate JsonFormatWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal XmlDictionaryString[] MemberNames { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal override string TypeName { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } private ClassDataContract TraditionalClassDataContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public JsonClassDataContract(ClassDataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) { throw null; } } internal class JsonCollectionDataContract : JsonDataContract { private class JsonCollectionDataContractCriticalHelper : JsonDataContractCriticalHelper { private JsonFormatCollectionReaderDelegate jsonFormatReaderDelegate; private JsonFormatGetOnlyCollectionReaderDelegate jsonFormatGetOnlyReaderDelegate; private JsonFormatCollectionWriterDelegate jsonFormatWriterDelegate; private CollectionDataContract traditionalCollectionDataContract; internal JsonFormatCollectionReaderDelegate JsonFormatReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal JsonFormatGetOnlyCollectionReaderDelegate JsonFormatGetOnlyReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal JsonFormatCollectionWriterDelegate JsonFormatWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } internal CollectionDataContract TraditionalCollectionDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public JsonCollectionDataContractCriticalHelper(CollectionDataContract traditionalDataContract) { throw null; } } [SecurityCritical] private JsonCollectionDataContractCriticalHelper helper; internal JsonFormatCollectionReaderDelegate JsonFormatReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal JsonFormatGetOnlyCollectionReaderDelegate JsonFormatGetOnlyReaderDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } internal JsonFormatCollectionWriterDelegate JsonFormatWriterDelegate { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } private CollectionDataContract TraditionalCollectionDataContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public JsonCollectionDataContract(CollectionDataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) { throw null; } } internal class JsonDataContract { internal class JsonDataContractCriticalHelper { private static object cacheLock; private static object createDataContractLock; private static JsonDataContract[] dataContractCache; private static int dataContractID; private static TypeHandleRef typeHandleRef; private static Dictionary typeToIDCache; private Dictionary knownDataContracts; private DataContract traditionalDataContract; private string typeName; internal Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal DataContract TraditionalDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal virtual string TypeName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] internal JsonDataContractCriticalHelper(DataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static JsonDataContract GetJsonDataContract(DataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static int GetId(RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static JsonDataContract CreateJsonDataContract(int id, DataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void AddCollectionItemContractsToKnownDataContracts() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static JsonDataContractCriticalHelper() { throw null; } } [SecurityCritical] private JsonDataContractCriticalHelper helper; internal virtual string TypeName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected JsonDataContractCriticalHelper Helper { [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] get { throw null; } } protected DataContract TraditionalDataContract { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } private Dictionary KnownDataContracts { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] protected JsonDataContract(DataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] protected JsonDataContract(JsonDataContractCriticalHelper helper) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public static JsonDataContract GetJsonDataContract(DataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteJsonValue(XmlWriterDelegator jsonWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public virtual void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected static object HandleReadValue(object obj, XmlObjectSerializerReadContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected static bool TryReadNullAtTopLevel(XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void PopKnownDataContracts(XmlObjectSerializerContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected void PushKnownDataContracts(XmlObjectSerializerContext context) { throw null; } } internal class JsonEncodingStreamWrapper : Stream { private enum SupportedEncoding { UTF8, UTF16LE, UTF16BE, None } private static readonly UnicodeEncoding SafeBEUTF16; private static readonly UnicodeEncoding SafeUTF16; private static readonly UTF8Encoding SafeUTF8; private static readonly UnicodeEncoding ValidatingBEUTF16; private static readonly UnicodeEncoding ValidatingUTF16; private static readonly UTF8Encoding ValidatingUTF8; private const int BufferLength = 128; private byte[] byteBuffer; private int byteCount; private int byteOffset; private byte[] bytes; private char[] chars; private Decoder dec; private Encoder enc; private Encoding encoding; private SupportedEncoding encodingCode; private bool isReading; private Stream stream; public override bool CanRead { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanSeek { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanTimeout { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override bool CanWrite { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override long Length { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override long Position { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public override int ReadTimeout { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public override int WriteTimeout { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public JsonEncodingStreamWrapper(Stream stream, Encoding encoding, bool isReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static ArraySegment ProcessBuffer(byte[] buffer, int offset, int count, Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int Read(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadByte() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long Seek(long offset, SeekOrigin origin) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void SetLength(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Write(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteByte(byte b) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static Encoding GetEncoding(SupportedEncoding e) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static string GetEncodingName(SupportedEncoding enc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static SupportedEncoding GetSupportedEncoding(Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static SupportedEncoding ReadEncoding(byte b1, byte b2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowExpectedEncodingMismatch(SupportedEncoding expEnc, SupportedEncoding actualEnc) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CleanupCharBreak() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureBuffers() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnsureByteBuffer() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void FillBuffer(int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InitForReading(Stream inputStream, Encoding expectedEncoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InitForWriting(Stream outputStream, Encoding writeEncoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private SupportedEncoding ReadEncoding() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static JsonEncodingStreamWrapper() { throw null; } } internal class JsonEnumDataContract : JsonDataContract { private class JsonEnumDataContractCriticalHelper : JsonDataContractCriticalHelper { private bool isULong; public bool IsULong { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public JsonEnumDataContractCriticalHelper(EnumDataContract traditionalEnumDataContract) { throw null; } } [SecurityCritical] private JsonEnumDataContractCriticalHelper helper; public bool IsULong { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] public JsonEnumDataContract(EnumDataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) { throw null; } } 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); internal sealed class JsonFormatReaderGenerator { private class CriticalHelper { [MethodImpl(MethodImplOptions.NoInlining)] internal JsonFormatClassReaderDelegate GenerateClassReader(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal JsonFormatCollectionReaderDelegate GenerateCollectionReader(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal JsonFormatGetOnlyCollectionReaderDelegate GenerateGetOnlyCollectionReader(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CriticalHelper() { throw null; } } [SecurityCritical] private CriticalHelper helper; [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public JsonFormatReaderGenerator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public JsonFormatClassReaderDelegate GenerateClassReader(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public JsonFormatCollectionReaderDelegate GenerateCollectionReader(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public JsonFormatGetOnlyCollectionReaderDelegate GenerateGetOnlyCollectionReader(CollectionDataContract collectionContract) { throw null; } } 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); internal class JsonFormatWriterGenerator { private class CriticalHelper { [MethodImpl(MethodImplOptions.NoInlining)] internal JsonFormatClassWriterDelegate GenerateClassWriter(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal JsonFormatCollectionWriterDelegate GenerateCollectionWriter(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CriticalHelper() { throw null; } } [SecurityCritical] private CriticalHelper helper; [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] public JsonFormatWriterGenerator() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] internal JsonFormatClassWriterDelegate GenerateClassWriter(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] internal JsonFormatCollectionWriterDelegate GenerateCollectionWriter(CollectionDataContract collectionContract) { throw null; } } internal static class JsonGlobals { public static readonly int DataContractXsdBaseNamespaceLength; public static readonly XmlDictionaryString dDictionaryString; public static readonly char[] floatingPointCharacters; public static readonly XmlDictionaryString itemDictionaryString; public static readonly XmlDictionaryString rootDictionaryString; public static readonly long unixEpochTicks; public const string applicationJsonMediaType = "application/json"; public const string arrayString = "array"; public const string booleanString = "boolean"; public const string CacheControlString = "Cache-Control"; public const byte CollectionByte = 91; public const char CollectionChar = '['; public const string DateTimeEndGuardReader = ")/"; public const string DateTimeEndGuardWriter = ")\\/"; public const string DateTimeStartGuardReader = "/Date("; public const string DateTimeStartGuardWriter = "\\/Date("; public const string dString = "d"; public const byte EndCollectionByte = 93; public const char EndCollectionChar = ']'; public const byte EndObjectByte = 125; public const char EndObjectChar = '}'; public const string ExpiresString = "Expires"; public const string IfModifiedSinceString = "If-Modified-Since"; public const string itemString = "item"; public const string jsonerrorString = "jsonerror"; public const string KeyString = "Key"; public const string LastModifiedString = "Last-Modified"; public const int maxScopeSize = 25; public const byte MemberSeparatorByte = 44; public const char MemberSeparatorChar = ','; public const byte NameValueSeparatorByte = 58; public const char NameValueSeparatorChar = ':'; public const string NameValueSeparatorString = ":"; public const string nullString = "null"; public const string numberString = "number"; public const byte ObjectByte = 123; public const char ObjectChar = '{'; public const string objectString = "object"; public const string publicString = "public"; public const byte QuoteByte = 34; public const char QuoteChar = '"'; public const string rootString = "root"; public const string serverTypeString = "__type"; public const string stringString = "string"; public const string textJsonMediaType = "text/json"; public const string trueString = "true"; public const string typeString = "type"; public const string ValueString = "Value"; public const char WhitespaceChar = ' '; public const string xmlnsPrefix = "xmlns"; public const string xmlPrefix = "xml"; [MethodImpl(MethodImplOptions.NoInlining)] static JsonGlobals() { throw null; } } internal enum JsonNodeType { None, Object, Element, EndElement, QuotedText, StandaloneText, Collection } internal class JsonObjectDataContract : JsonDataContract { [MethodImpl(MethodImplOptions.NoInlining)] public JsonObjectDataContract(DataContract traditionalDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static object ParseJsonNumber(string value, out TypeCode objectTypeCode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static object ParseJsonNumber(string value) { throw null; } } internal class JsonQNameDataContract : JsonDataContract { [MethodImpl(MethodImplOptions.NoInlining)] public JsonQNameDataContract(QNameDataContract traditionalQNameDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } } internal class JsonReaderDelegator : XmlReaderDelegator { private class DateTimeArrayJsonHelperWithString : ArrayHelper { private DateTimeFormat dateTimeFormat; [MethodImpl(MethodImplOptions.NoInlining)] public DateTimeArrayJsonHelperWithString(DateTimeFormat dateTimeFormat) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } } private DateTimeFormat dateTimeFormat; private DateTimeArrayJsonHelperWithString dateTimeArrayHelper; internal XmlDictionaryReaderQuotas ReaderQuotas { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private DateTimeArrayJsonHelperWithString DateTimeArrayHelper { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public JsonReaderDelegator(XmlReader reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public JsonReaderDelegator(XmlReader reader, DateTimeFormat dateTimeFormat) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlQualifiedName ParseQualifiedName(string qname) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override char ReadContentAsChar() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override XmlQualifiedName ReadContentAsQName() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override char ReadElementContentAsChar() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override byte[] ReadContentAsBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override byte[] ReadElementContentAsBase64() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DateTime ReadContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DateTime ParseJsonDate(string originalDateTimeValue, DateTimeFormat dateTimeFormat) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DateTime ParseJsonDateInDefaultFormat(string originalDateTimeValue) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DateTime ReadElementContentAsDateTime() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool TryReadJsonDateTimeArray(XmlObjectSerializerReadContext context, XmlDictionaryString itemName, XmlDictionaryString itemNamespace, int arrayLength, out DateTime[] array) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override ulong ReadContentAsUnsignedLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override ulong ReadElementContentAsUnsignedLong() { throw null; } } [TypeForwardedFrom("System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] public static class JsonReaderWriterFactory { private const string DefaultIndentChars = " "; [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateJsonReader(Stream stream, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateJsonReader(byte[] buffer, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateJsonReader(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, XmlDictionaryReaderQuotas quotas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateJsonWriter(Stream stream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, bool ownsStream, bool indent) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static XmlDictionaryWriter CreateJsonWriter(Stream stream, Encoding encoding, bool ownsStream, bool indent, string indentChars) { throw null; } } internal class JsonStringDataContract : JsonDataContract { [MethodImpl(MethodImplOptions.NoInlining)] public JsonStringDataContract(StringDataContract traditionalStringDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } } internal class JsonUriDataContract : JsonDataContract { [MethodImpl(MethodImplOptions.NoInlining)] public JsonUriDataContract(UriDataContract traditionalUriDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } } internal class JsonWriterDelegator : XmlWriterDelegator { private DateTimeFormat dateTimeFormat; [MethodImpl(MethodImplOptions.NoInlining)] public JsonWriterDelegator(XmlWriter writer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public JsonWriterDelegator(XmlWriter writer, DateTimeFormat dateTimeFormat) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteChar(char value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteBase64(byte[] bytes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteQName(XmlQualifiedName value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteUnsignedLong(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteDecimal(decimal value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteDouble(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteFloat(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteLong(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteSignedByte(sbyte value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteUnsignedInt(uint value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteUnsignedShort(ushort value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteUnsignedByte(byte value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteShort(short value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteBoolean(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteInt(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteJsonBooleanArray(bool[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteJsonDateTimeArray(DateTime[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteJsonDecimalArray(decimal[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteJsonInt32Array(int[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteJsonInt64Array(long[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteDateTime(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteDateTimeInDefaultFormat(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteJsonSingleArray(float[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteJsonDoubleArray(double[] value, XmlDictionaryString itemName, XmlDictionaryString itemNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteStartElement(string prefix, string localName, string ns) { throw null; } } internal class JsonXmlDataContract : JsonDataContract { [MethodImpl(MethodImplOptions.NoInlining)] public JsonXmlDataContract(XmlDataContract traditionalXmlDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override object ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteJsonValueCore(XmlWriterDelegator jsonWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private List GetKnownTypesFromContext(XmlObjectSerializerContext context, IList serializerKnownTypeList) { throw null; } } internal class XmlJsonReader : XmlBaseReader, IXmlJsonReaderInitializer { private enum JsonComplexTextMode { QuotedText, NumericalText, None } private static class CharType { public const byte FirstName = 1; public const byte Name = 2; public const byte None = 0; } private const int MaxTextChunk = 2048; private static byte[] charType; private bool buffered; private byte[] charactersToSkipOnNextRead; private JsonComplexTextMode complexTextMode; private bool expectingFirstElementInNonPrimitiveChild; private int maxBytesPerRead; private OnXmlDictionaryReaderClose onReaderClose; private bool readServerTypeElement; private int scopeDepth; private JsonNodeType[] scopes; public override bool CanCanonicalize { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string Value { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool IsAttributeValue { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool IsReadingCollection { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool IsReadingComplexText { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void EndCanonicalization() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string localName, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string GetAttribute(XmlDictionaryString localName, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override bool Read() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override decimal ReadContentAsDecimal() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadContentAsInt() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override long ReadContentAsLong() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueAsBase64(byte[] buffer, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override int ReadValueChunk(char[] chars, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetInput(byte[] buffer, int offset, int count, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetInput(Stream stream, Encoding encoding, XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void StartCanonicalization(Stream stream, bool includeComments, string[] inclusivePrefixes) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void CheckArray(Array array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override XmlSigningNodeWriter CreateSigningNodeWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int BreakText(byte[] buffer, int offset, int length) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ComputeNumericalTextLength(byte[] buffer, int offset, int offsetMax) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ComputeQuotedTextLengthUntilEndQuote(byte[] buffer, int offset, int offsetMax, out bool escaped) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsWhitespace(byte ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static char ParseChar(string value, NumberStyles style) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static int ParseInt(string value, NumberStyles style) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void BufferElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnterJsonScope(JsonNodeType currentNodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private JsonNodeType ExitJsonScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private new void MoveToEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void MoveToInitial(XmlDictionaryReaderQuotas quotas, OnXmlDictionaryReaderClose onClose) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ParseAndSetLocalName() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ParseStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadAttributes() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadEscapedCharacter(bool moveToText) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadNonExistentElementName(StringHandleConstStringType elementName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadNonFFFE() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadNumericalText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadQuotedText(bool moveToText) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadServerTypeAttribute(bool consumedObjectChar) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ResetState() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetJsonNameWithMapping(XmlElementNode elementNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SkipExpectedByteInBufferReader(byte characterToSkip) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SkipWhitespaceInBufferReader() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryGetByte(out byte ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private string UnescapeJsonString(string val) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlJsonReader() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static XmlJsonReader() { throw null; } } internal class XmlJsonWriter : XmlDictionaryWriter, IXmlJsonWriterInitializer { private enum JsonDataType { None, Null, Boolean, Number, String, Object, Array } [Flags] private enum NameState { None = 0, IsWritingNameWithMapping = 1, IsWritingNameAttribute = 2, WrittenNameWithMapping = 4 } private class JsonNodeWriter : XmlUTF8NodeWriter { [MethodImpl(MethodImplOptions.NoInlining)] [SecurityCritical] internal unsafe void WriteChars(char* chars, int charCount) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public JsonNodeWriter() { throw null; } } private const char BACK_SLASH = '\\'; private const char FORWARD_SLASH = '/'; private const char HIGH_SURROGATE_START = '\ud800'; private const char LOW_SURROGATE_END = '\udfff'; private const char MAX_CHAR = '\ufffe'; private const char WHITESPACE = ' '; private const char CARRIAGE_RETURN = '\r'; private const char NEWLINE = '\n'; private const char BACKSPACE = '\b'; private const char FORM_FEED = '\f'; private const char HORIZONTAL_TABULATION = '\t'; private const string xmlNamespace = "http://www.w3.org/XML/1998/namespace"; private const string xmlnsNamespace = "http://www.w3.org/2000/xmlns/"; [SecurityCritical] private static BinHexEncoding binHexEncoding; private static char[] CharacterAbbrevs; private string attributeText; private JsonDataType dataType; private int depth; private bool endElementBuffer; private bool isWritingDataTypeAttribute; private bool isWritingServerTypeAttribute; private bool isWritingXmlnsAttribute; private bool isWritingXmlnsAttributeDefaultNs; private NameState nameState; private JsonNodeType nodeType; private JsonNodeWriter nodeWriter; private JsonNodeType[] scopes; private string serverTypeValue; private WriteState writeState; private bool wroteServerTypeAttribute; private bool indent; private string indentChars; private int indentLevel; public override XmlWriterSettings Settings { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override WriteState WriteState { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override string XmlLang { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public override XmlSpace XmlSpace { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private static BinHexEncoding BinHexEncoding { [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] get { throw null; } } private bool HasOpenAttribute { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool IsClosed { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool IsWritingCollection { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool IsWritingNameAttribute { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool IsWritingNameWithMapping { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private bool WrittenNameWithMapping { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlJsonWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlJsonWriter(bool indent, string indentChars) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static char[] GetCharacterAbbrevs() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool TryEscapeControlCharacter(char ch, out char abbrev) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Close() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void Flush() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override string LookupPrefix(string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void SetOutput(Stream stream, Encoding encoding, bool ownsStream) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, string localName, string namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, bool[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, decimal[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, double[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, float[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, int[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, long[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, short[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, DateTime[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Guid[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, TimeSpan[] array, int offset, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBase64(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteBinHex(byte[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCData(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteCharEntity(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteChars(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteComment(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteDocType(string name, string pubid, string sysid, string subset) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteEntityRef(string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteFullEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteProcessingInstruction(string name, string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteQualifiedName(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(string data) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteRaw(char[] buffer, int index, int count) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartAttribute(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument(bool standalone) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartDocument() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteStartElement(string prefix, string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteString(string text) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteSurrogateCharEntity(char lowChar, char highChar) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(bool value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(decimal value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(double value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(float value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(int value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(long value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(Guid value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(DateTime value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(TimeSpan value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(UniqueId value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteValue(object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteWhitespace(string ws) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlAttribute(string localName, string value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlAttribute(XmlDictionaryString localName, XmlDictionaryString value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, string namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public override void WriteXmlnsAttribute(string prefix, XmlDictionaryString namespaceUri) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool CharacterNeedsEscaping(char ch) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void ThrowClosed() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CheckText(JsonNodeType nextNodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void EnterScope(JsonNodeType currentNodeType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private JsonNodeType ExitScope() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InitializeWriter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsUnicodeNewlineCharacter(char c) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void StartText() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowIfServerTypeWritten(string dataTypeSpecified) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowInvalidAttributeContent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TrySetWritingNameWithMapping(string localName, string ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteDataTypeServerType() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private void WriteEscapedJsonString(string str) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteIndent() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteNewLine() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteJsonElementName(string localName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteJsonQuote() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WritePrimitiveValue(object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteServerTypeAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteValue(ulong value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteValue(Array array) { throw null; } } internal class XmlObjectSerializerReadContextComplexJson : XmlObjectSerializerReadContextComplex { private string extensionDataValueType; private DateTimeFormat dateTimeFormat; private bool useSimpleDictionaryFormat; internal IList SerializerKnownTypeList { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool UseSimpleDictionaryFormat { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlObjectSerializerReadContextComplexJson(DataContractJsonSerializer serializer, DataContract rootTypeDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void StartReadExtensionDataValue(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override IDataNode ReadPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private IDataNode ReadNumericalPrimitiveExtensionDataValue(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlObjectSerializerReadContextComplexJson CreateContext(DataContractJsonSerializer serializer, DataContract rootTypeDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override int GetArraySize() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override object ReadDataContractValue(DataContract dataContract, XmlReaderDelegator reader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void ReadAttributes(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int GetJsonMemberIndex(XmlReaderDelegator xmlReader, XmlDictionaryString[] memberNames, int memberIndex, ExtensionDataObject extensionData) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool TryGetJsonLocalName(XmlReaderDelegator xmlReader, out string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static string GetJsonMemberName(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowMissingRequiredMembers(object obj, XmlDictionaryString[] memberNames, byte[] expectedElements, byte[] requiredElements) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowDuplicateMemberException(object obj, XmlDictionaryString[] memberNames, int memberIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static bool IsBitSet(byte[] bytes, int bitIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override bool IsReadingCollectionExtensionData(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override bool IsReadingClassExtensionData(XmlReaderDelegator xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override XmlReaderDelegator CreateReaderDelegatorForReader(XmlReader xmlReader) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContract(RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContractSkipValidation(int typeId, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContract(int id, RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override DataContract ResolveDataContractFromRootDataContract(XmlQualifiedName typeQName) { throw null; } } internal class XmlObjectSerializerWriteContextComplexJson : XmlObjectSerializerWriteContextComplex { private EmitTypeInformation emitXsiType; private bool perCallXsiTypeAlreadyEmitted; private bool useSimpleDictionaryFormat; internal IList SerializerKnownTypeList { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public bool UseSimpleDictionaryFormat { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal XmlDictionaryString CollectionItemName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XmlObjectSerializerWriteContextComplexJson(DataContractJsonSerializer serializer, DataContract rootTypeDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static XmlObjectSerializerWriteContextComplexJson CreateContext(DataContractJsonSerializer serializer, DataContract rootTypeDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, Type dataContractType, string clrTypeName, string clrAssemblyName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override bool WriteClrTypeInfo(XmlWriterDelegator xmlWriter, DataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteArraySize(XmlWriterDelegator xmlWriter, int size) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteTypeInfo(XmlWriterDelegator writer, string dataContractName, string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static string TruncateDefaultDataContractNamespace(string dataContractNamespace) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool RequiresJsonTypeInfo(DataContract contract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteTypeInfo(XmlWriterDelegator writer, string typeInformation) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override bool WriteTypeInfo(XmlWriterDelegator writer, DataContract contract, DataContract declaredContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal void WriteJsonISerializable(XmlWriterDelegator xmlWriter, ISerializable obj) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract GetRevisedItemContract(DataContract oldItemContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle declaredTypeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void WriteNull(XmlWriterDelegator xmlWriter) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void WriteJsonNameWithMapping(XmlWriterDelegator xmlWriter, XmlDictionaryString[] memberNames, int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void WriteExtensionDataTypeInfo(XmlWriterDelegator xmlWriter, IDataNode dataNode) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void SerializeWithXsiType(XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle objectTypeHandle, Type objectType, int declaredTypeID, RuntimeTypeHandle declaredTypeHandle, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void VerifyObjectCompatibilityWithInterface(DataContract contract, object graph, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void HandleCollectionAssignedToObject(Type declaredType, ref DataContract dataContract, ref object obj, ref bool verifyKnownType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override void SerializeWithXsiTypeAtTopLevel(DataContract dataContract, XmlWriterDelegator xmlWriter, object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void VerifyType(DataContract dataContract, Type declaredType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContract(RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContractSkipValidation(int typeId, RuntimeTypeHandle typeHandle, Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal override DataContract GetDataContract(int id, RuntimeTypeHandle typeHandle) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static DataContract ResolveJsonDataContractFromRootDataContract(XmlObjectSerializerContext context, XmlQualifiedName typeQName, DataContract rootTypeDataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override DataContract ResolveDataContractFromRootDataContract(XmlQualifiedName typeQName) { throw null; } } internal class JsonFormatReaderInterpreter { private enum KeyParseMode { Fail, AsString, UsingParseEnum, UsingCustomParse } private bool is_get_only_collection; private ClassDataContract classContract; private CollectionDataContract collectionContract; private object objectLocal; private Type objectType; private XmlReaderDelegator xmlReader; private XmlObjectSerializerReadContextComplexJson context; private XmlDictionaryString[] memberNames; private XmlDictionaryString emptyDictionaryString; private XmlDictionaryString itemName; private XmlDictionaryString itemNamespace; [MethodImpl(MethodImplOptions.NoInlining)] public JsonFormatReaderInterpreter(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public JsonFormatReaderInterpreter(CollectionDataContract collectionContract, bool isGetOnly) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object ReadFromJson(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString[] memberNames) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public object ReadCollectionFromJson(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString itemName, CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void ReadGetOnlyCollectionFromJson(XmlReaderDelegator xmlReader, XmlObjectSerializerReadContextComplexJson context, XmlDictionaryString emptyDictionaryString, XmlDictionaryString itemName, CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void CreateObject(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InvokeOnDeserializing(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InvokeOnDeserialized(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool HasFactoryMethod(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool InvokeFactoryMethod(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadISerializable(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadClass(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadMembers(ClassDataContract classContract, ExtensionDataObject extensionData) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int ReadMembers(int index, ClassDataContract classContract, BitFlagsGenerator expectedElements, ref int memberIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool CheckRequiredElements(BitFlagsGenerator expectedElements, byte[] requiredElements) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int SetRequiredElements(ClassDataContract contract, byte[] requiredElements) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void SetExpectedElements(BitFlagsGenerator expectedElements, int startIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ResetExpectedElements(BitFlagsGenerator expectedElements, int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object ReadValue(Type type, string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object InternalDeserialize(Type type, string name) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object WrapNullableObject(Type innerType, object innerValue, Type outerType, int nullables) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadCollection(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadSimpleDictionary(CollectionDataContract collectionContract, Type keyValueType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ReadGetOnlyCollection(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryReadPrimitiveArray(Type itemType, out bool readResult) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object ReadCollectionItem(CollectionDataContract collectionContract, Type itemType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void StoreCollectionValue(object collection, Type valueType, object value, CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void HandleUnexpectedItemInCollection(ref int iterator) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsStartElement(XmlDictionaryString name, XmlDictionaryString ns) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsStartElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool IsEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowUnexpectedStateException(XmlNodeType expectedState) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void ThrowSerializationException(string msg, params object[] values) { throw null; } } internal class JsonFormatWriterInterpreter { private ClassDataContract classContract; private CollectionDataContract collectionContract; private XmlWriterDelegator writer; private object obj; private XmlObjectSerializerWriteContextComplexJson context; private DataContract dataContract; private object objLocal; private XmlDictionaryString[] memberNames; private int typeIndex; private int childElementIndex; private ClassDataContract classDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } private CollectionDataContract collectionDataContract { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public JsonFormatWriterInterpreter(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public JsonFormatWriterInterpreter(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteToJson(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, ClassDataContract dataContract, XmlDictionaryString[] memberNames) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void WriteCollectionToJson(XmlWriterDelegator xmlWriter, object obj, XmlObjectSerializerWriteContextComplexJson context, CollectionDataContract dataContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InitArgs(Type objType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InvokeOnSerializing(ClassDataContract classContract, object objSerialized, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InvokeOnSerialized(ClassDataContract classContract, object objSerialized, XmlObjectSerializerWriteContext context) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteClass(ClassDataContract classContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteCollection(CollectionDataContract collectionContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private int WriteMembers(ClassDataContract classContract, ExtensionDataObject extensionData, ClassDataContract derivedMostClassContract) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal bool IsDefaultValue(Type type, object value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal object GetDefaultValue(Type type) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteStartElement(object nameLocal, int nameIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteEndElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteArrayAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteObjectAttribute() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void WriteValue(Type memberType, object memberValue) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private void InternalSerialize(MethodInfo methodInfo, Func memberValue, Type memberType, bool writeXsiType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object UnwrapNullableObject(Func memberValue, ref Type memberType, out bool isNull) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryWritePrimitive(Type type, Func value, MemberInfo memberInfo, int? arrayItemIndex, XmlDictionaryString name, int nameIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private bool TryWritePrimitiveArray(Type type, Type itemType, Func value, XmlDictionaryString itemName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private object LoadMemberValue(DataMember member) { throw null; } } } namespace System.Runtime.Serialization.Diagnostics { internal static class TraceCode { public const int Serialization = 196608; public const int WriteObjectBegin = 196609; public const int WriteObjectEnd = 196610; public const int WriteObjectContentBegin = 196611; public const int WriteObjectContentEnd = 196612; public const int ReadObjectBegin = 196613; public const int ReadObjectEnd = 196614; public const int ElementIgnored = 196615; public const int XsdExportBegin = 196616; public const int XsdExportEnd = 196617; public const int XsdImportBegin = 196618; public const int XsdImportEnd = 196619; public const int XsdExportError = 196620; public const int XsdImportError = 196621; public const int XsdExportAnnotationFailed = 196622; public const int XsdImportAnnotationFailed = 196623; public const int XsdExportDupItems = 196624; public const int FactoryTypeNotFound = 196625; public const int ObjectWithLargeDepth = 196626; } internal static class TraceUtility { private static Dictionary traceCodes; [MethodImpl(MethodImplOptions.NoInlining)] internal static void Trace(TraceEventType severity, int traceCode, string traceDescription) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void Trace(TraceEventType severity, int traceCode, string traceDescription, TraceRecord record) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void Trace(TraceEventType severity, int traceCode, string traceDescription, TraceRecord record, Exception exception) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static TraceUtility() { throw null; } } } namespace System.Runtime.Serialization.Diagnostics.Application { internal class TD { private static ResourceManager resourceManager; private static CultureInfo resourceCulture; [SecurityCritical] private static EventDescriptor[] eventDescriptors; private static object syncLock; private static volatile bool eventDescriptorsCreated; private static ResourceManager ResourceManager { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } internal static CultureInfo Culture { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] private TD() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool ReaderQuotaExceededIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void ReaderQuotaExceeded(string param0) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCSerializeWithSurrogateStartIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCSerializeWithSurrogateStart(string SurrogateType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCSerializeWithSurrogateStopIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCSerializeWithSurrogateStop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCDeserializeWithSurrogateStartIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCDeserializeWithSurrogateStart(string SurrogateType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCDeserializeWithSurrogateStopIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCDeserializeWithSurrogateStop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool ImportKnownTypesStartIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void ImportKnownTypesStart() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool ImportKnownTypesStopIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void ImportKnownTypesStop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCResolverResolveIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCResolverResolve(string TypeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCGenWriterStartIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCGenWriterStart(string Kind, string TypeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCGenWriterStopIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCGenWriterStop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCGenReaderStartIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCGenReaderStart(string Kind, string TypeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCGenReaderStopIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCGenReaderStop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCJsonGenReaderStartIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCJsonGenReaderStart(string Kind, string TypeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCJsonGenReaderStopIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCJsonGenReaderStop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCJsonGenWriterStartIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCJsonGenWriterStart(string Kind, string TypeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool DCJsonGenWriterStopIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void DCJsonGenWriterStop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool GenXmlSerializableStartIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void GenXmlSerializableStart(string DCType) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static bool GenXmlSerializableStopIsEnabled() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] internal static void GenXmlSerializableStop() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static void CreateEventDescriptors() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static void EnsureEventDescriptors() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] private static bool IsEtwEventEnabled(int eventIndex) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static bool WriteEtwEvent(int eventIndex, EventTraceActivity eventParam0, string eventParam1, string eventParam2) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static bool WriteEtwEvent(int eventIndex, EventTraceActivity eventParam0, string eventParam1) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] private static bool WriteEtwEvent(int eventIndex, EventTraceActivity eventParam0, string eventParam1, string eventParam2, string eventParam3) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] static TD() { throw null; } } } namespace System.Runtime.Serialization { [EditorBrowsable(EditorBrowsableState.Never)] public static class DataContractSerializerExtensions { [MethodImpl(MethodImplOptions.NoInlining)] [EditorBrowsable(EditorBrowsableState.Never)] public static ISerializationSurrogateProvider GetSerializationSurrogateProvider(this DataContractSerializer serializer) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [EditorBrowsable(EditorBrowsableState.Never)] public static void SetSerializationSurrogateProvider(this DataContractSerializer serializer, ISerializationSurrogateProvider provider) { throw null; } } public class ImportOptions { public CodeDomProvider CodeProvider { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public IDataContractSurrogate DataContractSurrogate { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool EnableDataBinding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool GenerateInternal { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool GenerateSerializable { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public bool ImportXmlType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public IDictionary Namespaces { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ICollection ReferencedCollectionTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ICollection ReferencedTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ImportOptions() { throw null; } } public class XsdDataContractImporter { public CodeCompileUnit CodeCompileUnit { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ImportOptions Options { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public XsdDataContractImporter() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XsdDataContractImporter(CodeCompileUnit codeCompileUnit) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool CanImport(XmlSchemaSet schemas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool CanImport(XmlSchemaSet schemas, ICollection typeNames) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool CanImport(XmlSchemaSet schemas, XmlSchemaElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool CanImport(XmlSchemaSet schemas, XmlQualifiedName typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference GetCodeTypeReference(XmlQualifiedName typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public CodeTypeReference GetCodeTypeReference(XmlQualifiedName typeName, XmlSchemaElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ICollection GetKnownTypeReferences(XmlQualifiedName typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Import(XmlSchemaSet schemas) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Import(XmlSchemaSet schemas, ICollection typeNames) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public XmlQualifiedName Import(XmlSchemaSet schemas, XmlSchemaElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Import(XmlSchemaSet schemas, XmlQualifiedName typeName) { throw null; } } } namespace System.Runtime.Serialization.Configuration { public sealed class DataContractSerializerSection : ConfigurationSection { public DeclaredTypeElementCollection DeclaredTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected override ConfigurationPropertyCollection Properties { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DataContractSerializerSection() { throw null; } } [ConfigurationCollection(typeof(DeclaredTypeElement))] public sealed class DeclaredTypeElementCollection : ConfigurationElementCollection { public DeclaredTypeElement this[string typeName] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DeclaredTypeElementCollection() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SpecialName] public DeclaredTypeElement get_Item(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SpecialName] public void set_Item(int index, DeclaredTypeElement value) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Add(DeclaredTypeElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Contains(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override ConfigurationElement CreateNewElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override object GetElementKey(ConfigurationElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int IndexOf(DeclaredTypeElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Remove(DeclaredTypeElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Remove(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void RemoveAt(int index) { throw null; } } public sealed class DeclaredTypeElement : ConfigurationElement { public TypeElementCollection KnownTypes { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected override ConfigurationPropertyCollection Properties { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Type { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public DeclaredTypeElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public DeclaredTypeElement(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] [SecuritySafeCritical] protected override void PostDeserialize() { throw null; } } [ConfigurationCollection(/*Could not decode attribute arguments.*/)] public sealed class TypeElementCollection : ConfigurationElementCollection { public override ConfigurationElementCollectionType CollectionType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected override string ElementName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public TypeElement this[int index] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public TypeElementCollection() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Add(TypeElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override ConfigurationElement CreateNewElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override object GetElementKey(ConfigurationElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int IndexOf(TypeElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Remove(TypeElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void RemoveAt(int index) { throw null; } } public sealed class TypeElement : ConfigurationElement { public int Index { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public ParameterElementCollection Parameters { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected override ConfigurationPropertyCollection Properties { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Type { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public TypeElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public TypeElement(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void Reset(ConfigurationElement parentElement) { throw null; } } [ConfigurationCollection(/*Could not decode attribute arguments.*/)] public sealed class ParameterElementCollection : ConfigurationElementCollection { public override ConfigurationElementCollectionType CollectionType { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected override string ElementName { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public ParameterElement this[int index] { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ParameterElementCollection() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Add(ParameterElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Clear() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public bool Contains(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override ConfigurationElement CreateNewElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override object GetElementKey(ConfigurationElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public int IndexOf(ParameterElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void Remove(ParameterElement element) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public void RemoveAt(int index) { throw null; } } public sealed class ParameterElement : ConfigurationElement { public int Index { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } public ParameterElementCollection Parameters { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected override ConfigurationPropertyCollection Properties { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public string Type { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] set { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public ParameterElement() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ParameterElement(int index) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public ParameterElement(string typeName) { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void PostDeserialize() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] protected override void PreSerialize(XmlWriter writer) { throw null; } } public sealed class NetDataContractSerializerSection : ConfigurationSection { public bool EnableUnsafeTypeForwarding { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } protected override ConfigurationPropertyCollection Properties { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public NetDataContractSerializerSection() { throw null; } } public sealed class SerializationSectionGroup : ConfigurationSectionGroup { public DataContractSerializerSection DataContractSerializer { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } public NetDataContractSerializerSection NetDataContractSerializer { [MethodImpl(MethodImplOptions.NoInlining)] get { throw null; } } [MethodImpl(MethodImplOptions.NoInlining)] public SerializationSectionGroup() { throw null; } [MethodImpl(MethodImplOptions.NoInlining)] public static SerializationSectionGroup GetSectionGroup(Configuration config) { throw null; } } } namespace Unity { internal sealed class ThrowStub : ObjectDisposedException { [MethodImpl(MethodImplOptions.NoInlining)] public static void ThrowNotSupportedException() { throw null; } } }