예제 #1
0
        private static bool HasUnitTestAttribute(SyntaxList <AttributeListSyntax> attributeLists, ISet <string> unitTestAttributeNames)
        {
            // If settings is configured with no unit test attributes, then we can skip this test.
            bool result = unitTestAttributeNames.Count > 0 &&
                          attributeLists.HasIndicatorAttribute(unitTestAttributeNames);

            return(result);
        }