C# Static Analysis, possible values for a variable/parameter

前端 未结 2 822
Happy的楠姐
Happy的楠姐 2021-02-06 03:14

In code similar to each of the following examples, I would like to be able to statically analyze code to determine the list of possible values that are passed into SpecialFuncti

2条回答
  •  误落风尘
    2021-02-06 03:32

    There is a project that does what you want (at least very near). It is Pex. Try looking at their docs, also you could decompile the sources and see what they do.

提交回复
热议问题