<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:17 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-598] Indexing in Typed Update Builder Breaks with Variable</title>
                <link>https://jira.mongodb.org/browse/CSHARP-598</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;        static void Main()&lt;/p&gt;
        {
            int index = 10;
            var update = Update&amp;lt;TestClass&amp;gt;.Set(x =&amp;gt; x.List[index].Name, &quot;Blah&quot;);

            Console.WriteLine(update.ToString());
        }

&lt;p&gt;        private class TestClass&lt;br/&gt;
        {&lt;br/&gt;
            public ObjectId Id &lt;/p&gt;
{ get; set; }&lt;br/&gt;
&lt;br/&gt;
            public List&amp;lt;SubTestClass&amp;gt; List { get; set; }
&lt;p&gt;        }&lt;/p&gt;

&lt;p&gt;        private class SubTestClass&lt;br/&gt;
        {&lt;br/&gt;
            public string Name &lt;/p&gt;
{ get; set; }
&lt;p&gt;        }&lt;/p&gt;</description>
                <environment></environment>
        <key id="52819">CSHARP-598</key>
            <summary>Indexing in Typed Update Builder Breaks with Variable</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="craig.wilson@mongodb.com">Craig Wilson</assignee>
                                    <reporter username="craig.wilson@mongodb.com">Craig Wilson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Oct 2012 18:02:12 +0000</created>
                <updated>Fri, 12 Oct 2012 14:22:55 +0000</updated>
                            <resolved>Thu, 11 Oct 2012 18:44:11 +0000</resolved>
                                    <version>1.6</version>
                                    <fixVersion>1.6.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="174244" author="craiggwilson" created="Fri, 12 Oct 2012 14:22:55 +0000"  >&lt;p&gt;pushed to master and x2.0&lt;/p&gt;</comment>
                            <comment id="174242" author="auto" created="Fri, 12 Oct 2012 14:21:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-12T07:21:18-07:00&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-598&quot; title=&quot;Indexing in Typed Update Builder Breaks with Variable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-598&quot;&gt;&lt;del&gt;CSHARP-598&lt;/del&gt;&lt;/a&gt;: corrected issue with not evaluating member expressions that contain variables and not constants.&lt;/p&gt;

&lt;p&gt;Conflicts:&lt;br/&gt;
	MongoDB.Driver/Builders/UpdateBuilder.cs&lt;br/&gt;
Branch: x2.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/fcf614dac7e47f4660b011b626837617957beb18&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/fcf614dac7e47f4660b011b626837617957beb18&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="174230" author="auto" created="Fri, 12 Oct 2012 14:08:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;date&apos;: u&apos;2012-10-11T11:14:20-07:00&apos;, u&apos;email&apos;: u&apos;craiggwilson@gmail.com&apos;, u&apos;name&apos;: u&apos;Craig Wilson&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-598&quot; title=&quot;Indexing in Typed Update Builder Breaks with Variable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-598&quot;&gt;&lt;del&gt;CSHARP-598&lt;/del&gt;&lt;/a&gt;: corrected issue with not evaluating member expressions that contain variables and not constants.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/7f57b3dbcae753f6e37bca0d9e6b3abf63d2749e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/7f57b3dbcae753f6e37bca0d9e6b3abf63d2749e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="173850" author="craiggwilson" created="Thu, 11 Oct 2012 18:44:11 +0000"  >&lt;p&gt;In code review.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrjxfj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>29953</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>