Skip to content

Commit 5f92417

Browse files
committed
Added comments
1 parent 0dec1f3 commit 5f92417

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fsharp/fsi/fsi.fs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ module internal Utilities =
9393

9494
let ignoreAllErrors f = try f() with _ -> ()
9595

96+
#if FX_RESHAPED_REFLECTION
9697
// restore type alias
9798
type BindingFlags = System.Reflection.BindingFlags
99+
#endif
98100

99101
//----------------------------------------------------------------------------
100102
// Timing support
@@ -2726,6 +2728,7 @@ type FsiEvaluationSession (fsi: FsiEvaluationSessionHostConfig, argv:string[], i
27262728

27272729
static member GetDefaultConfiguration(fsiObj:obj, useFsiAuxLib) =
27282730

2731+
// TODO: this dotnet/core polyfill can be removed when it surfaces in Type
27292732
let getMember (name: string) (memberType: MemberTypes) (attr: BindingFlags) (declaringType: Type) =
27302733
let memberType =
27312734
if memberType &&& MemberTypes.NestedType = MemberTypes.NestedType then

0 commit comments

Comments
 (0)