© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
8 replies
An.C

✅ Mono.Cecil.ParameterDefinition.HasDefault

in mono.cecil in a ParameterDefinition, what does HasDefault mean? I was hoping for it to be that if a method signature looks like MyMethod(bool x = false) x was left to its default or not. That isn't the case.
I'm asking this because I need to know if a param of a MethodSpecification, say MyMethod, has a param assigned or left to its default. Is it even possible?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Mono Cecil not assembled
C#CC# / help
2y ago
Help with Mono.Cecil
C#CC# / help
3y ago
Mono.Cecil TypeReference modifies TypeDefinition
C#CC# / help
16mo ago
Mono.Cecil weaver messed up branch targets
C#CC# / help
2y ago