jonot / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Make the section handler attributes public #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The various section handler attributes are currently internal sealed
attributes (ErrorMailSectionHandler, SecuritySectionHandler, etc). Make
these public for ReSharper's sake, as it constantly complains that it can't
find the attribute in the web.config when I leave solution wide analysis
turned on.

Switching these attributes to public on a local build worked just fine.
They can stay sealed if you don't want them sub-classed for whatever reason.

Original issue reported on code.google.com by dmozi...@gmail.com on 17 Feb 2009 at 9:26

GoogleCodeExporter commented 9 years ago
This should be a feedback for the ReSharper folks. There is nothing in .NET 
Framework that says classes serving as section handlers must be publicly 
accessible.

Original comment by azizatif on 17 Feb 2009 at 10:47

GoogleCodeExporter commented 9 years ago
Good point. I'll submit the issue to Jetbrains and keep using my custom build 
with
the attributes marked as public.

Original comment by sweetmag...@gmail.com on 18 Feb 2009 at 2:37

GoogleCodeExporter commented 9 years ago

Original comment by azizatif on 18 Feb 2009 at 9:28