Skip to content

Commit 8d7d21e

Browse files
gabeluciRon Petrusha
authored andcommitted
Use of …" messing up code highlighting (#3118)
* Use of …" messing up code highlighting The unmatched quotes were causing everything after them to be considered part of the string. * Removed elipsis on own line
1 parent 1503202 commit 8d7d21e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

xml/System.DirectoryServices/DirectorySynchronization.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ src.DirectorySynchronization= new DirectorySynchronization(); // Initiate dirsyn
3030
3131
foreach(SearchResult res in src.FindAll() )
3232
{
33-
Console.WriteLine(…");
33+
Console.WriteLine("…");
3434
}
3535
3636
// Restart the dirsync
3737
foreach(SearchResult res in src.FindAll() )
3838
{
39-
Console.WriteLine(…");
39+
Console.WriteLine("…");
4040
}
4141
4242
```
@@ -50,28 +50,28 @@ src.DirectorySynchronization= new DirectorySynchronization(); // Initiate dirsyn
5050
5151
foreach(SearchResult res in src.FindAll() )
5252
{
53-
Console.WriteLine(…");
53+
Console.WriteLine("…");
5454
}
5555
5656
// Now they should be able to persist the dirSync cookie, by serializing to a file.
5757
FileStream myStream = File.Create("dirsync.data");
5858
BinaryFormatter fmt = new BinaryFormatter();
5959
fmt.Serialize(myStream, src.DirectorySynchronization);
6060
myStream.Close();
61-
… ….
61+
6262
6363
// At some point in time, we wake up and read by de-serializing the dirSync cookie,
6464
// and resume the dirSync
6565
FileStream myStream = FileCreate("dirsync.data");
6666
BinaryFormatter fmt = new BinaryFormatter();
6767
DirectorySynchronization dirSync = fmt.Deserialize(myStream);
6868
69-
DirectorySearcher src = new DirectorySearcher();
69+
DirectorySearcher src = new DirectorySearcher("…");
7070
src.DirectorySynchronization = dirSync;
7171
7272
foreach(SearchResult res in src.FindAll() )
7373
{
74-
Console.WriteLine(…");
74+
Console.WriteLine("…");
7575
}
7676
7777
```

0 commit comments

Comments
 (0)