Browse Source

Fixed missing XML documentation on enum members.

pull/252/head
Daniel Grunwald 14 years ago
parent
commit
fde6361995
  1. 1
      ICSharpCode.Decompiler/Ast/AstBuilder.cs
  2. 2
      TestPlugin/TestPlugin.csproj

1
ICSharpCode.Decompiler/Ast/AstBuilder.cs

@ -303,6 +303,7 @@ namespace ICSharpCode.Decompiler.Ast @@ -303,6 +303,7 @@ namespace ICSharpCode.Decompiler.Ast
}
} else {
EnumMemberDeclaration enumMember = new EnumMemberDeclaration();
enumMember.AddAnnotation(field);
enumMember.Name = CleanName(field.Name);
long memberValue = (long)CSharpPrimitiveCast.Cast(TypeCode.Int64, field.Constant, false);
if (forcePrintingInitializers || memberValue != expectedEnumMemberValue) {

2
TestPlugin/TestPlugin.csproj

@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
<StartArguments>/separate</StartArguments>
</PropertyGroup>
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
<PlatformTarget>x86</PlatformTarget>
<PlatformTarget>AnyCPU</PlatformTarget>
<RegisterForComInterop>False</RegisterForComInterop>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<BaseAddress>4194304</BaseAddress>

Loading…
Cancel
Save