Imported Upstream version 5.10.0.47

Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2018-01-24 17:04:36 +00:00
parent 88ff76fe28
commit e46a49ecf1
5927 changed files with 226314 additions and 129848 deletions

View File

@@ -41,7 +41,7 @@ namespace System.ComponentModel
internal bool CanRaiseEventsInternal => CanRaiseEvents;
/// <summary>
/// <para>Adds a event handler to listen to the Disposed event on the component.</para>
/// <para>Adds an event handler to listen to the Disposed event on the component.</para>
/// </summary>
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Advanced)]
@@ -119,7 +119,7 @@ namespace System.ComponentModel
/// }
/// </code>
/// <para>
/// For base classes, you should never override the Finalier (~Class in C#)
/// For base classes, you should never override the Finalizer (~Class in C#)
/// or the Dispose method that takes no arguments, rather you should
/// always override the Dispose method that takes a bool.
/// </para>

View File

@@ -38,7 +38,7 @@ namespace System.ComponentModel
}
/// <summary>
/// <para>Adds a event handler to listen to the Disposed event on the component.</para>
/// <para>Adds an event handler to listen to the Disposed event on the component.</para>
/// </summary>
event EventHandler Disposed;
}

View File

@@ -32,7 +32,7 @@ namespace System.ComponentModel
public static readonly NotifyParentPropertyAttribute Default = No;
/// <summary>
/// <para>Initiailzes a new instance of the NotifyPropertyAttribute class
/// <para>Initializes a new instance of the NotifyPropertyAttribute class
/// that uses the specified value
/// to indicate whether the parent property should be notified when a child namespace property is modified.</para>
/// </summary>

View File

@@ -10,6 +10,7 @@ namespace System.ComponentModel.Tests
public class CategoryAttributeTests
{
[Fact]
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework)] // NetFX does not have fix for #21369
public void Ctor_Default()
{
var attribute = new CategoryAttribute();
@@ -27,6 +28,7 @@ namespace System.ComponentModel.Tests
[Theory]
[MemberData(nameof(Ctor_Category_TestData))]
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework, "Does not have the fix for https://github.com/dotnet/corefx/issues/21356")]
public void Ctor_Category(string category, bool expectedIsDefaultAttribute)
{
var attribute = new CategoryAttribute(category);