roslyn-sdk
roslyn-sdk copied to clipboard
Roslyn-SDK templates and Syntax Visualizer
**Version Used**: 16.6 Preview 5 **Steps to Reproduce**: Unknown steps. This message appeared in the gold bar/activity log: ``` A MEF Component threw an exception at runtime: Microsoft.VisualStudio.Composition.CompositionFailedException: An exception...
Markup strings with overlapping spans do not round-trip correctly through `TestFileMarkupParser.CreateTestFile`. In each of the following cases, `CreateTestFile` needed to use `|#0}` to ensure the markup was correct. https://github.com/dotnet/roslyn-sdk/blob/2a9e34474458e27af413505324fa4efe6d9f613a/tests/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing.UnitTests/MarkupParserTests.cs#L262-L281 https://github.com/dotnet/roslyn-sdk/blob/2a9e34474458e27af413505324fa4efe6d9f613a/tests/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing.UnitTests/MarkupParserTests.cs#L322-L341
This situation appeared in #497. 1. Set up the `TestCode` with input containing markup 2. Set up `FixedCode` with fixed input (no markup or diagnostics) 3. Set up `BatchFixedCode` with...
From @jmarolf in https://github.com/dotnet/roslyn-sdk/pull/478#discussion_r392738957: > should we give the user the option to specify this location? also, when are these resources cleaned up?
Roslyn 1.x packages require the following property to build for .NET Standard: ```xml portable-net45+win8 ``` Currently the reference assembly resolution process does not support this property.
* Descriptor title * Descriptor help link * Descriptor message * Descriptor description * No diagnostics reported on empty inputs It would be helpful to include a meta analyzer to...
Currently it's not possible to assert the placement of annotations (e.g. `RenameAnnotation`, `Simplifier.Annotation`) in the result of code fix application.
From https://github.com/DotNetAnalyzers/StyleCopAnalyzers/pull/2751#pullrequestreview-145622927: > 💭 I don't think this should allow `FixedSources` to have a value. Otherwise this becomes possible with unexpected results: > > ```csharp > new CSharpTest > {...
@sharwell In my github repo in [this](https://github.com/taori/Amusoft.CodeAnalysis.Analyzers/tree/testingframeworkissue) branch and the method `FixCommentsOnClassTests.SimpleRemoval` i ran into an issue with my test case. The ordinary short syntax does not work and it...
I was just writing a test when the test error output printed me the templates diagnostics like `VerifierCS.ACA0004` and i thought that it could be a neat little sdk analyzer...