Calendar time zone provider - #959
Quality Gate failed
Failed conditions
5.6% Duplication on New Code (required ≤ 3%)
Annotations
Check warning on line 408 in Ical.Net/CalendarComponents/VTimeZone.cs
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
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
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
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
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
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
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