7 instantiations of RuntimeBinderException
Microsoft.CSharp (7)
Microsoft\CSharp\RuntimeBinder\Error.cs (6)
17
return new
RuntimeBinderException
(SR.Format(SR.BindPropertyFailedMethodGroup, p0));
22
return new
RuntimeBinderException
(SR.Format(SR.BindPropertyFailedEvent, p0));
27
return new
RuntimeBinderException
(SR.BindInvokeFailedNonDelegate);
35
return new
RuntimeBinderException
(SR.NullReferenceOnMemberException);
40
return new
RuntimeBinderException
(SR.Format(SR.BindCallToConditionalMethod, p0));
45
return new
RuntimeBinderException
(SR.BindToVoidMethodButExpectResult);
Microsoft\CSharp\RuntimeBinder\Errors\ErrorHandling.cs (1)
157
return new
RuntimeBinderException
(string.Format(CultureInfo.InvariantCulture, ErrorFacts.GetMessage(id), prgpsz));
20 references to RuntimeBinderException
Microsoft.AspNetCore.JsonPatch (2)
Internal\DynamicObjectAdapter.cs (2)
193
catch (
RuntimeBinderException
)
230
catch (
RuntimeBinderException
)
Microsoft.CSharp (18)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (2)
127
catch (
RuntimeBinderException
e)
137
typeof(
RuntimeBinderException
).GetConstructor(new Type[] { typeof(string) }),
Microsoft\CSharp\RuntimeBinder\Errors\ErrorHandling.cs (1)
13
public static
RuntimeBinderException
Error(ErrorCode id, params ErrArg[] args)
Microsoft\CSharp\RuntimeBinder\RuntimeBinderException.cs (5)
12
/// <see cref="
RuntimeBinderException
"/> represents a failure to bind in the sense of a usual compiler error, whereas <see cref="RuntimeBinderInternalCompilerException"/>
19
/// Initializes a new instance of the <see cref="
RuntimeBinderException
"/> class.
26
/// Initializes a new instance of the <see cref="
RuntimeBinderException
"/> class with a specified error message.
35
/// Initializes a new instance of the <see cref="
RuntimeBinderException
"/> class with a specified error message
46
/// Initializes a new instance of the <see cref="
RuntimeBinderException
"/> class with serialized data.
Microsoft\CSharp\RuntimeBinder\RuntimeBinderInternalCompilerException.cs (2)
11
/// Represents an error that occurs while processing a dynamic bind in the C# runtime binder. Exceptions of this type differ from <see cref="
RuntimeBinderException
"/> in that
12
/// <see cref="
RuntimeBinderException
"/> represents a failure to bind in the sense of a usual compiler error, whereas <see cref="RuntimeBinderInternalCompilerException"/>
Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs (2)
514
private static
RuntimeBinderException
CantConvert(Expr expr, CType dest)
1055
private static
RuntimeBinderException
HandleAmbiguity(CType typeSrc, CType typeDst, List<UdConvInfo> prguci, int iuciBestSrc, int iuciBestDst)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
794
private static
RuntimeBinderException
BadOperatorTypesError(Expr pOperand1, Expr pOperand2)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (2)
1093
private
RuntimeBinderException
ReportErrorsOnFailure()
1231
private
RuntimeBinderException
ReportErrorsForBestMatching(bool bUseDelegateErrors)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
470
private static
RuntimeBinderException
ReportBogus(SymWithType swt)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2315
private static
RuntimeBinderException
AmbiguousOperatorError(Expr op1, Expr op2)
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (1)
254
public static
RuntimeBinderException
ReportAccessError(SymWithType swtBad, Symbol symWhere, CType typeQual)