7 instantiations of RuntimeBinderException
Microsoft.CSharp (7)
Microsoft\CSharp\RuntimeBinder\Error.cs (6)
17return new RuntimeBinderException(SR.Format(SR.BindPropertyFailedMethodGroup, p0)); 22return new RuntimeBinderException(SR.Format(SR.BindPropertyFailedEvent, p0)); 27return new RuntimeBinderException(SR.BindInvokeFailedNonDelegate); 35return new RuntimeBinderException(SR.NullReferenceOnMemberException); 40return new RuntimeBinderException(SR.Format(SR.BindCallToConditionalMethod, p0)); 45return new RuntimeBinderException(SR.BindToVoidMethodButExpectResult);
Microsoft\CSharp\RuntimeBinder\Errors\ErrorHandling.cs (1)
157return new RuntimeBinderException(string.Format(CultureInfo.InvariantCulture, ErrorFacts.GetMessage(id), prgpsz));
20 references to RuntimeBinderException
Microsoft.AspNetCore.JsonPatch (2)
Internal\DynamicObjectAdapter.cs (2)
193catch (RuntimeBinderException) 230catch (RuntimeBinderException)
Microsoft.CSharp (18)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (2)
127catch (RuntimeBinderException e) 137typeof(RuntimeBinderException).GetConstructor(new Type[] { typeof(string) }),
Microsoft\CSharp\RuntimeBinder\Errors\ErrorHandling.cs (1)
13public 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)
514private static RuntimeBinderException CantConvert(Expr expr, CType dest) 1055private static RuntimeBinderException HandleAmbiguity(CType typeSrc, CType typeDst, List<UdConvInfo> prguci, int iuciBestSrc, int iuciBestDst)
Microsoft\CSharp\RuntimeBinder\Semantics\ExpressionBinder.cs (1)
794private static RuntimeBinderException BadOperatorTypesError(Expr pOperand1, Expr pOperand2)
Microsoft\CSharp\RuntimeBinder\Semantics\GroupToArgsBinder.cs (2)
1093private RuntimeBinderException ReportErrorsOnFailure() 1231private RuntimeBinderException ReportErrorsForBestMatching(bool bUseDelegateErrors)
Microsoft\CSharp\RuntimeBinder\Semantics\MemberLookup.cs (1)
470private static RuntimeBinderException ReportBogus(SymWithType swt)
Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs (1)
2315private static RuntimeBinderException AmbiguousOperatorError(Expr op1, Expr op2)
Microsoft\CSharp\RuntimeBinder\Semantics\SemanticChecker.cs (1)
254public static RuntimeBinderException ReportAccessError(SymWithType swtBad, Symbol symWhere, CType typeQual)