aboutsummaryrefslogtreecommitdiff
path: root/csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@users.noreply.github.com>2015-07-22 10:36:06 -0700
committerJan Tattermusch <jtattermusch@users.noreply.github.com>2015-07-22 10:36:06 -0700
commit7b5c3967991b6534f439cb31b0d247501f4a0ef8 (patch)
treee161b4bfaa308ca173ee9a8b2ff858c5b76b618b /csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs
parent2ee4b5665520fe3245eb5e15df8bd35e0c539a07 (diff)
parent43d64b4f54c8cf9521aded37fc695faba28793ee (diff)
downloadprotobuf-7b5c3967991b6534f439cb31b0d247501f4a0ef8.tar.gz
protobuf-7b5c3967991b6534f439cb31b0d247501f4a0ef8.tar.bz2
protobuf-7b5c3967991b6534f439cb31b0d247501f4a0ef8.zip
Merge pull request #625 from jskeet/reflection-refactor
Reflection refactor
Diffstat (limited to 'csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs')
-rw-r--r--csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs b/csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs
index af31dfb1..f5570fc4 100644
--- a/csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs
+++ b/csharp/src/Google.Protobuf/Reflection/DescriptorUtil.cs
@@ -50,9 +50,8 @@ namespace Google.Protobuf.Reflection
/// Converts the given array into a read-only list, applying the specified conversion to
/// each input element.
/// </summary>
- internal static IList<TOutput> ConvertAndMakeReadOnly<TInput, TOutput>(IList<TInput> input,
- IndexedConverter<TInput, TOutput>
- converter)
+ internal static IList<TOutput> ConvertAndMakeReadOnly<TInput, TOutput>
+ (IList<TInput> input, IndexedConverter<TInput, TOutput> converter)
{
TOutput[] array = new TOutput[input.Count];
for (int i = 0; i < array.Length; i++)