Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有我可以使用的签名版本的 LinqPad 来访问签名程序集的内部?
是的。在 LINQPad 中,转到:Edit、Preferences...然后是Advanced选项卡,然后更改以下设置:
然后(如屏幕截图中所述)将以下内容添加到您的项目中AssemblyInfo.cs:
AssemblyInfo.cs
[assembly: InternalsVisibleTo("LINQPadQuery")]