Example #1
0
        /// <summary>
        /// Disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
        /// </summary>
        /// <remarks>
        /// This method disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
        /// </remarks>
        /// <param name="name">[in] String containing the name.</param>
        /// <param name="flags">[in] Flags. For more information, see RESOLVENAMEFLAGS.</param>
        /// <param name="names">[out] Returns an object containing a list of names. For more information, see IVsEnumDebugName.</param>
        /// <returns>If the method succeeds, it returns S_OK. If it fails, it returns an error code.</returns>
        public virtual int ResolveName([NotNull] string name, RESOLVENAMEFLAGS flags, out IVsEnumDebugName names)
        {
            Requires.NotNullOrEmpty(name, nameof(name));

            names = null;
            return(VSConstants.E_NOTIMPL);
        }
Example #2
0
        /// <summary>
        /// Disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
        /// </summary>
        /// <remarks>
        /// This method disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
        /// </remarks>
        /// <param name="name">[in] String containing the name.</param>
        /// <param name="flags">[in] Flags. For more information, see RESOLVENAMEFLAGS.</param>
        /// <param name="names">[out] Returns an object containing a list of names. For more information, see IVsEnumDebugName.</param>
        /// <returns>If the method succeeds, it returns S_OK. If it fails, it returns an error code.</returns>
        public virtual int ResolveName(string name, RESOLVENAMEFLAGS flags, out IVsEnumDebugName names)
        {
            Contract.Requires <ArgumentNullException>(name != null, "name");
            Contract.Requires <ArgumentException>(!string.IsNullOrEmpty(name));

            names = null;
            return(VSConstants.E_NOTIMPL);
        }
Example #3
0
        /// <summary>
        /// Disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
        /// </summary>
        /// <remarks>
        /// This method disambiguates the given name, providing non-ambiguous names for all entities that "match" the name.
        /// </remarks>
        /// <param name="name">[in] String containing the name.</param>
        /// <param name="flags">[in] Flags. For more information, see RESOLVENAMEFLAGS.</param>
        /// <param name="names">[out] Returns an object containing a list of names. For more information, see IVsEnumDebugName.</param>
        /// <returns>If the method succeeds, it returns S_OK. If it fails, it returns an error code.</returns>
        public virtual int ResolveName(string name, RESOLVENAMEFLAGS flags, out IVsEnumDebugName names)
        {
            Contract.Requires<ArgumentNullException>(name != null, "name");
            Contract.Requires<ArgumentException>(!string.IsNullOrEmpty(name));

            names = null;
            return VSConstants.E_NOTIMPL;
        }