@@ -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
@@ -1182,7 +1182,7 @@ type MethInfo =
11821182 if p.Type.TypeRef.FullName = " System.Int32" then CallerFilePath
11831183 else CallerLineNumber
11841184
1185- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo) ] ]
1185+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), [] ] ]
11861186
11871187 | FSMeth( g, _, vref, _) ->
11881188 GetArgInfosOfMember x.IsCSharpStyleExtensionMember g vref
@@ -1203,7 +1203,7 @@ type MethInfo =
12031203 | None -> ReflectedArgInfo.None
12041204 let isOutArg = p.PUntaint(( fun p -> p.IsOut && not p.IsIn), m)
12051205 let isInArg = p.PUntaint(( fun p -> p.IsIn && not p.IsOut), m)
1206- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo)] ]
1206+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo), [] ] ]
12071207#endif
12081208
12091209 /// Get the signature of an abstract method slot.
@@ -1304,13 +1304,13 @@ type MethInfo =
13041304#endif
13051305
13061306 let paramAttribs = x.GetParamAttribs( amap, m)
1307- ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun info ( ParamNameAndType ( nmOpt , pty )) ->
1307+ ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun ( info , attribs ) ( ParamNameAndType ( nmOpt , pty )) ->
13081308 let ( ParamAttribs ( isParamArrayArg , isInArg , isOutArg , optArgInfo , callerInfo , reflArgInfo )) = info
1309- ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty)))
1309+ ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty), attribs ))
13101310
13111311 /// Get the ParamData objects for the parameters of a MethInfo
13121312 member x.HasParamArrayArg ( amap , m , minst ) =
1313- x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ )) -> isParamArrayArg)
1313+ x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ ), _ ) -> isParamArrayArg)
13141314
13151315 /// Select all the type parameters of the declaring type of a method.
13161316 ///
0 commit comments