34 references to BadImageFormatException
mscorlib (27)
system\reflection\parameterinfo.cs (3)
312
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ParameterSignatureMismatch"));
328
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ParameterSignatureMismatch"));
336
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ParameterSignatureMismatch"));
system\resources\resourcereader.cs (24)
266
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_NegativeStringLength"));
408
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_NegativeStringLength"));
415
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesNameTooLong"));
430
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourceNameCorrupted"));
452
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_NegativeStringLength"));
457
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesIndexTooLong", index));
743
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourceDataLengthInvalid", len));
748
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourceDataLengthInvalid", len));
754
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourceDataLengthInvalid", len));
766
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourceDataLengthInvalid", len));
776
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourceDataLengthInvalid", len));
788
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_TypeMismatch"));
847
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResType&SerBlobMismatch", type.FullName, graph.GetType().FullName));
897
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"));
948
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"));
960
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"));
1009
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"));
1034
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"));
1045
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"));
1061
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"));
1069
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResourcesHeaderCorrupted"));
1081
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_InvalidType"));
1231
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_InvalidType"));
1329
throw new
BadImageFormatException
(Environment.GetResourceString("BadImageFormat_ResType&SerBlobMismatch", _typeToDeserialize.FullName, typeName));
System.AddIn (7)
System\Addin\MiniReflection\MetadataReader\Metadata.cs (3)
277
throw new
BadImageFormatException
(String.Format(CultureInfo.CurrentCulture, Res.UnknownMetadataTable, Table));
360
throw new
BadImageFormatException
(
370
throw new
BadImageFormatException
(String.Format(CultureInfo.CurrentCulture, Res.NilMetadataToken, token));
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (3)
69
throw new
BadImageFormatException
(String.Format(CultureInfo.CurrentCulture, Res.BadPEFile, fileName));
84
throw new
BadImageFormatException
(String.Format(CultureInfo.CurrentCulture, Res.BadPEFile, fileName));
180
throw new
BadImageFormatException
(String.Format(CultureInfo.CurrentCulture, Res.BadRVA, _fileName));
System\Addin\MiniReflection\TypeInfo.cs (1)
662
throw new
BadImageFormatException
(String.Format(CultureInfo.CurrentCulture, Res.UnrecognizedCorElementType, b));