Dim sql As String = <query>Select fname,lname from tblCustomer where status <> 'Active'</query>
Here is a pattern some of our developers use that make use of xml literals for store query strings or sometimes other long blocks of text. Usually it's longer than the above statement. This hasn't been a problem until we started using ReSharper. ReSharper does not like the <> and says it's an error indicating " expected.
There are workarounds for this. wrapping it with CDATA works is there any way to suppress this error or have ReSharper recognize it as valid? I'm new to ReSharper so not sure if there is a way.