CompilationUnitSyntax Class Extensions
Extension Method | Summary |
---|---|
AddUsings(CompilationUnitSyntax, Boolean, UsingDirectiveSyntax[]) | Creates a new CompilationUnitSyntax with the specified using directives added. |
WithMembers(CompilationUnitSyntax, IEnumerable<MemberDeclarationSyntax>) | Creates a new CompilationUnitSyntax with the members updated. |
WithMembers(CompilationUnitSyntax, MemberDeclarationSyntax) | Creates a new CompilationUnitSyntax with the members updated. |