Skip to content

Commit a14f00b

Browse files
author
mikeblome
committed
more xref fixes
1 parent d7f3f49 commit a14f00b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/build/reference/dot-lib-files-as-linker-input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A library is specified to LINK as either a file name argument or a default libra
2121

2222
## To programmatically add .lib files as linker input
2323

24-
- See <xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkertool.AdditionalDependencies>.
24+
- See <xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.AdditionalDependencies>.
2525

2626
## Example
2727

docs/dotnet/how-to-create-clr-console-applications-cpp-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ When you use the Console Application template to create a project, it automatica
1414

1515
- References to these .NET Framework namespaces:
1616

17-
- <xref:System.AppDomainManager.AppDomainManager%2A>—Contains fundamental classes and base classes that define commonly used values and reference data types, events and event handlers, interfaces, attributes, and processing exceptions.
17+
- <xref:System.AppDomainManager>—Contains fundamental classes and base classes that define commonly used values and reference data types, events and event handlers, interfaces, attributes, and processing exceptions.
1818

1919
- mscorlib—The assembly DLL that supports .NET Framework development.
2020

docs/dotnet/how-to-use-arrays-in-cpp-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ int main() {
496496
497497
Unlike standard C++ arrays, managed arrays are implicitly derived from an array base class from which they inherit common behavior. An example is the `Sort` method, which can be used to order the items in any array.
498498
499-
For arrays that contain basic intrinsic types, you can call the `Sort` method. You can override the sort criteria, and doing so is required when you want to sort for arrays of complex types. In this case, the array element type must implement the <xref:System.IComparable.CompareTo> method.
499+
For arrays that contain basic intrinsic types, you can call the `Sort` method. You can override the sort criteria, and doing so is required when you want to sort for arrays of complex types. In this case, the array element type must implement the <xref:System.IComparable.CompareTo%2A> method.
500500
501501
```cpp
502502
// array_sort.cpp
@@ -513,7 +513,7 @@ int main() {
513513

514514
## Sorting arrays by using custom criteria
515515

516-
To sort arrays that contain basic intrinsic types, just call the `Array::Sort` method. However, to sort arrays that contain complex types or to override the default sort criteria, override the <xref:System.IComparable.CompareTo> method.
516+
To sort arrays that contain basic intrinsic types, just call the `Array::Sort` method. However, to sort arrays that contain complex types or to override the default sort criteria, override the <xref:System.IComparable.CompareTo%2A> method.
517517

518518
In the following example, a structure named `Element` is derived from <xref:System.IComparable>, and written to provide a <xref:System.IComparable.CompareTo%2A> method that uses the average of two integers as the sort criterion.
519519

docs/dotnet/reflection-cpp-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Reflection allows known data types to be inspected at runtime. Reflection allows
1010

1111
Note that the assembly name provided is the strong name (see [Creating and Using Strong-Named Assemblies](/dotnet/framework/app-domains/create-and-use-strong-named-assemblies)), which includes the assembly version, culture, and signing information. Note also that the name of the namespace in which the data type is defined can be retrieved, along with the name of the base class.
1212

13-
The most common way to access reflection features is through the <xref:System.Object.GetType%2A> method. This method is provided by <xref:system.object>, from which all garbage-collected classes derive.
13+
The most common way to access reflection features is through the <xref:System.Object.GetType%2A> method. This method is provided by <xref:System.Object?displayProperty=nameWithType>, from which all garbage-collected classes derive.
1414

1515
> [!NOTE]
1616
> Reflection on an .exe built with the Visual C++ compiler is only allowed if the .exe is built with the **/clr:pure** or **/clr:safe** compiler options. The **/clr:pure** and **/clr:safe** compiler options are deprecated in Visual Studio 2015 and unavailable in Visual Studio 2017. See [/clr (Common Language Runtime Compilation)](../build/reference/clr-common-language-runtime-compilation.md) for more information.

0 commit comments

Comments
 (0)