Normalize() private method

private Normalize ( ) : void
return void
示例#1
0
        public static Offset BottomOffsetFromDiaSymbol(IDiaSymbol symbol)
        {
            Offset obj = Offset.FromDiaSymbol(symbol);

            switch ((LocationTypeEnum)symbol.locationType)
            {
            case LocationTypeEnum.LocIsThisRel:
                obj._bytes += (int)symbol.type.length;
                break;

            case LocationTypeEnum.LocIsBitField:
                obj._bits += (int)symbol.length;
                obj.Normalize();
                break;
            }
            return(obj);
        }