<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:40:59 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-1898] Potentially unintended unused variable.</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1898</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;In &lt;tt&gt;BsonClassMapSerializer&amp;lt;&amp;gt;.TryGetMemberSerializationInfo(...)&lt;/tt&gt;, the variable &lt;tt&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/blob/368e0e0901764eca46aa4a9cfd7ff675e78f3b5c/src/MongoDB.Bson/Serialization/Serializers/BsonClassMapSerializer.cs#L347&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;nominalType&lt;/a&gt;&lt;/tt&gt; is not used when constructing the BsonSerializationInfo to be returned; &lt;tt&gt;serializer.ValueType&lt;/tt&gt; is used instead.&lt;/p&gt;

&lt;p&gt;Using &lt;tt&gt;nominalType&lt;/tt&gt; seems more reasonable, but I&apos;m not certain.  If using &lt;tt&gt;serializer.ValueType&lt;/tt&gt; is intended, remove the unused variable; otherwise, use it.&lt;/p&gt;</description>
                <environment></environment>
        <key id="347233">CSHARP-1898</key>
            <summary>Potentially unintended unused variable.</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="mindless2112">Carl</reporter>
                        <labels>
                    </labels>
                <created>Fri, 20 Jan 2017 00:27:53 +0000</created>
                <updated>Tue, 7 Feb 2017 17:11:19 +0000</updated>
                            <resolved>Thu, 26 Jan 2017 15:55:25 +0000</resolved>
                                    <version>2.4.1</version>
                                    <fixVersion>2.4.2</fixVersion>
                                    <component>Serialization</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1485912" author="xgen-internal-githook" created="Thu, 26 Jan 2017 15:57:06 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;rstam&apos;, u&apos;name&apos;: u&apos;rstam&apos;, u&apos;email&apos;: u&apos;robert@robertstam.org&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-1898&quot; title=&quot;Potentially unintended unused variable.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-1898&quot;&gt;&lt;del&gt;CSHARP-1898&lt;/del&gt;&lt;/a&gt;: Remove unused variable.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/2d80f4c613924ad75a691867933d96bb5e398fd3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/2d80f4c613924ad75a691867933d96bb5e398fd3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1485325" author="rstam" created="Wed, 25 Jan 2017 20:29:42 +0000"  >&lt;p&gt;Removed the unused variable.&lt;/p&gt;

&lt;p&gt;Note also that serializer.ValueType is always going to be equal to memberMap.MemberType (so also equal to the unused nominalType variable).&lt;/p&gt;</comment>
                    </comments>
                    <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|hrb6g7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1562">C# Sprint 48 02/10/2017</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>