BGrade not working - getting this error message below HELP NEEDED PLEASE

Error while compiling BGrade: 'PlayerInventory' does not contain a definition for 'AllItems' and no accessible extension method 'AllItems' accepting a first argument of type 'PlayerInventory' could be found (are you missing a using directive or an assembly reference?) | Line: 800, Pos: 51