/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web/System.Web.UI.WebControls/ |
H A D | DataGridItemCollection.cs | 82 throw new InvalidCastException("Target array must be DataGridItem[]"); in CopyTo()
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/Test.CoreLib/src/System/ |
H A D | RuntimeExceptionHelpers.cs | 60 return new InvalidCastException(); in GetRuntimeException()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.Services/System.Web.Services.Description/ |
H A D | MessagePartCollection.cs | 81 throw new InvalidCastException (); in GetKey()
|
H A D | PortCollection.cs | 87 throw new InvalidCastException (); in GetKey()
|
H A D | PortTypeCollection.cs | 87 throw new InvalidCastException (); in GetKey()
|
H A D | BindingCollection.cs | 87 throw new InvalidCastException (); in GetKey()
|
H A D | FaultBindingCollection.cs | 81 throw new InvalidCastException (); in GetKey()
|
H A D | OperationFaultCollection.cs | 81 throw new InvalidCastException (); in GetKey()
|
H A D | ServiceCollection.cs | 89 throw new InvalidCastException (); in GetKey()
|
H A D | MessageCollection.cs | 87 throw new InvalidCastException (); in GetKey()
|
/dports/lang/mono-basic/mono-basic-4.7/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices/ |
H A D | DoubleType.vb | 78 …Throw New InvalidCastException(String.Format(Utils.GetResourceString("CastFromStringToType"), Valu…
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/ |
H A D | MaxLengthAttribute.cs | 84 … throw new InvalidCastException(SR.Format(SR.LengthAttribute_InvalidValueType, value.GetType())); in IsValid()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Annotations/tests/ |
H A D | StringLengthAttributeTests.cs | 64 …Assert.Throws<InvalidCastException>(() => attribute.Validate(new object(), new ValidationContext(n… in Validate_ValueNotString_ThrowsInvalidCastException()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/tests/Unary/ |
H A D | UnaryConvertTests.cs | 47 VerifyUnaryConvertThrows<InvalidCastException>(e, useInterpreter); in ConvertUnboxingInvalidCastTest() 100 …VerifyUnaryConvertThrows<InvalidCastException>(Expression.Convert(cObj, typeof(DayOfWeek?)), useIn… in ConvertUnderlyingTypeToNullableEnumTypeTest() 110 …VerifyUnaryConvertThrows<InvalidCastException>(Expression.Convert(Expression.Constant(arr), t), us… in ConvertArrayToIncompatibleTypeTest()
|
/dports/lang/mono/mono-5.10.1.57/mono/tests/ |
H A D | bug-400716.cs | 32 } catch (InvalidCastException) { in TestBadEnumerator()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/ComIntegration/ |
H A D | MonikerBuilder.cs | 26 …throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidCastException(SR.GetString(SR… in IProxyCreator.CreateProxy()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Collections/src/System/Collections/Generic/ |
H A D | SortedDictionary.cs | 358 catch (InvalidCastException) 363 catch (InvalidCastException) 388 catch (InvalidCastException) in IDictionary.Add() 393 catch (InvalidCastException) in IDictionary.Add()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/collections/generic/ |
H A D | sorteddictionary.cs | 284 catch (InvalidCastException) { 288 catch (InvalidCastException) { 308 catch (InvalidCastException) { in IDictionary.Add() 312 catch (InvalidCastException) { in IDictionary.Add()
|
/dports/lang/mono-basic/mono-basic-4.7/vbruntime/Test/Microsoft.VisualBasic.CompilerServices/ |
H A D | DoubleTypeTest.cs | 67 [ExpectedException(typeof(InvalidCastException))]
|
H A D | SingleTypeTest.cs | 67 [ExpectedException(typeof(InvalidCastException))]
|
H A D | ShortTypeTest.cs | 67 [ExpectedException(typeof(InvalidCastException))]
|
H A D | LongTypeTest.cs | 66 [ExpectedException(typeof(InvalidCastException))]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Configuration.ConfigurationManager/tests/Mono/ |
H A D | TypeNameConverterTest.cs | 79 Assert.Throws<InvalidCastException>(() => o = cv.ConvertFrom(null, null, 59)); in ConvertFrom_TypeError()
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.Interop/src/Shared/ |
H A D | __ComObject.cs | 1397 …private InvalidCastException CreateInvalidCastExceptionForFailedQI(RuntimeTypeHandle interfaceType… in CreateInvalidCastExceptionForFailedQI() 1400 throw new InvalidCastException(); in CreateInvalidCastExceptionForFailedQI() 1419 …return new InvalidCastException(SR.Format(SR.InvalidCast_WinRT, comObjectDisplayName, interfaceDis… in CreateInvalidCastExceptionForFailedQI() 1434 return new InvalidCastException(SR.Format( in CreateInvalidCastExceptionForFailedQI() 1445 return new InvalidCastException(SR.Format( in CreateInvalidCastExceptionForFailedQI() 2036 throw new System.InvalidCastException(); in GetDynamicAdapter() 2586 … throw new System.InvalidCastException(SR.Arg_NoMarshalCreatedObjectUsedOutOfTreadContext); in GetIUnknownForCurrContext() 2744 throw new InvalidCastException(); in GetAddRefedComPointerForCurrentContext() 2771 throw new InvalidCastException(); in GetAddRefedComPointerForCurrentContext() 3043 throw new InvalidCastException(); in EnterContext()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/ |
H A D | char.cs | 435 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromTo", "Char", "Boolea… in IConvertible.ToBoolean() 485 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromTo", "Char", "Single… in IConvertible.ToSingle() 490 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromTo", "Char", "Double… in IConvertible.ToDouble() 495 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromTo", "Char", "Decima… in IConvertible.ToDecimal() 500 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromTo", "Char", "DateTi… in IConvertible.ToDateTime()
|