protected internal static Definition GetParameterDefinition(Document doc, string name) { BindingMap val = doc.get_ParameterBindings(); DefinitionBindingMapIterator val2 = val.ForwardIterator(); val2.Reset(); while (val2.MoveNext()) { InternalDefinition val3 = val2.get_Key(); if (val3.get_Name().Equals(name)) { return(val3); } } return(null); }