Skip to content

Commit b253e16

Browse files
committed
More tweaks
1 parent b4d6eaa commit b253e16

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/msbuild/property-functions.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,15 @@ For example, to set a build property to a new GUID, you can use this script:
6262
<NewGuid>$([System.Guid]::NewGuid())</NewGuid>
6363
```
6464

65-
In MSBuild 17.14 and later, you can use the parameter syntax "out _" to invoke a static method with an `out` parameter. See [Reference parameters](/dotnet/csharp/language-reference/keywords/method-parameters#reference-parameters). The `out` parameter value is ignored. For example:
65+
For overloaded methods, MSBuild tries to find a method with matching parameters.
66+
67+
In MSBuild 17.14 and later, you can use the parameter syntax `out _` to specify an `out` parameter. See [Reference parameters](/dotnet/csharp/language-reference/keywords/method-parameters#reference-parameters). The `out` parameter value is ignored. For example:
6668

6769
```xml
6870
<IsInteger>$([System.Int32]::TryParse("123", out _))</IsInteger>
6971
```
7072

71-
The property `IsInteger` is `true` if the input ("123" in this example) is successfully parsed as an integer, but the parsed value is ignored.
73+
The property `IsInteger` is `true` if the input is successfully parsed as an integer, but the parsed value is ignored.
7274

7375
In static property functions, you can use any public static method or property defined in .NET Standard 2.0 for these system classes:
7476

0 commit comments

Comments
 (0)