13 references to ObsoleteKind
Microsoft.CodeAnalysis.CSharp (13)
Symbols\ObsoleteAttributeHelpers.cs (5)
100
switch (symbol.
ObsoleteKind
)
103
if (symbol.ContainingModule.
ObsoleteKind
is ObsoleteAttributeKind.Experimental
104
|| symbol.ContainingAssembly.
ObsoleteKind
is ObsoleteAttributeKind.Experimental)
109
if (symbol.ContainingModule.
ObsoleteKind
is ObsoleteAttributeKind.Uninitialized
110
|| symbol.ContainingAssembly.
ObsoleteKind
is ObsoleteAttributeKind.Uninitialized)
Symbols\Source\SourceNamedTypeSymbol.cs (5)
1796
Debug.Assert(
ObsoleteKind
!= ObsoleteAttributeKind.Uninitialized);
1797
Debug.Assert(GetMembers().All(m => m.
ObsoleteKind
!= ObsoleteAttributeKind.Uninitialized));
1799
if (
ObsoleteKind
== ObsoleteAttributeKind.None
1800
&& !GetMembers().All(m => m is not MethodSymbol { MethodKind: MethodKind.Constructor,
ObsoleteKind
: ObsoleteAttributeKind.None } method
1810
if (member.
ObsoleteKind
!= ObsoleteAttributeKind.None)
Symbols\Symbol.cs (2)
1406
switch (
ObsoleteKind
)
1428
switch (
ObsoleteKind
)
Symbols\Symbol_Attributes.cs (1)
950
if (this.
ObsoleteKind
== ObsoleteAttributeKind.Uninitialized)