Skip to content

Fix Nullable reference types #601

Fix Nullable reference types

Fix Nullable reference types #601

Triggered via push September 17, 2024 14:56
Status Success
Total duration 52s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L49
Nullability of reference types in type of parameter 'observedRuleSet' of 'HolidaySpecification CatholicProvider.MaundyThursday(string localName, int year, ObservedRuleSet observedRuleSet = null)' doesn't match implicitly implemented member 'HolidaySpecification ICatholicProvider.MaundyThursday(string localName, int year, ObservedRuleSet? observedRuleSet = null)' (possibly because of nullability attributes).
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L103
Nullability of reference types in type of parameter 'observedRuleSet' of 'HolidaySpecification CatholicProvider.EasterSunday(string localName, int year, ObservedRuleSet observedRuleSet = null)' doesn't match implicitly implemented member 'HolidaySpecification ICatholicProvider.EasterSunday(string localName, int year, ObservedRuleSet? observedRuleSet = null)' (possibly because of nullability attributes).
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L121
Nullability of reference types in type of parameter 'observedRuleSet' of 'HolidaySpecification CatholicProvider.EasterMonday(string localName, int year, ObservedRuleSet observedRuleSet = null)' doesn't match implicitly implemented member 'HolidaySpecification ICatholicProvider.EasterMonday(string localName, int year, ObservedRuleSet? observedRuleSet = null)' (possibly because of nullability attributes).
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L139
Nullability of reference types in type of parameter 'observedRuleSet' of 'HolidaySpecification CatholicProvider.AscensionDay(string localName, int year, ObservedRuleSet observedRuleSet = null)' doesn't match implicitly implemented member 'HolidaySpecification ICatholicProvider.AscensionDay(string localName, int year, ObservedRuleSet? observedRuleSet = null)' (possibly because of nullability attributes).
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L157
Nullability of reference types in type of parameter 'observedRuleSet' of 'HolidaySpecification CatholicProvider.Pentecost(string localName, int year, ObservedRuleSet observedRuleSet = null)' doesn't match implicitly implemented member 'HolidaySpecification ICatholicProvider.Pentecost(string localName, int year, ObservedRuleSet? observedRuleSet = null)' (possibly because of nullability attributes).
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L193
Nullability of reference types in type of parameter 'observedRuleSet' of 'HolidaySpecification CatholicProvider.CorpusChristi(string localName, int year, ObservedRuleSet observedRuleSet = null)' doesn't match implicitly implemented member 'HolidaySpecification ICatholicProvider.CorpusChristi(string localName, int year, ObservedRuleSet? observedRuleSet = null)' (possibly because of nullability attributes).
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L106
Cannot convert null literal to non-nullable reference type.
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L52
Cannot convert null literal to non-nullable reference type.
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L124
Cannot convert null literal to non-nullable reference type.
build: src/Nager.Date/ReligiousProviders/CatholicProvider.cs#L142
Cannot convert null literal to non-nullable reference type.