@@ -337,7 +337,7 @@ let CrackParamAttribsInfo g (ty: TType, argInfo: ArgReprInfo) =
337337 | ValueSome optTy when typeEquiv g g.int32_ ty optTy -> CallerFilePath
338338 | _ -> CallerLineNumber
339339
340- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo)
340+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), argInfo.Attribs
341341
342342#if ! NO_ TYPEPROVIDERS
343343
@@ -1293,7 +1293,7 @@ type MethInfo =
12931293 if p.Type.TypeRef.FullName = " System.Int32" then CallerFilePath
12941294 else CallerLineNumber
12951295
1296- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo) ] ]
1296+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), [] ] ]
12971297
12981298 | FSMeth( g, _, vref, _) ->
12991299 GetArgInfosOfMember x.IsCSharpStyleExtensionMember g vref
@@ -1315,7 +1315,7 @@ type MethInfo =
13151315 | None -> ReflectedArgInfo.None
13161316 let isOutArg = p.PUntaint(( fun p -> p.IsOut && not p.IsIn), m)
13171317 let isInArg = p.PUntaint(( fun p -> p.IsIn && not p.IsOut), m)
1318- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo)] ]
1318+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo), [] ] ]
13191319#endif
13201320
13211321 /// Get the signature of an abstract method slot.
@@ -1426,13 +1426,13 @@ type MethInfo =
14261426#endif
14271427
14281428 let paramAttribs = x.GetParamAttribs( amap, m)
1429- ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun info ( ParamNameAndType ( nmOpt , pty )) ->
1430- let ( ParamAttribs ( isParamArrayArg , isInArg , isOutArg , optArgInfo , callerInfo , reflArgInfo )) = info
1431- ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty)))
1429+ ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun ( info , attribs ) ( ParamNameAndType ( nmOpt , pty )) ->
1430+ let ( ParamAttribs ( isParamArrayArg , isInArg , isOutArg , optArgInfo , callerInfo , reflArgInfo )) = info
1431+ ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty), attribs ))
14321432
14331433 /// Get the ParamData objects for the parameters of a MethInfo
14341434 member x.HasParamArrayArg ( amap , m , minst ) =
1435- x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ )) -> isParamArrayArg)
1435+ x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ ), _ ) -> isParamArrayArg)
14361436
14371437 /// Select all the type parameters of the declaring type of a method.
14381438 ///
0 commit comments