小编Pac*_*fan的帖子

反编译.NET替换方法(v4.6.1)

我想看看怎么样

public String Replace(String oldValue, String newValue);
Run Code Online (Sandbox Code Playgroud)

mscorlib.dll(System.String)中的方法有效.

我用dotPeek反编译了mscorlib.dll,并在方法内部调用了ReplaceInternal方法,我找不到它

string s = ReplaceInternal(oldValue, newValue);
Run Code Online (Sandbox Code Playgroud)

我甚至在GIT的开源.NET Core上搜索了这个方法,但没有运气.

查看我的反编译代码

请解释这种方法在哪里以及里面是什么?

.net c# string replace decompiler

6
推荐指数
2
解决办法
756
查看次数

标签 统计

.net ×1

c# ×1

decompiler ×1

replace ×1

string ×1