GetTypeInfo() public static method

public static GetTypeInfo ( System.TypeSpec type, IMemberContext context ) : TypeInfo
type System.TypeSpec
context IMemberContext
return TypeInfo
コード例 #1
0
ファイル: flowanalysis.cs プロジェクト: z3nth10n/ILSpy-CMD
        private VariableInfo(string name, TypeSpec type, int offset)
        {
            this.Name     = name;
            this.Offset   = offset;
            this.TypeInfo = TypeInfo.GetTypeInfo(type);

            Length = TypeInfo.TotalLength;

            Initialize();
        }
コード例 #2
0
        VariableInfo(string name, TypeSpec type, int offset, IMemberContext context)
        {
            this.Name     = name;
            this.Offset   = offset;
            this.TypeInfo = TypeInfo.GetTypeInfo(type, context);

            Length = TypeInfo.TotalLength;

            Initialize();
        }