Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
[EditorBrowsable(EditorBrowsableState.Never)]
public override void OnRelayout(Vector2 size, RelayoutContainer container)
{
- Debug.Assert(size != null);
+ if (size == null) return;
if (size.Equals(this.size))
{
"CA1710:IdentifiersShouldHaveCorrectSuffix",
Justification = "The name Selector provides meaningful information about the characteristics.")]
[EditorBrowsable(EditorBrowsableState.Never)]
- public class Selector<T> : ICollection<SelectorItem<T>>
+ public class Selector<T> : IEnumerable<SelectorItem<T>>
{
private readonly bool cloneable = typeof(ICloneable).IsAssignableFrom(typeof(T));
private SelectorItem<T> all;