Tawmy / Leyla.Bot

Privacy-focused Administration Bot for Discord
0 stars 0 forks source link

(CS-P1018) Consider using `typeof(T).Assembly` to get currently executing assembly #61

Closed Tawmy closed 1 year ago

Tawmy commented 1 year ago

Description

As the name suggests, Assembly.GetExecutingAssembly() returns the executing assembly. However, this is not an efficient way. Consider using typeof(T).Assembly instead.

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/Leyla-Labs/Leyla.Bot/issue/CS-P1018/occurrences/