Skip to content

Commit

Permalink
[return: LanguageInjection] string M() { return "<div>"; }
Browse files Browse the repository at this point in the history
  • Loading branch information
controlflow committed Oct 22, 2024
1 parent 920d4da commit 812138b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Annotations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE

using System;
using System.Diagnostics;
// ReSharper disable UnusedType.Global

#pragma warning disable 1591
// ReSharper disable UnusedType.Global
// ReSharper disable UnusedMember.Global
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable IntroduceOptionalParameters.Global
// ReSharper disable MemberCanBeProtected.Global
// ReSharper disable ConvertToPrimaryConstructor
// ReSharper disable RedundantTypeDeclarationBody
// ReSharper disable ArrangeNamespaceBody
// ReSharper disable InconsistentNaming

namespace JetBrains.Annotations
Expand Down Expand Up @@ -1096,7 +1098,7 @@ public enum InjectedLanguage
/// {
/// }
/// </code></example>
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property)]
[AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.ReturnValue)]
[Conditional("JETBRAINS_ANNOTATIONS")]
public sealed class LanguageInjectionAttribute : Attribute
{
Expand Down

0 comments on commit 812138b

Please sign in to comment.