Skip to content

Commit e399fff

Browse files
authored
Fix xUnit1041 in pri1 runtime tests (#118412)
Fixes #118409
1 parent 565b6d3 commit e399fff

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

src/tests/CoreMangLib/system/delegate/miscellaneous/ClosedStatic.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ public class Program
88
{
99
public int scale;
1010

11-
public Program(int scale)
11+
private Program(int scale)
1212
{
1313
this.scale = scale;
1414
}

src/tests/JIT/Methodical/Arrays/misc/arrres.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class Test
1313
public bool m_die;
1414
private static Test[] s_arr = new Test[50];
1515

16-
public Test(int indx) { _indx = indx; }
16+
private Test(int indx) { _indx = indx; }
1717

1818
internal virtual void CheckValid()
1919
{

src/tests/JIT/opt/Inline/tests/Inline_NewObj.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class MainApp_Inline
99
{
1010
private int _v;
1111

12-
public MainApp_Inline(int i)
12+
private MainApp_Inline(int i)
1313
{
1414
switch (i)
1515
{

src/tests/baseservices/exceptions/regressions/V1/SEH/COOL/rethrow.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public UserException4(int id) : base(id)
5353
public class RethrowException {
5454
private int ThreadId;
5555

56-
public RethrowException(int id){
56+
private RethrowException(int id){
5757
ThreadId = id;
5858
}
5959

src/tests/baseservices/exceptions/regressions/V1/SEH/VJ/HandlerException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public UserException4(int id){
4141
public class HandlerException {
4242
private int ThreadId;
4343

44-
public HandlerException(int id){
44+
private HandlerException(int id){
4545
ThreadId = id;
4646
}
4747

src/tests/baseservices/exceptions/regressions/V1/SEH/VJ/MultipleException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public UserException(int id){
1616
public class MultipleException {
1717
private int ThreadId;
1818

19-
public MultipleException(int id){
19+
private MultipleException(int id){
2020
ThreadId = id;
2121
}
2222

src/tests/baseservices/exceptions/regressions/V1/SEH/VJ/NestedException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public UserException4(int id){
4141
public class NestedException {
4242
private int ThreadId;
4343

44-
public NestedException(int id){
44+
private NestedException(int id){
4545
ThreadId = id;
4646
}
4747

0 commit comments

Comments
 (0)