---
title: "Discussion on \"Resolving TargetException \"Non-static method requires a target\" in LINQ\" | Hashnode"
description: "Discussion on \"Resolving TargetException \"Non-static method requires a target\" in LINQ\". I recently came across a situation in which a seemingly innocuous piece of LINQ threw a very opaque exception when used with Entity Framework 6.\nThe exception was this:\n\nCall Stack: System.Reflection.TargetException: at System.Reflection.RuntimeMetho..."
url: "https://hashnode.com/posts/resolving-targetexception-non-static-method-requires-a-target-in-linq/64ac284d9bbb7ed2237f0f5a"
---

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

Discussion

# [Resolving TargetException "Non-static method requires a target" in LINQ](https://techblog.timhilton.xyz/resolving-targetexception-non-static-method-requires-a-target-in-linq?utm_source=hashnode&utm_medium=feed)

I recently came across a situation in which a seemingly innocuous piece of LINQ threw a very opaque exception when used with Entity Framework 6. The exception was this: Call Stack: System.Reflection.TargetException: at System.Reflection.RuntimeMetho...

Jul 10, 2023 · 2 min read · techblog.timhilton.xyz  
Read the article

-   [#entity-framework](https://hashnode.com/tag/entity-framework)
-   [#linq](https://hashnode.com/tag/linq)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#exception](https://hashnode.com/tag/exception)

## Written by

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

@tjhilton

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
