use MOONLIGHT symbol
[mcs.git] / docs / ecma334 / 20.3.xml
blob745794eb7b1b6a5751752fdbbd7fae5ab50f0e50
1 <?xml version="1.0"?>
2 <clause number="20.3" title="Fully qualified interface member names">
3   <paragraph>An interface member is sometimes referred to by its fully qualified name. The fully qualified name of an interface member consists of the name of the interface in which the member is declared, followed by a dot, followed by the name of the member. The fully qualified name of a member references the interface in which the member is declared. <example>[Example: For example, given the declarations <code_example><![CDATA[
4 interface IControl  
5 {  
6    void Paint();  
7 }  
8 interface ITextBox: IControl  
9 {  
10    void SetText(string text);  
11 }  
12 ]]></code_example>the fully qualified name of Paint is IControl.Paint and the fully qualified name of SetText is ITextBox.SetText. In the example above, it is not possible to refer to Paint as ITextBox.Paint. end example]</example> </paragraph>
13   <paragraph>When an interface is part of a namespace, the fully qualified name of an interface member includes the namespace name. <example>[Example: For example <code_example><![CDATA[
14 namespace System  
15 {  
16    public interface ICloneable  
17    {  
18       object Clone();  
19    }  
20 }  
21 ]]></code_example></example></paragraph>
22   <paragraph>
23     <example>Here, the fully qualified name of the Clone method is System.ICloneable.Clone. end example]</example>
24   </paragraph>
25 </clause>