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 =
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)
Original file line number Diff line number Diff 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 =
399399module internal FSharpCheckerResultsSettings =
400400 val defaultFSharpBinariesDir : string
401401
402- val maxTimeShareMilliseconds : int64
402+ val maxTimeShareMilliseconds : int64
You can’t perform that action at this time.
0 commit comments