Browse Source

Refactoring removed using statement for System.Reflection, added qualified
references to avoid future issues.

csharptest 14 years ago
parent
commit
c11bf71cc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ProtocolBuffers/EnumLite.cs

+ 1 - 1
src/ProtocolBuffers/EnumLite.cs

@@ -101,7 +101,7 @@ namespace Google.ProtocolBuffers
 #if SILVERLIGHT2
     // Silverlight doesn't support Enum.GetValues
     // TODO(jonskeet): Validate that this reflection is permitted, e.g. in Windows Phone 7
-            foreach (FieldInfo fi in typeof (TEnum).GetFields(BindingFlags.Static | BindingFlags.Public))
+            foreach (System.Reflection.FieldInfo fi in typeof(TEnum).GetFields(System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public))
             {
                 TEnum evalue = (TEnum) fi.GetValue(null);
                 items.Add(Convert.ToInt32(evalue), new EnumValue(evalue));