Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
❔ Weird Type comparison always false - C#
C
C#
•
3y ago
•
38 replies
sneezey
❔ Weird Type comparison always false
The same
Type
Type
of ILogger
<
> and a type provided by
ParameterInfo
ParameterInfo
aren
't matching despite them being the same type
. Even IsAssignableTo
/From aren
't working either
. Is there something I
'm missing
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
❔ Why does this code always return False?
C
C# / help
3y ago
File comparison
C
C# / help
4y ago
❔ Comparison in switch statement
C
C# / help
4y ago
``Type.IsAssignableFrom`` returning false unexpectedly in plugin-loading scenario
C
C# / help
10mo ago