<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:35:36 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-28] Oid should behave more like Guid  (struct, immutable, and == support)</title>
                <link>https://jira.mongodb.org/browse/CSHARP-28</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;The Oid type should behave more like .Net&apos;s Guid type.  Specifically, the Guid is a struct, it&apos;s immutable, and it supports ==.  This kind of behavior is implied with Oid, because it&apos;s used in a similar manner to a Guid.&lt;/p&gt;

&lt;p&gt;To look at Guid&apos;s source code (for Mono,) visit &lt;a href=&quot;http://www.koders.com/csharp/fidADC2F00C9F6F285FD431871996B21D22EE4339A7.aspx&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.koders.com/csharp/fidADC2F00C9F6F285FD431871996B21D22EE4339A7.aspx&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;ve posted a potential fix.  They&apos;re at &lt;a href=&quot;http://github.com/GWBasic/mongodb-csharp/commit/3e6e72f46d12429a949b607b08171cc13f62cd92&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/GWBasic/mongodb-csharp/commit/3e6e72f46d12429a949b607b08171cc13f62cd92&lt;/a&gt; and &lt;a href=&quot;http://github.com/GWBasic/mongodb-csharp/commit/840a0968fc9d7671ed8fec3a81e423958355a8af&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/GWBasic/mongodb-csharp/commit/840a0968fc9d7671ed8fec3a81e423958355a8af&lt;/a&gt;  My fix follows the Guid class&apos;s style.&lt;/p&gt;

&lt;p&gt;This is a slightly breaking change for some small cases.  The Value property is now replaced with ToByteArray().  Also, an Oid&apos;s value can&apos;t be changed, so anyone who set an Oid&apos;s &quot;Value&quot; property will need to refactor.  (Again, this is consistant with Guid&apos;s behavior.)&lt;/p&gt;</description>
                <environment>All</environment>
        <key id="11489">CSHARP-28</key>
            <summary>Oid should behave more like Guid  (struct, immutable, and == support)</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="sam">Sam Corder</assignee>
                                    <reporter username="gwbasic">Andrew Rondeau</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Mar 2010 23:19:58 +0000</created>
                <updated>Mon, 15 Mar 2010 23:29:38 +0000</updated>
                            <resolved>Mon, 15 Mar 2010 23:29:38 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="13024" author="sam" created="Mon, 15 Mar 2010 23:29:38 +0000"  >&lt;p&gt;Made immutable and added value type semantic methods and operators.  Will be in 0.82&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10011"><![CDATA[Minor Change]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <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|hrha4n:</customfieldvalue>

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