Originally Posted by LibX
Why dont u just push the ascii value of the char u need and cast it to a char?
I don't think you can cast a value (the cast instruction requires an object reference). However, pushing the appropriate ascii value and boxing it to a char seems to do the trick. Thanks for the suggestion
That being said, I'm still curious about using the metadata streams (or some other method) to accomplish this because pushing an ascii value and boxing it still takes up more bytes (7 bytes total) than the method calls i want to replace. It would be ideal if i could use a piece of code that was 5 bytes or less, so I can just do a find and replace rather than have to replace the method calls by hand one at a time due to the likelihood of overwriting something important.