private static MetaAttribute MetaAttributeOf(CandidateMethod method) { return (MetaAttribute) method.Method.GetCustomAttributes(typeof (MetaAttribute), false).Single(); }