diff --git a/CodeConverter/CSharp/DeclarationNodeVisitor.cs b/CodeConverter/CSharp/DeclarationNodeVisitor.cs index 0030f880..0e1dcafc 100644 --- a/CodeConverter/CSharp/DeclarationNodeVisitor.cs +++ b/CodeConverter/CSharp/DeclarationNodeVisitor.cs @@ -674,7 +674,7 @@ public override async Task VisitPropertyStatement(VBSyntax.Pro throw new NotImplementedException("MyClass indexing not implemented"); } var methodDeclarationSyntaxs = await propertyBlock.Accessors.SelectAsync(async a => - await a.AcceptAsync(TriviaConvertingDeclarationVisitor, a == propertyBlock.Accessors.First() ? SourceTriviaMapKind.All : SourceTriviaMapKind.None)); + await a.AcceptAsync(TriviaConvertingDeclarationVisitor, SourceTriviaMapKind.All)); var accessorMethods = methodDeclarationSyntaxs.Select(WithMergedModifiers).ToArray(); if (hasExplicitInterfaceImplementation) {