File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,10 @@ static Compilation CreateCompilation(string source)
168168 public void BindablePropertyName_WithInitializer_ReturnsCorrectEffectiveDefaultValueCreatorMethodName ( )
169169 {
170170 // Arrange
171- var compilation = CreateCompilation ( "public class TestClass { public string TestProperty { get; set; } = \" Initial Value\" ; }" ) ;
171+ var compilation = CreateCompilation (
172+ """
173+ public class TestClass { public string TestProperty { get; set; } = "Initial Value"; }");
174+ """ ) ;
172175 var typeSymbol = compilation . GetTypeByMetadataName ( "TestClass" ) ! ;
173176 var propertySymbol = typeSymbol . GetMembers ( "TestProperty" ) . OfType < IPropertySymbol > ( ) . First ( ) ;
174177
@@ -203,7 +206,10 @@ public void BindablePropertyName_WithInitializer_ReturnsCorrectEffectiveDefaultV
203206 public void BindablePropertyName_WithInitializerAndDefaulValueCreator_ReturnsCorrectEffectiveDefaultValueCreatorMethodName ( )
204207 {
205208 // Arrange
206- var compilation = CreateCompilation ( "public class TestClass { public string TestProperty { get; set; } = \" Initial Value\" ; }" ) ;
209+ var compilation = CreateCompilation (
210+ """
211+ public class TestClass { public string TestProperty { get; set; } = "Initial Value"; }
212+ """ ) ;
207213 var typeSymbol = compilation . GetTypeByMetadataName ( "TestClass" ) ! ;
208214 var propertySymbol = typeSymbol . GetMembers ( "TestProperty" ) . OfType < IPropertySymbol > ( ) . First ( ) ;
209215
You can’t perform that action at this time.
0 commit comments