• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dennisdoomen / reflectify / 34016622241
98%

Build:
DEFAULT BRANCH: main
Ran 06 Sep 2026 06:35AM UTC
Jobs 1
Files 9
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Sep 2026 06:29AM UTC coverage: 97.79% (+0.07%) from 97.725%
34016622241

push

github

web-flow
Add GetAttribute and GetMatchingAttributes to MemberInfo, ParameterInfo and Type (#182)

* Add GetAttribute and GetMatchingAttributes to MemberInfo, ParameterInfo and Type

Closes #155.

- MemberInfoExtensions.GetAttribute<T>() and GetMatchingAttributes<T>()
  (with and without predicate), mirroring the existing non-inherited
  HasAttribute semantics rather than adding another *InHierarchy split.
- ParameterInfoExtensions.GetAttribute<T>() and GetMatchingAttributes<T>()
  with the same semantics.
- TypeMetaDataExtensions.GetAttribute<T>(), reusing the existing
  inherited GetMatchingAttributes<T>() behavior for consistency.
- New overloads use .ToArray()/.Cast<T>() instead of casting the
  GetCustomAttributes result to an array.
- Added focused specs for no match, single match, multiple matches,
  predicates and inheritance behavior.
- Updated README to document the new APIs.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

* Strengthen GetAttribute ordering specs

Assert that GetAttribute returns the first-applied attribute when multiple matching attributes are present, instead of only checking that a result exists.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

342 of 360 branches covered (95.0%)

Branch coverage included in aggregate %.

27 of 27 new or added lines in 3 files covered. (100.0%)

720 of 726 relevant lines covered (99.17%)

3030324.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34016622241.1 06 Sep 2026 06:35AM UTC 9
97.79
GitHub Action Run
Source Files on build 34016622241
  • Tree
  • List 9
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34016622241
  • e2d167b6 on github
  • Prev Build on main (#34015651744)
  • Next Build on main (#34016971703)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc