示例#1
0
        private static bool IsFieldReferencedByTest(FieldDeclarationSyntax field)
        {
            var identifier         = field.GetNodeIdentifier();
            var testCaseAttributes = GetTestCaseSourceAttributes(field);

            return(testCaseAttributes.Any(attribute => IsIdentifierReferencedByTest(attribute, identifier)));
        }