(IDictionary dictionary)
| 238 | } |
| 239 | |
| 240 | internal static object[] GetDictionaryKeys(IDictionary dictionary) |
| 241 | { |
| 242 | if (dictionary == null) |
| 243 | return null; |
| 244 | var keys = dictionary.Keys; |
| 245 | var result = new object[keys.Count]; |
| 246 | keys.CopyTo(result, 0); |
| 247 | return result; |
| 248 | } |
| 249 | |
| 250 | internal static ManagedHandle VersionToManaged(int major, int minor, int build, int revision) |
| 251 | { |