commit | 7d396f9d8a937ebfd7e27d7b253b11c47038491e | [log] [tgz] |
---|---|---|
author | csharptest <roger@csharptest.net> | Mon Nov 08 20:06:46 2010 -0600 |
committer | unknown <rknapp@.svault.int> | Mon Nov 08 20:06:46 2010 -0600 |
tree | 4484b8295f6a46506a7fe265576440fa646ddaab | |
parent | 487da48ad2c88d7c07451c546c3541d7db7ceae6 [diff] [blame] |
Testing and related fixes
diff --git a/src/ProtocolBuffers/TextFormat.cs b/src/ProtocolBuffers/TextFormat.cs index 5f07e69..8103308 100644 --- a/src/ProtocolBuffers/TextFormat.cs +++ b/src/ProtocolBuffers/TextFormat.cs
@@ -176,7 +176,11 @@ case FieldType.Message: case FieldType.Group: - Print((IMessage) value, generator); + if (value is IMessage) { + Print((IMessage)value, generator); + } else { +#warning ToDo - What do we print for IMessageLite? + } break; } }