---
title: "Discussion on \"Decompiling extension methods: the [Extension] attribute is the only trace, the receiver was just the first argument, and the call that looks static\" | Hashnode"
description: "Discussion on \"Decompiling extension methods: the [Extension] attribute is the only trace, the receiver was just the first argument, and the call that looks static\". An extension method is one of the purest examples of C# sugar that evaporates in IL. You write this on the first parameter, call it as text.WordCount(), and feel like you added a method to string. The"
url: "https://hashnode.com/posts/decompiling-extension-methods-the-extension-attribute-is-the-only-trace-the-receiver-was-just-the-fi-mwaxzw77/6af34f28af6dce6d527f00dc"
---

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

Discussion

# [Decompiling extension methods: the \[Extension\] attribute is the only trace, the receiver was just the first argument, and the call that looks static](https://delta1labs.hashnode.dev/decompiling-extension-methods-the-extension-attribute-is-the-only-trace-the-receiver-was-just-the-fi-mwaxzw77?utm_source=hashnode&utm_medium=feed)

An extension method is one of the purest examples of C# sugar that evaporates in IL. You write this on the first parameter, call it as text.WordCount(), and feel like you added a method to string. The

1d ago · 8 min read · delta1labs.hashnode.dev  
Read the article

-   [#glassnet](https://hashnode.com/tag/glassnet)
-   [#decompilation](https://hashnode.com/tag/decompilation)
-   [#dotnet](https://hashnode.com/tag/dotnet)
-   [#deepdive](https://hashnode.com/tag/deepdive)

## Written by

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

@clustron

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
