protected InitialisationTranslationBase( ExpressionType initType, NewExpression newing, InitializerSetTranslationBase <TInitializer> initializerTranslations, ITranslationContext context) : this( initType, NewingTranslation.For(newing, context, omitParenthesesIfParameterless : initializerTranslations.Count != 0), initializerTranslations) { }
protected InitialisationTranslationBase( ExpressionType initType, ITranslation newingTranslation, InitializerSetTranslationBase <TInitializer> initializerTranslations) { NodeType = initType; _newingTranslation = newingTranslation; InitializerTranslations = initializerTranslations; EstimatedSize = newingTranslation.EstimatedSize + initializerTranslations.EstimatedSize; initializerTranslations.IsLongTranslation = EstimatedSize > 40; }