Ok, got it.
var attributes = Assembly.GetExecutingAssembly()
.GetTypes()
.SelectMany(t => t.GetMethods())
.SelectMany(m => m.GetCustomAttributes())
.Where(a => a.GetType() == typeof(PageKeyAttribute));
Thanks to Alexei Levenkov.