From c11bf71cc9b09f90ef06e79bd164ac84191281f7 Mon Sep 17 00:00:00 2001 From: csharptest Date: Thu, 14 Jul 2011 14:47:42 -0500 Subject: [PATCH] Refactoring removed using statement for System.Reflection, added qualified references to avoid future issues. --- src/ProtocolBuffers/EnumLite.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProtocolBuffers/EnumLite.cs b/src/ProtocolBuffers/EnumLite.cs index 8ed4d07843..4234483582 100644 --- a/src/ProtocolBuffers/EnumLite.cs +++ b/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));