private void analyzeField(FieldInfo field) { foreach (NamedObjectAttribute noa in field.GetCustomAttributes(typeof(NamedObjectAttribute), false)) { NamedFunctionInstance nfi = new NamedFunctionInstance(field.GetValue(null)); this.functions.Add(nfi.Signature, nfi); } }
private void analyzeField(FieldInfo field) { foreach (NamedObjectAttribute noa in field.GetCustomAttributes(typeof(NamedObjectAttribute),false)) { NamedFunctionInstance nfi = new NamedFunctionInstance (field.GetValue (null)); this.functions.Add (nfi.Signature, nfi); } }