mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
22 lines
512 B
C#
22 lines
512 B
C#
using System;
|
|
|
|
using System.Collections.Generic;
|
|
using Cosmos.IL2CPU.Plugs;
|
|
|
|
namespace Cosmos.System.Plugs.System
|
|
{
|
|
[Plug(Target = typeof(Dictionary<int, string>))]
|
|
public static class DictionaryImpl
|
|
{
|
|
|
|
public static void Ctor(Dictionary<int, string> aThis, int capacity, IEqualityComparer<int> comparer)
|
|
{
|
|
if (capacity != 0)
|
|
{
|
|
throw new Exception("Capacity != 0 not supported yet!");
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
}
|