28 Type type =
Type.
GetType(
"System.Xml.Linq.XDocument, System.Private.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51");
31 Type type2 =
Type.
GetType(
"System.Xml.Linq.XElement, System.Private.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51");
35 Type type3 =
Type.
GetType(
"System.Xml.Linq.XName, System.Private.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51");
54 internal static string GetValue(
object element)
71 result._enumerator =
null;
79 bool flag =
value !=
null;
109 for (num++; num !=
index; num++)
112 if (localName == localName2)
139 if (xmlString ==
null)
155 return state.HasElement(name);
165 if (
value.Length == 0)
167 return Array.Empty<
byte>();
173 byte[]
array =
new byte[sizeHint];
176 if (bytesWritten == sizeHint)
180 int num = sizeHint - bytesWritten;
182 array.AsSpan(0, num).Clear();
191 for (
int i =
Math.
Max(0, buf.Length - 4); i < buf.Length; i++)
227 int num3 =
Math.
Min(192, num2);
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
static void WriteInt32BigEndian(Span< byte > destination, int value)
static unsafe bool TryToBase64Chars(ReadOnlySpan< byte > bytes, Span< char > chars, out int charsWritten, Base64FormattingOptions options=Base64FormattingOptions.None)
static bool TryFromBase64Chars(ReadOnlySpan< char > chars, Span< byte > bytes, out int bytesWritten)
static unsafe byte[] FromBase64String(string s)
static byte Min(byte val1, byte val2)
static byte Max(byte val1, byte val2)
static string Cryptography_FromXmlParseError
static readonly PropertyInfo s_nameNameProperty
static readonly PropertyInfo s_elementValueProperty
static string GetValue(object element)
static readonly Func< string, object > s_xDocumentCreate
static string GetLocalName(object element)
static readonly PropertyInfo s_elementNameProperty
static readonly MethodInfo s_getElementsMethod
static IEnumerable GetElements(object element)
static object ParseDocument(string xmlString)
static readonly PropertyInfo s_docRootProperty
static void WriteCryptoBinary(string name, int value, StringBuilder builder)
static bool HasElement(ref ParseState state, string name)
static int ReadCryptoBinaryInt32(byte[] buf)
static void WriteCryptoBinary(string name, ReadOnlySpan< byte > value, StringBuilder builder)
static byte[] ReadCryptoBinary(ref ParseState state, string name, int sizeHint=-1)
static ParseState ParseDocument(string xmlString)
StringBuilder Append(char value, int repeatCount)
static ? Type GetType(string typeName, bool throwOnError, bool ignoreCase)
PropertyInfo? GetProperty(string name)
static readonly Type[] EmptyTypes
MethodInfo? GetMethod(string name)
IEnumerator GetEnumerator()
static ParseState ParseDocument(string xmlString)
string GetValue(string localName)
bool HasElement(string localName)