diff options
author | Jb Evain <jb@evain.net> | 2019-01-27 09:32:36 +0300 |
---|---|---|
committer | Jb Evain <jb@evain.net> | 2019-02-12 01:38:44 +0300 |
commit | 74acc62bcfe953d4d97f39b3e08c77a5502450b5 (patch) | |
tree | f5423013d2986674f872ea725d08ee3fbd8f19fd | |
parent | 8b6a2b88719a7120733d93e597d482c1a37c40b9 (diff) |
Move caller attribute together
-rw-r--r-- | Test/Mono.Cecil.Tests/BaseTestFixture.cs | 6 | ||||
-rw-r--r-- | Test/Mono.Cecil.Tests/CallerMemberNameAttribute.cs | 10 |
2 files changed, 6 insertions, 10 deletions
diff --git a/Test/Mono.Cecil.Tests/BaseTestFixture.cs b/Test/Mono.Cecil.Tests/BaseTestFixture.cs index 8533549..f349866 100644 --- a/Test/Mono.Cecil.Tests/BaseTestFixture.cs +++ b/Test/Mono.Cecil.Tests/BaseTestFixture.cs @@ -8,8 +8,14 @@ using Mono.Cecil.PE; #if !NET_CORE namespace System.Runtime.CompilerServices { + + [AttributeUsage (AttributeTargets.Parameter, Inherited = false)] public sealed class CallerFilePathAttribute : Attribute { } + + [AttributeUsage (AttributeTargets.Parameter, Inherited = false)] + public sealed class CallerMemberNameAttribute : Attribute { + } } #endif diff --git a/Test/Mono.Cecil.Tests/CallerMemberNameAttribute.cs b/Test/Mono.Cecil.Tests/CallerMemberNameAttribute.cs deleted file mode 100644 index 63bd9b8..0000000 --- a/Test/Mono.Cecil.Tests/CallerMemberNameAttribute.cs +++ /dev/null @@ -1,10 +0,0 @@ -#if NET_3_5 || NET_4_0 -namespace System.Runtime.CompilerServices { - [AttributeUsage (AttributeTargets.Parameter, Inherited = false)] - public sealed class CallerMemberNameAttribute : Attribute { - public CallerMemberNameAttribute () - { - } - } -} -#endif
\ No newline at end of file |