I have a test that has the contents of a file just as a string in the test.
For readability the string is just a field set to string,Join(Environment.NewLine,............)
where ... is each line of the file seperated by commars, it's slightly nicer than having one long string with \r\n in it or having lots of + \r\n + in the string
However this KILLS resharper, it takes 1 minute to read the file and tell me about anything in it.
If I change the string to use + "\r\n" + between each line then ReSharper speeds up, but it won't let me keep adding after a while it says that it's expecting a ;
The other option is making it not readable at all and making it one string without any +'s in it
Resharper works fine and everything compiles if i do it as one string but now I cant' read my text. Maybe it should be a file but I don't want tests that read the disk just for a smallish file