Skip to content

Commit

Permalink
[dotnet] Fix breaking change due to field keyword
Browse files Browse the repository at this point in the history
GitOrigin-RevId: e7e80ddd0c3de2da49d99ae65bfb3ad8485a8ecc
  • Loading branch information
controlflow authored and intellij-monorepo-bot committed Dec 30, 2024
1 parent 807119e commit 16f4167
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public IEnumerable<IField> Fields
if (GetDeclaration() is IFSharpTypeDeclaration { TypeRepresentation: IEnumRepresentation repr })
foreach (var memberDeclaration in repr.EnumCases)
if (memberDeclaration.DeclaredElement is { } field)
yield return (IField) field;
yield return (IField) @field;
}
}

Expand Down

0 comments on commit 16f4167

Please sign in to comment.