Source code for non javascript projects

I’ve got an on-premise server all set up and integrated with azure devops. One thing I’ve been trying to get figured out is how to link the source code so that it can show that in exception messages when appropriate.

Basically all of the documentation I’ve seen is specific to javascript and/or website projects. I’m using sentry for a variety of back-end services in C#, and I would love to be able to see the source code along with the event messages for things like exceptions.

I was able to upload the source code using the sentry cli and upload-sourcemaps, but I haven’t seen any source code being referenced in any events since.

I know that it works for more than just javascript, since I’ve seen python source code in the internal project when errors have been thrown there, but now I’m second-guessing whether it is available for C# or not. I also don’t know if it would have anything to do with like the exceptions having the full file path and not mapping 100% to the file path when uploaded.

I guess my main questions is source code mapping for events available for C#, and if so, how do I make sure it works, and if not, could there be some sort of clarification and/or list made that details what languages this is supported for?