Reference type not passed as reference
<p>I have this strange problem in my unit tests. See the following code</p>

<pre><code>_pos = null;
Utilities.InitPOS(_pos, trans);
Assert.IsNotNull(_pos); //fails
</code></pre>

<p>The <code>InitPOS</code> functions looks like</p>

<pre><code>public static void InitPOS(POSImplementation pos, Transaction newTransaction)
{
    pos = new POSImplementation();
    pos.SomeProp = new SomeProp();
    pos.SomeProp.SetTransaction(newTransaction);
    Assert.IsNotNull(pos);
    Assert.IsNotNull(pos.SomeProp);
}
</code></pre>

<p>The object <code>POSImplementation</code> is an implementation of some interface and it is a class, so it is a reference type...</p>

<p>Any idea?</p>
