We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a265518 commit 19b0a5cCopy full SHA for 19b0a5c
1 file changed
CodeConverter/CSharp/ExpressionNodeVisitor.cs
@@ -1836,7 +1836,7 @@ RefConversion GetRefConversion(VBSyntax.ExpressionSyntax expression)
1836
if (symbolInfo is IPropertySymbol propertySymbol) {
1837
return propertySymbol.IsReadOnly ? RefConversion.PreAssigment : RefConversion.PreAndPostAssignment;
1838
}
1839
- else if (symbolInfo is IFieldSymbol { IsConst: true } || symbolInfo is ILocalSymbol { IsConst: true }) {
+ else if (symbolInfo is IFieldSymbol { IsConst: true } or ILocalSymbol { IsConst: true }) {
1840
return RefConversion.PreAssigment;
1841
1842
0 commit comments