-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[do not review] test regression 2 #124522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a65d046
1016c3c
237de71
c7217c1
7e44832
769df50
32e6a77
b5543f2
7942bd0
37c67c9
7697993
3847f92
d345451
d18ade8
87d1662
c4ad36d
840fea1
4febea9
85c5607
683842e
b4c8999
edf3697
02a4b47
01bd8c6
ed88628
faeda88
b7553c2
d1da106
27041fc
68c4b04
8cd044c
5fba3f8
e2da27d
1f9b313
b689f1b
7e3b6f5
9feb2e9
086d6c4
d10b749
4cde393
11c4b36
67af18c
c4ef0ef
3c06fd3
1e85271
26f8282
3640a38
9916aec
4f528b8
4c9b395
e348689
cd955e5
6ba36fd
2827c65
2e48d6d
226df16
4b84402
8a8e234
120d69d
ef6e666
8978c36
6d92904
d0816e4
6ad4c79
2057781
bbd2a3b
3992589
6098ce3
488b437
e31ed96
fb3d330
964803f
bafd3c9
e93d089
79dc457
ba01e7a
28887a1
a0be891
76bafda
be1425c
209cb90
545f09d
ae6a379
ef7bfe7
af6321d
ab2d4e2
ebc56f3
821446d
612a341
2553b99
5a6da68
7c19f87
97eb510
afbdbc3
eb776c0
0535af7
2da88b2
232bf3d
12c216f
f8f8ba9
339b37a
837ea8b
9f4535d
3c72267
de31ebc
e1a23e3
237e902
171818e
19dce74
cd807c7
8139241
318d152
2e9b8eb
031c0ce
08b5adc
311f504
bcf65a2
16ce9ae
1b2f8bf
e7d774e
49281e8
8b91afc
c365063
bc44ac1
d0fdada
0836fbe
3f59cb3
9b94935
39ae198
771f7db
713f800
a069ddf
bb17c16
a1e9f70
fa70e3f
9f1649a
6633d8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -6197,10 +6197,12 @@ EXTERN_C void LookupUnmanagedCallersOnlyMethodByName(const char* fullQualifiedTy | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| && pMD->HasUnmanagedCallersOnlyAttribute()) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| *ppMD = pMD; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| printf("Found UCO method %s on type %s\n", methodName, fullQualifiedTypeName); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| return; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| printf("Did not find UCO method %s on type %s, looking for a method with the given name\n", methodName, fullQualifiedTypeName); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
6199
to
+6205
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| *ppMD = pMD; | |
| printf("Found UCO method %s on type %s\n", methodName, fullQualifiedTypeName); | |
| return; | |
| } | |
| } | |
| printf("Did not find UCO method %s on type %s, looking for a method with the given name\n", methodName, fullQualifiedTypeName); | |
| *ppMD = pMD; | |
| #ifdef _DEBUG | |
| printf("Found UCO method %s on type %s\n", methodName, fullQualifiedTypeName); | |
| #endif // _DEBUG | |
| return; | |
| } | |
| } | |
| #ifdef _DEBUG | |
| printf("Did not find UCO method %s on type %s, looking for a method with the given name\n", methodName, fullQualifiedTypeName); | |
| #endif // _DEBUG |
Copilot
AI
Feb 18, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug printf statement should not be committed to production code. This will output to stdout in all builds, not just debug builds. If logging is needed, use appropriate logging mechanisms or wrap in #ifdef _DEBUG.
| *ppMD = pMD; | |
| printf("Found UCO method %s on type %s\n", methodName, fullQualifiedTypeName); | |
| return; | |
| } | |
| } | |
| printf("Did not find UCO method %s on type %s, looking for a method with the given name\n", methodName, fullQualifiedTypeName); | |
| *ppMD = pMD; | |
| #ifdef _DEBUG | |
| printf("Found UCO method %s on type %s\n", methodName, fullQualifiedTypeName); | |
| #endif // _DEBUG | |
| return; | |
| } | |
| } | |
| #ifdef _DEBUG | |
| printf("Did not find UCO method %s on type %s, looking for a method with the given name\n", methodName, fullQualifiedTypeName); | |
| #endif // _DEBUG |
Copilot
AI
Feb 18, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new printf diagnostics in LookupUnmanagedCallersOnlyMethodByName will emit to stdout on every lookup, which can severely impact performance and pollute test output/logs. Please remove these prints or gate them behind an existing logging facility/conditional compilation (e.g., a debug-only or feature-specific trace macro).
| printf("Found UCO method %s on type %s\n", methodName, fullQualifiedTypeName); | |
| return; | |
| } | |
| } | |
| printf("Did not find UCO method %s on type %s, looking for a method with the given name\n", methodName, fullQualifiedTypeName); | |
| return; | |
| } | |
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debug printf statements should not be committed to production code. These should be replaced with proper logging or removed entirely.