@@ -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,9 +1426,9 @@ 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 member x.HasGenericRetTy () =
14341434 match x with
@@ -1446,7 +1446,7 @@ type MethInfo =
14461446
14471447 /// Get the ParamData objects for the parameters of a MethInfo
14481448 member x.HasParamArrayArg ( amap , m , minst ) =
1449- x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ )) -> isParamArrayArg)
1449+ x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ ), _ ) -> isParamArrayArg)
14501450
14511451 /// Select all the type parameters of the declaring type of a method.
14521452 ///
0 commit comments