diff options
Diffstat (limited to 'src/ProtocolBuffers/WireFormat.cs')
-rw-r--r-- | src/ProtocolBuffers/WireFormat.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ProtocolBuffers/WireFormat.cs b/src/ProtocolBuffers/WireFormat.cs index 53a5c826..328d7bc0 100644 --- a/src/ProtocolBuffers/WireFormat.cs +++ b/src/ProtocolBuffers/WireFormat.cs @@ -35,12 +35,8 @@ #endregion
using System;
-
-#if !LITE
using Google.ProtocolBuffers.Descriptors;
-#endif
-
namespace Google.ProtocolBuffers
{
/// <summary>
@@ -146,6 +142,7 @@ namespace Google.ProtocolBuffers return descriptor.IsPacked ? WireType.LengthDelimited : GetWireType(descriptor.FieldType);
}
+#endif
/// <summary>
/// Converts a field type to its wire type. Done with a switch for the sake
/// of speed - this is significantly faster than a dictionary lookup.
@@ -190,6 +187,5 @@ namespace Google.ProtocolBuffers throw new ArgumentOutOfRangeException("No such field type");
}
}
-#endif
}
}
\ No newline at end of file |