Kernel - NKS0024
Use TimeZones.GetCurrentZoneInfo()
Context
String
Extended Description
Analysis Comparison
Before the fix
public static void MyFunction()
{
var zone = TimeZoneInfo.Local;
}Use TimeZones.GetCurrentZoneInfo()
public static void MyFunction()
{
var zone = TimeZoneInfo.Local;
}public static void MyFunction()
{
var zone = TimeZones.GetCurrentZoneInfo();
}