C# 클래스 Microsoft.Cci.Ast.Unit

A unit of metadata stored as a single artifact and potentially produced and revised independently from other units. Examples of units include .NET assemblies and modules, as well C++ object files and compiled headers.
상속: IUnit
파일 보기 프로젝트 열기: visualmutator/visualmutator 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Dispatch ( IMetadataVisitor visitor ) : void

Calls visitor.Visit(IUnit).

DispatchAsReference ( IMetadataVisitor visitor ) : void

Calls visitor.Visit(IUnitReference).

보호된 메소드들

메소드 설명
GetAttributes ( ) : List

Returns a list of custom attributes that describes this type declaration member. Typically, these will be derived from this.SourceAttributes. However, some source attributes might instead be persisted as metadata bits and other custom attributes may be synthesized from information not provided in the form of source custom attributes. The list is not trimmed to size, since an override of this method may call the base method and then add more attributes.

Unit ( IName name, string location ) : System

Initializes a unit of metadata stored as a single artifact and potentially produced and revised independently from other units. Examples of units include .NET assemblies and modules, as well C++ object files and compiled headers.

메소드 상세

Dispatch() 공개 추상적인 메소드

Calls visitor.Visit(IUnit).
public abstract Dispatch ( IMetadataVisitor visitor ) : void
visitor IMetadataVisitor
리턴 void

DispatchAsReference() 공개 추상적인 메소드

Calls visitor.Visit(IUnitReference).
public abstract DispatchAsReference ( IMetadataVisitor visitor ) : void
visitor IMetadataVisitor
리턴 void

GetAttributes() 보호된 메소드

Returns a list of custom attributes that describes this type declaration member. Typically, these will be derived from this.SourceAttributes. However, some source attributes might instead be persisted as metadata bits and other custom attributes may be synthesized from information not provided in the form of source custom attributes. The list is not trimmed to size, since an override of this method may call the base method and then add more attributes.
protected GetAttributes ( ) : List
리턴 List

Unit() 보호된 메소드

Initializes a unit of metadata stored as a single artifact and potentially produced and revised independently from other units. Examples of units include .NET assemblies and modules, as well C++ object files and compiled headers.
protected Unit ( IName name, string location ) : System
name IName The name of the unit.
location string An indication of the location where the unit is or will be stored. This need not be a file system path and may be empty. /// The interpretation depends on the ICompilationHostEnviroment instance used to resolve references to this unit.
리턴 System