© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
6 replies
CrosRoad95

❔ Reference counting, reflection

let's say i have following example code
// References: 0 - vs shows 0 references
public void Foo() {}
// References: 0 - vs shows 0 references
public void Foo() {}

but, i have a code that uses reflection to call that method.
is it possible to somehow add artifical reference?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ System.Reflection
C#CC# / help
4y ago
reflection good course
C#CC# / help
2y ago
Reflection with InlineArrayAttribute?
C#CC# / help
2y ago
Casting, reflection or?
C#CC# / help
3y ago