Skip to content

Commit c4a8267

Browse files
committed
Add '[Embedded]' on polyfill types
1 parent 8c4f870 commit c4a8267

File tree

56 files changed

+56
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+56
-0
lines changed

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace System.Diagnostics.CodeAnalysis
2020
global::System.AttributeTargets.Method,
2121
AllowMultiple = true, Inherited = false)]
2222
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
23+
[global::Microsoft.CodeAnalysis.Embedded]
2324
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
2425
internal sealed class DynamicDependencyAttribute : global::System.Attribute
2526
{

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace System.Diagnostics.CodeAnalysis
1414
/// bitwise combination of its member values.
1515
/// </summary>
1616
[global::System.Flags]
17+
[global::Microsoft.CodeAnalysis.Embedded]
1718
internal enum DynamicallyAccessedMemberTypes
1819
{
1920
/// <summary>

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ namespace System.Diagnostics.CodeAnalysis
4141
global::System.AttributeTargets.Struct,
4242
Inherited = false)]
4343
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
44+
[global::Microsoft.CodeAnalysis.Embedded]
4445
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
4546
internal sealed class DynamicallyAccessedMembersAttribute : global::System.Attribute
4647
{

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.FeatureGuardAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace System.Diagnostics.CodeAnalysis
1818
/// </remarks>
1919
[global::System.AttributeUsage(global::System.AttributeTargets.Property, Inherited = false, AllowMultiple = true)]
2020
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
21+
[global::Microsoft.CodeAnalysis.Embedded]
2122
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
2223
internal sealed class FeatureGuardAttribute : global::System.Attribute
2324
{

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.FeatureSwitchDefinitionAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace System.Diagnostics.CodeAnalysis
1717
/// </remarks>
1818
[global::System.AttributeUsage(global::System.AttributeTargets.Property, Inherited = false)]
1919
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
20+
[global::Microsoft.CodeAnalysis.Embedded]
2021
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
2122
internal sealed class FeatureSwitchDefinitionAttribute : global::System.Attribute
2223
{

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ namespace System.Diagnostics.CodeAnalysis
1717
global::System.AttributeTargets.Property,
1818
Inherited = false, AllowMultiple = false)]
1919
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
20+
[global::Microsoft.CodeAnalysis.Embedded]
2021
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
2122
internal sealed class RequiresAssemblyFilesAttribute : global::System.Attribute
2223
{

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace System.Diagnostics.CodeAnalysis
2020
global::System.AttributeTargets.Class,
2121
Inherited = false)]
2222
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
23+
[global::Microsoft.CodeAnalysis.Embedded]
2324
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
2425
internal sealed class RequiresDynamicCodeAttribute : global::System.Attribute
2526
{

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace System.Diagnostics.CodeAnalysis
2020
global::System.AttributeTargets.Constructor |
2121
global::System.AttributeTargets.Class, Inherited = false)]
2222
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
23+
[global::Microsoft.CodeAnalysis.Embedded]
2324
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
2425
internal sealed class RequiresUnreferencedCodeAttribute : global::System.Attribute
2526
{

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace System.Diagnostics.CodeAnalysis
1818
/// </remarks>
1919
[global::System.AttributeUsage(global::System.AttributeTargets.All, Inherited = false, AllowMultiple = true)]
2020
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
21+
[global::Microsoft.CodeAnalysis.Embedded]
2122
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
2223
internal sealed class UnconditionalSuppressMessageAttribute : global::System.Attribute
2324
{

src/PolySharp.SourceGenerators/EmbeddedResources/RuntimeSupported/System.Diagnostics.DebuggerDisableUserUnhandledExceptionsAttribute.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace System.Diagnostics
1414
/// </summary>
1515
[global::System.AttributeUsage(global::System.AttributeTargets.Method)]
1616
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
17+
[global::Microsoft.CodeAnalysis.Embedded]
1718
[global::System.Diagnostics.Conditional("MULTI_TARGETING_SUPPORT_ATTRIBUTES")]
1819
internal sealed class DebuggerDisableUserUnhandledExceptionsAttribute : global::System.Attribute
1920
{

0 commit comments

Comments
 (0)