@@ -335,7 +335,7 @@ let CrackParamAttribsInfo g (ty: TType, argInfo: ArgReprInfo) =
335
335
| ValueSome optTy when typeEquiv g g.int32_ ty optTy -> CallerFilePath
336
336
| _ -> CallerLineNumber
337
337
338
- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo)
338
+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), argInfo.Attribs
339
339
340
340
#if ! NO_ TYPEPROVIDERS
341
341
@@ -1204,7 +1204,7 @@ type MethInfo =
1204
1204
if p.Type.TypeRef.FullName = " System.Int32" then CallerFilePath
1205
1205
else CallerLineNumber
1206
1206
1207
- ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo) ] ]
1207
+ ParamAttribs( isParamArrayArg, isInArg, isOutArg, optArgInfo, callerInfo, reflArgInfo), [] ] ]
1208
1208
1209
1209
| FSMeth( g, _, vref, _) ->
1210
1210
GetArgInfosOfMember x.IsCSharpStyleExtensionMember g vref
@@ -1225,7 +1225,7 @@ type MethInfo =
1225
1225
| None -> ReflectedArgInfo.None
1226
1226
let isOutArg = p.PUntaint(( fun p -> p.IsOut && not p.IsIn), m)
1227
1227
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), [] ] ]
1229
1229
#endif
1230
1230
1231
1231
/// Get the signature of an abstract method slot.
@@ -1326,13 +1326,13 @@ type MethInfo =
1326
1326
#endif
1327
1327
1328
1328
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 )) ->
1330
1330
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 ))
1332
1332
1333
1333
/// Get the ParamData objects for the parameters of a MethInfo
1334
1334
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)
1336
1336
1337
1337
/// Select all the type parameters of the declaring type of a method.
1338
1338
///
0 commit comments