[CSHARP-4427] LINQ3 is not throwing on all variations of negative indexes Created: 23/Nov/22  Updated: 28/Oct/23  Resolved: 08/Dec/22

Status: Closed
Project: C# Driver
Component/s: LINQ3
Affects Version/s: None
Fix Version/s: 2.19.0

Type: Bug Priority: Unknown
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by CSHARP-4358 Update tests that only test against L... Closed

 Description   

See the `Incorrect_index_should_throw_expected_exception_with_set` test:

https://github.com/mongodb/mongo-csharp-driver/blob/master/tests/MongoDB.Driver.Tests/UpdateDefinitionBuilderTests.cs#L243



 Comments   
Comment by Githook User [ 08/Dec/22 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-4427: Negative array indexes should throw ExpressionNotSupportedException.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/b7647e598e1e1b334415897bedca48e53415b907

Generated at Wed Feb 07 21:48:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.