原創(chuàng)|產(chǎn)品更新|編輯:莫成敏|2019-07-08 15:43:06.100|閱讀 389 次
概述:.NET Reflector更新至v10.1.5,添加了對(duì)新C#7.x功能的支持
# 界面/圖表報(bào)表/文檔/IDE等千款熱門軟控件火熱銷售中 >>
.NET Reflector可以在沒有源代碼的情況下,通過反編譯,幫助您觀察API、組件、框架等等核心代碼的工作情況。此外,您還可以在Visual Studio中查看第三方代碼。
【.NET Reflector最新版本點(diǎn)擊下載>>>】
.NET Reflector v10.1.5更新內(nèi)容:
修復(fù):
RP-4143: 在.NET Reflector VS Extension中,“Access is denied”錯(cuò)誤應(yīng)該不再出現(xiàn)在啟動(dòng)時(shí)。
RP-4166: 委托類型的返回值不再?gòu)?qiáng)制轉(zhuǎn)換為無效類型。
RP-4169: 優(yōu)化后,對(duì)象初始值設(shè)定項(xiàng)不再包含重復(fù)的成員分配。
改進(jìn):
RP-4171: 編譯器生成的屬性支持字段不再可見。
特征:
添加了對(duì)新C#7.x功能的支持:
1、RP-4165: 本地參考重新分配(C#7.3)
public void RefLocalReassignment() { int i = 5; ref int r1 = ref i; ref int r2 = ref i; ref int rr = ref r1; rr = ref r2; rr = 10; }
2、RP-4165: 條件ref表達(dá)式(C#7.2)
public void TestConditionalRef(int a,int b,bool c) { ref int value = ref c?ref a:ref b; }
3、RP-4165: ref return(C#7.0)
public ref int TestRefReturn(ref int a, ref int b, bool c) { if (c) return ref a; else return ref b; }
4、RP-4165: 擴(kuò)展ref和in(C#7.2)
public static class Extensions { // Ref extensions public static int Extension1(this ref int arg) { var tmp = arg; arg *= 2; return tmp; } } public class Test { public void TestRefExtensions() { int a = 5; ref int b = ref a; b.Extension1(); } }
5、RP-4165: 只讀ref(C#7.2)
public ref readonly int TestRefReadonly(bool condition, ref int r) { ref readonly int q = ref r; return ref r; }
6、RP-4165: 論證in(C#7.2)
public ref readonly int TestRefInArguments(in int a) { return ref a; }
7、RP-4168: 私有保護(hù)訪問修飾符(C#7.2)
public class TestClass1 { private protected class NestedClass { } }
8、RP-4170: 自動(dòng)生成的屬性,支持字段的屬性(C#7.3)
[field:SomeAttribute] public int TestProperty {get; set; }
試用、下載、了解更多產(chǎn)品信息請(qǐng)點(diǎn)擊
本站文章除注明轉(zhuǎn)載外,均為本站原創(chuàng)或翻譯。歡迎任何形式的轉(zhuǎn)載,但請(qǐng)務(wù)必注明出處、不得修改原文相關(guān)鏈接,如果存在內(nèi)容上的異議請(qǐng)郵件反饋至chenjj@fc6vip.cn