3 types derived from ErrArg
Microsoft.CSharp (3)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (3)
158internal sealed class ErrArgRefOnly : ErrArg 168internal sealed class ErrArgNoRef : ErrArg 178internal sealed class ErrArgSymKind : ErrArg
14 instantiations of ErrArg
Microsoft.CSharp (14)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (7)
130return new ErrArg(n); 134return new ErrArg(type); 138return new ErrArg(psz); 142return new ErrArg(name); 146return new ErrArg(pSym); 150return new ErrArg(swt); 154return new ErrArg(mpwi);
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (4)
396throw ErrorHandling.Error(canCast(expr.Type, dest, flags) ? ErrorCode.ERR_NoImplicitConvCast : ErrorCode.ERR_NoImplicitConv, new ErrArg(expr.Type, ErrArgFlags.Unique), new ErrArg(dest, ErrArgFlags.Unique)); 518return ErrorHandling.Error(ErrorCode.ERR_NoExplicitConv, new ErrArg(expr.Type, ErrArgFlags.Unique), new ErrArg(dest, ErrArgFlags.Unique));
Microsoft\CSharp\RuntimeBinder\Semantics\TypeBind.cs (3)
264throw ErrorHandling.Error(error, new ErrArg(symErr), new ErrArg(typeBnd, ErrArgFlags.Unique), var, new ErrArg(arg, ErrArgFlags.Unique));
12 references to ErrArg
Microsoft.CSharp (12)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorFmt.cs (7)
128public static implicit operator ErrArg(int n) 132public static implicit operator ErrArg(CType type) 136public static implicit operator ErrArg(string psz) 140public static implicit operator ErrArg(Name name) 144public static implicit operator ErrArg(Symbol pSym) 148public static implicit operator ErrArg(SymWithType swt) 152public static implicit operator ErrArg(MethPropWithInst mpwi)
Microsoft\CSharp\RuntimeBinder\Errors\ErrorHandling.cs (4)
13public static RuntimeBinderException Error(ErrorCode id, params ErrArg[] args) 27ErrArg arg = args[iarg]; 70ErrArg arg = args[prgiarg[i]]; 114ErrArg arg2 = args[prgiarg[j]];
Microsoft\CSharp\RuntimeBinder\Errors\UserStringBuilder.cs (1)
538public bool ErrArgToString(out string psz, ErrArg parg, out bool fUserStrings)