﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Patrick Smacchia commented on An NH Prof Bug Story: Why integration is tricky</title><description>my mantra: make as many assumptions as possible, 
  
as long that for each there is some proper Debug.Assert(...)
  
  
I suppose in your case, a simple
  
  
Debug.Assert(method.DeclaringType != null);
  
  
or so depending on the DOM you are using
  
would have pinpoint immediately the problem.
  
  
Another important things, make your Debug.Assert(...) active during tests as I described here:
  
[codebetter.com/.../unit-test-vs-debug-assert.aspx](http://codebetter.com/blogs/patricksmacchia/archive/2007/10/10/unit-test-vs-debug-assert.aspx)</description><link>http://ayende.com/3676/an-nh-prof-bug-story-why-integration-is-tricky#comment4</link><guid>http://ayende.com/3676/an-nh-prof-bug-story-why-integration-is-tricky#comment4</guid><pubDate>Thu, 06 Nov 2008 16:47:16 GMT</pubDate></item><item><title>Manoj Waikar commented on An NH Prof Bug Story: Why integration is tricky</title><description>I am with Damien here, its a nifty and a must-have feature. Few days back, I had to google for some (previous) posts, while reading another post, but if search was supported here, my task would be all the more simple.
  
  
Ayende, there is one more feature missing on your blog - the Home link takes me to your blog, there should be some link that takes me to your site ayende.com too. Please consider having them.
  
  
Thanks,
  
Manoj.
</description><link>http://ayende.com/3676/an-nh-prof-bug-story-why-integration-is-tricky#comment3</link><guid>http://ayende.com/3676/an-nh-prof-bug-story-why-integration-is-tricky#comment3</guid><pubDate>Thu, 06 Nov 2008 16:03:28 GMT</pubDate></item><item><title>Remco commented on An NH Prof Bug Story: Why integration is tricky</title><description>@Damien
  
  
you can use google:
  
  
[www.google.com/search](http://www.google.com/search?hl=en&amp;q=keyword+site%3Aayende.com%2Fblog&amp;btnG=Google+Search&amp;aq=f&amp;oq=)</description><link>http://ayende.com/3676/an-nh-prof-bug-story-why-integration-is-tricky#comment2</link><guid>http://ayende.com/3676/an-nh-prof-bug-story-why-integration-is-tricky#comment2</guid><pubDate>Thu, 06 Nov 2008 10:11:02 GMT</pubDate></item><item><title>Damien commented on An NH Prof Bug Story: Why integration is tricky</title><description>my mantra: if u make an assumption then make an assumption about nothing. 
  
  
Just noticed your blog doesn't have a search feature. With over 3,000 posts , it may be handy....
  
  
  
</description><link>http://ayende.com/3676/an-nh-prof-bug-story-why-integration-is-tricky#comment1</link><guid>http://ayende.com/3676/an-nh-prof-bug-story-why-integration-is-tricky#comment1</guid><pubDate>Thu, 06 Nov 2008 09:47:15 GMT</pubDate></item></channel></rss>