---
title: "Discussion on \"Why typeof survives obfuscation but strings don''t\" | Hashnode"
description: "Discussion on \"Why typeof survives obfuscation but strings don''t\". You renamed every type and method in your assembly, rebuilt, and ran the test suite. Most of it passed. But one feature — the one that loads handlers reflectively — throws NullReferenceException on a"
url: "https://hashnode.com/posts/why-typeof-survives-obfuscation-but-strings-dont/6b0f7e6cf9bb2858453596a4"
---

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

Discussion

# [Why typeof survives obfuscation but strings don''t](https://delta1labs.hashnode.dev/why-typeof-survives-obfuscation-but-strings-dont?utm_source=hashnode&utm_medium=feed)

You renamed every type and method in your assembly, rebuilt, and ran the test suite. Most of it passed. But one feature — the one that loads handlers reflectively — throws NullReferenceException on a

2d ago · 8 min read · delta1labs.hashnode.dev  
Updated 3h ago  
Read the article

-   [#nebulanet](https://hashnode.com/tag/nebulanet)
-   [#obfuscation](https://hashnode.com/tag/obfuscation)
-   [#reflection](https://hashnode.com/tag/reflection)
-   [#il](https://hashnode.com/tag/il)

## Written by

[Zero Heartbeat](https://hashnode.com/@clustron)

@clustron

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
