6 references to ObsoleteState
Microsoft.CodeAnalysis.CSharp (6)
Symbols\ObsoleteAttributeHelpers.cs (1)
128
return getDiagnosticKind(containingMember, forceComplete, getStateFromSymbol: static (symbol) => symbol.
ObsoleteState
);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (4)
929
Debug.Assert(overridingMember.
ObsoleteState
!= ThreeState.Unknown);
930
Debug.Assert(leastOverriddenMember.
ObsoleteState
!= ThreeState.Unknown);
932
bool overridingMemberIsObsolete = overridingMember.
ObsoleteState
== ThreeState.True;
933
bool leastOverriddenMemberIsObsolete = leastOverriddenMember.
ObsoleteState
== ThreeState.True;
Symbols\Symbol_Attributes.cs (1)
954
Debug.Assert(this.
ObsoleteState
!= ThreeState.Unknown, "ObsoleteState should be true or false now.");