dotnet / dotnet/dotnet-api-docs
Remarks sections under SemanticModel.cs are not formatted correctly
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Sometimes it looks like this https://docs.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.semanticmodel.lookuplabels?view=roslyn-dotnet

where the it looks like the text is just taken as it is from the [source code](https://github.com/dotnet/roslyn/blob/38718c45ef8add102834a42d96830901b68515bb/src/Compilers/Core/Portable/Compilation/SemanticModel.cs#L609) including the newlines.
And sometimes it looks like this https://docs.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.semanticmodel.getspeculativesymbolinfocore?view=roslyn-dotnet

where the newline makes the following line into a code block (probably due to the indentation).
I was going to clean up the code in the roslyn repository, but I think perhaps that this issue is due to the translation process from the source code to the roslyn-api-docs repository.
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 9f1473d0-0542-dd95-54cb-4252042abd24
* Version Independent ID: 5b78b223-b4ed-140e-ff07-35a437f4e317
* Content: [SemanticModel.GetSpeculativeTypeInfoCore(Int32, SyntaxNode, SpeculativeBindingOption) Method (Microsoft.CodeAnalysis)](https://docs.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.semanticmodel.getspeculativetypeinfocore?view=roslyn-dotnet)
* Content Source: [dotnet/xml/Microsoft.CodeAnalysis/SemanticModel.xml](https://github.com/dotnet/roslyn-api-docs/blob/live/dotnet/xml/Microsoft.CodeAnalysis/SemanticModel.xml)
* Product: **dotnet-roslyn-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**
Contributor guide
Assessment
This issue has not been assessed yet.