C# Class System.CodeDom.Tests.CodeGenerationTests

Afficher le fichier Open project: dotnet/corefx

Méthodes protégées

Méthode Description
AssertEqual ( CodeObject c, string expected ) : void
CreateVariableIncrementExpression ( string variableName, object primitive ) : CodeStatement
GetEmptyProgramSource ( ) : string
GetProvider ( ) : CodeDomProvider

Private Methods

Méthode Description
CoalesceWhitespace ( string str ) : string
CodeSnippets ( ) : void
Compilation_NotSupported ( ) : void
GenerateCode ( CodeObject c, CodeDomProvider provider ) : string
GetTypeConverter ( ) : void
Roundtrip_Extension ( ) : void

Method Details

AssertEqual() protected méthode

protected AssertEqual ( CodeObject c, string expected ) : void
c CodeObject
expected string
Résultat void

CreateVariableIncrementExpression() protected static méthode

protected static CreateVariableIncrementExpression ( string variableName, object primitive ) : CodeStatement
variableName string
primitive object
Résultat CodeStatement

GetEmptyProgramSource() protected abstract méthode

protected abstract GetEmptyProgramSource ( ) : string
Résultat string

GetProvider() protected abstract méthode

protected abstract GetProvider ( ) : CodeDomProvider
Résultat System.CodeDom.Compiler.CodeDomProvider