You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A line in C# with as followed by ?? breaks highlighting for the rest of the file.
To Reproduce
publicpartialclassSqlServerAdapter:ISqlAdapter{publicintInsert(IDbConnectionconnection,IDbTransactiontransaction,int?commandTimeout,stringtableName,stringcolumnList,stringparameterList,IEnumerable<PropertyInfo>keyProperties,objectentityToInsert){varcmd=$"insert into {tableName} ({columnList}) values ({parameterList});select SCOPE_IDENTITY() id";varmulti=connection.QueryMultiple(cmd,entityToInsert,transaction,commandTimeout);varfirst=multi.Read().FirstOrDefault();if(first==null||first.id==null)return0;varid=(int)first.id;// The following line breaks highlightingvarpropertyInfos=keyPropertiesasPropertyInfo[]??keyProperties.ToArray();if(propertyInfos.Length==0)returnid;varidProperty=propertyInfos[0];idProperty.SetValue(entityToInsert,Convert.ChangeType(id,idProperty.PropertyType),null);returnid;}}
Screenshots
Relevant Information
VSCode
Track:
Insiders
Version:
1.65.0-insider
Extensions:
(this is the output of code --list-extensions | awk '{print " - "$0}' | pbcopy)
Example Bug Issue
Describe the bug
A line in C# with
as
followed by??
breaks highlighting for the rest of the file.To Reproduce
Screenshots
Relevant Information
VSCode
code --list-extensions | awk '{print " - "$0}' | pbcopy
)The text was updated successfully, but these errors were encountered: