Skip to content

chore: add support for legacy DO

Codacy Production / Codacy Static Code Analysis succeeded Oct 8, 2024 in 0s

Your pull request is up to standards!

Codacy found no issues in your code

Annotations

Check notice on line 43 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L43

Remove the unused local variable 'tree'.

Check warning on line 44 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L44

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

Check warning on line 60 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L60

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

Check warning on line 68 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L68

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

Check notice on line 69 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L69

Remove the unused local variable 'tree'.

Check notice on line 149 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L149

Remove the unused local variable 'tree'.

Check notice on line 225 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L225

Remove the unused local variable 'tree'.

Check warning on line 300 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L300

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

Check warning on line 301 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L301

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

Check failure on line 458 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L458

Add curly braces around the nested statement(s) in this 'if' block.

Check failure on line 459 in src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/TemplatedParent/TemplatedParentTests.cs#L459

Add curly braces around the nested statement(s) in this 'if' block.

Check notice on line 236 in src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_And_Leak.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_And_Leak.cs#L236

Remove the unused local variable 'forest'.

Check warning on line 266 in src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_And_Leak.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_And_Leak.cs#L266

Remove this useless assignment to local variable 'rootContainer'.

Check warning on line 286 in src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_And_Leak.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_And_Leak.cs#L286

Remove this commented out code.

Check warning on line 465 in src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_And_Leak.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml/Given_FrameworkElement_And_Leak.cs#L465

Remove this useless assignment to local variable 'item'.

Check warning on line 377 in src/Uno.UI.Tests/DependencyProperty/Given_DependencyProperty.Propagation.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.Tests/DependencyProperty/Given_DependencyProperty.Propagation.cs#L377

Remove this commented out code.

Check warning on line 393 in src/Uno.UI.Tests/DependencyProperty/Given_DependencyProperty.Propagation.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.Tests/DependencyProperty/Given_DependencyProperty.Propagation.cs#L393

Remove this commented out code.

Check warning on line 397 in src/Uno.UI.Tests/DependencyProperty/Given_DependencyProperty.Propagation.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.Tests/DependencyProperty/Given_DependencyProperty.Propagation.cs#L397

Remove this commented out code.

Check failure on line 869 in src/Uno.UI.Tests/Windows_UI_XAML_Controls/ListViewBaseTests/Given_ListViewBase.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.Tests/Windows_UI_XAML_Controls/ListViewBaseTests/Given_ListViewBase.cs#L869

Change the visibility of 'CtorCallback' or make it 'const' or 'readonly'.

Check notice on line 869 in src/Uno.UI.Tests/Windows_UI_XAML_Controls/ListViewBaseTests/Given_ListViewBase.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI.Tests/Windows_UI_XAML_Controls/ListViewBaseTests/Given_ListViewBase.cs#L869

Make this field 'private' and encapsulate it in a 'public' property.

Check failure on line 38 in src/Uno.UI/Extensions/PrettyPrint.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI/Extensions/PrettyPrint.cs#L38

Add curly braces around the nested statement(s) in this 'if' block.

Check warning on line 274 in src/Uno.UI/Extensions/ViewExtensions.visual-tree.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI/Extensions/ViewExtensions.visual-tree.cs#L274

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

Check warning on line 190 in src/Uno.UI/UI/Xaml/FrameworkElement.Layout.crossruntime.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI/UI/Xaml/FrameworkElement.Layout.crossruntime.cs#L190

Remove this commented out code.

Check failure on line 194 in src/Uno.UI/UI/Xaml/FrameworkElement.Layout.crossruntime.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI/UI/Xaml/FrameworkElement.Layout.crossruntime.cs#L194

Offload the code that's conditional on this type test to the appropriate subclass and remove the condition.

Check warning on line 200 in src/Uno.UI/UI/Xaml/FrameworkElement.Layout.crossruntime.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/Uno.UI/UI/Xaml/FrameworkElement.Layout.crossruntime.cs#L200

Remove this commented out code.