@@ -335,7 +335,7 @@ let CrackParamAttribsInfo g (ty: TType, argInfo: ArgReprInfo) =
335335 | ValueSome optTy when typeEquiv g g.int32_ ty optTy -> CallerFilePath
336336 | _ -> CallerLineNumber
337337
338- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo)
338+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), argInfo.Attribs
339339
340340#if ! NO_ TYPEPROVIDERS
341341
@@ -1180,7 +1180,7 @@ type MethInfo =
11801180 if p.Type.TypeRef.FullName = " System.Int32" then CallerFilePath
11811181 else CallerLineNumber
11821182
1183- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo) ] ]
1183+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), [] ] ]
11841184
11851185 | FSMeth( g, _, vref, _) ->
11861186 GetArgInfosOfMember x.IsCSharpStyleExtensionMember g vref
@@ -1201,7 +1201,7 @@ type MethInfo =
12011201 | None -> ReflectedArgInfo.None
12021202 let isOutArg = p.PUntaint(( fun p -> p.IsOut && not p.IsIn), m)
12031203 let isInArg = p.PUntaint(( fun p -> p.IsIn && not p.IsOut), m)
1204- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo)] ]
1204+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo), [] ] ]
12051205#endif
12061206
12071207 /// Get the signature of an abstract method slot.
@@ -1302,13 +1302,13 @@ type MethInfo =
13021302#endif
13031303
13041304 let paramAttribs = x.GetParamAttribs( amap, m)
1305- ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun info ( ParamNameAndType ( nmOpt , pty )) ->
1305+ ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun ( info , attribs ) ( ParamNameAndType ( nmOpt , pty )) ->
13061306 let ( ParamAttribs ( isParamArrayArg , isInArg , isOutArg , optArgInfo , callerInfo , reflArgInfo )) = info
1307- ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty)))
1307+ ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty), attribs ))
13081308
13091309 /// Get the ParamData objects for the parameters of a MethInfo
13101310 member x.HasParamArrayArg ( amap , m , minst ) =
1311- x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ )) -> isParamArrayArg)
1311+ x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ ), _ ) -> isParamArrayArg)
13121312
13131313 /// Select all the type parameters of the declaring type of a method.
13141314 ///
0 commit comments