-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
DAMT.*WithInherited
(#109608)
- Loading branch information
1 parent
4087cc8
commit f7334fa
Showing
15 changed files
with
1,037 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
src/tools/illink/src/ILLink.Shared/DynamicallyAccessedMemberTypesEx.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Copyright (c) .NET Foundation and contributors. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
using System; | ||
|
||
namespace System.Diagnostics.CodeAnalysis | ||
{ | ||
public static class DynamicallyAccessedMemberTypesEx | ||
{ | ||
/// <summary> | ||
/// Specifies all non-public constructors, including those inherited from base classes. | ||
/// </summary> | ||
public const DynamicallyAccessedMemberTypes NonPublicConstructorsWithInherited = DynamicallyAccessedMemberTypes.NonPublicConstructors | (DynamicallyAccessedMemberTypes) 0x4000; | ||
|
||
/// <summary> | ||
/// Specifies all non-public methods, including those inherited from base classes. | ||
/// </summary> | ||
public const DynamicallyAccessedMemberTypes NonPublicMethodsWithInherited = DynamicallyAccessedMemberTypes.NonPublicMethods | (DynamicallyAccessedMemberTypes) 0x8000; | ||
|
||
/// <summary> | ||
/// Specifies all non-public fields, including those inherited from base classes. | ||
/// </summary> | ||
public const DynamicallyAccessedMemberTypes NonPublicFieldsWithInherited = DynamicallyAccessedMemberTypes.NonPublicFields | (DynamicallyAccessedMemberTypes) 0x10000; | ||
|
||
/// <summary> | ||
/// Specifies all non-public nested types, including those inherited from base classes. | ||
/// </summary> | ||
public const DynamicallyAccessedMemberTypes NonPublicNestedTypesWithInherited = DynamicallyAccessedMemberTypes.NonPublicNestedTypes | (DynamicallyAccessedMemberTypes) 0x20000; | ||
|
||
/// <summary> | ||
/// Specifies all non-public properties, including those inherited from base classes. | ||
/// </summary> | ||
public const DynamicallyAccessedMemberTypes NonPublicPropertiesWithInherited = DynamicallyAccessedMemberTypes.NonPublicProperties | (DynamicallyAccessedMemberTypes) 0x40000; | ||
|
||
/// <summary> | ||
/// Specifies all non-public events, including those inherited from base classes. | ||
/// </summary> | ||
public const DynamicallyAccessedMemberTypes NonPublicEventsWithInherited = DynamicallyAccessedMemberTypes.NonPublicEvents | (DynamicallyAccessedMemberTypes) 0x80000; | ||
|
||
/// <summary> | ||
/// Specifies all public constructors, including those inherited from base classes. | ||
/// </summary> | ||
public const DynamicallyAccessedMemberTypes PublicConstructorsWithInherited = DynamicallyAccessedMemberTypes.PublicConstructors | (DynamicallyAccessedMemberTypes) 0x100000; | ||
|
||
/// <summary> | ||
/// Specifies all public nested types, including those inherited from base classes. | ||
/// </summary> | ||
public const DynamicallyAccessedMemberTypes PublicNestedTypesWithInherited = DynamicallyAccessedMemberTypes.PublicNestedTypes | (DynamicallyAccessedMemberTypes) 0x200000; | ||
} | ||
} |
Oops, something went wrong.