Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ StringHeap()

System.Reflection.Metadata.Ecma335.StringHeap.StringHeap ( MemoryBlock block,
MetadataKind metadataKind )
inlinepackage

Definition at line 15 of file StringHeap.cs.

16 {
17 _lazyVirtualHeap = null;
18 if (s_virtualValues == null && metadataKind != 0)
19 {
20 s_virtualValues = new string[71]
21 {
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"
30 };
31 }
32 Block = TrimEnd(block);
33 }
static MemoryBlock TrimEnd(MemoryBlock block)
Definition StringHeap.cs:35

References System.Reflection.Metadata.Ecma335.StringHeap._lazyVirtualHeap, System.Reflection.Metadata.Ecma335.StringHeap.Block, System.Reflection.Metadata.Ecma335.StringHeap.s_virtualValues, and System.Reflection.Metadata.Ecma335.StringHeap.TrimEnd().