@@ -334,7 +334,7 @@ let CrackParamAttribsInfo g (ty: TType, argInfo: ArgReprInfo) =
334334 | ValueSome optTy when typeEquiv g g.int32_ ty optTy -> CallerFilePath
335335 | _ -> CallerLineNumber
336336
337- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo)
337+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), argInfo.Attribs
338338
339339#if ! NO_ TYPEPROVIDERS
340340
@@ -1290,7 +1290,7 @@ type MethInfo =
12901290 if p.Type.TypeRef.FullName = " System.Int32" then CallerFilePath
12911291 else CallerLineNumber
12921292
1293- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo) ] ]
1293+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), [] ] ]
12941294
12951295 | FSMeth( g, _, vref, _) ->
12961296 GetArgInfosOfMember x.IsCSharpStyleExtensionMember g vref
@@ -1312,7 +1312,7 @@ type MethInfo =
13121312 | None -> ReflectedArgInfo.None
13131313 let isOutArg = p.PUntaint(( fun p -> p.IsOut && not p.IsIn), m)
13141314 let isInArg = p.PUntaint(( fun p -> p.IsIn && not p.IsOut), m)
1315- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo)] ]
1315+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo), [] ] ]
13161316#endif
13171317
13181318 /// Get the signature of an abstract method slot.
@@ -1423,9 +1423,9 @@ type MethInfo =
14231423#endif
14241424
14251425 let paramAttribs = x.GetParamAttribs( amap, m)
1426- ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun info ( ParamNameAndType ( nmOpt , pty )) ->
1427- let ( ParamAttribs ( isParamArrayArg , isInArg , isOutArg , optArgInfo , callerInfo , reflArgInfo )) = info
1428- ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty)))
1426+ ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun ( info , attribs ) ( ParamNameAndType ( nmOpt , pty )) ->
1427+ let ( ParamAttribs ( isParamArrayArg , isInArg , isOutArg , optArgInfo , callerInfo , reflArgInfo )) = info
1428+ ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty), attribs ))
14291429
14301430 member x.HasGenericRetTy () =
14311431 match x with
@@ -1443,7 +1443,7 @@ type MethInfo =
14431443
14441444 /// Get the ParamData objects for the parameters of a MethInfo
14451445 member x.HasParamArrayArg ( amap , m , minst ) =
1446- x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ )) -> isParamArrayArg)
1446+ x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ ), _ ) -> isParamArrayArg)
14471447
14481448 /// Select all the type parameters of the declaring type of a method.
14491449 ///
0 commit comments