C# 클래스 System.CodeDom.Tests.CodeGenerationTests

파일 보기 프로젝트 열기: dotnet/corefx

보호된 메소드들

메소드 설명
AssertEqual ( CodeObject c, string expected ) : void
CreateVariableIncrementExpression ( string variableName, object primitive ) : CodeStatement
GetEmptyProgramSource ( ) : string
GetProvider ( ) : CodeDomProvider

비공개 메소드들

메소드 설명
CoalesceWhitespace ( string str ) : string
CodeSnippets ( ) : void
Compilation_NotSupported ( ) : void
GenerateCode ( CodeObject c, CodeDomProvider provider ) : string
GetTypeConverter ( ) : void
Roundtrip_Extension ( ) : void

메소드 상세

AssertEqual() 보호된 메소드

protected AssertEqual ( CodeObject c, string expected ) : void
c CodeObject
expected string
리턴 void

CreateVariableIncrementExpression() 보호된 정적인 메소드

protected static CreateVariableIncrementExpression ( string variableName, object primitive ) : CodeStatement
variableName string
primitive object
리턴 CodeStatement

GetEmptyProgramSource() 보호된 추상적인 메소드

protected abstract GetEmptyProgramSource ( ) : string
리턴 string

GetProvider() 보호된 추상적인 메소드

protected abstract GetProvider ( ) : CodeDomProvider
리턴 System.CodeDom.Compiler.CodeDomProvider