Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static void MySerializeIPEndPointClassMethod(){
//<Snippet1>

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

//Serializes the IPEndPoint.
Expand Down
2 changes: 1 addition & 1 deletion xml/System.Numerics/BigInteger.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9342,7 +9342,7 @@ If `provider` is `null`, the <xref:System.Globalization.NumberFormatInfo> object
<format type="text/markdown"><![CDATA[

## Remarks
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.
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.

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

Expand Down
2 changes: 1 addition & 1 deletion xml/System/MathF.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,7 @@ If the value of the `x` argument is <xref:System.Single.NaN?displayProperty=name
<format type="text/markdown"><![CDATA[

## Remarks
The angle, `x`, must be in radians. Multiply by <xref:System.Math.PI?displayProperty=nameWithType>/180 to convert degrees to radians.
The angle, `x`, must be in radians. Multiply by <xref:System.MathF.PI?displayProperty=nameWithType>/180 to convert degrees to radians.

This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.

Expand Down