C# 클래스 Rosetta.AST.Helpers.SemanticUtils

Helper for interacting with the SemanticModel.
파일 보기 프로젝트 열기: andry-tino/Rosetta

공개 메소드들

메소드 설명
RetrieveCompilation ( string name, string path, CSharpSyntaxTree sourceTree, bool loadMsCoreLib = false ) : Microsoft.CodeAnalysis.CSharp.CSharpCompilation

RetrieveSemanticModel ( Compilation compilation, CSharpSyntaxTree sourceTree ) : Microsoft.CodeAnalysis.SemanticModel

RetrieveSemanticModel ( string name, string path, CSharpSyntaxTree sourceTree, bool loadMsCoreLib = false ) : Microsoft.CodeAnalysis.SemanticModel

비공개 메소드들

메소드 설명
GetMsCoreLibMetadataReference ( ) : Microsoft.CodeAnalysis.PortableExecutableReference

메소드 상세

RetrieveCompilation() 공개 정적인 메소드

public static RetrieveCompilation ( string name, string path, CSharpSyntaxTree sourceTree, bool loadMsCoreLib = false ) : Microsoft.CodeAnalysis.CSharp.CSharpCompilation
name string
path string
sourceTree CSharpSyntaxTree
loadMsCoreLib bool
리턴 Microsoft.CodeAnalysis.CSharp.CSharpCompilation

RetrieveSemanticModel() 공개 정적인 메소드

public static RetrieveSemanticModel ( Compilation compilation, CSharpSyntaxTree sourceTree ) : Microsoft.CodeAnalysis.SemanticModel
compilation Compilation
sourceTree CSharpSyntaxTree
리턴 Microsoft.CodeAnalysis.SemanticModel

RetrieveSemanticModel() 공개 정적인 메소드

public static RetrieveSemanticModel ( string name, string path, CSharpSyntaxTree sourceTree, bool loadMsCoreLib = false ) : Microsoft.CodeAnalysis.SemanticModel
name string
path string
sourceTree CSharpSyntaxTree
loadMsCoreLib bool
리턴 Microsoft.CodeAnalysis.SemanticModel