-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
IntrinsicsInSystemPrivateCoreLibAnalyzer throwing ArgumentException #90356
Comments
I debugged one instance of this - it's failing while trying to decompose the condition
The runtime/src/libraries/System.Private.CoreLib/gen/IntrinsicsInSystemPrivateCoreLibAnalyzer.cs Lines 290 to 296 in 376e235
which looks up the definition of runtime/src/libraries/System.Private.CoreLib/gen/IntrinsicsInSystemPrivateCoreLibAnalyzer.cs Line 275 in 376e235
because the definition of IsSupported isn't in the same syntax tree as the one we started from.
|
Tagging subscribers to this area: @hoyosjs Issue DetailsDescriptionWhen building System.Private.CoreLib I see the diagnostic:
I'll suppress this when enabling AD0001 as warning. This issue will track fixing that analyzer and removing the warning suppression. Reproduction StepsRemove AD0001 from System.Private.Corelib.csproj and build it. Expected behaviorBuilds without warning. Actual behaviorWarning as above. Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
Description
When building System.Private.CoreLib I see the diagnostic:
I'll suppress this when enabling AD0001 as warning. This issue will track fixing that analyzer and removing the warning suppression.
Reproduction Steps
Remove AD0001 from System.Private.Corelib.csproj and build it.
Expected behavior
Builds without warning.
Actual behavior
Warning as above.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: