示例#1
0
 public IEnumerable <PackageVerifierIssue> Validate(PackageAnalysisContext context)
 {
     AssemblyAttributesDataHelper.SetAssemblyAttributesData(context);
     foreach (var assemblyData in context.AssemblyData)
     {
         if (!HasDescriptionAttribute(assemblyData.Value.AssemblyAttributes))
         {
             yield return(PackageIssueFactory.AssemblyMissingDescriptionAttribute(assemblyData.Key));
         }
     }
 }