473,320 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Accessibility Domains???

The ECMA C# standard states this:

Suppose M is a member nested on type T within program P. Then the
accessibility domain of M is:

If the declared accessibility of M is
protected, let D be the union of the
program text of T [the part between { and } of T's
definition - added by me] and the program text of any
type derived from T. The accessibility domain of M is the
intersection of the accessibility domain of T [i:30cd915bf1][let's
call this A(T) - added by me][/i:30cd915bf1] with D

(page 73)

I've tried to find cases where the intersection of D and A(T) isn't
equal to D, but I can't find any!!! This part of standard is really
making me nuts :evil: , so can anyone help me try to find a case
where "A(T) intersection D" isn't equal D? If such case doesn't
exist, then should the standard be better of by just saying that the
accessibility domain of M is D?

Thanks a lot beforehand...
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 15 '05 #1
1 1233

"agro_r" <ag***************@yahoo-dot-com.no-spam.invalid> wrote in message
news:40********@Usenet.com...
The ECMA C# standard states this:

Suppose M is a member nested on type T within program P. Then the
accessibility domain of M is:

If the declared accessibility of M is
protected, let D be the union of the
program text of T [the part between { and } of T's
definition - added by me] and the program text of any
type derived from T. The accessibility domain of M is the
intersection of the accessibility domain of T [i:30cd915bf1][let's
call this A(T) - added by me][/i:30cd915bf1] with D

(page 73)

I've tried to find cases where the intersection of D and A(T) isn't
equal to D, but I can't find any!!! This part of standard is really
making me nuts :evil: , so can anyone help me try to find a case
where "A(T) intersection D" isn't equal D? If such case doesn't
exist, then should the standard be better of by just saying that the
accessibility domain of M is D?


I think you are right about this - the wording is unnecessarily complex.

You cannot derive a type from T outside T's accessibility domain. Therefore
D is always a subset of A(T), and it follows that the intersection of A(T)
and D is always D.

Sami
www.capehill.net
Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: JAMESICUS | last post by:
Refer to ..... http://news.com.com/2100-1032-5063444.html James Pickering Pickering Pages http://www.jp29.org/
9
by: Barbara de Zoete | last post by:
I am getting more and more confused as to the meaning of the words 'accessibility' and 'usability' *in the context of the world wide web*. What do these two words mean? How do they differ from one...
5
by: Dave Henson | last post by:
Hi I am checking a site for accessibility and Dreamweaver suggests making sure that the menu is accessible via keyboard as well as mouse (i.e device-independent). A question has arisen which is...
54
by: richard_quick_uk | last post by:
Hi, If anyone's got the time I'd really appreciate any feedback on the accessibility of this site: http://www.cata.co.uk/_index.a­sp
0
by: Veli-Pekka Tätilä | last post by:
Hi, My first post here. I've found some serious accessibility flaws in the Python 2.4 docs and wish they could be rectified over time. I'm very new to Python and initially contacted docs at python...
4
by: waltborders | last post by:
Hi, Because the blind are unable to use a mouse, keyboard navigation is key. A major difficulty is that not all windows forms controls are keyboard 'tab-able' or 'arrow-able' or have "tab...
3
by: Edward Diener | last post by:
According to the CLS specification, the accessibility of the methods for adding, removing, and raising an event must be identical. There appear to be a few problems with this: 1) According to...
7
by: Doug | last post by:
An ASP.NET session cookie set on "www.mydomain.com" can not be accessed on "search.mydomain.com"; hence, a new session and cookie are being created on every sub-domain. This is occuring because...
8
by: cms-hispano.org | last post by:
i'm building a site about extreme accessibility, i.e.: how (and why) to get sites to become fully accessible, *beyond* W3C Web Accessibility Initiative guidelines. it's far from being completed (i...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.