You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Microsoft.CSharp.RuntimeBinder.RuntimeBinderException" in Visual Studio 2017 on compiling the 3ds module due to this snippet of code:
`namespace LibEveryFileExplorer
{
public class StaticDynamic : DynamicObject
{
private Type _type;
public StaticDynamic(Type type) { _type = type; }
// Handle static properties
public override bool TryGetMember(GetMemberBinder binder, out object result)
{
PropertyInfo prop = _type.GetProperty(binder.Name, BindingFlags.FlattenHierarchy | BindingFlags.Static | BindingFlags.Public);
if (prop == null)
{
result = null;
return false;
}
result = prop.GetValue(null, null);
return true;
}
`
The text was updated successfully, but these errors were encountered:
"Microsoft.CSharp.RuntimeBinder.RuntimeBinderException" in Visual Studio 2017 on compiling the 3ds module due to this snippet of code:
`namespace LibEveryFileExplorer
{
public class StaticDynamic : DynamicObject
{
private Type _type;
public StaticDynamic(Type type) { _type = type; }
`
The text was updated successfully, but these errors were encountered: