22 "System.Runtime.WindowsRuntime",
"System.Runtime",
"System.ObjectModel",
"System.Runtime.WindowsRuntime.UI.Xaml",
"System.Runtime.InteropServices.WindowsRuntime",
"System.Numerics.Vectors",
"Dispose",
"AttributeTargets",
"AttributeUsageAttribute",
"Color",
23 "CornerRadius",
"DateTimeOffset",
"Duration",
"DurationType",
"EventHandler`1",
"EventRegistrationToken",
"Exception",
"GeneratorPosition",
"GridLength",
"GridUnitType",
24 "ICommand",
"IDictionary`2",
"IDisposable",
"IEnumerable",
"IEnumerable`1",
"IList",
"IList`1",
"INotifyCollectionChanged",
"INotifyPropertyChanged",
"IReadOnlyDictionary`2",
25 "IReadOnlyList`1",
"KeyTime",
"KeyValuePair`2",
"Matrix",
"Matrix3D",
"Matrix3x2",
"Matrix4x4",
"NotifyCollectionChangedAction",
"NotifyCollectionChangedEventArgs",
"NotifyCollectionChangedEventHandler",
26 "Nullable`1",
"Plane",
"Point",
"PropertyChangedEventArgs",
"PropertyChangedEventHandler",
"Quaternion",
"Rect",
"RepeatBehavior",
"RepeatBehaviorType",
"Size",
27 "System",
"System.Collections",
"System.Collections.Generic",
"System.Collections.Specialized",
"System.ComponentModel",
"System.Numerics",
"System.Windows.Input",
"Thickness",
"TimeSpan",
"Type",
28 "Uri",
"Vector2",
"Vector3",
"Vector4",
"Windows.Foundation",
"Windows.UI",
"Windows.UI.Xaml",
"Windows.UI.Xaml.Controls.Primitives",
"Windows.UI.Xaml.Media",
"Windows.UI.Xaml.Media.Animation",
29 "Windows.UI.Xaml.Media.Media3D"
41 int num = block.Length - 1;
42 while (num >= 0 && block.
PeekByte(num) == 0)
46 if (num == block.
Length - 1)
78 char terminator = ((handle.StringKind ==
StringKind.DotTerminated) ?
'.' :
'\0');
79 int numberOfBytesRead;
85 char terminator = ((handle.StringKind ==
StringKind.DotTerminated) ?
'.' :
'\0');
86 int heapOffset =
handle.GetHeapOffset();
87 int numberOfBytesRead;
95 byte[]
array =
new byte[prefix.Length + nonVirtualStringMemoryBlock.
Length];
103 return handle.StringKind
switch
114 lock (orCreateVirtualHeap)
118 byte[]
value = handle.StringKind
switch
157 return value.Length == 0;
159 char terminator = ((handle.StringKind ==
StringKind.DotTerminated) ?
'.' :
'\0');
171 return value.Length == 0;
173 char terminator = ((handle.StringKind ==
StringKind.DotTerminated) ?
'.' :
'\0');
static void BlockCopy(Array src, int srcOffset, Array dst, int dstOffset, int count)
static Exception UnexpectedValue(object value)
static void Copy(int[] source, int startIndex, IntPtr destination, int length)
unsafe MemoryBlock GetMemoryBlockAt(int offset, int length)
bool Utf8NullTerminatedEquals(int offset, string text, MetadataStringDecoder utf8Decoder, char terminator, bool ignoreCase)
unsafe int Utf8NullTerminatedOffsetOfAsciiChar(int startOffset, char asciiChar)
unsafe readonly byte * Pointer
unsafe string PeekUtf8NullTerminated(int offset, byte[]? prefix, MetadataStringDecoder utf8Decoder, out int numberOfBytesRead, char terminator='\0')
unsafe bool Utf8NullTerminatedStringStartsWithAsciiPrefix(int offset, string asciiPrefix)
unsafe int GetUtf8NullTerminatedLength(int offset, out int numberOfBytesRead, char terminator='\0')
int BinarySearch(string[] asciiKeys, int offset)
unsafe int CompareUtf8NullTerminatedStringWithAsciiString(int offset, string asciiString)
bool Utf8NullTerminatedStartsWith(int offset, string text, MetadataStringDecoder utf8Decoder, char terminator, bool ignoreCase)
unsafe byte PeekByte(int offset)
int IndexOf(byte b, int start)