aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers/EnumLite.cs
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2011-07-14 14:47:42 -0500
committerrogerk <devnull@localhost>2011-07-14 14:47:42 -0500
commitc11bf71cc9b09f90ef06e79bd164ac84191281f7 (patch)
treed66603a39818011320705c264f20f06c0478aef8 /src/ProtocolBuffers/EnumLite.cs
parent02760b26dab728320c4319b09e6d84a56977cceb (diff)
downloadprotobuf-c11bf71cc9b09f90ef06e79bd164ac84191281f7.tar.gz
protobuf-c11bf71cc9b09f90ef06e79bd164ac84191281f7.tar.bz2
protobuf-c11bf71cc9b09f90ef06e79bd164ac84191281f7.zip
Refactoring removed using statement for System.Reflection, added qualified
references to avoid future issues.
Diffstat (limited to 'src/ProtocolBuffers/EnumLite.cs')
-rw-r--r--src/ProtocolBuffers/EnumLite.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtocolBuffers/EnumLite.cs b/src/ProtocolBuffers/EnumLite.cs
index 8ed4d078..42344835 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));