9 references to ObsoleteAttributeHelpers
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.cs (2)
717
var kind =
ObsoleteAttributeHelpers
.GetObsoleteDiagnosticKind(symbol, containingMember);
723
info =
ObsoleteAttributeHelpers
.CreateObsoleteDiagnostic(symbol, location);
Errors\LazyObsoleteDiagnosticInfo.cs (2)
45
var kind =
ObsoleteAttributeHelpers
.GetObsoleteDiagnosticKind(symbol, _containingSymbol, forceComplete: true);
52
ObsoleteAttributeHelpers
.CreateObsoleteDiagnostic(symbol, _binderFlags) :
Symbols\Metadata\PE\PEEventSymbol.cs (1)
501
ObsoleteAttributeHelpers
.InitializeObsoleteDataFromMetadata(ref _lazyObsoleteAttributeData, _handle, (PEModuleSymbol)(this.ContainingModule), ignoreByRefLikeMarker: false, ignoreRequiredMemberMarker: false);
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
671
ObsoleteAttributeHelpers
.InitializeObsoleteDataFromMetadata(ref _lazyObsoleteAttributeData, _handle, (PEModuleSymbol)(this.ContainingModule), ignoreByRefLikeMarker: false, ignoreRequiredMemberMarker: false);
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1578
var result =
ObsoleteAttributeHelpers
.GetObsoleteDataFromMetadata(_handle, (PEModuleSymbol)ContainingModule, ignoreByRefLikeMarker: false, ignoreRequiredMemberMarker: MethodKind == MethodKind.Constructor);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2399
ObsoleteAttributeHelpers
.InitializeObsoleteDataFromMetadata(ref uncommon.lazyObsoleteAttributeData, _handle, ContainingPEModule, ignoreByRefLikeMarker, ignoreRequiredMemberMarker: false);
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
1008
var result =
ObsoleteAttributeHelpers
.GetObsoleteDataFromMetadata(_handle, (PEModuleSymbol)(this.ContainingModule), ignoreByRefLikeMarker: false, ignoreRequiredMemberMarker: false);