- 20 6月, 2019 2 次提交
-
-
由 Rikki Gibson 提交于
* Add optional [warnings | annotations] keyword to nullable directive * pragma warning <setting> nullable -> nullable <setting> warnings * Implement /nowarn:nullable
-
由 Charles Stoner 提交于
-
- 19 6月, 2019 1 次提交
-
-
由 Fredric Silberberg 提交于
Move to a different lowering from for nullable value types to work around a bug in TransformCompoundAssignmentLHS. Addressed PR feedback.
-
- 15 6月, 2019 3 次提交
-
-
由 AlekseyTs 提交于
Fixes #36018.
-
由 AlekseyTs 提交于
Replace `dynamic` wih `object` when substituting constraints. Fixes #36276.
-
由 Julien Couvreur 提交于
-
- 14 6月, 2019 1 次提交
-
-
由 AlekseyTs 提交于
Remove support for explicit `object` generic type constraints
-
- 13 6月, 2019 3 次提交
-
-
由 Julien Couvreur 提交于
-
由 Julien Couvreur 提交于
-
由 Chris Sienkiewicz 提交于
* Dont try and check tuple conversions in error cases: - When checking an identity converison, also check for a bound tuple if the type isn't a tuple as we might have a bound tuple with an error type - When checking a tuple conversion, don't GenerateConversion in the error case as we don't have a target type to generate against - Update tests
-
- 09 6月, 2019 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 06 6月, 2019 1 次提交
-
-
由 Chris Sienkiewicz 提交于
* Update implicity declared type expression nullability: - When updating the implicit type in a declaration also update the bound type declaration nullability - Record nullability for inferred foreach variable - Add nullable public api tests - Add nullable tests
-
- 05 6月, 2019 4 次提交
-
-
由 Charles Stoner 提交于
-
由 Rikki Gibson 提交于
* Learn from comparisons to non-constant, non-null values * Update comment * Remove unused local function * Remove another unused local function * Check for null constant before trying to learn from notNull == maybeNull. Add tests * More tests, more cleanup * Add conditional access with || test * More test updates from feedback * Cleanup * Change some locals in tests to parameters
-
由 Charles Stoner 提交于
-
由 AlekseyTs 提交于
Add initial support for 'notnull' generic type constraint. See https://github.com/dotnet/csharplang/blob/master/meetings/2019/LDM-2019-05-15.md Also fixes #36005.
-
- 25 5月, 2019 2 次提交
-
-
由 Chris Sienkiewicz 提交于
* Infer nested nullability for implicitly typed deconstruction variable: - When the left hand side is 'var', re-infer the type from the visited right hand side - Update and add tests
-
由 Rikki Gibson 提交于
* Allow nullable variance for in/out params when converting method group to delegate * Fix diagnostic messages for mismatched out parameter nullable variance * Improve delegate in parameter variance tests * Add IdentityConversion_DelegateInParameter test
-
- 24 5月, 2019 1 次提交
-
-
由 AlekseyTs 提交于
Support re-abstraction of interface members in derived interfaces
-
- 23 5月, 2019 1 次提交
-
-
由 Charles Stoner 提交于
-
- 21 5月, 2019 1 次提交
-
-
由 Charles Stoner 提交于
-
- 19 5月, 2019 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 18 5月, 2019 1 次提交
-
-
由 Charles Stoner 提交于
-
- 17 5月, 2019 1 次提交
-
-
由 Charles Stoner 提交于
-
- 15 5月, 2019 1 次提交
-
-
由 Charles Stoner 提交于
-
- 11 5月, 2019 1 次提交
-
-
由 Charles Stoner 提交于
-
- 10 5月, 2019 3 次提交
-
-
由 Fredric Silberberg 提交于
Refactored parameter names, updated tests, and added assertions for assumptions.
-
由 Fredric Silberberg 提交于
Refactored some common code into a helper and corrected some small nits.
-
由 Fredric Silberberg 提交于
Refactors out ApplyConversion into a more aptly named VisitConversion. Adjusts the parameters to take the node being converted, and optionally the original boundconversion. When the boundconversion is passed it, the calculated nullability is now tracked through nested levels of conversions between the top-level boundconversion and the underlying converted node. Removed TrackInferredTypesThroughConversions, as this is now being handled by VisitConversion. This PR additionally fixes a conversion issue where user-defined conversions that added nullability were not then marking the result type of that conversion as nullable.
-
- 09 5月, 2019 1 次提交
-
-
由 Charles Stoner 提交于
-
- 08 5月, 2019 2 次提交
-
-
由 Julien Couvreur 提交于
-
由 Charles Stoner 提交于
-
- 07 5月, 2019 3 次提交
-
-
由 Charles Stoner 提交于
-
由 Julien Couvreur 提交于
-
由 Chris Sienkiewicz 提交于
* Nullable Deconstruction in foreach loops: - Visit deconstruction in foreach loops, rather than handling it directly - Add tests
-
- 04 5月, 2019 2 次提交
-
-
由 Andy Gocke 提交于
Implements a design change where overrides are allowed to change the type of the member as long as there is an implicit nullable reference conversion from the overriding type to the overridden type according to the nullable variance rules. Fixes #23268 Fixes #30958
-
由 AlekseyTs 提交于
Closes #28834. Closes #30061.
-
- 02 5月, 2019 1 次提交
-
-
由 Neal Gafter 提交于
* Permit stackalloc in nested contexts. (#28969) Fixes #26759
-
- 01 5月, 2019 2 次提交
-
-
由 Neal Gafter 提交于
Fixes #29956 Also introduce a helper `TypeSymbol.IsVoidType()`
-
由 Chris Sienkiewicz 提交于
* Additional Nullability checks for deconstruction: - Check 'this' param for extension deconstruct - Re-infer the argument types for generic extension deconstruct - Update the deconstruction method in instance cases - Update return type with visited arguments - Update tests
-