This commit is contained in:
parent
82776f3c77
commit
96c68f1666
|
|
@ -36,6 +36,7 @@ namespace PascalABCCompiler
|
|||
oper_names[noteq_name] = "op_Inequality";
|
||||
oper_names[shl_name] = "op_LeftShift";
|
||||
oper_names[shr_name] = "op_RightShift";
|
||||
oper_names[assign_name] = "op_Assign";
|
||||
}
|
||||
|
||||
public static string GetNETOperName(string name)
|
||||
|
|
|
|||
|
|
@ -1567,7 +1567,7 @@ namespace PascalABCCompiler.NetHelper
|
|||
public static List<SymbolInfo> FindName(Type t, string name)
|
||||
{
|
||||
if (name == null) return null;
|
||||
if (name == StringConstants.assign_name) return null;
|
||||
if (name == StringConstants.assign_name && !t.IsValueType) return null;
|
||||
string s = StringConstants.GetNETOperName(name);
|
||||
string tmp_name = name;
|
||||
if (s != null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue