Fix `NoTargetTypedThrowAnalyzer` choking on `throw obj.AField;`

This commit is contained in:
YoshiRulz 2025-07-13 17:10:26 +10:00
parent aaefdeaadc
commit 35ce3f56c5
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ public sealed class NoTargetTypedThrowAnalyzer : DiagnosticAnalyzer
case OperationKind.ObjectCreation:
case OperationKind.Invocation:
case OperationKind.PropertyReference:
case OperationKind.FieldReference:
case OperationKind.LocalReference:
return;
case OperationKind.Conversion:

Binary file not shown.