Skip to content

Commit 1bb1707

Browse files
authored
Merge pull request #9707 from dotnet/merges/master-to-release/dev16.8
Merge master to release/dev16.8
2 parents 03e8771 + dce7a40 commit 1bb1707

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/fsharp/FSharp.Core/reflect.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ module internal Impl =
166166
let nm = minfo.Name
167167
// chop "get_" or "New" off the front
168168
let nm =
169-
if not (isListType typ) && not (isOptionType typ) then
170-
if nm.Length > 4 && nm.[0..3] = "get_" then nm.[4..]
171-
elif nm.Length > 3 && nm.[0..2] = "New" then nm.[3..]
169+
if not (isListType typ) && not (isOptionType typ) && nm.Length > 3 then
170+
if nm.StartsWith ("get_", StringComparison.Ordinal) then nm.[4..]
171+
elif nm.StartsWith ("New", StringComparison.Ordinal) then nm.[3..]
172172
else nm
173173
else nm
174174
Some (n, nm)

src/fsharp/service/FSharpCheckerResults.fsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,11 @@ type public FSharpCheckFileResults =
235235
/// Find the most precise display environment for the given line and column.
236236
member GetDisplayContextForPos : pos : pos -> Async<FSharpDisplayContext option>
237237

238-
/// Determines if a long ident is resolvable at a specific point.
238+
/// <summary>Determines if a long ident is resolvable at a specific point.</summary>
239239
/// <param name="userOpName">An optional string used for tracing compiler operations associated with this request.</param>
240240
member internal IsRelativeNameResolvable: cursorPos : pos * plid : string list * item: Item * ?userOpName: string -> Async<bool>
241241

242-
/// Determines if a long ident is resolvable at a specific point.
242+
/// <summary>Determines if a long ident is resolvable at a specific point.</summary>
243243
/// <param name="userOpName">An optional string used for tracing compiler operations associated with this request.</param>
244244
member IsRelativeNameResolvableFromSymbol: cursorPos : pos * plid : string list * symbol: FSharpSymbol * ?userOpName: string -> Async<bool>
245245

@@ -399,4 +399,4 @@ type internal FsiInteractiveChecker =
399399
module internal FSharpCheckerResultsSettings =
400400
val defaultFSharpBinariesDir: string
401401

402-
val maxTimeShareMilliseconds : int64
402+
val maxTimeShareMilliseconds : int64
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)