//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void write(org.codehaus.jackson.JsonGenerator out, org.neo4j.server.rest.repr.RepresentationFormat format, Object value, TransactionStateChecker checker) throws java.io.IOException private void Write(JsonGenerator @out, RepresentationFormat format, object value, TransactionStateChecker checker) { //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: if (value instanceof java.util.Map<?, ?>) if (value is IDictionary <object, ?> ) { @out.writeStartObject(); try { //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: for (java.util.Map.Entry<String, ?> entry : ((java.util.Map<String, ?>) value).entrySet()) foreach (KeyValuePair <string, ?> entry in ((IDictionary <string, ?>)value).SetOfKeyValuePairs()) { @out.writeFieldName(entry.Key); write(@out, format, entry.Value, checker); } } finally { @out.writeEndObject(); } }