SBNH (Sorry, but not helped) :)
I don't understand your answer. If I extend the previous example with:
public class A : IComparable
{
int IComparable.Com pareTo(object obj)
{
return 1;
}
void blabla()
{
}
}
/// <summary>
/// <see cref="A.System. IComparable.Com pareTo"/>,
/// <see cref="A.blabla"/>
/// </summary>
public class Form1 : System.Windows. Forms.Form
{
public Form1()
{
InitializeCompo nent();
A kakukk = new A();
kakukk.blabla() ;
((IComparable)k akukk).CompareT o(7);
}
}
, the second reference ('<see cref="A.blabla"/>') is accepted, the
first one not. If I watch the model using Reflector, it views
-A
-blabla() : void
-System.ICompara ble.CompareTo(O bject) : Int32
and if I invoke blabla(), the call stack in the debugger is:
TrySerializable .exe!proba46.A. blabla() Line 29 C#
while invoking the CompareTo method:
TrySerializable .exe!proba46.A. System.ICompara ble.CompareTo(S ystem.Object
obj = {7}) Line 24 C#
So, what am I doing wrong?
"Brian W" <brianw@gold_de ath_2_spam_rush .com> wrote in message news:<eJ******* *******@TK2MSFT NGP11.phx.gbl>. ..
You get this because "A.System.IComp arable.CompareT o" is not defined in your
project.
HTH
Brian W