<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/dotnetmock/patches/" rel="alternate"/><link href="https://sourceforge.net/p/dotnetmock/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/dotnetmock/patches/</id><updated>2005-04-02T12:08:57Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>bugfix for #1174059 </title><link href="https://sourceforge.net/p/dotnetmock/patches/4/" rel="alternate"/><published>2005-04-02T12:08:57Z</published><updated>2005-04-02T12:08:57Z</updated><author><name>Kari Hirvi</name><uri>https://sourceforge.net/u/kpth/</uri></author><id>https://sourceforge.net993720d7ede457d73aff0657205d32155318de9a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Diff attached.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Value Types Support (Fix for Defect #935311)</title><link href="https://sourceforge.net/p/dotnetmock/patches/3/" rel="alternate"/><published>2004-05-19T19:11:39Z</published><updated>2004-05-19T19:11:39Z</updated><author><name>Brian C Vargas</name><uri>https://sourceforge.net/u/ardvaark/</uri></author><id>https://sourceforge.netee02951f98a31540351ada51aa8e1d4d8ccd5a16</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have created a patch to add support for value types&lt;br /&gt;
to the generated dynamic mock stubs.  This patch also&lt;br /&gt;
cleans up some of the generated IL by:&lt;/p&gt;
&lt;p&gt;1) Added a local variable for the object[] passed to&lt;br /&gt;
the Mock.Call() method.&lt;/p&gt;
&lt;p&gt;2) Removed some unnecessary data shuffling done at the&lt;br /&gt;
end of the method before the return.  The IL generated&lt;br /&gt;
seems to have been reverse-engineered from the MS C#&lt;br /&gt;
compiler, which puts similar pointless work at the end&lt;br /&gt;
of some methods.&lt;/p&gt;
&lt;p&gt;This patch also adds unit tests for value types.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fix for Defect #944688</title><link href="https://sourceforge.net/p/dotnetmock/patches/2/" rel="alternate"/><published>2004-04-29T22:16:51Z</published><updated>2004-04-29T22:16:51Z</updated><author><name>Brian C Vargas</name><uri>https://sourceforge.net/u/ardvaark/</uri></author><id>https://sourceforge.net654701e2e099d8fe6544f526c2d724f62b6dff9a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch modifies the ClassGenerator.cs file to&lt;br /&gt;
correctly support interface inheritance.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fixes Dispose() so that it calls Close() as needed</title><link href="https://sourceforge.net/p/dotnetmock/patches/1/" rel="alternate"/><published>2004-02-23T22:02:56Z</published><updated>2004-02-23T22:02:56Z</updated><author><name>Shy Aberman</name><uri>https://sourceforge.net/u/shilo/</uri></author><id>https://sourceforge.netbacd8fae36d74dc02cc76caab5d1428d1a3adab3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I think Dispose() in MockDataReader and&lt;br /&gt;
MockDbConnection should call Close() if it is not&lt;br /&gt;
already closed.&lt;/p&gt;
&lt;p&gt;Currently, Dispose() does nothing in both classes, so&lt;br /&gt;
using blocks do not work as expected.&lt;/p&gt;
&lt;p&gt;The other concrete implementations of IDataReader and&lt;br /&gt;
IDbConnection all call Close() from Dispose() or some&lt;br /&gt;
equivalent. (SqlDataReader, SqlConnection,&lt;br /&gt;
OdbcDataReader, OdbcConnection, OleDbDataReader,&lt;br /&gt;
OleDbConnection, OracleDataReader, and OracleConnection)&lt;/p&gt;
&lt;p&gt;The attached patches modify the MockDataReader.cs and&lt;br /&gt;
MockDbConnection.cs files in the&lt;br /&gt;
DotNetMock.Framework\Data\MockDataReader directory. The&lt;br /&gt;
patches have been generated against the most recent&lt;br /&gt;
codebase in CVS. (3 pm EST, 23 Feb, 2004)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>