From 502f9fc1c2188764503ab3baa8d0430e94a3a6bd Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Mon, 5 Mar 2018 03:00:32 -0800 Subject: [PATCH] Fix invalid XML docs (#2005) --- Xamarin.Flex/Flex.cs | 13 ++++++------- Xamarin.Forms.Core/OrderedDictionary.cs | 4 +--- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Xamarin.Flex/Flex.cs b/Xamarin.Flex/Flex.cs index e26b4b3c9..76c559107 100644 --- a/Xamarin.Flex/Flex.cs +++ b/Xamarin.Flex/Flex.cs @@ -339,7 +339,7 @@ namespace Xamarin.Flex /// The bottom edge padding space.Negative values are not allowed. public float PaddingTop { get; set; } = 0f; - /// This property defines whether the item should be positioned by the flexbox rules of the layout engine(Relative) or have an absolute fixed position (Absolute). If this property is set to Absolute, the, , and < see cref= "P:Xamarin.Flex.Item.Bottom" /> properties will then be used to determine the item's fixed position in its container. + /// This property defines whether the item should be positioned by the flexbox rules of the layout engine(Relative) or have an absolute fixed position (Absolute). If this property is set to Absolute, the, , and properties will then be used to determine the item's fixed position in its container. /// Any value part of the enumeration. /// The default value for this property is Relative public Position Position { get; set; } = Position.Relative; @@ -387,10 +387,9 @@ namespace Xamarin.Flex Height = height; } + /// Adds a given child item to the current item. + /// Thrown if the child has already been added to another item. /// The child item to be added. - /// Adds a given child item to the current item. - /// Thrown if the child has already been added to another item. - /// Child. public void Add(Item child) { ValidateChild(child); @@ -434,9 +433,9 @@ namespace Xamarin.Flex } } - /// Determines the frames of each child(included nested ones) based on the flexbox rules that were applied on this item and the children themselves.After this method is called, the, , and < see cref= "P:Xamarin.Flex.Item.FrameHeight" /> properties can be accessed on child items. - /// This method must be called on a root (without parent) item where the and < see cref= "P:Xamarin.Flex.Item.Height" /> properties have also been set. - /// Thrown if the item has a parent (must be root) or if the item does not have a proper value set for < see cref = "P:Xamarin.Flex.Item.Width" /> and < see cref = "P:Xamarin.Flex.Item.Height" />. + /// Determines the frames of each child(included nested ones) based on the flexbox rules that were applied on this item and the children themselves.After this method is called, the, , and properties can be accessed on child items. + /// This method must be called on a root (without parent) item where the and properties have also been set. + /// Thrown if the item has a parent (must be root) or if the item does not have a proper value set for and . public void Layout() { if (Parent != null) diff --git a/Xamarin.Forms.Core/OrderedDictionary.cs b/Xamarin.Forms.Core/OrderedDictionary.cs index 6e063b634..ea2b65cc7 100644 --- a/Xamarin.Forms.Core/OrderedDictionary.cs +++ b/Xamarin.Forms.Core/OrderedDictionary.cs @@ -79,9 +79,7 @@ namespace Cadenza.Collections } /// - /// Gets the equality comparer being used for - /// - /// . + /// Gets the equality comparer being used for . /// public IEqualityComparer Comparer {