You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.150
Former-commit-id: 73e3bb1e96dd09dc931c1dfe559d2c7f7b8b02c7
This commit is contained in:
parent
02ac915603
commit
b95516a3dd
@@ -471,7 +471,62 @@ namespace System.Text.RegularExpressions {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#if NETSTANDARD
|
||||
protected IDictionary Caps
|
||||
{
|
||||
get
|
||||
{
|
||||
var dict = new Dictionary<int, int>();
|
||||
|
||||
foreach (int key in caps.Keys)
|
||||
{
|
||||
dict.Add (key, (int)caps[key]);
|
||||
}
|
||||
|
||||
return dict;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value == null)
|
||||
throw new ArgumentNullException("value");
|
||||
|
||||
|
||||
caps = new Hashtable (value.Count);
|
||||
foreach (DictionaryEntry entry in value)
|
||||
{
|
||||
caps[(int)entry.Key] = (int)entry.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected IDictionary CapNames
|
||||
{
|
||||
get
|
||||
{
|
||||
var dict = new Dictionary<string, int>();
|
||||
|
||||
foreach (string key in capnames.Keys)
|
||||
{
|
||||
dict.Add (key, (int)capnames[key]);
|
||||
}
|
||||
|
||||
return dict;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value == null)
|
||||
throw new ArgumentNullException("value");
|
||||
|
||||
capnames = new Hashtable (value.Count);
|
||||
foreach (DictionaryEntry entry in value)
|
||||
{
|
||||
capnames[(string)entry.Key] = (int)entry.Value;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/// <devdoc>
|
||||
/// <para>
|
||||
/// Returns the options passed into the constructor
|
||||
|
Reference in New Issue
Block a user