aa55h
aa55h
Explore posts from servers
CC#
Created by aa55h on 10/20/2024 in #help
Mono.Cecil TypeReference modifies TypeDefinition
awesome, it seems it was fixed, thanks
8 replies
CC#
Created by aa55h on 10/20/2024 in #help
Mono.Cecil TypeReference modifies TypeDefinition
But it returns TypeReference and not TypeDefinition, so i would expect to change only this reference to the class(the code it modifies is: Creator.DoSmth()) I thought it would only swap the Creator for NamedCreator and not rename the class itself
8 replies
CC#
Created by aa55h on 10/20/2024 in #help
Mono.Cecil TypeReference modifies TypeDefinition
you see the NamedCreator
8 replies
CC#
Created by aa55h on 10/20/2024 in #help
Mono.Cecil TypeReference modifies TypeDefinition
before the modification: > Assembly.MainModule.Types: {Mono.Cecil.TypeDefinition[5]} [0]: {<Module>} [1]: {Microsoft.CodeAnalysis.EmbeddedAttribute} [2]: {System.Runtime.CompilerServices.RefSafetyRulesAttribute} [3]: {Hello.Creator} [4]: {Hello.Program} after: {Mono.Cecil.TypeDefinition[5]} [0]: {<Module>} [1]: {Microsoft.CodeAnalysis.EmbeddedAttribute} [2]: {System.Runtime.CompilerServices.RefSafetyRulesAttribute} [3]: {Hello.NamedCreator} [4]: {Hello.Program}
8 replies