public static MethodStream_Item methodStreamItem(this Saved_MethodStream savedMethodStream, O2MappedAstData astData, IField iField) { var methodStreamItem = savedMethodStream.methodStreamItem(iField); methodStreamItem.ItemType = MethodStream_ItemType.Field; var fieldDeclaration = astData.fieldDeclaration(iField); if (fieldDeclaration.notNull()) { methodStreamItem.Location = new Location(fieldDeclaration); } return(methodStreamItem); }