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