link generating fixed #40
Annotations
10 warnings
Build and Test:
examples/DancingGoat/DataProtectionSamples/PersonalDataErasers/SampleContactPersonalDataEraser.cs#L122
'ActivityInfoProvider' is obsolete: 'Use CMS.DataEngine.IInfoProvider<ActivityInfo> instead. Use CMS.DataEngine.InfoProviderExtensions for additional methods for individual objects retrieval. To get an instance of the interface's implementation use dependency injection or access the instance directly via the CMS.DataEngine.Provider<ActivityInfo>.Instance property. When faking metadata in CMS.Tests.UnitTests using Fake() use the obsolete provider class until fully removed.'
|
Build and Test:
examples/DancingGoat/DataProtectionSamples/PersonalDataErasers/SampleContactPersonalDataEraser.cs#L176
'ActivityInfoProvider' is obsolete: 'Use CMS.DataEngine.IInfoProvider<ActivityInfo> instead. Use CMS.DataEngine.InfoProviderExtensions for additional methods for individual objects retrieval. To get an instance of the interface's implementation use dependency injection or access the instance directly via the CMS.DataEngine.Provider<ActivityInfo>.Instance property. When faking metadata in CMS.Tests.UnitTests using Fake() use the obsolete provider class until fully removed.'
|
Build and Test:
examples/DancingGoat/DataProtectionSamples/PersonalDataCollectors/SampleContactDataCollectorCore.cs#L121
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
|
Build and Test:
examples/DancingGoat/DataProtectionSamples/PersonalDataCollectors/SampleContactDataCollectorCore.cs#L420
All 'WriteConsents' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build and Test:
examples/DancingGoat/Resources/SharedResources.cs#L3
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
Build and Test:
examples/DancingGoat/Components/Widgets/CTAButton/CTAButtonWidgetProperties.cs#L11
Rename class 'CTAButtonWidgetProperties' to match pascal case naming rules, consider using 'CtaButtonWidgetProperties'. (https://rules.sonarsource.com/csharp/RSPEC-101)
|
Build and Test:
examples/DancingGoat/Components/Widgets/CTAButton/CTAButtonWidgetViewModel.cs#L6
Rename class 'CTAButtonWidgetViewModel' to match pascal case naming rules, consider using 'CtaButtonWidgetViewModel'. (https://rules.sonarsource.com/csharp/RSPEC-101)
|
Build and Test:
examples/DancingGoat/Helpers/TagHelpers/LanguageLinkTagHelper.cs#L85
Loop should be simplified by calling Select(queryParam => queryParam.Key)) (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
Build and Test:
examples/DancingGoat/DataProtectionSamples/PersonalDataCollectors/Writers/HumanReadablePersonalDataWriter.cs#L179
Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation. (https://rules.sonarsource.com/csharp/RSPEC-1186)
|
Build and Test:
examples/DancingGoat/DataProtectionSamples/PersonalDataCollectors/SampleContactDataCollectorCore.cs#L536
Indexing at 0 should be used instead of the "Enumerable" extension method "First" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|