Fix #58 IsCompatibleObject
This commit is contained in:
parent
d7fac361bd
commit
cb0cf8b386
@ -169,7 +169,7 @@ namespace ObservableCollections.Internal
|
|||||||
|
|
||||||
static bool IsCompatibleObject(object? value)
|
static bool IsCompatibleObject(object? value)
|
||||||
{
|
{
|
||||||
return (value is T) || (value == null && default(T) == null);
|
return (value is TView) || (value is T) || (value == null && default(T) == null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsReadOnly => true;
|
public bool IsReadOnly => true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user