Skip to content

Commit e0d39ac

Browse files
committed
fix: MD038/no-space-in-code
Spaces inside code span elements
1 parent 7bba6e3 commit e0d39ac

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎meetings/2014/LDM-2014-02-17.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,11 @@ In C# ```:``` is only used in _(as far I can tell)_
12861286
both of which are contextually different so I can't see another contextual definition being a problem.
12871287

12881288
This would in essence make a Dictionary Literal just a collection of Key-Value Pairs. Eg
1289-
```Dim myDict = { { "A" : 1 } , {"B" : 2 } , { "C" : 3 } } ```
1289+
1290+
```vb
1291+
Dim myDict = { { "A" : 1 } , {"B" : 2 } , { "C" : 3 } }
1292+
```
1293+
12901294
Is then translated into the following code.
12911295
```
12921296
Dim myDict As New Dictionary(Of String, Integer)( { ( "A" : 1 ) , ( "B" : 2 ) , ( "C" : 3 ) }

‎meetings/2014/LDM-2014-10-01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ __Out/ref arguments in C#__. Can you pass a readonly autoprop as an out/ref argu
5454
_Resolution: No_. For readonly autoprops passed as _ref_ arguments, that wouldn't obey the principle that access to the prop goes via its accessor. For passing readonly autoprops as _out_ arguments with the hope that it writes to the underlying field, that wouldn't obey the principle that we bind to the property rather than the backing field. For writeonly autoprops, they don't exist because they're not useful.
5555

5656
__Static readonly autoprops__ Should everything we've written also work for static readonly autoprops?
57-
_Resolution: Yes._ Note there's currently a bug in the native compiler (fixed in Dev14) where the static constructor of a type G<T> is able to initialize static readonly fields in specializations of G e.g. `G<T>.x=15;. The CLR does indeed maintain separate storage locations for each static readonly fields, so `G<int>.g` and `G<string>.g` are different variables. (The native compiler's bug where the static constructor of G could assign to all of them resulted in unverifiable code).
57+
_Resolution: Yes._ Note there's currently a bug in the native compiler (fixed in Dev14) where the static constructor of a type G<T> is able to initialize static readonly fields in specializations of G e.g. `G<T>.x=15;`. The CLR does indeed maintain separate storage locations for each static readonly fields, so `G<int>.g` and `G<string>.g` are different variables. (The native compiler's bug where the static constructor of G could assign to all of them resulted in unverifiable code).
5858

5959
__VB rules in initializers as well as constructors__. VB initializers are allowed to refer to other members of a class, and VB initializers are all executed during construction time. Should everything we've said about behavior in C# constructors also apply to behavior in VB initializers?
6060
_Resolution: Yes_.

0 commit comments

Comments
 (0)