diff options
Diffstat (limited to 'src/Common/src/TypeSystem/Mangling/IPrefixMangledSignature.cs')
-rw-r--r-- | src/Common/src/TypeSystem/Mangling/IPrefixMangledSignature.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Common/src/TypeSystem/Mangling/IPrefixMangledSignature.cs b/src/Common/src/TypeSystem/Mangling/IPrefixMangledSignature.cs new file mode 100644 index 000000000..3dabbc53a --- /dev/null +++ b/src/Common/src/TypeSystem/Mangling/IPrefixMangledSignature.cs @@ -0,0 +1,23 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +namespace Internal.TypeSystem +{ + /// <summary> + /// When implemented by a <see cref="MethodDesc"/>, instructs a name mangler to use the same mangled name + /// as another entity while prepending a specific prefix to that mangled name. + /// </summary> + public interface IPrefixMangledSignature + { + /// <summary> + /// Signature whose mangled name to use. + /// </summary> + MethodSignature BaseSignature { get; } + + /// <summary> + /// Prefix to apply when mangling. + /// </summary> + string Prefix { get; } + } +} |