You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed the C# generator does not handle constant presence enums. This was discovered to when trying to evaluate the impact of #560. @JPWatson, @ZachBray, @billsegall may be worth taking a look.
See the generated code for the discountedModel in the car example.
publicconstintDiscountedModelId=8;publicconstintDiscountedModelSinceVersion=0;publicconstintDiscountedModelDeprecated=0;publicboolDiscountedModelInActingVersion(){return_actingVersion >= DiscountedModelSinceVersion;}publicstaticstringDiscountedModelMetaAttribute(MetaAttributemetaAttribute){switch(metaAttribute){case MetaAttribute.Epoch:return"";case MetaAttribute.TimeUnit:return"";case MetaAttribute.SemanticType:return"";case MetaAttribute.Presence:return"constant";}return"";}publicModelDiscountedModel{
get
{return(Model)_buffer.CharGet(_offset+39);}
set
{
_buffer.CharPut(_offset+39,(byte)value);}}
The text was updated successfully, but these errors were encountered:
I noticed the C# generator does not handle constant presence enums. This was discovered to when trying to evaluate the impact of #560. @JPWatson, @ZachBray, @billsegall may be worth taking a look.
See the generated code for the
discountedModel
in the car example.The text was updated successfully, but these errors were encountered: