diff options
author | csharptest <roger@csharptest.net> | 2011-07-14 14:47:42 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2011-07-14 14:47:42 -0500 |
commit | c11bf71cc9b09f90ef06e79bd164ac84191281f7 (patch) | |
tree | d66603a39818011320705c264f20f06c0478aef8 | |
parent | 02760b26dab728320c4319b09e6d84a56977cceb (diff) | |
download | protobuf-c11bf71cc9b09f90ef06e79bd164ac84191281f7.tar.gz protobuf-c11bf71cc9b09f90ef06e79bd164ac84191281f7.tar.bz2 protobuf-c11bf71cc9b09f90ef06e79bd164ac84191281f7.zip |
Refactoring removed using statement for System.Reflection, added qualified
references to avoid future issues.
-rw-r--r-- | src/ProtocolBuffers/EnumLite.cs | 2 |
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));
|