C# Class ICSharpCode.NRefactory.ConsistencyCheck.RoundtripTest

Tests parser + output visitor by roundtripping code. Everything but whitespace must be preserved.
Afficher le fichier Open project: mono-soc-2012/NRefactory

Méthodes publiques

Méthode Description
Roundtrip ( ICSharpCode.NRefactory.CSharp.CSharpParser parser, string fileName, string code ) : void
RunTest ( CSharpFile file ) : void

Method Details

Roundtrip() public static méthode

public static Roundtrip ( ICSharpCode.NRefactory.CSharp.CSharpParser parser, string fileName, string code ) : void
parser ICSharpCode.NRefactory.CSharp.CSharpParser
fileName string
code string
Résultat void

RunTest() public static méthode

public static RunTest ( CSharpFile file ) : void
file CSharpFile
Résultat void