summaryrefslogtreecommitdiffstats
path: root/docs/user-guide
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2024-05-02 13:05:18 -0700
committerGitHub <noreply@github.com>2024-05-02 13:05:18 -0700
commite5d49cf21db7a398afe6cfdb76f6b4a028e9eecb (patch)
treecbf120740771f332b1b8f61eacee01b85628465c /docs/user-guide
parentf7d54af67e026feb2546af1deaf2513a36f8516e (diff)
Allow multiple _AttributeTargets for attribute declaration (#4087)
The syntax like: [__AttributeUsage(_AttributeTargets.Var)] [__AttributeUsage(_AttributeTargets.Param)] struct DefaultValueAttribute { int iParam; }; is allowed. For user-defined attribute, we can specify more attribute targets on the attribute declaration. So one attribute can be used in more than one situations.
Diffstat (limited to 'docs/user-guide')
0 files changed, 0 insertions, 0 deletions