diff --git a/csharp/src/Google.Protobuf/Extension.cs b/csharp/src/Google.Protobuf/Extension.cs
index ddeb97795a..2c191684e7 100644
--- a/csharp/src/Google.Protobuf/Extension.cs
+++ b/csharp/src/Google.Protobuf/Extension.cs
@@ -44,9 +44,9 @@ namespace Google.Protobuf
///
/// Internal use. Creates a new extension with the specified field number.
///
- protected Extension(int number)
+ protected Extension(int fieldNumber)
{
- FieldNumber = number;
+ FieldNumber = fieldNumber;
}
internal abstract IExtensionValue CreateValue();
@@ -69,7 +69,7 @@ namespace Google.Protobuf
///
/// Creates a new extension identifier with the specified field number and codec
///
- public Extension(int number, FieldCodec codec) : base(number)
+ public Extension(int fieldNumber, FieldCodec codec) : base(fieldNumber)
{
this.codec = codec;
}
@@ -96,7 +96,7 @@ namespace Google.Protobuf
///
/// Creates a new repeated extension identifier with the specified field number and codec
///
- public RepeatedExtension(int number, FieldCodec codec) : base(number)
+ public RepeatedExtension(int fieldNumber, FieldCodec codec) : base(fieldNumber)
{
this.codec = codec;
}