I have an interface with XML comments on
namespace NamespaceName.Core.Services
{
public interface ITransaction : IDisposable
{
/// <summary>
/// Sends message into the given queue, optionally at the scheduled time provided
/// </summary>
/// <param name="queueName">Name of the queue to send message to</param>
/// <param name="message">The message to send</param>
/// <param name="messageId">Id of the message to send</param>
/// <param name="enqueueDateTime">Optional date & time to enqueue the message at, MUST be in UTC</param>
Task SendMessageAsync(string queueName, object message, string? messageId = null, DateTime? enqueueDateTime = null);
}
}
then the method
namespace NamespaceName.Core.Services
{
public class MessageService : IMessageService, IDisposable, IAsyncDisposable
{
private sealed class Transaction : ITransaction
{
/// <inheritdoc cref="ITransaction.SendMessageAsync(string, object, string?, DateTime?)"/>
public async Task SendMessageAsync(string queueName, object message,
string? messageId = null, DateTime? enqueueDateTime = null) {...}
}
}
}
when using the method I would expect to see the comments in intelli sense but they are not there, instead the message is just 'Intellicode suggestion based on the current context'
This is in Visual Studio 2022 and I have restarted visual studio which didn't help. This works as expected in a different project in the same solution.
Any idea what needs to be done to get this to work?
(the project it works in is a console app while the one it doesn't work in is a web app incase that's of relevance)