@@ -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
@@ -1204,7 +1204,7 @@ type MethInfo =
12041204 if p.Type.TypeRef.FullName = " System.Int32" then CallerFilePath
12051205 else CallerLineNumber
12061206
1207- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo) ] ]
1207+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), [] ] ]
12081208
12091209 | FSMeth( g, _, vref, _) ->
12101210 GetArgInfosOfMember x.IsCSharpStyleExtensionMember g vref
@@ -1225,7 +1225,7 @@ type MethInfo =
12251225 | None -> ReflectedArgInfo.None
12261226 let isOutArg = p.PUntaint(( fun p -> p.IsOut && not p.IsIn), m)
12271227 let isInArg = p.PUntaint(( fun p -> p.IsIn && not p.IsOut), m)
1228- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo)] ]
1228+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, NoCallerInfo, reflArgInfo), [] ] ]
12291229#endif
12301230
12311231 /// Get the signature of an abstract method slot.
@@ -1326,13 +1326,13 @@ type MethInfo =
13261326#endif
13271327
13281328 let paramAttribs = x.GetParamAttribs( amap, m)
1329- ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun info ( ParamNameAndType ( nmOpt , pty )) ->
1329+ ( paramAttribs, paramNamesAndTypes) ||> List.map2 ( List.map2 ( fun ( info , attribs ) ( ParamNameAndType ( nmOpt , pty )) ->
13301330 let ( ParamAttribs ( isParamArrayArg , isInArg , isOutArg , optArgInfo , callerInfo , reflArgInfo )) = info
1331- ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty)))
1331+ ParamData( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, nmOpt, reflArgInfo, pty), attribs ))
13321332
13331333 /// Get the ParamData objects for the parameters of a MethInfo
13341334 member x.HasParamArrayArg ( amap , m , minst ) =
1335- x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ )) -> isParamArrayArg)
1335+ x.GetParamDatas( amap, m, minst) |> List.existsSquared ( fun ( ParamData ( isParamArrayArg , _ , _ , _ , _ , _ , _ , _ ), _ ) -> isParamArrayArg)
13361336
13371337 /// Select all the type parameters of the declaring type of a method.
13381338 ///
0 commit comments