• O
    Added a 'suppressAccessChecks' parameter to Compilation.GetSemanticModel · f91f779b
    Omer Raviv 提交于
    Calling GetSemanticModel with suppressAccessChecks=true creates a SemanticModel that ignores accessibility rules when answering semantic questions.
    This allows consumers to ask semantic questions using the same semantic rules as the ones used in debugger’s Expression Evaluator, where accessibility rules do not matter.
    
    Added unit tests for C# and VB.NET to cover both regular and speculative analysis.
    f91f779b
SemanticModel.cs 46.6 KB