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