/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Dependencies/Contracts/InterpolatedStringHandlerAttribute.cs
28 строк
1 KB
Tomáš Matoušek
Source package fixes (#78534)
09 май 2025, 23:25
Не верифицирован
09 май 2025, 23:25
0899e12
Код
Авторство
О чём код?
// 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. #nullable enable #if NET6_0_OR_GREATER using System.Runtime.CompilerServices; #pragma warning disable RS0016 // Add public types and members to the declared API (this is a supporting forwarder for an internal polyfill API) [assembly: TypeForwardedTo(typeof(InterpolatedStringHandlerAttribute))] #pragma warning restore RS0016 // Add public types and members to the declared API #else namespace System.Runtime.CompilerServices { /// <summary>Indicates the attributed type is to be used as an interpolated string handler.</summary> [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)] internal sealed class InterpolatedStringHandlerAttribute : Attribute { /// <summary>Initializes the <see cref="InterpolatedStringHandlerAttribute"/>.</summary> public InterpolatedStringHandlerAttribute() { } } } #endif