File tree 3 files changed +7
-7
lines changed
src/libraries/System.Private.CoreLib/src/System
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ public ApplicationException()
33
33
// and its ExceptionInfo reference set to null.
34
34
//
35
35
public ApplicationException ( string ? message )
36
- : base ( message ?? SR . Arg_ApplicationException )
36
+ : base ( message )
37
37
{
38
38
HResult = HResults . COR_E_APPLICATION ;
39
39
}
40
40
41
41
public ApplicationException ( string ? message , Exception ? innerException )
42
- : base ( message ?? SR . Arg_ApplicationException , innerException )
42
+ : base ( message , innerException )
43
43
{
44
44
HResult = HResults . COR_E_APPLICATION ;
45
45
}
Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ public IOException()
18
18
}
19
19
20
20
public IOException ( string ? message )
21
- : base ( message ?? SR . Arg_IOException )
21
+ : base ( message )
22
22
{
23
23
HResult = HResults . COR_E_IO ;
24
24
}
25
25
26
26
public IOException ( string ? message , int hresult )
27
- : base ( message ?? SR . Arg_IOException )
27
+ : base ( message )
28
28
{
29
29
HResult = hresult ;
30
30
}
31
31
32
32
public IOException ( string ? message , Exception ? innerException )
33
- : base ( message ?? SR . Arg_IOException , innerException )
33
+ : base ( message , innerException )
34
34
{
35
35
HResult = HResults . COR_E_IO ;
36
36
}
Original file line number Diff line number Diff line change @@ -18,13 +18,13 @@ public SystemException()
18
18
}
19
19
20
20
public SystemException ( string ? message )
21
- : base ( message ?? SR . Arg_SystemException )
21
+ : base ( message )
22
22
{
23
23
HResult = HResults . COR_E_SYSTEM ;
24
24
}
25
25
26
26
public SystemException ( string ? message , Exception ? innerException )
27
- : base ( message ?? SR . Arg_SystemException , innerException )
27
+ : base ( message , innerException )
28
28
{
29
29
HResult = HResults . COR_E_SYSTEM ;
30
30
}
You can’t perform that action at this time.
0 commit comments