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

dennisdoomen / reflectify / 31405432405
98%

Build:
DEFAULT BRANCH: main
Ran 10 Aug 2026 03:53PM 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

10 Aug 2026 03:46PM UTC coverage: 97.826% (+0.1%) from 97.713%
31405432405

push

github

web-flow
Expose nullable reference type metadata across all target frameworks (#174)

* Add Nullability metadata support for PropertyInfo, FieldInfo and ParameterInfo

Closes #162

Add a public/internal Nullability enum and GetNullability/IsNullableReference
extension methods for PropertyInfo, FieldInfo and ParameterInfo. On net6.0+
this delegates to System.Reflection.NullabilityInfoContext; on net47,
netstandard2.0 and netstandard2.1 it reads the compiler-emitted
NullableAttribute/NullableContextAttribute metadata directly via a shared
NullabilityMetadataReader. Value types (including Nullable<T>) are
short-circuited using the existing NullableOrActualType helper.

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

* Exclude NullabilityMetadataReader from net6.0-or-greater builds

The fallback attribute-reading logic is only used on frameworks without
System.Reflection.NullabilityInfoContext. It was previously compiled
unconditionally into every TFM, which meant it showed up as entirely
uncovered/unreachable code on net6.0+ builds where the fast path is used
instead, dragging down overall coverage. Wrapping the whole type in
#if !NET6_0_OR_GREATER excludes it from those builds so coverage tooling
no longer counts it there.

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

---------

Co-authored-by: Dennis Doomen <dennis.doomen@greenchoice.nl>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

298 of 312 branches covered (95.51%)

Branch coverage included in aggregate %.

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

557 of 562 relevant lines covered (99.11%)

3914612.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31405432405.1 10 Aug 2026 03:53PM UTC 9
97.83
GitHub Action Run
Source Files on build 31405432405
  • Tree
  • List 9
  • Changed 8
  • Source Changed 2
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31405432405
  • 5bf3449f on github
  • Prev Build on main (#31404589923)
  • Next Build on main (#31406587842)
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