You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dotnet/reflection-cpp-cli.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,7 +222,7 @@ Compatible classes are then instantiated with the <xref:System.Activator.CreateI
222
222
223
223
Note that the <xref:System.Reflection.Assembly.Load%2A> method does not accept assembly names that include the file extension. The main function in the application trims any provided extensions, so the following code example works in either case.
224
224
225
-
### Example
225
+
### Example app
226
226
227
227
The following code defines the application that accepts plug-ins. An assembly name must be provided as the first argument. This assembly should contain at least one public <xref:System.Windows.Forms.Form> derived type.
228
228
@@ -268,7 +268,7 @@ int main() {
268
268
}
269
269
```
270
270
271
-
### Example
271
+
### Example plug-ins
272
272
273
273
The following code defines three classes derived from <xref:System.Windows.Forms.Form>. When the name of the resulting assembly name is passed to the executable in the previous listing, each of these three classes will be discovered and instantiated, despite the fact that they were all unknown to the hosting application at compile time.
Generics authored in one .NET (or UWP) language may be used in other languages. Unlike templates, a generic in a compiled assembly still remains generic. Thus, one may instantiate the generic type in a different assembly and even in a different language than the assembly in which the generic type was defined.
12
12
13
-
## Example: Generic class defined in C #
14
-
15
-
### Description
13
+
## Example: Generic class defined in C#
16
14
17
15
This example shows a generic class defined in C#.
18
16
19
-
### Code
20
-
21
17
```csharp
22
18
// consuming_generics_from_other_NET_languages.cs
23
19
// compile with: /target:library
@@ -74,14 +70,10 @@ public class CircularList<ItemType> {
74
70
}
75
71
```
76
72
77
-
## Example: Consume assembly authored in C #
78
-
79
-
### Description
73
+
## Example: Consume assembly authored in C#
80
74
81
75
This example consumes the assembly authored in C#.
|[`_mm256_set_epi64x`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_set_epi64x)| AVX \[2]| immintrin.h |`__m256i _mm256_set_epi64x(long long, long long, long long, long long);`|
|[`_mm256_setr_epi64x`](https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm256_setr_epi64x)| AVX \[2]| immintrin.h |`__m256i _mm256_setr_epi64x(long long, long long, long long, long long);`|
Copy file name to clipboardExpand all lines: docs/linux/connect-to-your-remote-linux-computer.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -199,15 +199,12 @@ The `rsync` command is used by both MSBuild-based Linux projects and CMake proje
199
199
200
200

201
201
202
-
203
202
`rsync` is also used by Visual Studio's CMake support to copy source files to the remote system. If you can't enable TCP port forwarding, you can use `sftp` as your remote copy sources method. `sftp` is often slower than `rsync`, but doesn't have a dependency on TCP port forwarding. You can manage your remote copy sources method with the `remoteCopySourcesMethod` property in the [CMake Settings Editor](../build/cmakesettings-reference.md#settings-for-cmake-linux). If TCP port forwarding is disabled on your remote system, you'll see an error in the CMake output window the first time it invokes `rsync`.
204
203
205
204

206
205
207
-
208
206
`gdbserver` can be used for debugging on embedded devices. If you can't enable TCP port forwarding, then you must use `gdb` for all remote debugging scenarios. `gdb` is used by default when debugging projects on a remote system.
209
207
210
-
211
208
Visual Studio's Linux support has a dependency on TCP port forwarding. Both `rsync` and `gdbserver` are affected if TCP port forwarding is disabled on your remote system. If this dependency impacts you, vote for this [suggestion ticket](https://developercommunity2.visualstudio.com/t/shDonshshtsh-shrelysh-s/840265?space=62) on Developer Community.
0 commit comments