diff --git a/src/Compilers/CSharp/Portable/Symbols/Symbol.cs b/src/Compilers/CSharp/Portable/Symbols/Symbol.cs index 0df4e369b4f60..4f1a4d2545fea 100644 --- a/src/Compilers/CSharp/Portable/Symbols/Symbol.cs +++ b/src/Compilers/CSharp/Portable/Symbols/Symbol.cs @@ -1438,11 +1438,6 @@ internal bool ReportExplicitUseOfReservedAttributes(in DecodeWellKnownAttributeA // Do not use 'System.Runtime.CompilerServices.RequiredMemberAttribute'. Use the 'required' keyword on required fields and properties instead. diagnostics.Add(ErrorCode.ERR_ExplicitRequiredMember, arguments.AttributeSyntaxOpt.Location); } - // https://github.com/dotnet/roslyn/issues/62124: Re-enable check for LifetimeAnnotationAttribute. - //else if ((reserved & ReservedAttributes.LifetimeAnnotationAttribute) != 0 && - // reportExplicitUseOfReservedAttribute(attribute, arguments, AttributeDescription.LifetimeAnnotationAttribute)) - //{ - //} else { return false;