mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-24 19:11:09 +00:00
Removed obsolete function accessor.
This commit is contained in:
parent
b4b5016597
commit
f8cc979ed5
|
@ -529,19 +529,6 @@ namespace Mono.Options
|
||||||
throw new InvalidOperationException ("Option has no names!");
|
throw new InvalidOperationException ("Option has no names!");
|
||||||
}
|
}
|
||||||
|
|
||||||
[Obsolete ("Use KeyedCollection.this[string]")]
|
|
||||||
protected Option GetOptionForName (string option)
|
|
||||||
{
|
|
||||||
if (option == null)
|
|
||||||
throw new ArgumentNullException ("option");
|
|
||||||
try {
|
|
||||||
return base [option];
|
|
||||||
}
|
|
||||||
catch (KeyNotFoundException) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected override void InsertItem (int index, Option item)
|
protected override void InsertItem (int index, Option item)
|
||||||
{
|
{
|
||||||
base.InsertItem (index, item);
|
base.InsertItem (index, item);
|
||||||
|
|
Loading…
Reference in a new issue