Example #1
0
 /// <summary>
 /// Creates the translation unit.
 /// </summary>
 /// <remarks>
 /// Must return a type inheriting from <see cref="MethodSignatureDeclarationTranslationUnit"/>.
 /// </remarks>
 /// <param name="visibility"></param>
 /// <returns></returns>
 protected override ITranslationUnit CreateTranslationUnit(VisibilityToken visibility)
 {
     return(ConstructorDefinitionTranslationUnit.Create(visibility));
 }
 /// <summary>
 /// Creates the translation unit.
 /// </summary>
 /// <remarks>
 /// Must return a type inheriting from <see cref="MethodSignatureDeclarationTranslationUnit"/>.
 /// </remarks>
 /// <param name="modifiers"></param>
 /// <returns></returns>
 protected override ITranslationUnit CreateTranslationUnit(ModifierTokens modifiers)
 {
     return(ConstructorDefinitionTranslationUnit.Create(modifiers));
 }