requires: using Neo.SmartContract.Framework.Attributes; this problem is present in different code sections in the documentation, not just this file.