Skip to content

Commit 0b72cdb

Browse files
crazeteammaxkatz6
andauthored
chore: remove repetitive words (#15116)
Signed-off-by: crazeteam <[email protected]> Co-authored-by: Max Katz <[email protected]>
1 parent 40c630b commit 0b72cdb

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

src/Avalonia.Base/Threading/DispatcherOperation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public bool Abort()
117117
/// </summary>
118118
/// <returns>
119119
/// The status of the operation. To obtain the return value
120-
/// of the invoked delegate, use the the Result property.
120+
/// of the invoked delegate, use the Result property.
121121
/// </returns>
122122
public void Wait() => Wait(TimeSpan.FromMilliseconds(-1));
123123

src/Avalonia.Controls.DataGrid/DataGridColumn.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ public virtual IBinding ClipboardContentBinding
614614
}
615615

616616
/// <summary>
617-
/// Gets the value of a cell according to the the specified binding.
617+
/// Gets the value of a cell according to the specified binding.
618618
/// </summary>
619619
/// <param name="item">The item associated with a cell.</param>
620620
/// <param name="binding">The binding to get the value of.</param>

src/Avalonia.Controls.DataGrid/IndexToValueTable.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,11 @@ public bool ContainsAll(int startIndex, int endIndex)
140140
}
141141

142142
/// <summary>
143-
/// Returns true if the given index is contained in the table with the the given value
143+
/// Returns true if the given index is contained in the table with the given value
144144
/// </summary>
145145
/// <param name="index">index to search for</param>
146146
/// <param name="value">value expected</param>
147-
/// <returns>true if the given index is contained in the table with the the given value</returns>
147+
/// <returns>true if the given index is contained in the table with the given value</returns>
148148
public bool ContainsIndexAndValue(int index, T value)
149149
{
150150
int lowerRangeIndex = this.FindRangeIndex(index);

src/Avalonia.Controls/Automation/Peers/AutomationPeer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public abstract class AutomationPeer
182182
public event EventHandler<AutomationPropertyChangedEventArgs>? PropertyChanged;
183183

184184
/// <summary>
185-
/// Raises an event to notify the automation client the the children of the peer have changed.
185+
/// Raises an event to notify the automation client the children of the peer have changed.
186186
/// </summary>
187187
protected void RaiseChildrenChangedEvent() => ChildrenChanged?.Invoke(this, EventArgs.Empty);
188188

src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ internal void KeyDown(IMenuItem? item, KeyEventArgs e)
520520
}
521521
else if (item?.Parent?.MoveSelection(direction.Value, true) == true)
522522
{
523-
// If the the parent is an IMenu which successfully moved its selection,
523+
// If the parent is an IMenu which successfully moved its selection,
524524
// and the current menu is open then close the current menu and open the
525525
// new menu.
526526
if (item.IsSubMenuOpen &&

src/Avalonia.Controls/Primitives/Popup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public PlacementMode Placement
258258
}
259259

260260
/// <summary>
261-
/// Gets or sets the the anchor rectangle within the parent that the popup will be placed
261+
/// Gets or sets the anchor rectangle within the parent that the popup will be placed
262262
/// relative to when <see cref="Placement"/> is <see cref="PlacementMode.AnchorAndGravity"/>.
263263
/// </summary>
264264
/// <remarks>
@@ -289,7 +289,7 @@ public Control? PlacementTarget
289289
/// through to the parent window.
290290
/// </summary>
291291
/// <remarks>
292-
/// When <see cref="IsLightDismissEnabled"/> is set to true, clicks outside the the popup
292+
/// When <see cref="IsLightDismissEnabled"/> is set to true, clicks outside the popup
293293
/// cause the popup to close. When <see cref="OverlayDismissEventPassThrough"/> is set to
294294
/// false, these clicks will be handled by the popup and not be registered by the parent
295295
/// window. When set to true, the events will be passed through to the parent window.

src/Avalonia.Controls/VirtualizingPanel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private set
7777
/// item is realized; otherwise, null.
7878
/// </returns>
7979
/// <remarks>
80-
/// Note for implementors: if the item at the the specified index is an ItemIsOwnContainer
80+
/// Note for implementors: if the item at the specified index is an ItemIsOwnContainer
8181
/// item that has previously been realized, then the item should be returned even if it
8282
/// currently falls outside the realized viewport.
8383
/// </remarks>

src/Markup/Avalonia.Markup.Xaml.Loader/CompilerExtensions/Transformers/AvaloniaXamlIlSelectorTransformer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public IXamlAstNode Transform(AstTransformationContext context, IXamlAstNode nod
3636
return node;
3737

3838
if (pn.Values.Count != 1)
39-
throw new XamlSelectorsTransformException("Selector property should should have exactly one value",
39+
throw new XamlSelectorsTransformException("Selector property should have exactly one value",
4040
node);
4141

4242
if (pn.Values[0] is XamlIlSelectorNode)

src/Markup/Avalonia.Markup/Data/RelativeSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public enum TreeType
4545
}
4646

4747
/// <summary>
48-
/// Describes the the location of a binding source, relative to the binding target.
48+
/// Describes the location of a binding source, relative to the binding target.
4949
/// </summary>
5050
public class RelativeSource
5151
{

0 commit comments

Comments
 (0)