File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
vsintegration/src/FSharp.ProjectSystem.FSharp/Resources Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -166,9 +166,9 @@ module internal Impl =
166
166
let nm = minfo.Name
167
167
// chop "get_" or "New" off the front
168
168
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 ..]
172
172
else nm
173
173
else nm
174
174
Some ( n, nm)
Original file line number Diff line number Diff line change @@ -235,11 +235,11 @@ type public FSharpCheckFileResults =
235
235
/// Find the most precise display environment for the given line and column.
236
236
member GetDisplayContextForPos : pos : pos -> Async < FSharpDisplayContext option >
237
237
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 >
239
239
/// < param name = " userOpName" > An optional string used for tracing compiler operations associated with this request.</ param>
240
240
member internal IsRelativeNameResolvable : cursorPos : pos * plid : string list * item : Item * ?userOpName : string -> Async < bool >
241
241
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 >
243
243
/// < param name = " userOpName" > An optional string used for tracing compiler operations associated with this request.</ param>
244
244
member IsRelativeNameResolvableFromSymbol : cursorPos : pos * plid : string list * symbol : FSharpSymbol * ?userOpName : string -> Async < bool >
245
245
@@ -399,4 +399,4 @@ type internal FsiInteractiveChecker =
399
399
module internal FSharpCheckerResultsSettings =
400
400
val defaultFSharpBinariesDir : string
401
401
402
- val maxTimeShareMilliseconds : int64
402
+ val maxTimeShareMilliseconds : int64
You can’t perform that action at this time.
0 commit comments