Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 437aab5821
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.426 kb
param (
$targetDirectory,
$module
)
. .\InvokeRoslynCodeGen.ps1
dir $targetDirectory -Recurse *.cs | ForEach {
$source = [IO.File]::ReadAllText($_.FullName)
$tree = [Roslyn.Compilers.CSharp.SyntaxTree]::ParseCompilationUnit($source, "", $null, (New-Object System.Threading.CancellationToken) )
$obj = New-Object PSRoslynWalker $module
$obj.Visit($tree.Root)
}
$module.GetResults()
Jump to Line
Something went wrong with that request. Please try again.