Sorry to jump in, as the above information does answer the primary question. However I've been having some back and forth with support over some issues - found two more today :)
I've just submitted a bug regarding the parser collapsing over this kind of line (it does not like the or in the if statement):
try
{
some code
}
catch (Exception exception)
{
if (exception is OutOfMemoryException or ApplicationException) throw;
log other error
}
But also the current version does not correctly template primary constructor classes - understandable as no such thing existed till recently.
By this I mean that it does not add the <param /> tags for primary constructors:
/// <summary>
/// Auto generated summary was here
/// </summary>
public class SomeDataService(
ILogger<SomeDataService> logger,
IDbContextFactory<DbContext> contextFactory)
{
}
I didn't notice anything specific in the link provided above regarding C#12 language features - are these already being/have been added or should I raise a separate bug for such issues?
Cheers
Steve