You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<paramname="utf8Text">The UTF-8 encoded text to compare against.</param>
67
+
<summary>Compares the specified UTF-8 encoded text to the name of this property.</summary>
68
+
<returns><seelangword="true" /> if the name of this property has the same UTF-8 encoding as <paramrefname="utf8Text" />; otherwise, <seelangword="false" />.</returns>
69
+
<remarks>
70
+
<formattype="text/markdown"><![CDATA[
71
+
72
+
## Remarks
73
+
74
+
This method is functionally equal to doing an ordinal comparison of `utf8Text` and <xref:System.Text.Json.JsonProperty.Name>, but it can avoid creating the string instance.
75
+
76
+
]]></format>
77
+
</remarks>
78
+
<exceptioncref="T:System.InvalidOperationException">This value's <seecref="T:System.Type" /> is not <seecref="F:System.Text.Json.JsonTokenType.PropertyName" />.</exception>
<paramname="text">The text to compare against.</param>
101
+
<summary>Compares the specified text as a character span to the name of this property.</summary>
102
+
<returns><seelangword="true" /> if the name of this property matches <paramrefname="text" />; otherwise, <seelangword="false" />.</returns>
103
+
<remarks>
104
+
<formattype="text/markdown"><![CDATA[
105
+
106
+
## Remarks
107
+
108
+
This method is functionally equal to doing an ordinal comparison of `text` and <xref:System.Text.Json.JsonProperty.Name>, but it can avoid creating the string instance.
109
+
110
+
]]></format>
111
+
</remarks>
112
+
<exceptioncref="T:System.InvalidOperationException">This value's <seecref="T:System.Type" /> is not <seecref="F:System.Text.Json.JsonTokenType.PropertyName" />.</exception>
95
113
</Docs>
96
114
</Member>
97
115
<MemberMemberName="NameEquals">
@@ -113,10 +131,19 @@
113
131
<ParameterName="text"Type="System.String" />
114
132
</Parameters>
115
133
<Docs>
116
-
<paramname="text">To be added.</param>
117
-
<summary>To be added.</summary>
118
-
<returns>To be added.</returns>
119
-
<remarks>To be added.</remarks>
134
+
<paramname="text">The text to compare against.</param>
135
+
<summary>Compares the specified string to the name of this property.</summary>
136
+
<returns><seelangword="true" /> if the name of this property matches <paramrefname="text" />; otherwise <seelangword="false" />.</returns>
137
+
<remarks>
138
+
<formattype="text/markdown"><![CDATA[
139
+
140
+
## Remarks
141
+
142
+
This method is functionally equal to doing an ordinal comparison of `text` and <xref:System.Text.Json.JsonProperty.Name>.
143
+
144
+
]]></format>
145
+
</remarks>
146
+
<exceptioncref="T:System.InvalidOperationException">This value's <seecref="T:System.Type" /> is not <seecref="F:System.Text.Json.JsonTokenType.PropertyName" />.</exception>
0 commit comments