Avoid accessing Assembly file path when publishing as a single file (#7841)
Avoid accessing Assembly file path when publishing as a single file (#7841)

* IL3000: Avoid accessing Assembly file path when publishing as a single file

* Update src/Orleans.Core/Runtime/RuntimeVersion.cs

Co-authored-by: Reuben Bond <76117936ad1ad502d5a85438d278d73d0a670a66@users.noreply.github.com>
waynemunro/orleans,dotnet/orleans,ElanHasson/orleans,hoopsomuah/orleans,dotnet/orleans,waynemunro/orleans,ElanHasson/orleans,hoopsomuah/orleans