<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:41:56 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-2220] ISupportInitialize ignored on some versions of .NET</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2220</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The source code (BsonClassMapSerializer.cs) appears to have the following statement around .BeginInit and .EngInit calls:&lt;br/&gt;
#if NET45&lt;br/&gt;
...&lt;br/&gt;
#endif&lt;/p&gt;

&lt;p&gt;The #if statement was added to avoid dependency on unsupported API where it&apos;s not available, but in my case, where NETCOREAPP2_0 is defined instead of NET45, casting document to ISupportInitialize then calling InitBeginand InitEnd seems to work perfectly fine.&lt;/p&gt;

&lt;p&gt;Can we change the #if condition to something that captures more version that support the feature, or is there another reason to keep it? (If so - would be nice to document it)&lt;/p&gt;

&lt;p&gt;This created a lot of confusion for me since the docs don&apos;t specify version requirement for this feature to work, so I couldn&apos;t figure out why EndInit wasn&apos;t being called.&lt;/p&gt;</description>
                <environment>.NET Core 2.0</environment>
        <key id="513454">CSHARP-2220</key>
            <summary>ISupportInitialize ignored on some versions of .NET</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="3">Duplicate</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="ytaben">Yaroslav Taben</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Mar 2018 16:37:23 +0000</created>
                <updated>Tue, 29 Oct 2019 15:41:59 +0000</updated>
                            <resolved>Tue, 29 Oct 2019 15:41:59 +0000</resolved>
                                    <version>2.5</version>
                                                    <component>BSON</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2020292" author="rstam" created="Tue, 2 Oct 2018 12:59:49 +0000"  >&lt;p&gt;Once we get our build process changed from multiple solutions (one per target framework) to a single solution targeting multiple frameworks we will be in a position to add a new target framework for NetStandard 2.0, at which time we can re-enable any features that are currently disabled in the NetStandard version of the driver because they required functionality not available in earlier versions of NetStandard.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="492435">CSHARP-2174</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="611318">CSHARP-2400</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="479168">CSHARP-2138</issuekey>
        </issuelink>
                            </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|htkci7:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>