protected virtual void BuildIfNoWrappers(RoslynCodeBuilder roslynCodeBuilder) { if (TheCodeBuilder != null) { TheCodeBuilder.Build(this.WrapperSymbol, roslynCodeBuilder); return; } if (DefaultCodeBuilder != null) { DefaultCodeBuilder.Build(this.WrapperSymbol, roslynCodeBuilder); } }
internal void Build(RoslynCodeBuilder roslynCodeBuilder) { if (this.WrappedMembers.IsNullOrEmpty()) { if (TheCodeBuilder != null) { TheCodeBuilder.Build(this.WrapperSymbol, roslynCodeBuilder); return; } if (DefaultCodeBuilder != null) { DefaultCodeBuilder.Build(this.WrapperSymbol, roslynCodeBuilder); } return; } BuildImpl(this.WrapperSymbol, roslynCodeBuilder); }