You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
match TryDecodeILAttribute g g.attrib_ReflectedDefinitionAttribute.TypeRef(Some(g.attrib_ReflectedDefinitionAttribute.TypeRef.Scope)) p.CustomAttrswith
1200
+
| Some([ILAttribElem.Bool b],_)-> ReflectedArgInfo.Quote b
1201
+
| Some_-> ReflectedArgInfo.Quotefalse
1202
+
|_-> ReflectedArgInfo.None
1198
1203
letisOutArg=(p.IsOut&¬ p.IsIn)
1199
1204
// Note: we get default argument values from VB and other .NET language metadata
1200
1205
letoptArgInfo= OptionalArgInfo.FromILParameter g amap m ilMethInfo.MetadataScope ilMethInfo.DeclaringTypeInst p
letoptArgInfo= OptionalArgInfoOfProvidedParameter amap m p
1226
-
yield(isParamArrayArg, p.PUntaint((fun p-> p.IsOut), m), optArgInfo, ReflectedArgInfo.None)]]
1231
+
letreflArgInfo=
1232
+
match p.PUntaint((fun px->(px:> IProvidedCustomAttributeProvider).GetAttributeConstructorArgs(p.TypeProvider.PUntaintNoFailure(id), typeof<Microsoft.FSharp.Core.ReflectedDefinitionAttribute>.FullName)),m)with
1233
+
| Some[ Some(:? boolas b)]-> ReflectedArgInfo.Quote b
1234
+
| Some_-> ReflectedArgInfo.Quotefalse
1235
+
| None-> ReflectedArgInfo.None
1236
+
yield(isParamArrayArg, p.PUntaint((fun p-> p.IsOut), m), optArgInfo, reflArgInfo)]]