Skip to content

Commit

Permalink
ExtensionAttribute must be public to prevent compiler errors
Browse files Browse the repository at this point in the history
The compiler ignores that it's internal and generates an error when
compiling other DLLs. Making it public solves the error but there
are still warnings (which can be ignored).
  • Loading branch information
wtfsck committed May 10, 2014
1 parent 7c69f11 commit 4abc598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ExtensionAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

namespace System.Runtime.CompilerServices {
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method)]
sealed class ExtensionAttribute : Attribute {
public sealed class ExtensionAttribute : Attribute {
}
}

0 comments on commit 4abc598

Please sign in to comment.