dotnet / dotnet/dotnet-api-docs

Remarks sections under SemanticModel.cs are not formatted correctly

Open
#3,566 2 comments 0 reactions 0 assignees View on GitHub
dotnet-roslyn-api/prod Pri2 untriaged
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

![image](https://user-images.githubusercontent.com/1007631/50227587-58c0de00-03a6-11e9-941f-3513f3eadfb5.png)

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

![image](https://user-images.githubusercontent.com/1007631/50227666-958cd500-03a6-11e9-9035-f1102c410c3f.png)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.