Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit 272384a

Browse files
ScottHutchinsonnosami
authored andcommitted
Add field names to the ILExceptionClause.FilterCatch constructor. (dotnet#10559)
1 parent 87a09da commit 272384a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/fsharp/absil/il.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ type ILInstr =
12281228
type ILExceptionClause =
12291229
| Finally of (ILCodeLabel * ILCodeLabel)
12301230
| Fault of (ILCodeLabel * ILCodeLabel)
1231-
| FilterCatch of (ILCodeLabel * ILCodeLabel) * (ILCodeLabel * ILCodeLabel)
1231+
| FilterCatch of filterRange: (ILCodeLabel * ILCodeLabel) * handlerRange: (ILCodeLabel * ILCodeLabel)
12321232
| TypeCatch of ILType * (ILCodeLabel * ILCodeLabel)
12331233

12341234
[<RequireQualifiedAccess; NoEquality; NoComparison>]

src/fsharp/absil/il.fsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ type ILInstr =
583583
type ILExceptionClause =
584584
| Finally of (ILCodeLabel * ILCodeLabel)
585585
| Fault of (ILCodeLabel * ILCodeLabel)
586-
| FilterCatch of (ILCodeLabel * ILCodeLabel) * (ILCodeLabel * ILCodeLabel)
586+
| FilterCatch of filterRange: (ILCodeLabel * ILCodeLabel) * handlerRange: (ILCodeLabel * ILCodeLabel)
587587
| TypeCatch of ILType * (ILCodeLabel * ILCodeLabel)
588588

589589
[<RequireQualifiedAccess; NoEquality; NoComparison>]

tests/FSharp.Compiler.Service.Tests/SurfaceArea.netstandard.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,10 +1600,10 @@ FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: Int32 GetHashCode(S
16001600
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: Int32 Tag
16011601
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: Int32 get_Tag()
16021602
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.String ToString()
1603-
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.Tuple`2[System.Int32,System.Int32] Item1
1604-
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.Tuple`2[System.Int32,System.Int32] Item2
1605-
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.Tuple`2[System.Int32,System.Int32] get_Item1()
1606-
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.Tuple`2[System.Int32,System.Int32] get_Item2()
1603+
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.Tuple`2[System.Int32,System.Int32] filterRange
1604+
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.Tuple`2[System.Int32,System.Int32] handlerRange
1605+
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.Tuple`2[System.Int32,System.Int32] get_filterRange()
1606+
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+FilterCatch: System.Tuple`2[System.Int32,System.Int32] get_handlerRange()
16071607
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+Finally: Boolean Equals(ILExceptionClause)
16081608
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+Finally: Boolean Equals(System.Object)
16091609
FSharp.Compiler.AbstractIL.IL+ILExceptionClause+Finally: Boolean Equals(System.Object, System.Collections.IEqualityComparer)

0 commit comments

Comments
 (0)