diff options
Diffstat (limited to 'csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs')
-rw-r--r-- | csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs b/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs index 8bce86d4..73874cf1 100644 --- a/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs +++ b/csharp/src/Google.Protobuf/WellKnownTypes/SourceContext.cs @@ -69,19 +69,11 @@ namespace Google.Protobuf.WellKnownTypes { return new SourceContext(this); } - public void Freeze() { - if (IsFrozen) { - return; - } - _frozen = true; - } - public const int FileNameFieldNumber = 1; private string fileName_ = ""; public string FileName { get { return fileName_; } set { - pb::Freezable.CheckMutable(this); fileName_ = value ?? ""; } } |