Skip to content

Commit

Permalink
Resolve ILLink warnings in System.ComponentModel.TypeConvert (Final)
Browse files Browse the repository at this point in the history
Contributes to dotnet#45623
  • Loading branch information
eerhardt committed Apr 15, 2021
1 parent 6d098da commit 28e8a5e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ protected virtual void Dispose(bool disposing) { }
public virtual object GetService(System.Type service) { throw null; }
public override string ToString() { throw null; }
}
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public partial class MaskedTextProvider : System.ICloneable
{
public MaskedTextProvider(string mask) { }
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Runtime.Versioning;
using System.Text;
Expand All @@ -19,6 +19,7 @@ namespace System.ComponentModel
/// to the test string itself, since mask literals cannot be modified (i.e: replacing on a literal position
/// will actually replace on the nearest edit position forward).
/// </summary>
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)]
public class MaskedTextProvider : ICloneable
{
///
Expand Down

0 comments on commit 28e8a5e

Please sign in to comment.