first image in client
This commit is contained in:
parent
ea7f12b0c2
commit
bc8d5ad6d0
1 changed files with 82 additions and 39 deletions
|
|
@ -7,11 +7,7 @@ public sealed class FixedSizeBitFieldView(Memory<byte> data) : IList<bool>
|
|||
public int Count => data.Length * 8;
|
||||
public bool IsReadOnly => false;
|
||||
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return GetEnumerator();
|
||||
}
|
||||
|
||||
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
|
||||
public IEnumerator<bool> GetEnumerator()
|
||||
{
|
||||
return Enumerable().GetEnumerator();
|
||||
|
|
@ -69,33 +65,10 @@ public sealed class FixedSizeBitFieldView(Memory<byte> data) : IList<bool>
|
|||
}
|
||||
}
|
||||
|
||||
public void Add(bool item)
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public bool Contains(bool item)
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public bool Remove(bool item)
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public int IndexOf(bool item)
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public void Insert(int index, bool item)
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
|
||||
public void RemoveAt(int index)
|
||||
{
|
||||
throw new NotSupportedException();
|
||||
}
|
||||
public void Add(bool item) => throw new NotSupportedException();
|
||||
public bool Contains(bool item) => throw new NotSupportedException();
|
||||
public bool Remove(bool item) => throw new NotSupportedException();
|
||||
public int IndexOf(bool item) => throw new NotSupportedException();
|
||||
public void Insert(int index, bool item) => throw new NotSupportedException();
|
||||
public void RemoveAt(int index) => throw new NotSupportedException();
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue