Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

405
Views
.NET - Which system assemblies are annotated for nullable reference types?

I'm trying to find the status of .NET system assemblies regarding the nullable reference types feature of C# 8.

Non-annotated code, or code written with earlier language versions will be treated as "null-oblivious", meaning the compiler won't generate any warnings regarding nullability.

This is really annoying when it comes to using system assemblies from a nullable enabled context, as there's no way to tell if null-checking is required or not.

Is there any way to check if an assembly is annotated for nullable reference types?

Or is there some official status page about this?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

In VS 16.10, you should be able to see whether nullability was enabled in an external assembly by using go-to-definition on a symbol from that assembly that you're using in your code. If nullability was enabled, you should see #nullable enable at the top of the file. This also appears to work in VS Code when using the latest C# extension.

metadata view of nullable-enabled System.Console

Note that in VS this currently requires disabling "navigation to decompiled sources (experimental)" in Options -> Text Editor -> C# -> Advanced.

As far as a status page--it might help you to look over this issue in the dotnet runtime repo, which outlines when certain system assemblies were nullable-annotated.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!