未验证 提交 aaa20568 编写于 作者: E Eugene Auduchinok 提交者: GitHub

Typed tree: reuse InternalsVisibleToAttribute literal (#12973)

上级 2f815417
......@@ -7769,10 +7769,8 @@ let TryFindAutoOpenAttr cattr =
else
None
let tname_InternalsVisibleToAttr = "System.Runtime.CompilerServices.InternalsVisibleToAttribute"
let TryFindInternalsVisibleToAttr cattr =
if isILAttribByName ([], tname_InternalsVisibleToAttr) cattr then
if isILAttribByName ([], tname_InternalsVisibleToAttribute) cattr then
match decodeILAttribData cattr with
| [ILAttribElem.String s], _ -> s
| [], _ -> None
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册