Пример #1
0
        public SourceCodeLocation GetSymbolDefinition(SourceSymbol symbol)
        {
            foreach (int definition in (symbol.InternalSymbol as SymbolInfo).Definitions)
            {
                SourceCodeLocation refInfo = GetReferenceInfo(definition);

                if (refInfo != null)
                {
                    return(refInfo);
                }
            }

            return(null);
        }
Пример #2
0
 public int GetSymbolSize(SourceSymbol srcSymbol)
 {
     return(GetSymbolSize(srcSymbol.InternalSymbol as SymbolInfo));
 }
Пример #3
0
 public AddressInfo?GetSymbolAddressInfo(SourceSymbol symbol)
 {
     return(GetSymbolAddressInfo(symbol.InternalSymbol as SymbolInfo));
 }
Пример #4
0
 public int GetSymbolSize(SourceSymbol srcSymbol)
 {
     return(1);
 }
Пример #5
0
 public SourceCodeLocation GetSymbolDefinition(SourceSymbol symbol)
 {
     return(null);
 }
Пример #6
0
 public AddressInfo?GetSymbolAddressInfo(SourceSymbol symbol)
 {
     return(null);
 }