- 25 8月, 2019 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 22 8月, 2019 1 次提交
-
-
由 AlekseyTs 提交于
Prevent embedding of non-abstract interface members. Closes #35852. Closes #35911.
-
- 15 8月, 2019 2 次提交
-
-
由 Neal Gafter 提交于
Fixes #7398 Fixes #37572 Relates to https://github.com/aspnet/Razor/issues/614 and many other customer accommodations that are no longer needed. History of this bug: When constant folding a long sequence of string concatenations, there is an intermediate constant value for every left-hand operand. So the total memory consumed to compute the whole concatenation was *O(n^2)*. The compiler would simply perform this work and eventually run out of memory, simply crashing with no useful diagnostic. Later, the concatenation implementation was instrumented so it would detect when it was likely to run out of memory soon, and would instead report a diagnostic at the last step. See https://github.com/dotnet/roslyn/commit/f177077665a5bef862014f1898b961d1759c9248. Test `Bug529600()` was added to demonstrate that we produced a diagnostic. However, the compiler still consumed *O(n^2)* memory for the concatenation and this test used to consume so much memory that it would cause other tests running in parallel to fail because they might not have enough memory to succeed. So the test was disabled and eventually removed. The compiler would still crash with programs containing large string concatenations, or consume huge amounts of memory and take a long time before reporting a diagnostic, so the underlying problem had not been addressed. Here we have revised the implementation of constant folding string concatenations so that it requires *O(n)* memory and remove the old instrumentation. As a consequence the test `Bug529600()` now runs very quickly and does not consume gobs of memory.
-
由 Rikki Gibson 提交于
-
- 21 7月, 2019 1 次提交
-
-
由 Andy Gocke 提交于
Fixes #33821
-
- 18 7月, 2019 1 次提交
-
-
由 Charles Stoner 提交于
-
- 16 7月, 2019 1 次提交
-
-
由 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
-
- 15 7月, 2019 1 次提交
-
-
由 Rikki Gibson 提交于
-
- 12 7月, 2019 1 次提交
-
-
由 Andy Gocke 提交于
Fixes #37111
-
- 25 6月, 2019 1 次提交
-
-
由 AlekseyTs 提交于
Support nullable variance in interface and partial method implementation. Closes #35227.
-
- 24 6月, 2019 1 次提交
-
-
- 21 6月, 2019 1 次提交
-
-
- 20 6月, 2019 1 次提交
-
-
由 Rikki Gibson 提交于
* Add optional [warnings | annotations] keyword to nullable directive * pragma warning <setting> nullable -> nullable <setting> warnings * Implement /nowarn:nullable
-
- 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.
-
- 14 6月, 2019 1 次提交
-
-
由 AlekseyTs 提交于
Remove support for explicit `object` generic type constraints
-
- 13 6月, 2019 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 12 6月, 2019 1 次提交
-
-
由 Fredric Silberberg 提交于
Update ??= to convert the result type of the expression to the underlying value type when targetting a nullable value type.
-
- 05 6月, 2019 1 次提交
-
-
由 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.
-
- 24 5月, 2019 1 次提交
-
-
由 AlekseyTs 提交于
Support re-abstraction of interface members in derived interfaces
-
- 21 5月, 2019 1 次提交
-
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/arcade build 20190503.8 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19253.8 * Update dependencies from https://github.com/dotnet/arcade build 20190504.1 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19254.1 * Update dependencies from https://github.com/dotnet/arcade build 20190505.2 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19255.2 * Update dependencies from https://github.com/dotnet/arcade build 20190506.12 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19256.12 * Update dependencies from https://github.com/dotnet/arcade build 20190507.7 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19257.7 * Update dependencies from https://github.com/dotnet/arcade build 20190508.5 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19258.5 * Update dependencies from https://github.com/dotnet/arcade build 20190509.9 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19259.9 * Update dependencies from https://github.com/dotnet/arcade build 20190510.2 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19260.2 * Update dependencies from https://github.com/dotnet/arcade build 20190511.1 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19261.1 * Update dependencies from https://github.com/dotnet/arcade build 20190512.1 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19262.1 * Update dependencies from https://github.com/dotnet/arcade build 20190513.3 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19263.3 * Update dependencies from https://github.com/dotnet/arcade build 20190514.13 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19264.13 * Update dependencies from https://github.com/dotnet/arcade build 20190516.2 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19266.2 * Update dependencies from https://github.com/dotnet/arcade build 20190516.4 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19266.4 * Update dependencies from https://github.com/dotnet/arcade build 20190517.7 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19267.7 * Update dependencies from https://github.com/dotnet/arcade build 20190518.2 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19268.2 * Update dependencies from https://github.com/dotnet/arcade build 20190520.1 - Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19270.1 * Fix up XLF files * Clear AssemblyVersion
-
- 19 5月, 2019 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 13 5月, 2019 1 次提交
-
-
由 David Poeschl 提交于
-
- 10 5月, 2019 1 次提交
-
-
由 Mirek Driml (Moravia IT) 提交于
-
- 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 提交于
Related to #32054.
-
- 03 5月, 2019 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 02 5月, 2019 1 次提交
-
-
由 Neal Gafter 提交于
* Permit stackalloc in nested contexts. (#28969) Fixes #26759
-
- 30 4月, 2019 1 次提交
-
-
由 AlekseyTs 提交于
Make sure nullability mismatch in constraints specified in different partial declarations (types/methods) are properly detected and reported. (#35272) Make sure nullability mismatch in constraints specified in different partial declarations (types/methods) are properly detected and reported. Fixes #30229. Fixes #35179. Implements the following LDM decision: For partial types, the invariant matching from type inference and merging. A mismatch between two non-oblivious candidates produces an error. No warnings are produced. For partial methods, nullability has to match with exception for oblivious and we produce warnings. For the result, we use the implementation signature inside the implementation, and the declaration signature for the callers.
-
- 27 4月, 2019 1 次提交
-
-
由 Neal Gafter 提交于
Fixes #29894
-
- 26 4月, 2019 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 20 4月, 2019 1 次提交
-
-
由 Julien Couvreur 提交于
-
- 17 4月, 2019 3 次提交
-
-
由 AlekseyTs 提交于
Implement `where T: class` and `where T: struct` for overrides and explicit interface implementations. Closes #34798. Closes #29847.
-
由 Tom Meschter 提交于
Restore some resources incorrectly removed from the .xlf files.
-
由 yair halberstadt 提交于
Implement `where T: class` and `where T: struct` for overrides and implementations
-
- 12 4月, 2019 2 次提交
-
-
- 11 4月, 2019 2 次提交
-
-
由 Fredric Silberberg 提交于
Correctly report mismatches in foreach types, and adjust location of the warning to apply to the iteration variable.
-
由 Neal Gafter 提交于
Fixes #33359
-
- 06 4月, 2019 1 次提交
-
-
由 Neal Gafter 提交于
Fixes #34678
-
- 02 4月, 2019 1 次提交
-
-
由 Rikki Gibson 提交于
* Check parser behavior for bad expression property declaration * Make readonly modifiers more strict on accessors to match accessibility behavior * Fix tests * Improve implicit copy warning message. Add compound property assignment test. * Test ErrorCode.ERR_ReadOnlyModMissingAccessor with an indexer * Simplify error message for 'static readonly' members
-