get {
if (base.message == null) {
if (fileName != null) {
- string message = string.Format (CultureInfo.CurrentCulture,
+ string message = string.Format (
"Could not load file or assembly '{0}' or one of"
+ " its dependencies. The system cannot find the"
+ " file specified.", fileName);
if (catch_type != null)
ret = String.Format ("{0}, CatchType={1}", ret, catch_type);
if (flags == ExceptionHandlingClauseOptions.Filter)
- ret = String.Format (CultureInfo.InvariantCulture, "{0}, FilterOffset={1}", ret, filter_offset);
+ ret = String.Format ("{0}, FilterOffset={1}", ret, filter_offset);
return ret;
}
}
Type underlyingType = Enum.GetUnderlyingType (enumType);
if (vType.IsEnum) {
if (vType != enumType)
- throw new ArgumentException (string.Format(CultureInfo.InvariantCulture,
+ throw new ArgumentException (string.Format(
"Object must be the same type as the enum. The type" +
" passed in was {0}; the enum type was {1}.",
vType.FullName, enumType.FullName));
} else if (vType != underlyingType) {
- throw new ArgumentException (string.Format (CultureInfo.InvariantCulture,
+ throw new ArgumentException (string.Format (
"Enum underlying type and the object must be the same type" +
" or object. Type passed in was {0}; the enum underlying" +
" type was {1}.", vType.FullName, underlyingType.FullName));