Hi!

Today I've reported an MCS error where it wasn't possible to override
"protected internal" method with method declared as "protected" in another
assembly.

Here's my attempt to fix it: I've added some conditions in "decl.cs" (patch
included) and some mini test to check this functionality (second and fourth
compilations should fail under both mcs and csc)

Can you please verify the patch and commit if it's ok (I'm using read-only
CVS access)

Jarek

PS. Yes, the tests are very ugly but I couldn't come up with anything simple
to do the job.

Attachment: protected_internal.patch
Description: Binary data

Attachment: test.tar.gz
Description: GNU Zip compressed data

Reply via email to