diff options
author | Jon Skeet <jonskeet@google.com> | 2015-04-29 12:20:12 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-04-29 12:21:54 +0100 |
commit | f015b860b74f1f7a5dc1a9fbf8b30daf7539d669 (patch) | |
tree | ec2829d6f679a864138abb2f96863ae285292ba5 /csharp/src/ProtocolBuffers/Descriptors/FieldDescriptor.cs | |
parent | 5e0189ab94a33568f9d270cce7706d97a17f0341 (diff) | |
download | protobuf-f015b860b74f1f7a5dc1a9fbf8b30daf7539d669.tar.gz protobuf-f015b860b74f1f7a5dc1a9fbf8b30daf7539d669.tar.bz2 protobuf-f015b860b74f1f7a5dc1a9fbf8b30daf7539d669.zip |
Remove CLS compliance from runtime code.
We need to remove it from the generator too; I'll raise a github issue for that.
Diffstat (limited to 'csharp/src/ProtocolBuffers/Descriptors/FieldDescriptor.cs')
-rw-r--r-- | csharp/src/ProtocolBuffers/Descriptors/FieldDescriptor.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/csharp/src/ProtocolBuffers/Descriptors/FieldDescriptor.cs b/csharp/src/ProtocolBuffers/Descriptors/FieldDescriptor.cs index 98de5435..076dc852 100644 --- a/csharp/src/ProtocolBuffers/Descriptors/FieldDescriptor.cs +++ b/csharp/src/ProtocolBuffers/Descriptors/FieldDescriptor.cs @@ -298,16 +298,6 @@ namespace Google.ProtocolBuffers.Descriptors get { return fieldType; }
}
- public bool IsCLSCompliant
- {
- get
- {
- return mappedType != MappedType.UInt32 &&
- mappedType != MappedType.UInt64 &&
- !NameHelpers.UnderscoresToPascalCase(Name).StartsWith("_");
- }
- }
-
public int FieldNumber
{
get { return Proto.Number; }
|