Miniprofiler.wcf and one-way service methods


#1

Hi. I’ve noticed that one way service methods, i.e. tagged with:
[OperationContract(IsOneWay = true)]
cause a NullReferenceException in StackExchange.Profiling.Wcf.WcfMiniProfilerDispatchInspector.BeforeSendReply.
(Odd that WCF even calls BeforeSendReply, but hey…)

The exception doesn’t seem to prevent anything working, but it does add a bit of noise when debugging.