Skip to content

Commit a68e887

Browse files
committed
Fix compilation error: remove extra _semanticModel argument from GetMyClassAccessedNames call
The method was changed to instance method using _semanticModel directly, but the call site still passed _semanticModel as an argument causing a compilation error. https://claude.ai/code/session_01AkwUvu3XuCdj3D4axoX4UX
1 parent f29af8b commit a68e887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CodeConverter/CSharp/DeclarationNodeVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ var dummyClass
336336

337337
public override async Task<CSharpSyntaxNode> VisitClassBlock(VBSyntax.ClassBlockSyntax node)
338338
{
339-
_accessorDeclarationNodeConverter.AccessedThroughMyClass = GetMyClassAccessedNames(node, _semanticModel);
339+
_accessorDeclarationNodeConverter.AccessedThroughMyClass = GetMyClassAccessedNames(node);
340340
var classStatement = node.ClassStatement;
341341
var attributes = await CommonConversions.ConvertAttributesAsync(classStatement.AttributeLists);
342342
var (parameters, constraints) = await SplitTypeParametersAsync(classStatement.TypeParameterList);

0 commit comments

Comments
 (0)