Update StackFrameItem.cs

we check if the method.DeclaringType is not null to solve the annoying Exception message
Merge pull request #1 from rzagnoni/trunk

Investigating causes of null DeclaringType