- 18 12月, 2020 4 次提交
-
-
由 Julien Couvreur 提交于
-
由 Huo Yaoyuan 提交于
-
由 Chris Sienkiewicz 提交于
* Correctly handle default and params arguments in cfg for pattern based disposal
-
由 Fred Silberberg 提交于
-
- 16 12月, 2020 1 次提交
-
-
由 Fredric Silberberg 提交于
-
- 15 12月, 2020 2 次提交
-
-
由 Fred Silberberg 提交于
Allow pattern matching `null` against pointer types when the pointer types contain nested type parameters (#49915) The pattern matching codepath for types involving type parameters was not excluding pointer types from being considered value types, and was marking things like `((T*)null) is null` as not being allowed.
-
由 Charles Stoner 提交于
-
- 14 12月, 2020 1 次提交
-
-
由 LingxiaChen 提交于
-
- 11 12月, 2020 7 次提交
-
-
由 LingxiaChen 提交于
-
由 Fred Silberberg 提交于
* Handle types that contain ref-like types in value returns. * Add positive test case Co-authored-by: NJared Parsons <jaredpparsons@gmail.com> * Add additional assert that a compound assignment on a function pointer has a ref-returning signature if it got to local rewriting.
-
由 Rikki Gibson 提交于
-
由 Rikki Gibson 提交于
-
由 Cristiano Suzuki 提交于
-
由 Tomáš Matoušek 提交于
-
由 AlekseyTs 提交于
-
- 10 12月, 2020 2 次提交
-
-
由 Rikki Gibson 提交于
-
由 Charles Stoner 提交于
-
- 09 12月, 2020 4 次提交
-
-
由 Raf (Raffaele Rialdi) 提交于
Added support to normalize accessor list for a property/indexer/event on a single line when there are no accessors with block body. (#49495) The discussion started here: https://github.com/dotnet/roslyn/issues/49468 The work consisted in: - Added support in the SyntaxNormalizer class for the auto-properties (the ones who have null Body property) - Added more tests for properties including init accessor and initializers - Fixed the two existing tests (property and indexer) to reflect the changes The following comparisons shows the results of the actual tests, before and after this PR. ``` Before: class a { b c { get; } } After: class a { b c { get; } } ``` ``` Before: class a { int X { get; set; } = 2; } After: class a { int X { get; set; } = 2; } ``` ``` Before: class a { int Y { get; set; } = 99; } After: class a { int Y { get; set; } = 99; } ``` ``` Before: class a { int Z { get; } } After: class a { int Z { get; } } ``` ``` Before: class a { int T { get; init; } int R { get => 1; } } After: class a { int T { get; init; } int R { get => 1; } } ``` ``` Before: class a { int Q { get { return 0; } init { } } int R { get => 1; } } After: class a { int Q { get { return 0; } init { } } int R { get => 1; } } ``` ``` Before: class a { int R { get => 1; } } After: class a { int R { get => 1; } } ``` ``` Before: class a { int S => 2; } After: class a { int S => 2; } ``` ``` Before: class a { b this[c d] { get; } } After: class a { b this[c d] { get; } } ```
-
由 AlekseyTs 提交于
Ensure that each generic local function gets its own container to cache dynamic call-sites. (#49802) Fixes #49599.
-
-
由 AlekseyTs 提交于
Fixes #49754.
-
- 08 12月, 2020 5 次提交
-
-
由 LingxiaChen 提交于
Refactor the signature of LogDiagnostic as LogDiagnostic(Diagnostic diagnostic, SuppressionInfo? suppressionInfo).
-
由 Chris Sienkiewicz 提交于
-
由 Rikki Gibson 提交于
-
由 Rikki Gibson 提交于
-
由 Fred Silberberg 提交于
-
- 05 12月, 2020 2 次提交
-
-
由 Julien Couvreur 提交于
-
由 Fredric Silberberg 提交于
-
- 04 12月, 2020 1 次提交
-
-
由 Charles Stoner 提交于
* Avoid sharing NullableWalker state between method and nested functions * PR feedback * Check _localFuncVarUsages * Misc. * Code cleanup * Handle try/finally blocks * Check for specific BoundNodes * PR feedback * Remove parameter
-
- 03 12月, 2020 2 次提交
-
-
由 AlekseyTs 提交于
Report an error for an initialization of a ref-returning property as part of an object initializer inside an expression tree. (#49719) Fixes #49617.
-
由 AlekseyTs 提交于
- In product code, when the access part yields non-nullable value, use coalesce expression instead. - In VB lowering, use coalesce expression instead of synthesized Nullable.GetValueOrDefault call under the same conditions when result is also Boolean. Related to #38306.
-
- 02 12月, 2020 4 次提交
-
-
由 Fredric Silberberg 提交于
-
由 Fredric Silberberg 提交于
-
由 Fredric Silberberg 提交于
-
由 Fredric Silberberg 提交于
-
- 27 11月, 2020 1 次提交
-
-
由 AlekseyTs 提交于
AddSynthesizedRecordMembersIfNecessary - avoid touching members that are known to have no effect on the outcome of the function. (#49610) This avoids unnecessary work and fixes #49286.
-
- 25 11月, 2020 1 次提交
-
-
由 Rikki Gibson 提交于
-
- 24 11月, 2020 1 次提交
-
-
由 Manish Vasani 提交于
Address feedback to ensure `/warnaserror-:ID` prevents config options from bumping a warning to an error. Verified that the new test fails for the case `[InlineData(warnAsErrorMinus: true, defaultSeverity: DiagnosticSeverity.Warning, severityInConfigFile: DiagnosticSeverity.Error, expectedEffectiveSeverity: DiagnosticSeverity.Warning)]` prior to the product fix in this commit, as actual effective severity was an error. This is fixed with commit.
-
- 20 11月, 2020 2 次提交
-
-
由 AlekseyTs 提交于
Fixes #49341.
-
由 Fredric Silberberg 提交于
* Encapsulate OperationMapBuilder implementation and expose a single helper method instead of the entire visitor. Additionally cleaned up the implementation to be more idiomatic. * Tightened assertions in the Operation base class and removed uneeded code. * Clarified comments and assertions around the TemporaryBlock scenario.
-