---
title: "Discussion on \"Fixing C# reflection which was broken by upgrade to .NET 6\" | Hashnode"
description: "Discussion on \"Fixing C# reflection which was broken by upgrade to .NET 6\". Why code which had been working for years started throwing runtime exceptions after upgrading to target .NET 6"
url: "https://hashnode.com/posts/fixing-c-reflection-which-was-broken-by-upgrade-to-net-6/6218c73845bf7fc41cc9a1fb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Fixing C# reflection which was broken by upgrade to .NET 6](https://techblog.timhilton.xyz/fixing-c-reflection-which-was-broken-by-upgrade-to-net-6?utm_source=hashnode&utm_medium=feed)

Why code which had been working for years started throwing runtime exceptions after upgrading to target .NET 6

Feb 25, 2022 · 2 min read · techblog.timhilton.xyz  
Read the article

-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#bugs-and-errors](https://hashnode.com/tag/bugs-and-errors)
-   [#dotnetcore](https://hashnode.com/tag/dotnetcore)

## Written by

[Tim Hilton](https://hashnode.com/@tjhilton)

@tjhilton

  
[View profile](https://hashnode.com/@tjhilton)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
