Replies: 3 comments 7 replies
-
If you mean "express that the parameter can be null ", then it's apparently done as an attribute. |
Beta Was this translation helpful? Give feedback.
-
Now, I have to port the source code and comment out some internal code. I'm not sure what problems this will cause. The three classes migrated to 3.1 or 5.0 are: Comment out some internal code private static MemberInfo GetMemberMetadataDefinition(MemberInfo member)
{
//Type? type = member.DeclaringType;
//if ((type != null) && type.IsGenericType && !type.IsGenericTypeDefinition)
//{
// return type.GetGenericTypeDefinition().GetMemberWithSameMetadataDefinitionAs(member);
//}
return member;
} |
Beta Was this translation helpful? Give feedback.
-
The IDE highlights stuffs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
e.g.
I did some experiments and found that PatameterInfo has no attribute to express that the parameter can be empty.
Is there any good idea?
Beta Was this translation helpful? Give feedback.
All reactions