1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 14:08:48 +00:00

chore: make attributes internal

This commit is contained in:
Oliver Booth 2023-04-06 17:05:37 +01:00
parent 7556efdfdd
commit ce35f8676e
No known key found for this signature in database
GPG Key ID: 20BEB9DC87961025
3 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,4 @@
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("X10D")]
[assembly: InternalsVisibleTo("SourceGenerator")]

View File

@ -1,6 +1,6 @@
namespace X10D.MetaServices; namespace X10D.MetaServices;
[AttributeUsage(AttributeTargets.Method, Inherited = false)] [AttributeUsage(AttributeTargets.Method, Inherited = false)]
public sealed class AutoOverloadAttribute : Attribute internal sealed class AutoOverloadAttribute : Attribute
{ {
} }

View File

@ -1,7 +1,7 @@
namespace X10D.MetaServices; namespace X10D.MetaServices;
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.ReturnValue, Inherited = false)] [AttributeUsage(AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.ReturnValue, Inherited = false)]
public sealed class OverloadTypeAttribute : Attribute internal sealed class OverloadTypeAttribute : Attribute
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the <see cref="OverloadTypeAttribute"/> class. /// Initializes a new instance of the <see cref="OverloadTypeAttribute"/> class.