diff options
Diffstat (limited to 'src/ProtocolBuffers/GeneratedExtensionLite.cs')
-rw-r--r-- | src/ProtocolBuffers/GeneratedExtensionLite.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ProtocolBuffers/GeneratedExtensionLite.cs b/src/ProtocolBuffers/GeneratedExtensionLite.cs index 393b6d43..a1623348 100644 --- a/src/ProtocolBuffers/GeneratedExtensionLite.cs +++ b/src/ProtocolBuffers/GeneratedExtensionLite.cs @@ -34,10 +34,8 @@ #endregion
-using System;
using System.Collections;
using System.Collections.Generic;
-using Google.ProtocolBuffers.Collections;
using Google.ProtocolBuffers.Descriptors;
namespace Google.ProtocolBuffers
@@ -76,12 +74,14 @@ namespace Google.ProtocolBuffers public string Name
{
- get
+ get
{
string name = fullName;
int offset = name.LastIndexOf('.');
if (offset >= 0)
+ {
name = name.Substring(offset);
+ }
return name;
}
}
|