void ExpectedOffset(AssetLoader loader, long offset, string section) { if (loader.Position != offset) { loader.AddError(loader.Position, "Expected to be at offset " + offset + " for section " + section + "."); loader.Position = offset; } }