public override void label(Label label) { Debug.Assert(!labels.containsKey(label), "found duplicate label"); int labelPos = writer.Pos; labels[label] = new LabelEntry(labelPos, actionCount); }
private int getLabelCount(Label label) { Debug.Assert(labels.containsKey(label), "missing label"); //UPGRADE_TODO: Method 'java.util.HashMap.get' was converted to 'System.Collections.Hashtable.Item' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilHashMapget_javalangObject'" return(((LabelEntry)labels[label]).count); }
private int getLabelOffset(Label label) { Debug.Assert(labels.containsKey(label), "missing label"); //UPGRADE_TODO: Method 'java.util.HashMap.get' was converted to 'System.Collections.Hashtable.Item' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilHashMapget_javalangObject'" return ((LabelEntry) labels[label]).offset; }