提交 fd44c6b2 编写于 作者: K Kevin Halverson

Add validation of shared constructor IL in VB...

上级 9f404151
......@@ -140,6 +140,21 @@ True
IL_0036: ldc.i4.1
IL_0037: stelem.i1
IL_0038: ret
}
]]>.Value)
verifier.VerifyIL(
".cctor",
<![CDATA[
{
// Code size 31 (0x1f)
.maxstack 1
IL_0000: ldtoken Max Method Token Index
IL_0005: newarr "Boolean()"
IL_000a: stsfld "Boolean()() <PrivateImplementationDetails>.PayloadRoot0"
IL_000f: ldstr ##MVID##
IL_0014: newobj "Sub System.Guid..ctor(String)"
IL_0019: stsfld "System.Guid <PrivateImplementationDetails>.MVID"
IL_001e: ret
}
]]>.Value)
verifier.VerifyDiagnostics()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册