/// <summary> /// Gets the name of the enumeration value. /// </summary> /// <param name="module">The module.</param> /// <param name="enumTypeId">The enumeration type identifier.</param> /// <param name="enumValue">The enumeration value.</param> public string GetEnumName(Module module, uint enumTypeId, ulong enumValue) { ISymbolProviderModule symbolProviderModule = GetSymbolProviderModule(module); if (symbolProviderModule == null) { return(FallbackSymbolProvider?.GetEnumName(module, enumTypeId, enumValue)); } return(symbolProviderModule.GetEnumName(enumTypeId, enumValue)); }
/// <summary> /// Gets the name of the enumeration value. /// </summary> /// <param name="module">The module.</param> /// <param name="enumTypeId">The enumeration type identifier.</param> /// <param name="enumValue">The enumeration value.</param> public string GetEnumName(Module module, uint enumTypeId, ulong enumValue) { ISymbolProviderModule diaModule = GetDiaModule(module); return(diaModule.GetEnumName(module, enumTypeId, enumValue)); }