Comments (2)
thanks for highlighting it's a design decision. with your approach, it keeps the string length intact (no trailing space). that fixed my unit tests where i started using raw strings.
Console.WriteLine("""
Hello "there"
""");
from roslyn.
Correct. This is the design of raw strings. If you want to start or end with a quote you must use a multi line literal like:
Var v = """
Hello "there"
""";
from roslyn.
Related Issues (20)
- Colelction Expression Compile Error after upgrading to SDK 8.0.3. HOT 3
- Reporting Roslyn analyzer name is inaccessible through Error list entry in VSSDK for VisualStudio 2022 17.10
- Programación HOT 2
- IDE0036 not raised for `protected private` and `internal protected` members HOT 1
- Visual Studio 2022 adds a duplicate "Option Strict On" to Code File When Pasting VB.NET Code HOT 1
- Account for partial properties at existing use sites of partial method symbol APIs HOT 3
- Change Workspace.Option setter to throw NotSupportedException HOT 1
- Version conflict detected for Microsoft.CodeAnalysis.Common Microsoft.CodeAnalysis.CSharp HOT 2
- Adding documents to a VisualStudioWorkspace in a subfolder fails if folder doesn't exist HOT 7
- IDE0100 (Remove unnecessary equality operator) catches `x == false` as redundant HOT 9
- csc.exe hangs on specific file
- Filesystem pollution in `/tmp/` HOT 4
- Adding/Removing space when toggling line comments
- Methods with Optional String Parameters Won't Collapse HOT 1
- Method defining line move when adding code before method declaration HOT 1
- Error list goes crazy while doing a refactoring HOT 1
- Version 17.10.0 Preview 5.0 - Error list not showing all warnings HOT 1
- VS 17.10.0 preview 4 shows warnings where no Error is. HOT 1
- C# Syntax highlighting of type references is broken HOT 7
- Custom modifiers are not copied in array type collection expression lowering
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roslyn.