What does SYSTEM_PRIVATE_CORELIB mean? #86159
Answered
by
stephentoub
MisinformedDNA
asked this question in
Q&A
-
In the source code, when SYSTEM_PRIVATE_CORELIB is used, what is the scenario for it being true and what is the scenario for it being false? What state is the symbol in when building a NuGet package? |
Beta Was this translation helpful? Give feedback.
Answered by
stephentoub
May 12, 2023
Replies: 1 comment
-
Sometimes a source file is compiled into multiple assemblies, e.g. there's some public type that's built into corelib but then some assembly needs its own internal copy of that file. The Corelib project defines the SYSTEM_PRIVATE_CORELIB compilation constant. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MisinformedDNA
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes a source file is compiled into multiple assemblies, e.g. there's some public type that's built into corelib but then some assembly needs its own internal copy of that file. The Corelib project defines the SYSTEM_PRIVATE_CORELIB compilation constant.