Skip to content

Commit 47facca

Browse files
committed
Add Conditional attribute to Jetbrains.Annotations
1 parent 4ec562c commit 47facca

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Ramstack.Structures/Internal/Jetbrains.Assertions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ namespace JetBrains.Annotations;
4646
/// If <see cref="RequireAwait"/> is true, the attribute will only take effect if the method invocation is located under the 'await' expression.
4747
/// </summary>
4848
[AttributeUsage(AttributeTargets.Parameter)]
49+
[Conditional("JETBRAINS_ANNOTATIONS")]
4950
internal sealed class InstantHandleAttribute : Attribute
5051
{
5152
/// <summary>
@@ -61,4 +62,5 @@ internal sealed class InstantHandleAttribute : Attribute
6162
/// of delegate type by analyzing LINQ method chains.
6263
/// </summary>
6364
[AttributeUsage(AttributeTargets.Method)]
65+
[Conditional("JETBRAINS_ANNOTATIONS")]
6466
internal sealed class LinqTunnelAttribute : Attribute { }

0 commit comments

Comments
 (0)