public string GetItemName(HierarchyFrameDataView frameData, int itemId)
        {
            var name = frameData.GetItemName(itemId);

            if ((ViewOptions & ProfilerViewFilteringOptions.ShowFullScriptingMethodNames) != 0)
            {
                return(name);
            }

            var flags = frameData.GetItemMarkerFlags(itemId);

            if (((int)flags & k_AnyFullManagedMarker) == 0)
            {
                return(name);
            }

            var namespaceDelimiterIndex = name.IndexOf(':');

            if (namespaceDelimiterIndex == -1)
            {
                return(name);
            }
            ++namespaceDelimiterIndex;
            if (namespaceDelimiterIndex < name.Length && name[namespaceDelimiterIndex] == ':')
            {
                return(name.Substring(namespaceDelimiterIndex + 1));
            }

            return(name);
        }