Skip to content

Support block-bodied members with [Projectable] attribute#152

Merged
PhenX merged 32 commits intomasterfrom
copilot/support-classic-methods-transformation
Mar 1, 2026
Merged

Support block-bodied members with [Projectable] attribute#152
PhenX merged 32 commits intomasterfrom
copilot/support-classic-methods-transformation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 14, 2026

Support block-bodied members with [Projectable] attribute

Source generator now accepts block-bodied members in addition to expression-bodied, transforming supported control flow to expression trees.

For now it is experimental and requires to set AllowBlockBody = true in the Projectables attribute.

Implementation

  • BlockStatementConverter: Transforms block statements to expressions

    • If-else statements → ternary expressions
    • If statements without else → default literal or fallback return
    • Switch statements → nested conditional expressions
    • Local variables → inlined at usage sites (with transitive expansion and parentheses for operator precedence)
    • Preserves semantics through ExpressionSyntaxRewriter pipeline
  • ProjectableInterpreter: Detects method body type (expression vs block) and routes appropriately

  • Diagnostics:

    • EFP0003 warns on unsupported statements (loops, try-catch, etc.)
    • EFP0004 (error) for definite side effects (assignments, ++/--, compound assignments)
    • EFP0005 (warning) for potential side effects (non-projectable method calls)

Example

// Previously required
[Projectable]
public string Level() => Value > 100 ? "High" : Value > 50 ? "Medium" : "Low";

// Now supported
[Projectable]
public string Level()
{
    if (Value > 100)
        return "High";
    else if (Value > 50)
        return "Medium";
    else
        return "Low";
}

Both generate identical SQL:

SELECT CASE
    WHEN [e].[Value] > 100 THEN N'High'
    WHEN [e].[Value] > 50 THEN N'Medium'
    ELSE N'Low'
END

Additional Examples

Switch Statement Support

[Projectable]
public string GetPriority()
{
    switch (Value)
    {
        case 1:
        case 2:
            return "Low";
        case 3:
        case 4:
        case 5:
            return "Medium";
        default:
            return "High";
    }
}

Generates optimized SQL:

SELECT CASE
    WHEN [e].[Value] IN (1, 2) THEN N'Low'
    WHEN [e].[Value] IN (3, 4, 5) THEN N'Medium'
    ELSE N'High'
END

If Without Else Support

// Pattern 1: Implicit default
[Projectable]
public int? GetPremium()
{
    if (IsActive)
        return Value * 2;
    return null;
}

// Pattern 2: Explicit fallback
[Projectable]
public string GetStatus()
{
    if (IsActive)
        return "Active";
    return "Inactive";
}

Supported patterns

  • Simple return statements
  • If-else with else clause
  • If without else clause (using default or fallback return)
  • Nested if-else
  • Switch statements with case labels
  • Switch statements with multiple cases per section
  • Local variable declarations with transitive inlining
  • Complex boolean conditions

Side Effect Detection

The generator now detects and reports specific side effects with precise error messages:

  • Property assignments: Error on exact assignment line
  • Compound assignments (+=, -=, etc.): Error on operator usage
  • Increment/decrement (++, --): Error on operator usage
  • Non-projectable method calls: Warning about potential side effects

See Block-Bodied Methods Documentation for complete details.

Test coverage

  • 12 generator tests for block-bodied syntax transformation
  • 11 functional tests for EF Core SQL generation
  • 4 tests for side effect detection
  • All 209 tests passing across the codebase

Documentation

  • docs/BlockBodiedMethods.md: Complete guide for block-bodied method support (includes side effect detection)
  • README.md: Added FAQ section about block-bodied methods
Original prompt

This section details on the original issue you should resolve

<issue_title>Support "classic" methods (not expression-bodied)</issue_title>
<issue_description>I want to be able to transform methods decorated with [Projectable] that are not expression-bodied to expression trees, because it makes the code easier to understand, that a bunch of ternary operators.

Of course, only a subset of control statements will be supported (like no "new" statements, etc), but the Source Generator has to warn about it when generating source.</issue_description>

<agent_instructions>Make a proof of concept of this, with common examples and test cases</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 14, 2026 11:36
- Created BlockStatementConverter to transform block bodies to expressions
- Added support for simple return statements
- Added support for if-else statements (converted to ternary)
- Added support for local variable declarations (inlined)
- Added diagnostics for unsupported statements (EFP0003)
- Added comprehensive test cases
- Updated existing test that expected block methods to fail

Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
- Created 7 functional tests demonstrating EF Core SQL translation
- Added comprehensive documentation explaining feature, limitations, and benefits
- All 174 tests passing across all projects

Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
Copilot AI changed the title [WIP] Support transformation of classic methods to expression trees Support block-bodied methods in [Projectable] attribute Feb 14, 2026
Copilot AI requested a review from PhenX February 14, 2026 11:45
@PhenX
Copy link
Copy Markdown
Member

PhenX commented Feb 14, 2026

@copilot add support for nested if else, and more complex conditions. support absence of else too.
Add support for switch cases and switch statements using existing transformation for this, if possible.

- Support if statements without else clause (uses default or fallback return)
- Support switch statements (converted to nested conditionals)
- Handle if { return x; } return y; pattern
- Added 5 generator tests and 4 functional tests
- Updated documentation with new features and SQL examples
- All 182 tests passing (84 generator + 76 functional + 22 unit)

Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 14, 2026

@copilot add support for nested if else, and more complex conditions. support absence of else too.
Add support for switch cases and switch statements using existing transformation for this, if possib...

Done! ✅ All requested features implemented in commit 7067bc2:

1. Nested if-else - Already supported, confirmed working
2. Complex conditions - Already supported, confirmed working
3. If without else - Now fully supported in 2 patterns:

  • Single if with implicit default return
  • If followed by explicit fallback return statement

4. Switch statements - Now supported with:

  • Simple case labels
  • Multiple case labels (OR'd together)
  • Default clause
  • Without default (uses default literal)
  • EF Core optimizes multiple cases to SQL IN clauses

Added 9 new tests (5 generator + 4 functional) demonstrating all features. All 182 tests passing.

- Rename test to better reflect implicit return pattern
- Add clarifying comment about control flow in BlockStatementConverter
- All tests still passing

Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds support for block-bodied methods with the [Projectable] attribute, enabling developers to use traditional C# control flow statements instead of expression-bodied methods or nested ternary operators. The source generator now transforms supported block statements (if/else, switch, local variables) into expression trees that can be translated to SQL by Entity Framework Core.

Changes:

  • Introduced BlockStatementConverter class to transform block statements into expression syntax
  • Updated ProjectableInterpreter to detect and route block-bodied methods through the new converter
  • Added EFP0003 diagnostic warning for unsupported statements in block-bodied methods
  • Comprehensive test coverage with 14 generator tests and 11 functional tests verifying correct SQL generation
  • Added detailed documentation in BlockBodiedMethods.md

Reviewed changes

Copilot reviewed 52 out of 52 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/EntityFrameworkCore.Projectables.Generator/BlockStatementConverter.cs New converter class that transforms if/else, switch statements, and local variables into expression trees
src/EntityFrameworkCore.Projectables.Generator/ProjectableInterpreter.cs Integration logic to detect block-bodied methods and route them to BlockStatementConverter
src/EntityFrameworkCore.Projectables.Generator/Diagnostics.cs Added EFP0003 warning diagnostic for unsupported statements
src/EntityFrameworkCore.Projectables.Generator/AnalyzerReleases.Unshipped.md Documentation of new EFP0003 diagnostic
tests/EntityFrameworkCore.Projectables.Generator.Tests/ProjectionExpressionGeneratorTests.cs 14 new generator tests covering various block-bodied patterns and one updated test
tests/EntityFrameworkCore.Projectables.Generator.Tests/*.verified.txt Verified snapshots of generated code for each test case
tests/EntityFrameworkCore.Projectables.FunctionalTests/BlockBodiedMethodTests.cs 11 functional tests verifying SQL generation for different patterns
tests/EntityFrameworkCore.Projectables.FunctionalTests/*.verified.txt Verified SQL output for multiple .NET versions
docs/BlockBodiedMethods.md Comprehensive documentation with examples, limitations, and SQL output samples

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…tion

# Conflicts:
#	tests/EntityFrameworkCore.Projectables.Generator.Tests/ProjectionExpressionGeneratorTests.cs
@PhenX PhenX added this to the v6.0.0 milestone Feb 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 55 out of 55 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PhenX
Copy link
Copy Markdown
Member

PhenX commented Feb 15, 2026

@copilot apply suggested changes and adapt tests

- Add diagnostic for empty block bodies (EFP0003)
- Fix transitive local variable inlining (var a = 1; var b = a + 2; now fully expands)
- Add warning when local variables are used multiple times (semantics preservation)
- Prevent locals in nested blocks from leaking into outer scopes
- Fix documentation to show compilable C# code (no implicit returns)
- Add tests for transitive locals and nested block restrictions
- All 197 tests passing (96 net8.0 + 101 net10.0)

Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 15, 2026

@copilot apply suggested changes and adapt tests

All code review suggestions applied in commit e2b1fad:

Empty block diagnostic - Now reports EFP0003 when block is empty
Transitive local inlining - var a = 1; var b = a + 2; now fully expands to 1 + 2
Multiple usage warning - Warns (EFP0003) when locals are referenced >1 time (semantics preservation)
Nested block locals - Prevents locals in if/switch blocks from leaking (reports diagnostic)
Documentation fix - Replaced invalid implicit return with explicit return null;

Added 2 new tests verifying transitive inlining and nested block restrictions. All 197 tests passing.

Code Review Fixes:
- Use proper type resolution for [Projectable] attribute check (SymbolEqualityComparer)
- Add parentheses when inlining local variables to preserve operator precedence
- Restrict multiple if-without-else pattern to simple return bodies

Documentation Updates:
- Add block-bodied methods FAQ section to README with examples
- Merge SideEffectDetection.md content into BlockBodiedMethods.md
- Remove standalone SideEffectDetection.md file
- Link to BlockBodiedMethods.md from README

All 209 tests passing

Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 16, 2026

@copilot handle suggestions and update readme file with the new feature, with a link to the the new markdown for details. Remove SideEffectDetection.md and add a summary of it in the block bodies meth...

All code review suggestions addressed and documentation updated in commit 8b144b5:

Code Review Fixes:
✅ [Projectable] attribute now uses proper type resolution with SymbolEqualityComparer to avoid false positives
✅ Local variable inlining adds parentheses for non-trivial expressions to preserve operator precedence
✅ Multiple if-without-else pattern now validates each if body is a simple return statement

Documentation Updates:
✅ Added block-bodied methods FAQ section to README with usage examples
✅ Merged SideEffectDetection.md content into BlockBodiedMethods.md
✅ Removed standalone SideEffectDetection.md file
✅ Added link to BlockBodiedMethods.md from README FAQ section

All 209 tests passing.

@PhenX PhenX marked this pull request as ready for review February 17, 2026 13:42
@PhenX PhenX requested a review from koenbeuk February 17, 2026 13:43
@PhenX PhenX changed the title Support block-bodied methods in [Projectable] attribute Support block-bodied members with [Projectable] attribute Feb 18, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 158 out of 158 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 158 out of 158 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@PhenX PhenX merged commit b66b707 into master Mar 1, 2026
4 checks passed
@PhenX PhenX deleted the copilot/support-classic-methods-transformation branch March 8, 2026 08:48
github-merge-queue bot pushed a commit to DFE-Digital/teaching-record-system that referenced this pull request Mar 27, 2026
Updated
[EntityFrameworkCore.Projectables](https://github.com/EFNext/EntityFrameworkCore.Projectables)
from 5.0.2 to 6.0.0.

<details>
<summary>Release notes</summary>

_Sourced from [EntityFrameworkCore.Projectables's
releases](https://github.com/EFNext/EntityFrameworkCore.Projectables/releases)._

## 6.0.0

## What's Changed

### Major changes

* Add support for projectable method overloads by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#143
* Add C#​14 extension members by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#148
* Support explicitly implemented interface members and default interface
properties by @​rhodon-jargon in
EFNext/EntityFrameworkCore.Projectables#135
* Support block-bodied members with [Projectable] attribute by @​Copilot
in EFNext/EntityFrameworkCore.Projectables#152
* Add ExpandEnumMethods to expand enum extension calls into ternary
expressions by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#150
* Add support for pattern matching in various cases by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#158
* Add support for projectable constructors by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#161
* AOT-compatible static projection registry + SyntaxFactory-based
emission by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#166
* Improve UseMemberBody and add new diagnostics by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#174
* Add code fixes for EFP0001, EFP0002 and EFP0008, with tests by @​PhenX
in EFNext/EntityFrameworkCore.Projectables#181
* Add a code fixer and a code refactorer to transform factory methods
into constructors by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#183
* Improve source generator and analyzer responsiveness by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#171
* Docs website by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#194
* Implement global MSBuild defaults for [Projectable] options by
@​koenbeuk in
EFNext/EntityFrameworkCore.Projectables#191

### Other changes

* Check source generator output compilation by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#156
* Fix GetImplementingProperty issue when using interfaces by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#144
* Full qualification not needed anymore by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#157
* Split generator tests in different classes by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#162
* Refactor ExpressionSyntaxRewriter into focused partial class files by
@​Copilot in
EFNext/EntityFrameworkCore.Projectables#163
* Update readme and add new test for constructors by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#165
* Remove obsolete code by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#167
* Add source generator self-benchmark covering all expression
transformers by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#168
* Fix null conditional rewrite generating invalid member access on
nullable value types by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#169
* Improve generator benchmark with more realistic scenario by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#170
* Fix stale incremental generator cache when referenced types change in
other source files by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#172
* Add tests for properties with a getter and setter by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#173
* UseMemberBody more strict with expressions by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#175
* Add custom Copilot instructions by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#177
* Reorganize generator project by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#178
* Add closure resolution benchmark by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#179
* Feature/optimize closures by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#180
* Feature/optimize resolver by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#182
* Update github project urls by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#184
* Update deps by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#185
* Remove obsolete verified files and name net8 files correctly by
@​PhenX in
EFNext/EntityFrameworkCore.Projectables#186
* Remove all allocations when resolving and make it even faster by
@​PhenX in
EFNext/EntityFrameworkCore.Projectables#189
* Add devcontainer configuration for C# (.NET) development by @​koenbeuk
in EFNext/EntityFrameworkCore.Projectables#190

**Full Changelog**:
EFNext/EntityFrameworkCore.Projectables@v5.0.2...v6.0.0

Commits viewable in [compare
view](EFNext/EntityFrameworkCore.Projectables@v5.0.2...v6.0.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=EntityFrameworkCore.Projectables&package-manager=nuget&previous-version=5.0.2&new-version=6.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Gunn <james@gunn.io>
gunndabad added a commit to DFE-Digital/teaching-record-system that referenced this pull request Mar 27, 2026
Updated
[EntityFrameworkCore.Projectables](https://github.com/EFNext/EntityFrameworkCore.Projectables)
from 5.0.2 to 6.0.0.

<details>
<summary>Release notes</summary>

_Sourced from [EntityFrameworkCore.Projectables's
releases](https://github.com/EFNext/EntityFrameworkCore.Projectables/releases)._

## 6.0.0

## What's Changed

### Major changes

* Add support for projectable method overloads by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#143
* Add C#​14 extension members by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#148
* Support explicitly implemented interface members and default interface
properties by @​rhodon-jargon in
EFNext/EntityFrameworkCore.Projectables#135
* Support block-bodied members with [Projectable] attribute by @​Copilot
in EFNext/EntityFrameworkCore.Projectables#152
* Add ExpandEnumMethods to expand enum extension calls into ternary
expressions by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#150
* Add support for pattern matching in various cases by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#158
* Add support for projectable constructors by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#161
* AOT-compatible static projection registry + SyntaxFactory-based
emission by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#166
* Improve UseMemberBody and add new diagnostics by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#174
* Add code fixes for EFP0001, EFP0002 and EFP0008, with tests by @​PhenX
in EFNext/EntityFrameworkCore.Projectables#181
* Add a code fixer and a code refactorer to transform factory methods
into constructors by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#183
* Improve source generator and analyzer responsiveness by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#171
* Docs website by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#194
* Implement global MSBuild defaults for [Projectable] options by
@​koenbeuk in
EFNext/EntityFrameworkCore.Projectables#191

### Other changes

* Check source generator output compilation by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#156
* Fix GetImplementingProperty issue when using interfaces by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#144
* Full qualification not needed anymore by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#157
* Split generator tests in different classes by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#162
* Refactor ExpressionSyntaxRewriter into focused partial class files by
@​Copilot in
EFNext/EntityFrameworkCore.Projectables#163
* Update readme and add new test for constructors by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#165
* Remove obsolete code by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#167
* Add source generator self-benchmark covering all expression
transformers by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#168
* Fix null conditional rewrite generating invalid member access on
nullable value types by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#169
* Improve generator benchmark with more realistic scenario by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#170
* Fix stale incremental generator cache when referenced types change in
other source files by @​Copilot in
EFNext/EntityFrameworkCore.Projectables#172
* Add tests for properties with a getter and setter by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#173
* UseMemberBody more strict with expressions by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#175
* Add custom Copilot instructions by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#177
* Reorganize generator project by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#178
* Add closure resolution benchmark by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#179
* Feature/optimize closures by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#180
* Feature/optimize resolver by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#182
* Update github project urls by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#184
* Update deps by @​PhenX in
EFNext/EntityFrameworkCore.Projectables#185
* Remove obsolete verified files and name net8 files correctly by
@​PhenX in
EFNext/EntityFrameworkCore.Projectables#186
* Remove all allocations when resolving and make it even faster by
@​PhenX in
EFNext/EntityFrameworkCore.Projectables#189
* Add devcontainer configuration for C# (.NET) development by @​koenbeuk
in EFNext/EntityFrameworkCore.Projectables#190

**Full Changelog**:
EFNext/EntityFrameworkCore.Projectables@v5.0.2...v6.0.0

Commits viewable in [compare
view](EFNext/EntityFrameworkCore.Projectables@v5.0.2...v6.0.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=EntityFrameworkCore.Projectables&package-manager=nuget&previous-version=5.0.2&new-version=6.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Gunn <james@gunn.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support "classic" methods (not expression-bodied)

3 participants