192 references to VirtualIndex
System.Reflection.Metadata (192)
System\Reflection\Metadata\Internal\StringHeap.cs (74)
29var values = new string[(int)StringHandle.VirtualIndex.Count]; 30values[(int)StringHandle.VirtualIndex.System_Runtime_WindowsRuntime] = "System.Runtime.WindowsRuntime"; 31values[(int)StringHandle.VirtualIndex.System_Runtime] = "System.Runtime"; 32values[(int)StringHandle.VirtualIndex.System_ObjectModel] = "System.ObjectModel"; 33values[(int)StringHandle.VirtualIndex.System_Runtime_WindowsRuntime_UI_Xaml] = "System.Runtime.WindowsRuntime.UI.Xaml"; 34values[(int)StringHandle.VirtualIndex.System_Runtime_InteropServices_WindowsRuntime] = "System.Runtime.InteropServices.WindowsRuntime"; 35values[(int)StringHandle.VirtualIndex.System_Numerics_Vectors] = "System.Numerics.Vectors"; 37values[(int)StringHandle.VirtualIndex.Dispose] = "Dispose"; 39values[(int)StringHandle.VirtualIndex.AttributeTargets] = "AttributeTargets"; 40values[(int)StringHandle.VirtualIndex.AttributeUsageAttribute] = "AttributeUsageAttribute"; 41values[(int)StringHandle.VirtualIndex.Color] = "Color"; 42values[(int)StringHandle.VirtualIndex.CornerRadius] = "CornerRadius"; 43values[(int)StringHandle.VirtualIndex.DateTimeOffset] = "DateTimeOffset"; 44values[(int)StringHandle.VirtualIndex.Duration] = "Duration"; 45values[(int)StringHandle.VirtualIndex.DurationType] = "DurationType"; 46values[(int)StringHandle.VirtualIndex.EventHandler1] = "EventHandler`1"; 47values[(int)StringHandle.VirtualIndex.EventRegistrationToken] = "EventRegistrationToken"; 48values[(int)StringHandle.VirtualIndex.Exception] = "Exception"; 49values[(int)StringHandle.VirtualIndex.GeneratorPosition] = "GeneratorPosition"; 50values[(int)StringHandle.VirtualIndex.GridLength] = "GridLength"; 51values[(int)StringHandle.VirtualIndex.GridUnitType] = "GridUnitType"; 52values[(int)StringHandle.VirtualIndex.ICommand] = "ICommand"; 53values[(int)StringHandle.VirtualIndex.IDictionary2] = "IDictionary`2"; 54values[(int)StringHandle.VirtualIndex.IDisposable] = "IDisposable"; 55values[(int)StringHandle.VirtualIndex.IEnumerable] = "IEnumerable"; 56values[(int)StringHandle.VirtualIndex.IEnumerable1] = "IEnumerable`1"; 57values[(int)StringHandle.VirtualIndex.IList] = "IList"; 58values[(int)StringHandle.VirtualIndex.IList1] = "IList`1"; 59values[(int)StringHandle.VirtualIndex.INotifyCollectionChanged] = "INotifyCollectionChanged"; 60values[(int)StringHandle.VirtualIndex.INotifyPropertyChanged] = "INotifyPropertyChanged"; 61values[(int)StringHandle.VirtualIndex.IReadOnlyDictionary2] = "IReadOnlyDictionary`2"; 62values[(int)StringHandle.VirtualIndex.IReadOnlyList1] = "IReadOnlyList`1"; 63values[(int)StringHandle.VirtualIndex.KeyTime] = "KeyTime"; 64values[(int)StringHandle.VirtualIndex.KeyValuePair2] = "KeyValuePair`2"; 65values[(int)StringHandle.VirtualIndex.Matrix] = "Matrix"; 66values[(int)StringHandle.VirtualIndex.Matrix3D] = "Matrix3D"; 67values[(int)StringHandle.VirtualIndex.Matrix3x2] = "Matrix3x2"; 68values[(int)StringHandle.VirtualIndex.Matrix4x4] = "Matrix4x4"; 69values[(int)StringHandle.VirtualIndex.NotifyCollectionChangedAction] = "NotifyCollectionChangedAction"; 70values[(int)StringHandle.VirtualIndex.NotifyCollectionChangedEventArgs] = "NotifyCollectionChangedEventArgs"; 71values[(int)StringHandle.VirtualIndex.NotifyCollectionChangedEventHandler] = "NotifyCollectionChangedEventHandler"; 72values[(int)StringHandle.VirtualIndex.Nullable1] = "Nullable`1"; 73values[(int)StringHandle.VirtualIndex.Plane] = "Plane"; 74values[(int)StringHandle.VirtualIndex.Point] = "Point"; 75values[(int)StringHandle.VirtualIndex.PropertyChangedEventArgs] = "PropertyChangedEventArgs"; 76values[(int)StringHandle.VirtualIndex.PropertyChangedEventHandler] = "PropertyChangedEventHandler"; 77values[(int)StringHandle.VirtualIndex.Quaternion] = "Quaternion"; 78values[(int)StringHandle.VirtualIndex.Rect] = "Rect"; 79values[(int)StringHandle.VirtualIndex.RepeatBehavior] = "RepeatBehavior"; 80values[(int)StringHandle.VirtualIndex.RepeatBehaviorType] = "RepeatBehaviorType"; 81values[(int)StringHandle.VirtualIndex.Size] = "Size"; 82values[(int)StringHandle.VirtualIndex.System] = "System"; 83values[(int)StringHandle.VirtualIndex.System_Collections] = "System.Collections"; 84values[(int)StringHandle.VirtualIndex.System_Collections_Generic] = "System.Collections.Generic"; 85values[(int)StringHandle.VirtualIndex.System_Collections_Specialized] = "System.Collections.Specialized"; 86values[(int)StringHandle.VirtualIndex.System_ComponentModel] = "System.ComponentModel"; 87values[(int)StringHandle.VirtualIndex.System_Numerics] = "System.Numerics"; 88values[(int)StringHandle.VirtualIndex.System_Windows_Input] = "System.Windows.Input"; 89values[(int)StringHandle.VirtualIndex.Thickness] = "Thickness"; 90values[(int)StringHandle.VirtualIndex.TimeSpan] = "TimeSpan"; 91values[(int)StringHandle.VirtualIndex.Type] = "Type"; 92values[(int)StringHandle.VirtualIndex.Uri] = "Uri"; 93values[(int)StringHandle.VirtualIndex.Vector2] = "Vector2"; 94values[(int)StringHandle.VirtualIndex.Vector3] = "Vector3"; 95values[(int)StringHandle.VirtualIndex.Vector4] = "Vector4"; 96values[(int)StringHandle.VirtualIndex.Windows_Foundation] = "Windows.Foundation"; 97values[(int)StringHandle.VirtualIndex.Windows_UI] = "Windows.UI"; 98values[(int)StringHandle.VirtualIndex.Windows_UI_Xaml] = "Windows.UI.Xaml"; 99values[(int)StringHandle.VirtualIndex.Windows_UI_Xaml_Controls_Primitives] = "Windows.UI.Xaml.Controls.Primitives"; 100values[(int)StringHandle.VirtualIndex.Windows_UI_Xaml_Media] = "Windows.UI.Xaml.Media"; 101values[(int)StringHandle.VirtualIndex.Windows_UI_Xaml_Media_Animation] = "Windows.UI.Xaml.Media.Animation"; 102values[(int)StringHandle.VirtualIndex.Windows_UI_Xaml_Media_Media3D] = "Windows.UI.Xaml.Media.Media3D"; 116Debug.Assert(s_virtualValues[i] != null, $"Missing virtual value for StringHandle.VirtualIndex.{(StringHandle.VirtualIndex)i}"); 157internal static string GetVirtualString(StringHandle.VirtualIndex index)
System\Reflection\Metadata\MetadataReader.WinMD.cs (104)
26public readonly StringHandle.VirtualIndex ClrNamespace; 27public readonly StringHandle.VirtualIndex ClrName; 35StringHandle.VirtualIndex clrNamespace, 36StringHandle.VirtualIndex clrName, 136keys[k++] = "AttributeTargets"; values[v++] = new ProjectionInfo("Windows.Foundation.Metadata", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.AttributeTargets, systemRuntime); 137keys[k++] = "AttributeUsageAttribute"; values[v++] = new ProjectionInfo("Windows.Foundation.Metadata", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.AttributeUsageAttribute, systemRuntime, treatment: TypeDefTreatment.RedirectedToClrAttribute); 138keys[k++] = "Color"; values[v++] = new ProjectionInfo("Windows.UI", StringHandle.VirtualIndex.Windows_UI, StringHandle.VirtualIndex.Color, systemRuntimeWindowsRuntime); 139keys[k++] = "CornerRadius"; values[v++] = new ProjectionInfo("Windows.UI.Xaml", StringHandle.VirtualIndex.Windows_UI_Xaml, StringHandle.VirtualIndex.CornerRadius, systemRuntimeWindowsUiXaml); 140keys[k++] = "DateTime"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.DateTimeOffset, systemRuntime); 141keys[k++] = "Duration"; values[v++] = new ProjectionInfo("Windows.UI.Xaml", StringHandle.VirtualIndex.Windows_UI_Xaml, StringHandle.VirtualIndex.Duration, systemRuntimeWindowsUiXaml); 142keys[k++] = "DurationType"; values[v++] = new ProjectionInfo("Windows.UI.Xaml", StringHandle.VirtualIndex.Windows_UI_Xaml, StringHandle.VirtualIndex.DurationType, systemRuntimeWindowsUiXaml); 143keys[k++] = "EventHandler`1"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.EventHandler1, systemRuntime); 144keys[k++] = "EventRegistrationToken"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.System_Runtime_InteropServices_WindowsRuntime, StringHandle.VirtualIndex.EventRegistrationToken, systemRuntimeInterop); 145keys[k++] = "GeneratorPosition"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Controls.Primitives", StringHandle.VirtualIndex.Windows_UI_Xaml_Controls_Primitives, StringHandle.VirtualIndex.GeneratorPosition, systemRuntimeWindowsUiXaml); 146keys[k++] = "GridLength"; values[v++] = new ProjectionInfo("Windows.UI.Xaml", StringHandle.VirtualIndex.Windows_UI_Xaml, StringHandle.VirtualIndex.GridLength, systemRuntimeWindowsUiXaml); 147keys[k++] = "GridUnitType"; values[v++] = new ProjectionInfo("Windows.UI.Xaml", StringHandle.VirtualIndex.Windows_UI_Xaml, StringHandle.VirtualIndex.GridUnitType, systemRuntimeWindowsUiXaml); 148keys[k++] = "HResult"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.Exception, systemRuntime, signatureTreatment: TypeRefSignatureTreatment.ProjectedToClass); 149keys[k++] = "IBindableIterable"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Interop", StringHandle.VirtualIndex.System_Collections, StringHandle.VirtualIndex.IEnumerable, systemRuntime); 150keys[k++] = "IBindableVector"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Interop", StringHandle.VirtualIndex.System_Collections, StringHandle.VirtualIndex.IList, systemRuntime); 151keys[k++] = "IClosable"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.IDisposable, systemRuntime, isIDisposable: true); 152keys[k++] = "ICommand"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Input", StringHandle.VirtualIndex.System_Windows_Input, StringHandle.VirtualIndex.ICommand, systemObjectModel); 153keys[k++] = "IIterable`1"; values[v++] = new ProjectionInfo("Windows.Foundation.Collections", StringHandle.VirtualIndex.System_Collections_Generic, StringHandle.VirtualIndex.IEnumerable1, systemRuntime); 154keys[k++] = "IKeyValuePair`2"; values[v++] = new ProjectionInfo("Windows.Foundation.Collections", StringHandle.VirtualIndex.System_Collections_Generic, StringHandle.VirtualIndex.KeyValuePair2, systemRuntime, signatureTreatment: TypeRefSignatureTreatment.ProjectedToValueType); 155keys[k++] = "IMapView`2"; values[v++] = new ProjectionInfo("Windows.Foundation.Collections", StringHandle.VirtualIndex.System_Collections_Generic, StringHandle.VirtualIndex.IReadOnlyDictionary2, systemRuntime); 156keys[k++] = "IMap`2"; values[v++] = new ProjectionInfo("Windows.Foundation.Collections", StringHandle.VirtualIndex.System_Collections_Generic, StringHandle.VirtualIndex.IDictionary2, systemRuntime); 157keys[k++] = "INotifyCollectionChanged"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Interop", StringHandle.VirtualIndex.System_Collections_Specialized, StringHandle.VirtualIndex.INotifyCollectionChanged, systemObjectModel); 158keys[k++] = "INotifyPropertyChanged"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Data", StringHandle.VirtualIndex.System_ComponentModel, StringHandle.VirtualIndex.INotifyPropertyChanged, systemObjectModel); 159keys[k++] = "IReference`1"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.Nullable1, systemRuntime, signatureTreatment: TypeRefSignatureTreatment.ProjectedToValueType); 160keys[k++] = "IVectorView`1"; values[v++] = new ProjectionInfo("Windows.Foundation.Collections", StringHandle.VirtualIndex.System_Collections_Generic, StringHandle.VirtualIndex.IReadOnlyList1, systemRuntime); 161keys[k++] = "IVector`1"; values[v++] = new ProjectionInfo("Windows.Foundation.Collections", StringHandle.VirtualIndex.System_Collections_Generic, StringHandle.VirtualIndex.IList1, systemRuntime); 162keys[k++] = "KeyTime"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Media.Animation", StringHandle.VirtualIndex.Windows_UI_Xaml_Media_Animation, StringHandle.VirtualIndex.KeyTime, systemRuntimeWindowsUiXaml); 163keys[k++] = "Matrix"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Media", StringHandle.VirtualIndex.Windows_UI_Xaml_Media, StringHandle.VirtualIndex.Matrix, systemRuntimeWindowsUiXaml); 164keys[k++] = "Matrix3D"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Media.Media3D", StringHandle.VirtualIndex.Windows_UI_Xaml_Media_Media3D, StringHandle.VirtualIndex.Matrix3D, systemRuntimeWindowsUiXaml); 165keys[k++] = "Matrix3x2"; values[v++] = new ProjectionInfo("Windows.Foundation.Numerics", StringHandle.VirtualIndex.System_Numerics, StringHandle.VirtualIndex.Matrix3x2, systemNumericsVectors); 166keys[k++] = "Matrix4x4"; values[v++] = new ProjectionInfo("Windows.Foundation.Numerics", StringHandle.VirtualIndex.System_Numerics, StringHandle.VirtualIndex.Matrix4x4, systemNumericsVectors); 167keys[k++] = "NotifyCollectionChangedAction"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Interop", StringHandle.VirtualIndex.System_Collections_Specialized, StringHandle.VirtualIndex.NotifyCollectionChangedAction, systemObjectModel); 168keys[k++] = "NotifyCollectionChangedEventArgs"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Interop", StringHandle.VirtualIndex.System_Collections_Specialized, StringHandle.VirtualIndex.NotifyCollectionChangedEventArgs, systemObjectModel); 169keys[k++] = "NotifyCollectionChangedEventHandler"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Interop", StringHandle.VirtualIndex.System_Collections_Specialized, StringHandle.VirtualIndex.NotifyCollectionChangedEventHandler, systemObjectModel); 170keys[k++] = "Plane"; values[v++] = new ProjectionInfo("Windows.Foundation.Numerics", StringHandle.VirtualIndex.System_Numerics, StringHandle.VirtualIndex.Plane, systemNumericsVectors); 171keys[k++] = "Point"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.Windows_Foundation, StringHandle.VirtualIndex.Point, systemRuntimeWindowsRuntime); 172keys[k++] = "PropertyChangedEventArgs"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Data", StringHandle.VirtualIndex.System_ComponentModel, StringHandle.VirtualIndex.PropertyChangedEventArgs, systemObjectModel); 173keys[k++] = "PropertyChangedEventHandler"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Data", StringHandle.VirtualIndex.System_ComponentModel, StringHandle.VirtualIndex.PropertyChangedEventHandler, systemObjectModel); 174keys[k++] = "Quaternion"; values[v++] = new ProjectionInfo("Windows.Foundation.Numerics", StringHandle.VirtualIndex.System_Numerics, StringHandle.VirtualIndex.Quaternion, systemNumericsVectors); 175keys[k++] = "Rect"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.Windows_Foundation, StringHandle.VirtualIndex.Rect, systemRuntimeWindowsRuntime); 176keys[k++] = "RepeatBehavior"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Media.Animation", StringHandle.VirtualIndex.Windows_UI_Xaml_Media_Animation, StringHandle.VirtualIndex.RepeatBehavior, systemRuntimeWindowsUiXaml); 177keys[k++] = "RepeatBehaviorType"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Media.Animation", StringHandle.VirtualIndex.Windows_UI_Xaml_Media_Animation, StringHandle.VirtualIndex.RepeatBehaviorType, systemRuntimeWindowsUiXaml); 178keys[k++] = "Size"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.Windows_Foundation, StringHandle.VirtualIndex.Size, systemRuntimeWindowsRuntime); 179keys[k++] = "Thickness"; values[v++] = new ProjectionInfo("Windows.UI.Xaml", StringHandle.VirtualIndex.Windows_UI_Xaml, StringHandle.VirtualIndex.Thickness, systemRuntimeWindowsUiXaml); 180keys[k++] = "TimeSpan"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.TimeSpan, systemRuntime); 181keys[k++] = "TypeName"; values[v++] = new ProjectionInfo("Windows.UI.Xaml.Interop", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.Type, systemRuntime, signatureTreatment: TypeRefSignatureTreatment.ProjectedToClass); 182keys[k++] = "Uri"; values[v++] = new ProjectionInfo("Windows.Foundation", StringHandle.VirtualIndex.System, StringHandle.VirtualIndex.Uri, systemRuntime); 183keys[k++] = "Vector2"; values[v++] = new ProjectionInfo("Windows.Foundation.Numerics", StringHandle.VirtualIndex.System_Numerics, StringHandle.VirtualIndex.Vector2, systemNumericsVectors); 184keys[k++] = "Vector3"; values[v++] = new ProjectionInfo("Windows.Foundation.Numerics", StringHandle.VirtualIndex.System_Numerics, StringHandle.VirtualIndex.Vector3, systemNumericsVectors); 185keys[k++] = "Vector4"; values[v++] = new ProjectionInfo("Windows.Foundation.Numerics", StringHandle.VirtualIndex.System_Numerics, StringHandle.VirtualIndex.Vector4, systemNumericsVectors);
System\Reflection\Metadata\TypeSystem\AssemblyReference.cs (7)
152private static StringHandle.VirtualIndex GetVirtualNameIndex(AssemblyReferenceHandle.VirtualIndex index) 157return StringHandle.VirtualIndex.System_ObjectModel; 160return StringHandle.VirtualIndex.System_Runtime; 163return StringHandle.VirtualIndex.System_Runtime_InteropServices_WindowsRuntime; 166return StringHandle.VirtualIndex.System_Runtime_WindowsRuntime; 169return StringHandle.VirtualIndex.System_Runtime_WindowsRuntime_UI_Xaml; 172return StringHandle.VirtualIndex.System_Numerics_Vectors;
System\Reflection\Metadata\TypeSystem\Handles.TypeSystem.cs (4)
2312internal static StringHandle FromVirtualIndex(VirtualIndex virtualIndex) 2314Debug.Assert(virtualIndex < VirtualIndex.Count); 2387internal VirtualIndex GetVirtualIndex() 2390return (VirtualIndex)(_value & HeapHandleType.OffsetMask);
System\Reflection\Metadata\TypeSystem\MemberReference.cs (1)
133return StringHandle.FromVirtualIndex(StringHandle.VirtualIndex.Dispose);
System\Reflection\Metadata\TypeSystem\MethodDefinition.cs (1)
154return StringHandle.FromVirtualIndex(StringHandle.VirtualIndex.Dispose);
System\Reflection\Metadata\TypeSystem\TypeReference.cs (1)
134return StringHandle.FromVirtualIndex(StringHandle.VirtualIndex.System);