private static IEnumerable <IValidationRule> ValidationRulesFor(RuntimePlatform platform, params object[] options)
 {
     return(from t in AssemblyValidation.ValidationRuleTypesFor(platform)
            select AssemblyValidation.CreateValidationRuleWithOptions(t, options) into v
                where v != null
            select v);
 }
 private static IEnumerable <IValidationRule> ValidationRulesFor(RuntimePlatform platform, params object[] options)
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: reference to a compiler-generated method
     return(AssemblyValidation.ValidationRuleTypesFor(platform).Select <System.Type, IValidationRule>(new Func <System.Type, IValidationRule>(new AssemblyValidation.\u003CValidationRulesFor\u003Ec__AnonStorey69()
     {
         options = options
     }.\u003C\u003Em__E0)).Where <IValidationRule>((Func <IValidationRule, bool>)(v => v != null)));
 }