disable broken tests on net_4_0
[mcs.git] / docs / ecma334 / 10.8.1.xml
blobcca5ce482c2b676fefdd0824f82c3c82669e8aae
1 <?xml version="1.0"?>
2 <clause number="10.8.1" title="Fully qualified names">
3   <paragraph>Every namespace and type has a fully qualified name, which uniquely identifies the namespace or type amongst all others. The fully qualified name of a namespace or type N is determined as follows: <list><list_item> If N is a member of the global namespace, its fully qualified name is N. </list_item><list_item> Otherwise, its fully qualified name is S.N, where S is the fully qualified name of the namespace or type in which N is declared. </list_item></list></paragraph>
4   <paragraph>In other words, the fully qualified name of N is the complete hierarchical path of identifiers that lead to N, starting from the global namespace. Because every member of a namespace or type must have a unique name, it follows that the fully qualified name of a namespace or type is always unique. </paragraph>
5   <paragraph>
6     <example>[Example: The example below shows several namespace and type declarations along with their associated fully qualified names. <code_example><![CDATA[
7 class A {}        // A  
8 namespace X       // X  
9 {  
10    class B        // X.B  
11    {  
12       class C {}   // X.B.C  
13    }  
14    namespace Y   // X.Y  
15    {  
16       class D {}   // X.Y.D  
17    }  
18 }  
19 namespace X.Y    // X.Y  
20 {  
21    class E {}    // X.Y.E  
22 }  
23 ]]></code_example>end example]</example>
24   </paragraph>
25 </clause>