diff --git a/snippets/csharp/System.Xml/XmlDocument/CreateElement/source.cs b/snippets/csharp/System.Xml/XmlDocument/CreateElement/source.cs index b97e4fd146e..d27cfe01c1a 100644 --- a/snippets/csharp/System.Xml/XmlDocument/CreateElement/source.cs +++ b/snippets/csharp/System.Xml/XmlDocument/CreateElement/source.cs @@ -24,4 +24,14 @@ public static void Main() doc.Save(Console.Out); } } +/* + The example displays the following output: + + Display the modified XML... + + + Pride And Prejudice + 19.95 + +*/ // diff --git a/xml/System.Web.Services.Description/ServiceDescriptionImporter.xml b/xml/System.Web.Services.Description/ServiceDescriptionImporter.xml index 0a2c9f937fa..e75e7243654 100644 --- a/xml/System.Web.Services.Description/ServiceDescriptionImporter.xml +++ b/xml/System.Web.Services.Description/ServiceDescriptionImporter.xml @@ -27,6 +27,9 @@ The class allows you to easily import the information contained in a WSDL description into a object. By adjusting the value of the parameter, you can instruct a instance either to generate a client proxy class that provides the functionality of the Web service by transparently calling it or to generate an abstract class that encapsulates the functionality of the Web service without implementing it. The code in the resulting object can then either be called directly or exported in the language of your choice. + + > [!IMPORTANT] + > Do not use with untrusted input. Importing a from untrusted sources can result in code generation that accesses arbitrary URLs or instantiates arbitrary .NET types, potentially leading to security vulnerabilities. diff --git a/xml/System/Double.xml b/xml/System/Double.xml index 0fd019af1ab..f2241dfd3a4 100644 --- a/xml/System/Double.xml +++ b/xml/System/Double.xml @@ -4814,7 +4814,7 @@ The following code example illustrates the use of or as required by the IEEE 754 specification. In prior versions, including .NET Framework, parsing a value that was too large to represent resulted in failure. - The `s` parameter can contain the current culture's , , , or a string of the form: + The `s` parameter can contain the current culture's , , or symbol. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. The `s` parameter can also be a string of the form: [*ws*][*sign*][*integral-digits*[*,*]]*integral-digits*[*.*[*fractional-digits*]][E[*sign*]*exponential-digits*][*ws*] @@ -5020,7 +5020,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and - - The `s` parameter can contain the current culture's , , or . Depending on the value of `style`, it can also take the form: + The `s` parameter can contain the current culture's , , or symbol. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. Depending on the value of `style`, the `s` parameter can also take the form: [*ws*][*$*][*sign*][*integral-digits*[*,*]]*integral-digits*[*.*[*fractional-digits*]][E[*sign*]*exponential-digits*][*ws*] @@ -5168,7 +5168,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and This overload of the method is typically used to convert text that can be formatted in a variety of ways to a value. For example, it can be used to convert the text that is entered by a user into an HTML text box to a numeric value. - The `s` parameter is interpreted using a combination of the and flags. The `s` parameter can contain , , or for the culture specified by `provider`, or it can contain a string of the form: + The `s` parameter is interpreted using a combination of the and flags. The `s` parameter can contain , , or symbol for the culture specified by `provider`. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. The `s` parameter can also contain a string of the form: [*ws*][*sign*]*integral-digits*[*.*[*fractional-digits*]][E[*sign*]*exponential-digits*][*ws*] @@ -5409,7 +5409,7 @@ If `s` is out of range of the data type, the method returns - - The `s` parameter can contain , , or for the culture specified by `provider`. Depending on the value of `style`, it can also take the form: + The `s` parameter can contain , , or symbol for the culture specified by `provider`. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. Depending on the value of `style`, the `s` parameter can also take the form: [*ws*] [*$*] [*sign*][*integral-digits*,]*integral-digits*[.[*fractional-digits*]][E[*sign*]*exponential-digits*][*ws*] @@ -10055,7 +10055,7 @@ Tau is approximately 6.2831853071795864769. This overload differs from the method by returning a Boolean value that indicates whether the parse operation succeeded instead of returning the parsed numeric value. It eliminates the need to use exception handling to test for a in the event that `s` is invalid and cannot be successfully parsed. - The `s` parameter can contain the current culture's , , (the string comparison is case-sensitive), or a string of the form: + The `s` parameter can contain the current culture's , , or symbol. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. The `s` parameter can also be a string of the form: [ws][sign][integral-digits,]integral-digits[.[fractional-digits]][e[sign]exponential-digits][ws] @@ -10431,7 +10431,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and - - The `s` parameter can contain , , or for the culture indicated by `provider`. In addition, depending on the value of `style`, the `s` parameter may include the following elements: + The `s` parameter can contain , , or symbol for the culture indicated by `provider`. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. In addition, depending on the value of `style`, the `s` parameter may include the following elements: [ws] [$] [sign][integral-digits,]integral-digits[.fractional-digits][e[sign]exponential-digits][ws] diff --git a/xml/System/Single.xml b/xml/System/Single.xml index 41d85b8c87b..050716397ee 100644 --- a/xml/System/Single.xml +++ b/xml/System/Single.xml @@ -4836,7 +4836,7 @@ For this method matches the IEEE 754:2 ## Remarks In .NET Core 3.0 and later, values that are too large to represent are rounded to or as required by the IEEE 754 specification. In prior versions, including .NET Framework, parsing a value that was too large to represent resulted in failure. - The `s` parameter can contain the current culture's , , , or a string of the form: + The `s` parameter can contain the current culture's , , or symbol. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. The `s` parameter can also be a string of the form: [*ws*][*sign*] [*integral-digits*[*,*]]*integral-digits*[*.*[*fractional-digits*]][e[*sign*]*exponential-digits*][*ws*] @@ -5035,7 +5035,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and - - The `s` parameter can contain the current culture's , , . Depending on the value of `style`, it can also take the form: + The `s` parameter can contain the current culture's , , or symbol. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. Depending on the value of `style`, the `s` parameter can also take the form: [*ws*][*$*][*sign*][*integral-digits*[*,*]]*integral-digits*[*.*[*fractional-digits*]][E[*sign*]*exponential-digits*][*ws*] @@ -5194,7 +5194,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and This overload is typically used to convert text that can be formatted in a variety of ways to a value. For example, it can be used to convert the text entered by a user into an HTML text box to a numeric value. - The `s` parameter is interpreted using a combination of the and flags. The `s` parameter can contain , , or for the culture specified by `provider`, or it can contain a string of the form: + The `s` parameter is interpreted using a combination of the and flags. The `s` parameter can contain , , or symbol for the culture specified by `provider`. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. The `s` parameter can contain a string of the form: [*ws*][*sign*]*integral-digits*[*.*[*fractional-digits*]][E[*sign*]*exponential-digits*][*ws*] @@ -5437,7 +5437,7 @@ If `s` is out of range of the data type, the method returns - - The `s` parameter can contain , , or for the culture specified by `provider`. Depending on the value of `style`, it can also take the form: + The `s` parameter can contain , , or symbol for the culture specified by `provider`. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. Depending on the value of `style`, the `s` parameter can also take the form: [*ws*] [*$*] [*sign*][*integral-digits*,]*integral-digits*[.[*fractional-digits*]][E[*sign*]*exponential-digits*][*ws*] @@ -10056,7 +10056,7 @@ Tau is approximately 6.2831853071795864769. This overload differs from the method by returning a Boolean value that indicates whether the parse operation succeeded instead of returning the parsed numeric value. It eliminates the need to use exception handling to test for a in the event that `s` is invalid and cannot be successfully parsed. - The `s` parameter can contain , , (the string comparison is case-sensitive), or a string of the form: + The `s` parameter can contain , , or symbol. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. The `s` parameter can also be a string of the form: [ws][sign][integral-digits,]integral-digits[.[fractional-digits]][e[sign]exponential-digits][ws] @@ -10423,7 +10423,7 @@ If a separator is encountered in the `s` parameter during a parse operation, and - - The `s` parameter can contain , , for the culture indicated by `provider`. In addition, depending on the value of `style`, the `s` parameter may include the following elements: + The `s` parameter can contain , , or symbol for the culture indicated by `provider`. This string comparison is case-insensitive in .NET Core 3.0 and later versions, but is case-sensitive in prior versions including .NET Framework. In addition, depending on the value of `style`, the `s` parameter may include the following elements: [ws] [$] [sign][integral-digits,]integral-digits[.fractional-digits][e[sign]exponential-digits][ws]