Skip to content

Commit 4dc84a8

Browse files
CoryCharltonjosesimoes
authored andcommitted
Add ExcludeFromStubs attribute (nanoframework#220)
***NO_CI*** (cherry picked from commit d291a82)
1 parent 8a185c1 commit 4dc84a8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using System;
2+
3+
namespace System.Runtime.CompilerServices
4+
{
5+
/// <summary>
6+
/// When a class, enum, or struct is marked with <see cref="ExcludeFromStubsAttribute"/> it will be excluded from the native stubs generated by .NET nanoFramework metadata processor.
7+
/// </summary>
8+
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Struct, AllowMultiple = false, Inherited = true)]
9+
public class ExcludeFromStubsAttribute: Attribute
10+
{
11+
}
12+
}

0 commit comments

Comments
 (0)