Skip to content

Commit 08bdd82

Browse files
committed
Fix build
1 parent 3219eb6 commit 08bdd82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resharper/resharper-unity/src/CSharp/Feature/Services/CodeCompletion/UnityEventFunctionRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ private static bool ShouldComplete(ITreeNode nodeInFile, ICSharpIdentifier ident
317317
// array specifier to the type usage we're typing. (If there's already a type, then the parser thinks
318318
// it's a property). So, if we have an array rank, check to see if the token following the `[` is an
319319
// identifier. If so, it's likely it should be an attribute instead, so allow completion.
320-
var typeUsage = identifier.GetContainingNode<ITypeUsage>();
320+
var typeUsage = identifier.GetContainingNode<IArrayTypeUsage>();
321321
if (typeUsage != null)
322322
{
323323
var arrayRanks = typeUsage.ArrayRanks;

0 commit comments

Comments
 (0)