Skip to content

Commit 26cbc02

Browse files
Merge pull request #11989 from dotnet/main
Merge main into live
2 parents ad9a6e0 + f0f6ff0 commit 26cbc02

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

snippets/csharp/System.Net/SocketAddress/Overview/source.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static void MySerializeIPEndPointClassMethod(){
1010
//<Snippet1>
1111

1212
//Creates an IpEndPoint.
13-
IPAddress ipAddress = Dns.Resolve("www.contoso.com").AddressList[0];
13+
IPAddress ipAddress = Dns.GetHostEntry("www.contoso.com").AddressList[0];
1414
IPEndPoint ipLocalEndPoint = new IPEndPoint(ipAddress, 11000);
1515

1616
//Serializes the IPEndPoint.

xml/System.Numerics/BigInteger.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9342,7 +9342,7 @@ If `provider` is `null`, the <xref:System.Globalization.NumberFormatInfo> object
93429342
<format type="text/markdown"><![CDATA[
93439343

93449344
## Remarks
9345-
The <xref:System.Numerics.BigInteger.Pow%2A> method returns 1 if the value of the exponent parameter is 0, or if the values of both the `value` and `exponent` parameters are 0. If `exponent` is 1, the <xref:System.Numerics.BigInteger.Pow%2A> method returns `value`. If `value` is negative, the method returns a negative result.
9345+
The <xref:System.Numerics.BigInteger.Pow%2A> method returns 1 if the value of the exponent parameter is 0, or if the values of both the `value` and `exponent` parameters are 0. If `exponent` is 1, the <xref:System.Numerics.BigInteger.Pow%2A> method returns `value`. If `value` is negative and exponent is odd, the method returns a negative result.
93469346

93479347
This method corresponds to the <xref:System.Math.Pow%2A?displayProperty=nameWithType> method for primitive numeric types.
93489348

xml/System/MathF.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2405,7 +2405,7 @@ If the value of the `x` argument is <xref:System.Single.NaN?displayProperty=name
24052405
<format type="text/markdown"><![CDATA[
24062406
24072407
## Remarks
2408-
The angle, `x`, must be in radians. Multiply by <xref:System.Math.PI?displayProperty=nameWithType>/180 to convert degrees to radians.
2408+
The angle, `x`, must be in radians. Multiply by <xref:System.MathF.PI?displayProperty=nameWithType>/180 to convert degrees to radians.
24092409
24102410
This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.
24112411

0 commit comments

Comments
 (0)