Esempio n. 1
0
        /// <summary>
        /// Gets the global variable type identifier.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="globalVariableName">Name of the global variable.</param>
        public uint GetGlobalVariableTypeId(Module module, string globalVariableName)
        {
            ISymbolProviderModule symbolProviderModule = GetSymbolProviderModule(module);

            if (symbolProviderModule == null)
            {
                return(FallbackSymbolProvider.GetGlobalVariableTypeId(module, globalVariableName));
            }
            return(symbolProviderModule.GetGlobalVariableTypeId(globalVariableName));
        }
Esempio n. 2
0
        /// <summary>
        /// Gets the global variable type identifier.
        /// </summary>
        /// <param name="module">The module.</param>
        /// <param name="globalVariableName">Name of the global variable.</param>
        public uint GetGlobalVariableTypeId(Module module, string globalVariableName)
        {
            ISymbolProviderModule diaModule = GetDiaModule(module);

            return(diaModule.GetGlobalVariableTypeId(module, globalVariableName));
        }