Skip to content

Commit 5965001

Browse files
committed
Fixing compilation after localizing HighlightInfo.getDescription.
1 parent 92b7c02 commit 5965001

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

csharp-impl/src/main/java/consulo/csharp/impl/lang/doc/inspection/CSharpDocReferenceInspection.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ public void visitReferenceExpression(CSharpReferenceExpression expression) {
9090
if (highlightInfo == null) {
9191
continue;
9292
}
93-
holder.registerProblem(expression, highlightInfo.getDescription());
93+
holder.newProblem(highlightInfo.getDescription())
94+
.range((PsiElement) expression)
95+
.create();
9496
}
9597
}
9698
};

0 commit comments

Comments
 (0)