GetTypeInfo() public static method

public static GetTypeInfo ( System.TypeSpec type, IMemberContext context ) : TypeInfo
type System.TypeSpec
context IMemberContext
return TypeInfo
Ejemplo n.º 1
0
        private VariableInfo(string name, TypeSpec type, int offset)
        {
            this.Name     = name;
            this.Offset   = offset;
            this.TypeInfo = TypeInfo.GetTypeInfo(type);

            Length = TypeInfo.TotalLength;

            Initialize();
        }
Ejemplo n.º 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();
        }