<PackageReference Include="Microsoft.CSharp" Version="4.7.0-preview3.19551.4" />

Microsoft.CSharp.RuntimeBinder.Semantics.CSemanticChecker

static class CSemanticChecker
namespace Microsoft.CSharp.RuntimeBinder.Semantics { internal static class CSemanticChecker { public static void CheckForStaticClass(CType type); public static ACCESSERROR CheckAccess2(Symbol symCheck, AggregateType atsCheck, Symbol symWhere, CType typeThru); public static bool CheckTypeAccess(CType type, Symbol symWhere); public static bool CheckBogus(Symbol sym); public static RuntimeBinderException ReportAccessError(SymWithType swtBad, Symbol symWhere, CType typeQual); public static bool CheckAccess(Symbol symCheck, AggregateType atsCheck, Symbol symWhere, CType typeThru); } }