Skip to content

Commit 1ab5c3c

Browse files
committed
[generator] Add additional AttributeTargets to our dummy SupportedOSPlatformAttribute.
1 parent 7dfbab6 commit 1ab5c3c

File tree

23 files changed

+23
-23
lines changed

23 files changed

+23
-23
lines changed

tests/generator-Tests/expected.xaji/AccessModifiers/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#if !NET
88
namespace System.Runtime.Versioning {
99
[System.Diagnostics.Conditional("NEVER")]
10-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
10+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1111
internal sealed class SupportedOSPlatformAttribute : Attribute {
1212
public SupportedOSPlatformAttribute (string platformName) { }
1313
}

tests/generator-Tests/expected.xaji/Adapters/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#if !NET
99
namespace System.Runtime.Versioning {
1010
[System.Diagnostics.Conditional("NEVER")]
11-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
11+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1212
internal sealed class SupportedOSPlatformAttribute : Attribute {
1313
public SupportedOSPlatformAttribute (string platformName) { }
1414
}

tests/generator-Tests/expected.xaji/Android.Graphics.Color/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#if !NET
99
namespace System.Runtime.Versioning {
1010
[System.Diagnostics.Conditional("NEVER")]
11-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
11+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1212
internal sealed class SupportedOSPlatformAttribute : Attribute {
1313
public SupportedOSPlatformAttribute (string platformName) { }
1414
}

tests/generator-Tests/expected.xaji/Arrays/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#if !NET
77
namespace System.Runtime.Versioning {
88
[System.Diagnostics.Conditional("NEVER")]
9-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
9+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1010
internal sealed class SupportedOSPlatformAttribute : Attribute {
1111
public SupportedOSPlatformAttribute (string platformName) { }
1212
}

tests/generator-Tests/expected.xaji/CSharpKeywords/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#if !NET
99
namespace System.Runtime.Versioning {
1010
[System.Diagnostics.Conditional("NEVER")]
11-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
11+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1212
internal sealed class SupportedOSPlatformAttribute : Attribute {
1313
public SupportedOSPlatformAttribute (string platformName) { }
1414
}

tests/generator-Tests/expected.xaji/Constructors/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#if !NET
77
namespace System.Runtime.Versioning {
88
[System.Diagnostics.Conditional("NEVER")]
9-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
9+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1010
internal sealed class SupportedOSPlatformAttribute : Attribute {
1111
public SupportedOSPlatformAttribute (string platformName) { }
1212
}

tests/generator-Tests/expected.xaji/Core_ClassParse/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#if !NET
88
namespace System.Runtime.Versioning {
99
[System.Diagnostics.Conditional("NEVER")]
10-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
10+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1111
internal sealed class SupportedOSPlatformAttribute : Attribute {
1212
public SupportedOSPlatformAttribute (string platformName) { }
1313
}

tests/generator-Tests/expected.xaji/Core_Jar2Xml/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if !NET
1010
namespace System.Runtime.Versioning {
1111
[System.Diagnostics.Conditional("NEVER")]
12-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
12+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1313
internal sealed class SupportedOSPlatformAttribute : Attribute {
1414
public SupportedOSPlatformAttribute (string platformName) { }
1515
}

tests/generator-Tests/expected.xaji/GenericArguments/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if !NET
1010
namespace System.Runtime.Versioning {
1111
[System.Diagnostics.Conditional("NEVER")]
12-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
12+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1313
internal sealed class SupportedOSPlatformAttribute : Attribute {
1414
public SupportedOSPlatformAttribute (string platformName) { }
1515
}

tests/generator-Tests/expected.xaji/InterfaceMethodsConflict/__NamespaceMapping__.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#if !NET
88
namespace System.Runtime.Versioning {
99
[System.Diagnostics.Conditional("NEVER")]
10-
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Event | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
10+
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Constructor | AttributeTargets.Enum | AttributeTargets.Event | AttributeTargets.Field | AttributeTargets.Interface | AttributeTargets.Method | AttributeTargets.Module | AttributeTargets.Property | AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
1111
internal sealed class SupportedOSPlatformAttribute : Attribute {
1212
public SupportedOSPlatformAttribute (string platformName) { }
1313
}

0 commit comments

Comments
 (0)