From 5a320da5b8dc309047935de06d2507cec595a07c Mon Sep 17 00:00:00 2001 From: Giuseppe Lippolis Date: Wed, 21 Jun 2023 18:25:07 +0200 Subject: [PATCH] fix: XML Comment Severity|Code|Description|Project|File|Line|Suppression State |-|-|-|-|-|-|- |Warning|CS1570|XML comment has badly formed XML -- 'End tag was not expected at this location.'|Avalonia.Base (net6.0)|C:\GitHub\Avalonia\src\Avalonia.Base\Input\Pointer.cs|91|N/A |Warning|CS1572|XML comment has a param tag for 'dispatcher', but there is no parameter by that name|Avalonia.Base (net6.0)|C:\GitHub\Avalonia\src\Avalonia.Base\Rendering\RenderLoop.cs|45|N/A |Warning|CS1572|XML comment has a param tag for 'priority', but there is no parameter by that name|Avalonia.Base (net6.0)|C:\GitHub\Avalonia\src\Avalonia.Base\Threading\Dispatcher.Invoke.cs|584|N/A --- src/Avalonia.Base/Input/Pointer.cs | 1 - src/Avalonia.Base/Media/MediaContext.cs | 4 ++-- src/Avalonia.Base/Platform/IDrawingContextImpl.cs | 2 +- src/Avalonia.Base/Rendering/RenderLoop.cs | 1 - src/Avalonia.Base/Threading/Dispatcher.Invoke.cs | 5 ----- 5 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/Avalonia.Base/Input/Pointer.cs b/src/Avalonia.Base/Input/Pointer.cs index 91358712a0..5744ddf963 100644 --- a/src/Avalonia.Base/Input/Pointer.cs +++ b/src/Avalonia.Base/Input/Pointer.cs @@ -88,7 +88,6 @@ namespace Avalonia.Input /// Captures pointer input to the specified gesture recognizer. /// /// The gesture recognizer. - /// internal void CaptureGestureRecognizer(GestureRecognizer? gestureRecognizer) { if (CapturedGestureRecognizer != gestureRecognizer) diff --git a/src/Avalonia.Base/Media/MediaContext.cs b/src/Avalonia.Base/Media/MediaContext.cs index 84a4a8c873..0a290052c7 100644 --- a/src/Avalonia.Base/Media/MediaContext.cs +++ b/src/Avalonia.Base/Media/MediaContext.cs @@ -213,10 +213,10 @@ internal partial class MediaContext : ICompositorScheduler } /// - /// Executes the callback in the next iteration of the current UI-thread + /// Executes the callback in the next iteration of the current UI-thread /// render loop / layout pass that. /// - /// Code to execute. + /// public void BeginInvokeOnRender(Action callback) { if (_invokeOnRenderCallbacks == null) diff --git a/src/Avalonia.Base/Platform/IDrawingContextImpl.cs b/src/Avalonia.Base/Platform/IDrawingContextImpl.cs index a0cd2a8dcd..df3c9ebfc5 100644 --- a/src/Avalonia.Base/Platform/IDrawingContextImpl.cs +++ b/src/Avalonia.Base/Platform/IDrawingContextImpl.cs @@ -161,7 +161,7 @@ namespace Avalonia.Platform void PopGeometryClip(); /// - + /// Get Fetaure from type /// /// Attempts to get an optional feature from the drawing context implementation /// diff --git a/src/Avalonia.Base/Rendering/RenderLoop.cs b/src/Avalonia.Base/Rendering/RenderLoop.cs index aaecf5deaf..80410ba181 100644 --- a/src/Avalonia.Base/Rendering/RenderLoop.cs +++ b/src/Avalonia.Base/Rendering/RenderLoop.cs @@ -42,7 +42,6 @@ namespace Avalonia.Rendering /// Initializes a new instance of the class. /// /// The render timer. - /// The UI thread dispatcher. public RenderLoop(IRenderTimer timer) { _timer = timer; diff --git a/src/Avalonia.Base/Threading/Dispatcher.Invoke.cs b/src/Avalonia.Base/Threading/Dispatcher.Invoke.cs index bb1663eac0..7d586e1cbd 100644 --- a/src/Avalonia.Base/Threading/Dispatcher.Invoke.cs +++ b/src/Avalonia.Base/Threading/Dispatcher.Invoke.cs @@ -581,11 +581,6 @@ public partial class Dispatcher /// /// A Func<Task<TResult>> delegate to invoke through the dispatcher. /// - /// - /// The priority that determines in what order the specified - /// callback is invoked relative to the other pending operations - /// in the Dispatcher. - /// /// /// An task that completes after the task returned from callback finishes ///