You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #309 introduced a roslyn analyzer to prevent users from using environment variables.
But besides accessing it directly from System.Environment, users may still reference configuration through other APIs such as IConfiguration, IOptions, IOptionsSnapshot and IOptionsMonitor. We could enhance the implementation to catch those cases too.
The text was updated successfully, but these errors were encountered:
PR #309 introduced a roslyn analyzer to prevent users from using environment variables.
But besides accessing it directly from
System.Environment
, users may still reference configuration through other APIs such asIConfiguration
,IOptions
,IOptionsSnapshot
andIOptionsMonitor
. We could enhance the implementation to catch those cases too.The text was updated successfully, but these errors were encountered: