public ConstantInfo(IJConstant value, JAnalyzer projectState) : base((BuiltinClassInfo)projectState.GetNamespaceFromObjects(value.Type)) { _value = value; _memberType = value.MemberType; _builtinInfo = ((BuiltinClassInfo)projectState.GetNamespaceFromObjects(value.Type)).Instance; }
public ConstantInfo(object value, JAnalyzer projectState) : base((BuiltinClassInfo)projectState.GetNamespaceFromObjects(projectState.GetTypeFromObject(value))) { _value = value; _memberType = JMemberType.Constant; _builtinInfo = ((BuiltinClassInfo)projectState.GetNamespaceFromObjects(_type)).Instance; }