8 references to Type
System.Private.Windows.Core (1)
System\Value.cs (1)
1045
ThrowInvalidCast(
Type
, typeof(T));
System.Windows.Forms (7)
System\Windows\Forms\PropertyStore.cs (7)
45
return foundValue.
Type
== typeof(StrongBox<T>)
61
return foundValue.
Type
is null ? null : foundValue.GetValue<T>();
89
value = foundValue.
Type
== typeof(StrongBox<T>)
114
value = foundValue.
Type
is null ? null : foundValue.GetValue<T>();
166
bool isStrongBox = foundValue.
Type
== typeof(StrongBox<T>);
172
: foundValue.
Type
is null ? default : foundValue.GetValue<T>()
222
if (_values.TryGetValue(key, out Value foundValue) && foundValue.
Type
== typeof(StrongBox<T>))