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/csharp/whats-new/csharp-7-3.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ The following enhancements were made to existing features:
25
25
26
26
The new compiler options are:
27
27
28
-
-`-publicsign` to enable OSS signing of assemblies.
28
+
-`-publicsign` to enable Open Source Software (OSS) signing of assemblies.
29
29
-`-pathmap` to provide a mapping for source directories.
30
30
31
31
The remainder of this article provides details and links to learn more about each of the improvements.
@@ -52,14 +52,14 @@ class C
52
52
{
53
53
staticSs=newS();
54
54
55
-
publicvoidM()
55
+
unsafepublicvoidM()
56
56
{
57
57
intp=s.myFixedField[5];
58
58
}
59
59
}
60
60
```
61
61
62
-
The variable `p`doesn't need to be pinned. Note that you still need an `unsafe` context. In earlier versions of C#, you need to declare a second fixed pointer:
62
+
The variable `p`accesses one element in `myFixedField`. You don't need to declare a separate `int*` variable. Note that you still need an `unsafe` context. In earlier versions of C#, you need to declare a second fixed pointer:
63
63
64
64
```csharp
65
65
classC
@@ -83,7 +83,7 @@ Fore more information, see the article on the [`fixed` statement](../language-re
83
83
Now, `ref` locals may be reassigned to refer to different instances after being initialized. The following code now compiles:
0 commit comments