I have the following code:
var result = DateTime.Now.ToUniversalTime();
I want to replace all .ToUniversalTime() call with TimeZoneInfo.ConvertTimeToUtcso I start out by try this simple search pattern:
where date is type of DateTime or derived types.
This doesn't find anything. What am I not getting with this pattern searching?