aboutsummaryrefslogtreecommitdiff
path: root/csharp/ProtocolBuffers/Descriptors/PackageDescriptor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/ProtocolBuffers/Descriptors/PackageDescriptor.cs')
-rw-r--r--csharp/ProtocolBuffers/Descriptors/PackageDescriptor.cs17
1 files changed, 6 insertions, 11 deletions
diff --git a/csharp/ProtocolBuffers/Descriptors/PackageDescriptor.cs b/csharp/ProtocolBuffers/Descriptors/PackageDescriptor.cs
index acef6200..9884c4a6 100644
--- a/csharp/ProtocolBuffers/Descriptors/PackageDescriptor.cs
+++ b/csharp/ProtocolBuffers/Descriptors/PackageDescriptor.cs
@@ -3,17 +3,12 @@ using System.Collections.Generic;
using System.Text;
namespace Google.ProtocolBuffers.Descriptors {
- /*
- * Represents a package in the symbol table. We use PackageDescriptors
- * just as placeholders so that someone cannot define, say, a message type
- * that has the same name as an existing package.
- */
- /// <summary>
- /// Represents a package in the symbol table. We use PackageDescriptors
- /// just as placeholders so that someone cannot define, say, a message type
- /// that has the same name as an existing package.
- /// </summary>
- internal class PackageDescriptor : IDescriptor<IMessage> {
+ /// <summary>
+ /// Represents a package in the symbol table. We use PackageDescriptors
+ /// just as placeholders so that someone cannot define, say, a message type
+ /// that has the same name as an existing package.
+ /// </summary>
+ internal sealed class PackageDescriptor : IDescriptor<IMessage> {
private readonly string name;
private readonly string fullName;