C# 클래스 System.Xml.Xsl.IlGen.StorageDescriptor

Describes the Clr type and location of items returned by an iterator. This struct is meant to be immutable.
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

공개 메소드들

메소드 설명
Current ( LocalBuilder locIter, Type itemStorageType ) : StorageDescriptor

Create a StorageDescriptor for an item which is the Current item in an iterator.

Global ( MethodInfo methGlobal, Type itemStorageType, bool isCached ) : StorageDescriptor

Create a StorageDescriptor for an item located in a global variable.

Local ( LocalBuilder loc, Type itemStorageType, bool isCached ) : StorageDescriptor

Create a StorageDescriptor for an item located in a local variable.

None ( ) : StorageDescriptor

Create default, empty StorageDescriptor.

Parameter ( int paramIndex, Type itemStorageType, bool isCached ) : StorageDescriptor

Create a StorageDescriptor for an item which is a parameter to the current method.

Stack ( Type itemStorageType, bool isCached ) : StorageDescriptor

Create a StorageDescriptor for an item located on the stack.

ToLocal ( LocalBuilder loc ) : StorageDescriptor

Create a StorageDescriptor for an item located in a local variable.

ToStack ( ) : StorageDescriptor

Return copy of current descriptor, but change item's location to the stack.

ToStorageType ( Type itemStorageType ) : StorageDescriptor

Create a StorageDescriptor which is the same as this one, except for the item storage type.

메소드 상세

Current() 공개 정적인 메소드

Create a StorageDescriptor for an item which is the Current item in an iterator.
public static Current ( LocalBuilder locIter, Type itemStorageType ) : StorageDescriptor
locIter System.Reflection.Emit.LocalBuilder
itemStorageType System.Type
리턴 StorageDescriptor

Global() 공개 정적인 메소드

Create a StorageDescriptor for an item located in a global variable.
public static Global ( MethodInfo methGlobal, Type itemStorageType, bool isCached ) : StorageDescriptor
methGlobal System.Reflection.MethodInfo
itemStorageType System.Type
isCached bool
리턴 StorageDescriptor

Local() 공개 정적인 메소드

Create a StorageDescriptor for an item located in a local variable.
public static Local ( LocalBuilder loc, Type itemStorageType, bool isCached ) : StorageDescriptor
loc System.Reflection.Emit.LocalBuilder
itemStorageType System.Type
isCached bool
리턴 StorageDescriptor

None() 공개 정적인 메소드

Create default, empty StorageDescriptor.
public static None ( ) : StorageDescriptor
리턴 StorageDescriptor

Parameter() 공개 정적인 메소드

Create a StorageDescriptor for an item which is a parameter to the current method.
public static Parameter ( int paramIndex, Type itemStorageType, bool isCached ) : StorageDescriptor
paramIndex int
itemStorageType System.Type
isCached bool
리턴 StorageDescriptor

Stack() 공개 정적인 메소드

Create a StorageDescriptor for an item located on the stack.
public static Stack ( Type itemStorageType, bool isCached ) : StorageDescriptor
itemStorageType System.Type
isCached bool
리턴 StorageDescriptor

ToLocal() 공개 메소드

Create a StorageDescriptor for an item located in a local variable.
public ToLocal ( LocalBuilder loc ) : StorageDescriptor
loc System.Reflection.Emit.LocalBuilder
리턴 StorageDescriptor

ToStack() 공개 메소드

Return copy of current descriptor, but change item's location to the stack.
public ToStack ( ) : StorageDescriptor
리턴 StorageDescriptor

ToStorageType() 공개 메소드

Create a StorageDescriptor which is the same as this one, except for the item storage type.
public ToStorageType ( Type itemStorageType ) : StorageDescriptor
itemStorageType System.Type
리턴 StorageDescriptor