Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ public StringCollection() { }
bool System.Collections.IList.IsReadOnly { get { throw null; } }
object? System.Collections.IList.this[int index] { get { throw null; } set { } }
public int Add(string? value) { throw null; }
public void AddRange(string[] value) { }
public void AddRange(string?[] value) { }
public void Clear() { }
public bool Contains(string? value) { throw null; }
public void CopyTo(string[] array, int index) { }
public void CopyTo(string?[] array, int index) { }
public System.Collections.Specialized.StringEnumerator GetEnumerator() { throw null; }
public int IndexOf(string? value) { throw null; }
public void Insert(int index, string? value) { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public int Add(string? value)
/// <devdoc>
/// <para>Copies the elements of a string array to the end of the <see cref='System.Collections.Specialized.StringCollection'/>.</para>
/// </devdoc>
public void AddRange(string[] value)
public void AddRange(string?[] value)
{
ArgumentNullException.ThrowIfNull(value);

Expand Down Expand Up @@ -99,7 +99,7 @@ public bool Contains(string? value)
/// <para>Copies the <see cref='System.Collections.Specialized.StringCollection'/> values to a one-dimensional <see cref='System.Array'/> instance at the
/// specified index.</para>
/// </devdoc>
public void CopyTo(string[] array, int index)
public void CopyTo(string?[] array, int index)
{
data.CopyTo(array, index);
}
Expand Down