- 29 2月, 2020 2 次提交
-
-
由 Cyrus Najmabadi 提交于
-
由 Cyrus Najmabadi 提交于
-
- 28 2月, 2020 4 次提交
-
-
由 Manish Vasani 提交于
Split `ISyntaxKindsService` into two parts: 1. `ISyntaxKinds`: Pure data query interface, which already exists in CompilerExtensions shared project and can be used by analyzers. 2. `ISyntaxKindsService`: The `ILangaugeService` implementation of `ISyntaxKinds` Above split ensures that we can move the `ISyntaxKindsService` language service implementation down to the WorkspaceExtensions project, which in turn ensures that `GetLanguageService<ISyntaxKindsService>` will always succeed in our entire code base. This is currently not true in CodeStyle fixes layer due to the fact that the language service implementation is defined in Workspaces.csproj
-
由 Sam Harwell 提交于
-
由 Sam Harwell 提交于
-
由 Manish Vasani 提交于
Split ISyntaxFactsService into two parts: 1. `ISyntaxFacts`: Pure data interface to query about syntactic facts. This is moved to CompilerExtensions shared project and can be used by analyzers. 2. `ISyntaxFactsService`: Derives from ISyntaxFacts and ILanguageService and is present in the WorkspaceExtensions shared project. This enables Code fixes and Workspaces layer to access the same functionality via a language service, i.e. `GetLanguageService<ISyntaxFactsService>`. Note that we cannot use a partial declaration for `ISyntaxFactsService` instead of `ISyntaxFacts`. This causes `ISyntaxFacts` to be defined in both the CodeStyle analyzer and CodeStyle fixer assembly (former imports CompilerExtensions and latter imports WorkspaceExtensions), which leads to type conflicts. We also cannot follow the approach taken for `ISyntaxKindsSevice` as it defines the second partial declaration `ISyntaxKindsSevice` which sub-types `ILanguageService` in Workspaces project, leading to the language service not being defined in CodeStyle fixer assembly, which will cause any code fix requesting `GetLanguageService<ISyntaxKindsService>` to fail. The only feasible approach for us to have the functionality available in shared analyzer layer is to split out the pure data query part of the service to a separate type, as done in this PR. I will send a follow-up PR to also split `ISyntaxKindsService` similarly. Hoepfully, these two are the only language services that are commonly used by our analyzers, and we will not require any more such splits.
-
- 27 2月, 2020 4 次提交
-
-
由 Tomáš Matoušek 提交于
* ProjectInfo argument validation * Clean up usage of ToImmutableReadOnlyListOrEmpty * Reorder With- methods * Clean up DocumentInfo and SolutionInfo * Renames * Correct nullability * Add more tests * Fix generator NRE * Rmeove unnecessary checks, dead code * Add more list tests, share test helpers
-
由 Cyrus Najmabadi 提交于
-
由 Cyrus Najmabadi 提交于
-
由 Cyrus Najmabadi 提交于
-
- 26 2月, 2020 2 次提交
-
-
由 Cyrus Najmabadi 提交于
-
由 Cyrus Najmabadi 提交于
-
- 25 2月, 2020 10 次提交
-
-
由 David Barbet 提交于
-
由 Charles Stoner 提交于
Fixes #41702
-
由 Jason Malinowski 提交于
-
由 Jason Malinowski 提交于
-
由 Jason Malinowski 提交于
-
由 Jason Malinowski 提交于
-
-
由 Jason Malinowski 提交于
CheckContainsProject asserts the project exists, no need to duplicate it.
-
由 Jason Malinowski 提交于
The implementation in SolutionState.RemoveDocumentsFromMultipleProjects is heavily inspired (i.e. copy/pasted and tweaked appropriately) from AddDocumentsToMultipleProjects.
-
由 Jason Malinowski 提交于
This base type doesn't really make things "simpler" if the uses still have static readonly lambdas. It may reduce things by a few lines of code but that's not really simpler.
-
- 22 2月, 2020 6 次提交
-
-
由 Sam Harwell 提交于
-
由 Artur Spychaj 提交于
-
由 Artur Spychaj 提交于
-
由 Artur Spychaj 提交于
-
由 David Barbet 提交于
-
由 Sam Harwell 提交于
-
- 21 2月, 2020 3 次提交
-
-
由 Sam Harwell 提交于
* CodeStyle+Workspaces -> CompilerExtensions * CodeStyle+Features -> Analyzers * CodeStyleFixes+Workspaces -> WorkspaceExtensions * CodeStyleFixes+Features -> CodeFixes
-
由 Joey Robichaud 提交于
-
由 Joey Robichaud 提交于
-
- 20 2月, 2020 1 次提交
-
-
由 Sam Harwell 提交于
-
- 19 2月, 2020 2 次提交
-
-
由 Manish Vasani 提交于
Extracted from #41363 Third follow-up item from #41462 Apart from adding resx files, changes also include: 1. Moving resource strings duplicated across Workspaces and CodeStyle layer into the shared resx files 2. Source file changes to use the resource strings from the shared resx. We should no longer require use of `#if CODE_STYLE` in the shared layer for the purpose of resource strings.
-
由 Tomáš Matoušek 提交于
* Clean up string resources, use Arcade resx generator * CodeLens resources * Use NET20 instead of NETFX20
-
- 15 2月, 2020 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 14 2月, 2020 1 次提交
-
-
由 Joey Robichaud 提交于
-
- 13 2月, 2020 2 次提交
-
-
-
由 Cyrus Najmabadi 提交于
-
- 12 2月, 2020 2 次提交
-
-
由 Joey Robichaud 提交于
-
由 Jason Malinowski 提交于
We suppressed these because we were on the .NET Portable profile and thus couldn't do the anything else. We're no longer on the portable profile.
-