public void CheckObsoleteness(Location loc) { ObsoleteAttribute oa = AttributeTester.GetMemberObsoleteAttribute(fi); if (oa == null) { return; } AttributeTester.Report_ObsoleteMessage(oa, TypeManager.GetFullNameSignature(fi), loc, RootContext.ToplevelTypes.Compiler.Report); }
public void CheckObsoleteness(ParseContext parseContext, SourceSpan location) { var oa = AttributeTester.GetMemberObsoleteAttribute(_field); if (oa == null) { return; } AttributeTester.ReportObsoleteMessage(parseContext, oa, TypeManager.GetFullNameSignature(_field), location); }