-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
Description
Type of issue
Missing information
Description
While generally true, there is an issue when using it as a LINQ query because Entity Framework can not translate string.Contains(char). It needs a string.Contains(string).
This can be confusing for programmers when they receive a runtime exception.
Page URL
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca1847
Content source URL
Document Version Independent Id
5e1aa81d-07da-dfab-14d1-3d361e7c486b
Platform Id
d625e2cb-f7de-4a76-1c93-e6672828154c
Article author
Metadata
- ID: 4b505c55-ce56-19b9-2c29-c39017e52345
- PlatformId: d625e2cb-f7de-4a76-1c93-e6672828154c
- Service: dotnet-fundamentals
gfoidl