system\timezoneinfo.cs (19)
1843if (TryGetTimeZone(dynamicTimeZoneInformation.TimeZoneKeyName, dstDisabled, out zone, out ex, cachedData) == TimeZoneInfoResult.Success) {
1855if (TryGetTimeZone(id, dstDisabled, out zone, out ex, cachedData) == TimeZoneInfoResult.Success) {
1963TimeZoneInfoResult result;
1971if (result == TimeZoneInfoResult.Success) {
1974else if (result == TimeZoneInfoResult.InvalidTimeZoneException) {
1977else if (result == TimeZoneInfoResult.SecurityException) {
2764static private TimeZoneInfoResult TryGetTimeZoneByRegistryKey(string id, out TimeZoneInfo value, out Exception e) {
2785return TimeZoneInfoResult.TimeZoneNotFoundException;
2793return TimeZoneInfoResult.InvalidTimeZoneException;
2800return TimeZoneInfoResult.InvalidTimeZoneException;
2809return TimeZoneInfoResult.InvalidTimeZoneException;
2822return TimeZoneInfoResult.Success;
2828return TimeZoneInfoResult.InvalidTimeZoneException;
2834return TimeZoneInfoResult.InvalidTimeZoneException;
2856static private TimeZoneInfoResult TryGetTimeZone(string id, Boolean dstDisabled, out TimeZoneInfo value, out Exception e, CachedData cachedData) {
2857TimeZoneInfoResult result = TimeZoneInfoResult.Success;
2880if (result == TimeZoneInfoResult.Success) {
2900result = TimeZoneInfoResult.TimeZoneNotFoundException;