public TagInstance GetTagByIndex(int index) { throw new InvalidOperationException("Resource definitions cannot contain tag references"); }