public CoFSMInfo() { Verbs = new Dictionary <Tuple <int, LocalVariableState>, IEnumerable <Tuple <TAVerb, CoStateInfo> > >(); FirstStateInfos = new List <CoStateInfo>(); StateInfos = new List <CoStateInfo>(); Sensitivity = new HashSet <ISignalOrPortDescriptor>(); NextCoState = new LazyLiteral(); }
private void Initialize() { string cname = _code.Name; AssemblyName asmName = new AssemblyName(); asmName.Name = "tmp_" + cname; AssemblyBuilder asmBuild = Thread.GetDomain().DefineDynamicAssembly(asmName, AssemblyBuilderAccess.Run); _modBuilder = asmBuild.DefineDynamicModule("mod_" + cname); _nextStateSignal = new LazyLiteral(); }