SyntaxExtensions Class

Summary

extension methods for CompilationUnitSyntax
Namespace
Ponet
Base Types
  • object
graph BT Type-->Base0["object"] Type["SyntaxExtensions"] class Type type-node

Syntax

public static class SyntaxExtensions

Methods

Name Value Summary
Save(CompilationUnitSyntax, string, Action<OptionSet>) void

Save CompilationUnitSyntax to the specified outputPath.

This method uses AdhocWorkspace internally. Specify optionConfigurer if you want to change formatting settings.

static
ToCode(CompilationUnitSyntax) string
static