There isn't an equivalent method in the official C# driver. You could
create a JIRA ticket for this if you would like to suggest adding such
a method.
I took a quick look at the method in the samus driver, and I'm not
sure it would always do what you think it does. In particular, it only
seems to convert the top level of the Document to a Dictionary, so any
nested documents would themselves still be of type Document and not of
type Dictionary. Probably not what you were expecting..
If all you want is to convert the top level to a Dictionary, you could
write something like this:
var dictionary = new Dictionary<string, object>();
foreach (var e in document) { dictionary.Add(e.Name, e.Value); }
To recursively convert a nested document structure to a dictionary of
dictionaries would take some helper functions.