浏览代码

Get the right warning number this time.

Jon Skeet 16 年之前
父节点
当前提交
367217301d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/ProtocolBuffers/MessageStreamIterator.cs

+ 1 - 1
src/ProtocolBuffers/MessageStreamIterator.cs

@@ -88,7 +88,7 @@ namespace Google.ProtocolBuffers {
 
 
 // This is only ever fetched by reflection, so the compiler may
 // This is only ever fetched by reflection, so the compiler may
 // complain that it's unused
 // complain that it's unused
-#pragma warning disable 0414
+#pragma warning disable 0169
     /// <summary>
     /// <summary>
     /// Method we'll use to build messageReader, with the first parameter fixed to TMessage.CreateBuilder. Note that we
     /// Method we'll use to build messageReader, with the first parameter fixed to TMessage.CreateBuilder. Note that we
     /// have to introduce another type parameter (TMessage2) as we can't constrain TMessage for just a single method
     /// have to introduce another type parameter (TMessage2) as we can't constrain TMessage for just a single method