/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/tests/System/ |
H A D | Convert.cs | 50 Assert.Throws<InvalidCastException>(() => Convert.ToBoolean(testValue)); in ToBooleanTests() 52 Assert.Throws<InvalidCastException>(() => Convert.ToBoolean(testValue2)); in ToBooleanTests() 59 Assert.Throws<InvalidCastException>(() => Convert.ToByte(testValue)); in ToByteTest() 68 Assert.Throws<InvalidCastException>(() => Convert.ToChar(testValue2)); in ToCharTests() 74 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime(byte.MinValue)); in ToDateTimeTests() 75 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime(sbyte.MinValue)); in ToDateTimeTests() 76 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime(float.MinValue)); in ToDateTimeTests() 78 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime(uint.MinValue)); in ToDateTimeTests() 85 Assert.Throws<InvalidCastException>(() => Convert.ToDecimal(char.MinValue)); in ToDecimalTests() 92 Assert.Throws<InvalidCastException>(() => Convert.ToDouble(char.MinValue)); in ToDoubleTests() [all …]
|
H A D | Convert.ToDateTime.cs | 85 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime(false)); in FromBoolean() 91 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime('a')); in FromChar() 97 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime((Int16)5)); in FromInt16() 103 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime(6)); in FromInt32() 109 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime((Int64)5)); in FromInt64() 115 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime((UInt16)5)); in FromUInt16() 121 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime((UInt32)5)); in FromUInt32() 127 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime((UInt64)5)); in FromUInt64() 133 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime(1.0f)); in FromSingle() 139 Assert.Throws<InvalidCastException>(() => Convert.ToDateTime(1.1)); in FromDouble() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/ |
H A D | DBNull.cs | 45 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToBoolean() 50 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToChar() 55 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToSByte() 60 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToByte() 65 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToInt16() 70 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToUInt16() 75 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToInt32() 80 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToUInt32() 85 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToInt64() 90 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToUInt64() [all …]
|
H A D | InvalidCastException.cs | 17 public class InvalidCastException : SystemException class 19 public InvalidCastException() in InvalidCastException() method in System.InvalidCastException 25 public InvalidCastException(String message) in InvalidCastException() method in System.InvalidCastException 31 public InvalidCastException(String message, Exception innerException) in InvalidCastException() method in System.InvalidCastException 37 public InvalidCastException(String message, int errorCode) in InvalidCastException() method in System.InvalidCastException 43 …protected InvalidCastException(SerializationInfo info, StreamingContext context) : base(info, cont… in InvalidCastException() method in System.InvalidCastException
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/ |
H A D | DBNull.cs | 45 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToBoolean() 50 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToChar() 55 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToSByte() 60 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToByte() 65 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToInt16() 70 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToUInt16() 75 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToInt32() 80 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToUInt32() 85 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToInt64() 90 throw new InvalidCastException(SR.InvalidCast_FromDBNull); in IConvertible.ToUInt64() [all …]
|
H A D | InvalidCastException.cs | 17 public class InvalidCastException : SystemException class 19 public InvalidCastException() in InvalidCastException() method in System.InvalidCastException 25 public InvalidCastException(String message) in InvalidCastException() method in System.InvalidCastException 31 public InvalidCastException(String message, Exception innerException) in InvalidCastException() method in System.InvalidCastException 37 public InvalidCastException(String message, int errorCode) in InvalidCastException() method in System.InvalidCastException 43 …protected InvalidCastException(SerializationInfo info, StreamingContext context) : base(info, cont… in InvalidCastException() method in System.InvalidCastException
|
/dports/lang/mono/mono-5.10.1.57/external/aspnetwebstack/test/System.Json.Test.Unit/ |
H A D | JsonValueTest.cs | 355 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (long)strValue; }); in InvalidCastTest() 364 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (int)nullValue; }); in InvalidCastTest() 365 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (int)strValue; }); in InvalidCastTest() 366 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (int)boolValue; }); in InvalidCastTest() 370 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (uint)strValue; }); in InvalidCastTest() 387 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (byte)strValue; }); in InvalidCastTest() 391 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (Guid)strValue; }); in InvalidCastTest() 393 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (Guid)intValue; }); in InvalidCastTest() 401 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (char)strValue; }); in InvalidCastTest() 413 ExceptionHelper.Throws<InvalidCastException>(delegate { var v = (Uri)intValue; }); in InvalidCastTest() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/ |
H A D | dbnull.cs | 49 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToBoolean() 54 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToChar() 59 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToSByte() 64 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToByte() 69 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToInt16() 74 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToUInt16() 79 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToInt32() 84 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToUInt32() 89 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToInt64() 94 throw new InvalidCastException(Environment.GetResourceString("InvalidCast_FromDBNull")); in IConvertible.ToUInt64() [all …]
|
H A D | invalidcastexception.cs | 22 public class InvalidCastException : SystemException { class 23 public InvalidCastException() in InvalidCastException() method in System.InvalidCastException 28 public InvalidCastException(String message) in InvalidCastException() method in System.InvalidCastException 33 public InvalidCastException(String message, Exception innerException) in InvalidCastException() method in System.InvalidCastException 38 …protected InvalidCastException(SerializationInfo info, StreamingContext context) : base(info, cont… in InvalidCastException() method in System.InvalidCastException 41 public InvalidCastException(String message, int errorCode) in InvalidCastException() method in System.InvalidCastException
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/ |
H A D | DBNullTests.cs | 21 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToBoolean(null)); in ToBoolean_Invoke_ThrowsInvalidCastException() 27 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToChar(null)); in ToChar_Invoke_ThrowsInvalidCastException() 33 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToSByte(null)); in ToSByte_Invoke_ThrowsInvalidCastException() 39 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToByte(null)); in ToByte_Invoke_ThrowsInvalidCastException() 45 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToInt16(null)); in ToInt16_Invoke_ThrowsInvalidCastException() 51 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToUInt16(null)); in ToUInt16_Invoke_ThrowsInvalidCastException() 57 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToInt32(null)); in ToInt32_Invoke_ThrowsInvalidCastException() 63 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToUInt32(null)); in ToUInt32_Invoke_ThrowsInvalidCastException() 69 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToInt64(null)); in ToInt64_Invoke_ThrowsInvalidCastException() 75 Assert.Throws<InvalidCastException>(() => ((IConvertible)DBNull.Value).ToUInt64(null)); in ToUInt64_Invoke_ThrowsInvalidCastException() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq/tests/ |
H A D | CastTests.cs | 69 Assert.Throws<InvalidCastException>(() => cast.ToList()); in LongFromNullableIntInObjectsThrows() 79 Assert.Throws<InvalidCastException>(() => cast.ToList()); in LongFromNullableIntInObjectsIncludingNullThrows() 99 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowOnUncastableItem() 110 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowCastingIntToDouble() 120 Assert.Throws<InvalidCastException>(() => cast.ToList()); in TestCastThrow() 160 Assert.Throws<InvalidCastException>(() => cast.ToList()); in FirstElementInvalidForCast() 169 Assert.Throws<InvalidCastException>(() => cast.ToList()); in LastElementInvalidForCast() 187 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowCastingIntToLong() 196 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowCastingIntToNullableLong() 205 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowCastingNullableIntToLong() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Queryable/tests/ |
H A D | CastTests.cs | 58 Assert.Throws<InvalidCastException>(() => cast.ToList()); in LongFromNullableIntInObjectsThrows() 68 Assert.Throws<InvalidCastException>(() => cast.ToList()); in LongFromNullableIntInObjectsIncludingNullThrows() 88 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowOnUncastableItem() 99 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowCastingIntToDouble() 108 Assert.Throws<InvalidCastException>(() => cast.ToList()); in TestCastThrow() 139 Assert.Throws<InvalidCastException>(() => cast.ToList()); in FirstElementInvalidForCast() 148 Assert.Throws<InvalidCastException>(() => cast.ToList()); in LastElementInvalidForCast() 166 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowCastingIntToLong() 175 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowCastingIntToNullableLong() 184 Assert.Throws<InvalidCastException>(() => cast.ToList()); in ThrowCastingNullableIntToLong() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/runtime/interopservices/windowsruntime/ |
H A D | clripropertyvalueimpl.cs | 135 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueEleme… in GetChar16() 144 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueEleme… in GetBoolean() 176 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueEleme… in GetDateTime() 185 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueEleme… in GetTimeSpan() 195 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueEleme… in GetPoint() 206 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueEleme… in GetSize() 217 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueEleme… in GetRect() 350 …throw new InvalidCastException(Environment.GetResourceString("InvalidCast_WinRTIPropertyValueEleme… in GetSizeArray() 390 } catch (InvalidCastException elementCastException) { in CoerceArrayValue() 439 catch (InvalidCastException) { in CoerceScalarValue() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.Entity.Design/System/Data/Entity/Design/SSDLGenerator/ |
H A D | RelationshipDetailsRow.cs | 55 catch (System.InvalidCastException e) 77 catch (System.InvalidCastException e) 99 catch (System.InvalidCastException e) 121 catch (System.InvalidCastException e) 143 catch (System.InvalidCastException e) 165 catch (System.InvalidCastException e) 187 catch (System.InvalidCastException e) 209 catch (System.InvalidCastException e) 231 catch (System.InvalidCastException e) 253 catch (System.InvalidCastException e) [all …]
|
H A D | TableDetailsRow.cs | 55 catch (System.InvalidCastException e) 77 catch (System.InvalidCastException e) 99 catch (System.InvalidCastException e) 121 catch (System.InvalidCastException e) 143 catch (System.InvalidCastException e) 165 catch (System.InvalidCastException e) 187 catch (System.InvalidCastException e) 209 catch (System.InvalidCastException e) 232 catch (System.InvalidCastException e) 254 catch (System.InvalidCastException e) [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/tests/Metadata/ |
H A D | HandleTests.cs | 344 …Assert.Throws<InvalidCastException>(() => (UserStringHandle)new Handle((byte)(HandleType.VirtualBi… in Conversions_VirtualHandles() 345 …Assert.Throws<InvalidCastException>(() => (GuidHandle)new Handle((byte)(HandleType.VirtualBit | Ha… in Conversions_VirtualHandles() 356 …Assert.Throws<InvalidCastException>(() => (ModuleDefinitionHandle)new EntityHandle(TokenTypeIds.Vi… in Conversions_VirtualEntityHandles() 361 …Assert.Throws<InvalidCastException>(() => (TypeDefinitionHandle)new EntityHandle(TokenTypeIds.Virt… in Conversions_VirtualEntityHandles() 363 …Assert.Throws<InvalidCastException>(() => (TypeReferenceHandle)new EntityHandle(TokenTypeIds.Virtu… in Conversions_VirtualEntityHandles() 366 …Assert.Throws<InvalidCastException>(() => (FieldDefinitionHandle)new EntityHandle(TokenTypeIds.Vir… in Conversions_VirtualEntityHandles() 367 …Assert.Throws<InvalidCastException>(() => (EventDefinitionHandle)new EntityHandle(TokenTypeIds.Vir… in Conversions_VirtualEntityHandles() 372 …Assert.Throws<InvalidCastException>(() => (EventDefinitionHandle)new EntityHandle(TokenTypeIds.Vir… in Conversions_VirtualEntityHandles() 374 …Assert.Throws<InvalidCastException>(() => (ParameterHandle)new EntityHandle(TokenTypeIds.VirtualBi… in Conversions_VirtualEntityHandles() 381 …Assert.Throws<InvalidCastException>(() => (ConstantHandle)new EntityHandle(TokenTypeIds.VirtualBit… in Conversions_VirtualEntityHandles() [all …]
|
/dports/lang/mono-basic/mono-basic-4.7/vbruntime/Test/Microsoft.VisualBasic.CompilerServices/ |
H A D | OperatorsTests.vb | 137 Catch ex As InvalidCastException 209 Catch ex As InvalidCastException 221 Catch ex As InvalidCastException 269 Catch ex As InvalidCastException 349 Catch ex As InvalidCastException 385 Catch ex As InvalidCastException 397 Catch ex As InvalidCastException 447 Catch ex As InvalidCastException 515 Catch ex As InvalidCastException 551 Catch ex As InvalidCastException [all …]
|
H A D | DateTypeTest.vb | 44 Catch ex As InvalidCastException 52 Catch ex As InvalidCastException 63 Catch ex As InvalidCastException 71 Catch ex As InvalidCastException 79 Catch ex As InvalidCastException
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Json/tests/ |
H A D | JsonValueTests.cs | 472 Assert.Throws<InvalidCastException>(() => { bool i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 473 Assert.Throws<InvalidCastException>(() => { byte i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 474 Assert.Throws<InvalidCastException>(() => { char i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 477 Assert.Throws<InvalidCastException>(() => { float i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 478 Assert.Throws<InvalidCastException>(() => { int i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 479 Assert.Throws<InvalidCastException>(() => { long i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 480 Assert.Throws<InvalidCastException>(() => { sbyte i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 483 Assert.Throws<InvalidCastException>(() => { uint i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 489 Assert.Throws<InvalidCastException>(() => { Guid i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() 490 Assert.Throws<InvalidCastException>(() => { Uri i = new JsonArray(); }); in ImplicitConversion_NotJsonPrimitive_ThrowsInvalidCastException() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Parallel/tests/QueryOperators/ |
H A D | CastTests.cs | 116 …AssertThrows.Wrapped<InvalidCastException>(() => UnorderedSources.Default(count).Cast<double>().Fo… in Cast_Unordered_InvalidCastException() 117 …AssertThrows.Wrapped<InvalidCastException>(() => UnorderedSources.Default(count).Cast<double>().To… in Cast_Unordered_InvalidCastException() 124 … AssertThrows.Wrapped<InvalidCastException>(() => labeled.Item.Cast<double>().ForAll(x => {; })); in Cast_InvalidCastException() 125 AssertThrows.Wrapped<InvalidCastException>(() => labeled.Item.Cast<double>().ToList()); in Cast_InvalidCastException() 134 …AssertThrows.Wrapped<InvalidCastException>(() => UnorderedSources.Default(count).Select(x => (Int3… in Cast_Unordered_Assignable_InvalidCastException() 135 …AssertThrows.Wrapped<InvalidCastException>(() => UnorderedSources.Default(count).Select(x => (Int3… in Cast_Unordered_Assignable_InvalidCastException() 142 …AssertThrows.Wrapped<InvalidCastException>(() => labeled.Item.Select(x => (Int32)x).Cast<Castable>… in Cast_Assignable_InvalidCastException() 143 …AssertThrows.Wrapped<InvalidCastException>(() => labeled.Item.Select(x => (Int32)x).Cast<Castable>… in Cast_Assignable_InvalidCastException()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Dynamic.Runtime/tests/Dynamic.Context/ |
H A D | Conformance.dynamic.context.ExplicitImple.Generic.cs | 36 …Assert.Throws<InvalidCastException>(() => Helpers.Cast<GenericInterfaceWithNonGenericMember<double… in GenericInterface_WithNonGenericMember() 47 …Assert.Throws<InvalidCastException>(() => Helpers.Cast<GenericInterfaceWithGenericMember1<double>>… in GenericInterface_WithGenericMember1() 58 …Assert.Throws<InvalidCastException>(() => Helpers.Cast<GenericInterfaceWithGenericMember2<double>>… in GenericInterface_WithGenericMember2() 77 … Assert.Throws<InvalidCastException>(() => Helpers.Cast<GenericInInterface<BaseClass>>(d)); in GenericInterface_WithInGenericParameter_SubClass() 80 …Assert.Throws<InvalidCastException>(() => ((GenericInInterface<BaseClass>)d).Foo(new BaseClass())); in GenericInterface_WithInGenericParameter_SubClass() 89 … Assert.Throws<InvalidCastException>(() => Helpers.Cast<GenericOutInterface<SubClass>>(d)); in GenericInterface_WithOutGenericParameter_BaseClass() 93 Assert.Throws<InvalidCastException>(() => ((GenericOutInterface<SubClass>)d).Foo()); in GenericInterface_WithOutGenericParameter_BaseClass()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Dynamic.Runtime/tests/Dynamic.Variance/ |
H A D | Conformance.dynamic.Variance.basic.cs | 67 catch (InvalidCastException e) in MainMethod() 267 catch (System.InvalidCastException) in MainMethod() 283 catch (System.InvalidCastException) in MainMethod() 357 catch (System.InvalidCastException) in MainMethod() 368 catch (System.InvalidCastException) in MainMethod() 497 catch (System.InvalidCastException) in MainMethod() 508 catch (System.InvalidCastException) in MainMethod() 629 catch (InvalidCastException e) in MainMethod() 643 catch (InvalidCastException e) in MainMethod() 805 catch (System.InvalidCastException) in MainMethod() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/ |
H A D | SQLiteKeyReader.cs | 274 throw new InvalidCastException(); in Sync() 363 else throw new InvalidCastException(); in GetBoolean() 370 else throw new InvalidCastException(); in GetByte() 377 else throw new InvalidCastException(); in GetBytes() 384 else throw new InvalidCastException(); in GetChar() 391 else throw new InvalidCastException(); in GetChars() 398 else throw new InvalidCastException(); in GetDateTime() 405 else throw new InvalidCastException(); in GetDecimal() 412 else throw new InvalidCastException(); in GetDouble() 419 else throw new InvalidCastException(); in GetFloat() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Microsoft.VisualBasic/src/Microsoft/VisualBasic/CompilerServices/ |
H A D | Conversions.vb | 41 Throw New Global.System.InvalidCastException 98 Throw New Global.System.InvalidCastException() 148 Throw New Global.System.InvalidCastException() 200 Throw New Global.System.InvalidCastException() 250 Throw New Global.System.InvalidCastException() 302 Throw New Global.System.InvalidCastException() 352 Throw New Global.System.InvalidCastException() 404 Throw New Global.System.InvalidCastException() 454 Throw New Global.System.InvalidCastException() 1307 Throw New InvalidCastException( [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | ReflectionUtil.cs | 214 … throw new InvalidCastException("Cannot access extension on message that isn't IExtensionMessage"); in GetExtension() 229 … throw new InvalidCastException("The provided extension is not a valid extension identifier type"); in GetExtension() 237 … throw new InvalidCastException("Cannot access extension on message that isn't IExtensionMessage"); in HasExtension() 252 … throw new InvalidCastException("The provided extension is not a valid extension identifier type"); in HasExtension() 260 … throw new InvalidCastException("Cannot access extension on message that isn't IExtensionMessage"); in SetExtension() 275 … throw new InvalidCastException("The provided extension is not a valid extension identifier type"); in SetExtension() 283 … throw new InvalidCastException("Cannot access extension on message that isn't IExtensionMessage"); in ClearExtension() 298 … throw new InvalidCastException("The provided extension is not a valid extension identifier type"); in ClearExtension()
|