How to reference a parameter of a different method?

Viewed 624

Is it possible to reference a parameter from a different method than the one you are writing a summary for, and if so what is the syntax.

I know about <paramref name="..."/> but I don't know how to reference from a different method.

Simple humorous example in case I'm not making myself clear:

/// <summary>
/// Does magical Foo things!
/// </summary>
/// <param name="magic">Magic Toggle!</param>
public void Foo(bool magic)
{
    //...
}

/// <summary>
/// Does Bar things. More down to earth, no <paramref name="Foo(bool).magic"/> involved!
/// </summary>
public void Bar()
{
    //...
}

(Obviously the above is not a great use case, it's just for illustratory purposes.)

1 Answers
Related