@@ -261,7 +261,7 @@ type ValFlags(flags:int64) =
261261( flags&&& ~~~ 0b0011001100000000000 L)
262262
263263/// Represents the kind of a type parameter
264- [<RequireQualifiedAccess; StructuredFormatDisplay( " {DebugText}" ) >]
264+ [<RequireQualifiedAccess(* ; StructuredFormatDisplay("{DebugText}")*) >]
265265type TyparKind =
266266
267267| Type
@@ -273,10 +273,10 @@ type TyparKind =
273273| TyparKind.Type-> None
274274| TyparKind.Measure-> Some" Measure"
275275
276- [<DebuggerBrowsable( DebuggerBrowsableState.Never) >]
277- member x.DebugText = x.ToString()
276+ // [<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
277+ // member x.DebugText = x.ToString()
278278
279- override x.ToString () =
279+ override x.ToString () =
280280match xwith
281281| TyparKind.Type-> " type"
282282| TyparKind.Measure-> " measure"
@@ -1349,7 +1349,7 @@ and
13491349override x.ToString () = " TyconAugmentation(...)"
13501350
13511351and
1352- [<NoEquality; NoComparison; StructuredFormatDisplay( " {DebugText}" ) >]
1352+ [<NoEquality; NoComparison(* ; StructuredFormatDisplay("{DebugText}")*) >]
13531353/// The information for the contents of a type. Also used for a provided namespace.
13541354TyconRepresentation =
13551355
@@ -1393,10 +1393,10 @@ and
13931393/// The information for exception definitions should be folded into here.
13941394| TNoRepr
13951395
1396- [<DebuggerBrowsable( DebuggerBrowsableState.Never) >]
1397- member x.DebugText = x.ToString()
1396+ // [<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
1397+ // member x.DebugText = x.ToString()
13981398
1399- override x.ToString () = " TyconRepresentation(...) "
1399+ override x.ToString () = sprintf " %+A " x
14001400
14011401and
14021402[<NoEquality; NoComparison; StructuredFormatDisplay( " {DebugText}" ) >]
@@ -1751,7 +1751,7 @@ and
17511751override x.ToString () = x.Name
17521752
17531753and
1754- [<NoEquality; NoComparison; StructuredFormatDisplay( " {DebugText}" ) >]
1754+ [<NoEquality; NoComparison(* ; StructuredFormatDisplay("{DebugText}")*) >]
17551755ExceptionInfo =
17561756/// Indicates that an exception is an abbreviation for the given exception
17571757| TExnAbbrevReprof TyconRef
@@ -1765,10 +1765,11 @@ and
17651765/// Indicates that an exception is abstract, i.e. is in a signature file, and we do not know the representation
17661766| TExnNone
17671767
1768- [<DebuggerBrowsable( DebuggerBrowsableState.Never) >]
1769- member x.DebugText = x.ToString()
1768+ // %+A formatting is used, so this is not needed
1769+ //[<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
1770+ //member x.DebugText = x.ToString()
17701771
1771- override x.ToString () = " ExceptionInfo(...) "
1772+ override x.ToString () = sprintf " %+A " x
17721773
17731774and [<Sealed; StructuredFormatDisplay("{DebugText}")>]
17741775ModuleOrNamespaceType ( kind : ModuleOrNamespaceKind , vals : QueueList < Val >, entities : QueueList < Entity >) =
@@ -2340,11 +2341,11 @@ and
23402341/// Indicates a constraint that a type is .NET unmanaged type
23412342| IsUnmanagedof range
23422343
2343- //Prefer the default formatting of thisunion type
2344+ //%+A formatting is used, so thisis not needed
23442345//[<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
23452346//member x.DebugText = x.ToString()
2346- //
2347- // override x.ToString() ="TyparConstraint(...)"
2347+
2348+ override x.ToString () = sprintf " %+A " x
23482349
23492350/// The specification of a member constraint that must be solved
23502351and
@@ -2374,7 +2375,7 @@ and
23742375override x.ToString () = " TTrait(" + x.MemberName+ " )"
23752376
23762377and
2377- [<NoEquality; NoComparison; StructuredFormatDisplay( " {DebugText}" ) >]
2378+ [<NoEquality; NoComparison(* ; StructuredFormatDisplay("{DebugText}")*) >]
23782379/// Indicates the solution of a member constraint during inference.
23792380TraitConstraintSln =
23802381
@@ -2411,10 +2412,11 @@ and
24112412/// Indicates a trait is solved by a 'fake' instance of an operator, like '+' on integers
24122413| BuiltInSln
24132414
2414- [<DebuggerBrowsable( DebuggerBrowsableState.Never) >]
2415- member x.DebugText = x.ToString()
2415+ // %+A formatting is used, so this is not needed
2416+ //[<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
2417+ //member x.DebugText = x.ToString()
24162418
2417- override x.ToString () = " TraitConstraintSln(...) "
2419+ override x.ToString () = sprintf " %+A " x
24182420
24192421/// The partial information used to index the methods of all those in a ModuleOrNamespace.
24202422and [<RequireQualifiedAccess; StructuredFormatDisplay("{DebugText}")>]
@@ -3996,11 +3998,11 @@ and
39963998/// Raising a measure to a rational power
39973999| RationalPowerof Measure * Rational
39984000
3999- //Prefer the default formatting of thisunion type
4001+ //%+A formatting is used, so thisis not needed
40004002//[<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
40014003//member x.DebugText = x.ToString()
4002- //
4003- // override x.ToString() ="Measure(...)"
4004+
4005+ override x.ToString () = sprintf " %+A " x
40044006
40054007and
40064008[<NoEquality; NoComparison; RequireQualifiedAccess; StructuredFormatDisplay( " {DebugText}" ) >]
@@ -4249,7 +4251,7 @@ and
42494251and Attribs = Attrib list
42504252
42514253and
4252- [<NoEquality; NoComparison; StructuredFormatDisplay( " {DebugText}" ) >]
4254+ [<NoEquality; NoComparison(* ; StructuredFormatDisplay("{DebugText}")*) >]
42534255AttribKind =
42544256
42554257/// Indicates an attribute refers to a type defined in an imported .NET assembly
@@ -4258,10 +4260,11 @@ and
42584260/// Indicates an attribute refers to a type defined in an imported F# assembly
42594261| FSAttribof ValRef
42604262
4261- [<DebuggerBrowsable( DebuggerBrowsableState.Never) >]
4262- member x.DebugText = x.ToString()
4263+ // %+A formatting is used, so this is not needed
4264+ //[<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
4265+ //member x.DebugText = x.ToString()
42634266
4264- override x.ToString () = sprintf" AttribKind(...) "
4267+ override x.ToString () = sprintf" %+A " x
42654268
42664269/// Attrib(kind,unnamedArgs,propVal,appliedToAGetterOrSetter,targetsOpt,range)
42674270and
@@ -4325,10 +4328,11 @@ and [<RequireQualifiedAccess>]
43254328
43264329/// Decision trees. Pattern matching has been compiled down to
43274330/// a decision tree by this point. The right-hand-sides (actions) of
4331+ /// a decision tree by this point. The right-hand-sides (actions) of
43284332/// the decision tree are labelled by integers that are unique for that
43294333/// particular tree.
43304334and
4331- [<NoEquality; NoComparison; StructuredFormatDisplay( " {DebugText}" ) >]
4335+ [<NoEquality; NoComparison(* ; StructuredFormatDisplay("{DebugText}")*) >]
43324336DecisionTree =
43334337
43344338/// TDSwitch(input, cases, default, range)
@@ -4357,10 +4361,11 @@ and
43574361/// body -- the rest of the decision tree
43584362| TDBindof Binding * DecisionTree
43594363
4360- [<DebuggerBrowsable( DebuggerBrowsableState.Never) >]
4361- member x.DebugText = x.ToString()
4364+ // %+A formatting is used, so this is not needed
4365+ //[<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
4366+ //member x.DebugText = x.ToString()
43624367
4363- override x.ToString () = sprintf" DecisionTree(...) "
4368+ override x.ToString () = sprintf" %+A " x
43644369
43654370/// Represents a test and a subsequent decision tree
43664371and
@@ -4380,7 +4385,7 @@ and
43804385override x.ToString () = sprintf" DecisionTreeCase(...)"
43814386
43824387and
4383- [<NoEquality; NoComparison; RequireQualifiedAccess; StructuredFormatDisplay( " {DebugText}" ) >]
4388+ [<NoEquality; NoComparison; RequireQualifiedAccess(* ; StructuredFormatDisplay("{DebugText}")*) >]
43844389DecisionTreeTest =
43854390/// Test if the input to a decision tree matches the given union case
43864391| UnionCaseof UnionCaseRef * TypeInst
@@ -4410,10 +4415,11 @@ and
44104415/// activePatternInfo -- The extracted info for the active pattern.
44114416| ActivePatternCaseof Expr * TTypes * ( ValRef * TypeInst ) option * int * ActivePatternInfo
44124417
4413- [<DebuggerBrowsable( DebuggerBrowsableState.Never) >]
4414- member x.DebugText = x.ToString()
4418+ // %+A formatting is used, so this is not needed
4419+ //[<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
4420+ //member x.DebugText = x.ToString()
44154421
4416- override x.ToString () = sprintf" DecisionTreeTest(...) "
4422+ override x.ToString () = sprintf" %+A " x
44174423
44184424/// A target of a decision tree. Can be thought of as a little function, though is compiled as a local block.
44194425and
@@ -4907,7 +4913,7 @@ and
49074913
49084914/// The contents of a module-or-namespace-fragment definition
49094915and
4910- [<NoEquality; NoComparison; StructuredFormatDisplay( " {DebugText}" ) >]
4916+ [<NoEquality; NoComparison(* ; StructuredFormatDisplay("{DebugText}")*) >]
49114917ModuleOrNamespaceExpr =
49124918/// Indicates the module is a module with a signature
49134919| TMAbstractof ModuleOrNamespaceExprWithSig
@@ -4924,10 +4930,11 @@ and
49244930/// Indicates the module fragment is a 'rec' or 'non-rec' definition of types and modules
49254931| TMDefRecof isRec : bool * Tycon list * ModuleOrNamespaceBinding list * range
49264932
4927- [<DebuggerBrowsable( DebuggerBrowsableState.Never) >]
4933+ // %+A formatting is used, so this is not needed
4934+ //[<DebuggerBrowsable(DebuggerBrowsableState.Never)>]
49284935member x.DebugText = x.ToString()
49294936
4930- override x.ToString () = " ModuleOrNamespaceExpr(...) "
4937+ override x.ToString () = sprintf " %+A " x
49314938
49324939/// A named module-or-namespace-fragment definition
49334940and