Skip to content

Calendar time zone provider - #959

Open
maknapp wants to merge 13 commits into
ical-org:mainfrom
maknapp:maknapp/cal-time-zone
Open

Calendar time zone provider#959
maknapp wants to merge 13 commits into
ical-org:mainfrom
maknapp:maknapp/cal-time-zone

Create time zone provider in calendar

1d900ed
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 11, 2026 in 14s

Quality Gate failed

Annotations

Check warning on line 408 in Ical.Net/CalendarComponents/VTimeZone.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'System.Exception' should not be thrown by user code.

See more on https://sonarcloud.io/project/issues?id=ical-org_ical.net&issues=AZ9R0bSxb3Yg5WvlVMl9&open=AZ9R0bSxb3Yg5WvlVMl9&pullRequest=959

Check warning on line 45 in Ical.Net/CalendarComponents/VTimeZone.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the "DateTimeKind" when creating this object.

See more on https://sonarcloud.io/project/issues?id=ical-org_ical.net&issues=AZ9R0bSxb3Yg5WvlVMl6&open=AZ9R0bSxb3Yg5WvlVMl6&pullRequest=959

Check warning on line 56 in Ical.Net/CalendarTimeZoneProviders.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Loops should be simplified using the "Where" LINQ method

See more on https://sonarcloud.io/project/issues?id=ical-org_ical.net&issues=AZ9R0bVfb3Yg5WvlVMmA&open=AZ9R0bVfb3Yg5WvlVMmA&pullRequest=959

Check warning on line 47 in Ical.Net/CalendarTimeZoneProviders.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the field 'providerMap' and declare it as a local variable in the relevant methods.

See more on https://sonarcloud.io/project/issues?id=ical-org_ical.net&issues=AZ9R0bVfb3Yg5WvlVMl_&open=AZ9R0bVfb3Yg5WvlVMl_&pullRequest=959

Check failure on line 50 in Ical.Net/CalendarComponents/VTimeZone.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ical-org_ical.net&issues=AZ9R0bSxb3Yg5WvlVMl8&open=AZ9R0bSxb3Yg5WvlVMl8&pullRequest=959

Check warning on line 91 in Ical.Net/CalendarComponents/VTimeZone.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the "DateTimeKind" when creating this object.

See more on https://sonarcloud.io/project/issues?id=ical-org_ical.net&issues=AZ9R0bSxb3Yg5WvlVMl7&open=AZ9R0bSxb3Yg5WvlVMl7&pullRequest=959

Check warning on line 502 in Ical.Net/CalendarComponents/VTimeZone.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'System.Exception' should not be thrown by user code.

See more on https://sonarcloud.io/project/issues?id=ical-org_ical.net&issues=AZ9R0bSxb3Yg5WvlVMl-&open=AZ9R0bSxb3Yg5WvlVMl-&pullRequest=959