[Build] Fix APITool to print all public fields
authorWonyoung Choi <wy80.choi@samsung.com>
Wed, 13 Feb 2019 08:01:13 +0000 (17:01 +0900)
committerWonyoung Choi <wy80.choi@samsung.com>
Wed, 13 Feb 2019 08:01:13 +0000 (17:01 +0900)
tools/src/APITool/APIPrinter.cs

index 415b948..b106e73 100644 (file)
@@ -68,7 +68,7 @@ namespace APITool
 
         protected override void ProcessField(FieldDefinition fieldDef)
         {
-            if (fieldDef.IsPublic && fieldDef.IsLiteral)
+            if (fieldDef.IsPublic)
             {
                 bool isHidden = IsHidden(fieldDef.CustomAttributes);
                 if ((_isPrintAll || _options.PrintFields) && (_options.PrintHiddens || !isHidden))