Skip to content

Commit e17763d

Browse files
authored
Un-obsolete extension ITypeSymbol APIs (#82192)
Resolves #82148 per yesterday's API review decision.
1 parent fda6b1f commit e17763d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Compilers/Core/Portable/Symbols/ITypeSymbol.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System;
66
using System.Collections.Generic;
77
using System.Collections.Immutable;
8+
using System.ComponentModel;
89
using System.Diagnostics;
910
using System.Diagnostics.CodeAnalysis;
1011

@@ -80,10 +81,12 @@ public interface ITypeSymbol : INamespaceOrTypeSymbol
8081
/// </summary>
8182
bool IsNativeIntegerType { get; }
8283

83-
[Obsolete($"This API will be removed in the future. Use {nameof(INamedTypeSymbol)}.{nameof(INamedTypeSymbol.IsExtension)} instead.")]
84+
// 4.14 BACKCOMPAT OVERLOAD -- DO NOT TOUCH
85+
[EditorBrowsable(EditorBrowsableState.Never)]
8486
bool IsExtension { get; }
8587

86-
[Obsolete($"This API will be removed in the future. Use {nameof(INamedTypeSymbol)}.{nameof(INamedTypeSymbol.ExtensionParameter)} instead.")]
88+
// 4.14 BACKCOMPAT OVERLOAD -- DO NOT TOUCH
89+
[EditorBrowsable(EditorBrowsableState.Never)]
8790
IParameterSymbol? ExtensionParameter { get; }
8891

8992
/// <summary>

0 commit comments

Comments
 (0)