- 26 7月, 2019 1 次提交
-
-
由 Fredric Silberberg 提交于
Merge NullableAnnotation.NotApplicable and Disabled to None, and rename NullableFlowState.NotApplicable to None for consistency.
-
- 25 7月, 2019 4 次提交
-
-
由 Andy Gocke 提交于
Fixes #36091
-
由 Charles Stoner 提交于
Use NullableAnnotation.NotAnnotated always for value type annotations in the public API. Previously, the annotation was NotAnnotated if the type reference was from source and Disabled if the type reference was from metadata. Fixes #34412
-
由 Charles Stoner 提交于
Fixes #37310 Fixes #37279
-
由 Manish Vasani 提交于
-
- 24 7月, 2019 1 次提交
-
-
由 Chris Sienkiewicz 提交于
Fixes #35933
-
- 21 7月, 2019 4 次提交
-
-
由 Andy Gocke 提交于
-
由 Neal Gafter 提交于
Fixes #33685
-
由 Andy Gocke 提交于
Fixes #33821
-
由 Joey Robichaud 提交于
Also adds tests for various editorconfig inheritance/override scenarios
-
- 18 7月, 2019 5 次提交
-
-
由 Manish Vasani 提交于
Co-Authored-By: NSam Harwell <sam@tunnelvisionlabs.com>
-
由 Charles Stoner 提交于
-
-
由 Ivan Basov 提交于
* EnC support of static local functions * code review feedback
-
由 Manish Vasani 提交于
IDE analyzer host invokes [CompilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsAsync](http://source.roslyn.io/#q=CompilationWithAnalyzers.GetAnalyzerSemanticDiagnosticsAsync) APIs to compute open file semantic diagnostics. This PR performs the following optimizations on this code path: 1. `AnalysisState.PerAnalyzerState`: Delay allocations of per-symbol dictionary values stored in `_pendingDeclarations` map until we actually start analyzing the first declaration for the symbol. This avoids unncessary allocation overhead on the dictionary pool from which these dictionaries are allocated. 2. `CompilationWithAnalyzers` and `AnalyzerDriver`: Ensure that we force complete partial type trees only for symbol start analyzer(s) in the original analysis scope for which diagnostics were requested. Our current logic force completed partial tree diagnostics for all analyzers if at least one of the analyzer is a symbol start analyzer, which is always true as IDE already has few symbol start analyzers. Addresses VSO [#922802](https://dev.azure.com/devdiv/DevDiv/_workitems/edit/922802) and [#922837](https://dev.azure.com/devdiv/DevDiv/_workitems/edit/922837)
-
- 17 7月, 2019 5 次提交
-
-
由 Charles Stoner 提交于
-
由 Fred Silberberg 提交于
Adds a public API, `NullableContext GetNullableContext(int position)`, for determining the nullable context at a particular file location, and types supporting that API.
-
由 Tomáš Matoušek 提交于
* Fix EnC debug information emitted for patterns Update calculation of syntax offset to account for a new case when a node (a switch expression) that is associated with a variable, closure or lambda may share start offset with other node of the same kind (`expr switch { … } switch { … }`). Use the offset of the `switch` keyword instead of the starting offset of the expression to disambiguate. Assign ordinals to variables synthesized for storing pattern values across cases. This is required to support complex patterns since we can no longer rely on the type of these variables to be distinct. This will require follow up in the IDE to disallow updating/adding/reordering the case clauses of switch expression which there an active statement is present within the switch statement. If the cases are unmodified the compiler guarantees that the order in which the synthesized variables are generated remains the same, so we can map the variables using their ordinal. Mark all variables synthesized during lowering of switch expression as short-lived. Their lifespan is limited to the switch expression, which does not include a sequence point. Disallow editing methods that contain switch expression. This is necessary until bugs https://github.com/dotnet/roslyn/issues/37232, https://github.com/dotnet/roslyn/issues/37237 are fixed. * Feedback * Update tests
-
由 Andy Gocke 提交于
Will be consumed by tooling to recommend LangVersion
-
由 Rikki Gibson 提交于
* Add all nullable-related warnings to ErrorFacts * Fix test failures and add a bit more coverage
-
- 16 7月, 2019 12 次提交
-
-
由 Julien Couvreur 提交于
-
由 Julien Couvreur 提交于
-
由 Rikki Gibson 提交于
-
由 Tomáš Matoušek 提交于
* Emit tests * Report rude edits for unsupported DIM operations * Allow EnC tests to specify TFMs to build against * EnC: test against netcoreapp30 * Test fixes * Fix merge
-
由 Andy Gocke 提交于
Fixes #36241
-
由 Andy Gocke 提交于
Fixes #37187
-
由 Rikki Gibson 提交于
-
由 Neal Gafter 提交于
Implements https://github.com/dotnet/csharplang/issues/2389 Fixes #35958 Note that the switch expression conversion is not a standard implicit conversion. Specifically, it should not be considered as a valid implicit conversion as input to a user-defined conversion, as that could permit two chained user-defined conversions. Also changes binding of switch expression to ECMA so it can interact properly with switch expressions. Fixes #14965
-
由 Julien Couvreur 提交于
-
由 Fred Kleuver 提交于
-
由 Rikki Gibson 提交于
Resolves #33344
-
由 Neal Gafter 提交于
Relates to #29821 Fixes #34409
-
- 15 7月, 2019 1 次提交
-
-
由 Rikki Gibson 提交于
-
- 14 7月, 2019 1 次提交
-
-
由 Cyrus Najmabadi 提交于
-
- 13 7月, 2019 4 次提交
-
-
由 Julien Couvreur 提交于
-
由 Julien Couvreur 提交于
-
由 Andy Gocke 提交于
Fixes #29819
-
由 Tomáš Matoušek 提交于
* Top-level types enumeration refactoring * Simplify DefinitionMap * Include namespaces in synthesized definition map * Add SynthesizedNamespaceSymbol * Embedded Attributes * Test synthesized attributes * Clean up EnC tests * Clean up symbol matcher tests * Ref readonly return type, in parameter symbol matching tests * Enable using ref readonly returns, in parameters, ref structs during debugging * More tests * ReadOnly struct members * Fix langauge version mismatch * Merge fix ups * Feedback, skip tests
-
- 12 7月, 2019 2 次提交
-
-
由 Charles Stoner 提交于
-
由 Julien Couvreur 提交于
-