an.c.
an.c.
CC#
Created by an.c. on 12/16/2022 in #help
✅ Mono.Cecil.ParameterDefinition.HasDefault
I figured it out, just look for instructions that load a bool -> ldc.i4.1
9 replies
CC#
Created by an.c. on 12/16/2022 in #help
✅ Mono.Cecil.ParameterDefinition.HasDefault
up
9 replies
CC#
Created by an.c. on 12/16/2022 in #help
✅ Mono.Cecil.ParameterDefinition.HasDefault
but then, I only care about what's different from default. How do I read the value of the compiled variable?
9 replies
CC#
Created by an.c. on 12/16/2022 in #help
✅ Mono.Cecil.ParameterDefinition.HasDefault
I was afraid exactly about this.
9 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
I had the same namespace (by name) in both assembly and so MyClass was not found in MyNamespace because MyNamespace was not the one from the external assembly, but it was fetch from the same assembly. An extern alias fixed my issues. Thank you all for the support.
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
my issue was a funny one not really related to this working or not
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
but I'll check naming again
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
this was not a repro project. I was just meant to give an idea of what I was doing.
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
I understand. Thank you for following up. I'll keep investigating
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
the name looks correct
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
I'll look into the lib being strong-named
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
am I wrong in assuming this?
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
once the dll is loaded in a disassembler (if this is the name), I assume that the name shown there is the name of the assembly
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
Not file name Assembly name
I'll check exactly the diff here
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
I looked inside the dll and verified that all is where I expect it to be and properly named
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
I checked the names 4 times
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
that's why the smiley
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
and I'll be back at "it's just somethign else in my proj"
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
that'll likely work
74 replies
CC#
Created by an.c. on 12/6/2022 in #help
✅ Can't get `InternalsVisibleTo` to work
I'll try a repro proj tomorrow morning (CET)
74 replies