Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
14 commits
Select commit Hold shift + click to select a range
9129bca
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 15, 2023
5f858dc
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 15, 2023
2133937
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 16, 2023
84da5d6
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 16, 2023
8013838
Use InterceptorsPreviewNamespaces instead of the InterceptorsPreview …
carlossanlop Sep 18, 2023
beb3824
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 18, 2023
0de5fe9
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 18, 2023
1049821
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 18, 2023
52772d9
Bring back removed lines
carlossanlop Sep 18, 2023
b9d9ecc
Add CSharpParseOption InterceptorsPreviewNamespaces feature to Genera…
carlossanlop Sep 18, 2023
4532aa8
Merge branch 'darc-main-77e82062-0d4d-42c2-b30b-45ed46b87d87' of http…
carlossanlop Sep 18, 2023
6013e07
Add TODO comment to remove feature
carlossanlop Sep 18, 2023
b95fdc9
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 19, 2023
c2ab12e
Update dependencies from https://github.com/dotnet/roslyn build 20230…
dotnet-maestro[bot] Sep 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -362,18 +362,18 @@
<Uri>https://github.com/dotnet/runtime-assets</Uri>
<Sha>b7d8e946c831e79435054f65e49c2eebb74b55c6</Sha>
</Dependency>
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.8.0-3.23462.10">
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.8.0-3.23468.4">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>1b7a6f807cb8ce709048debae6b771f4705a697a</Sha>
<Sha>a19fe34b7266ab7638a12c2b54748d89d35a21a7</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis" Version="4.8.0-3.23462.10">
<Dependency Name="Microsoft.CodeAnalysis" Version="4.8.0-3.23468.4">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>1b7a6f807cb8ce709048debae6b771f4705a697a</Sha>
<Sha>a19fe34b7266ab7638a12c2b54748d89d35a21a7</Sha>
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.8.0-3.23462.10">
<Dependency Name="Microsoft.CodeAnalysis.CSharp" Version="4.8.0-3.23468.4">
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>1b7a6f807cb8ce709048debae6b771f4705a697a</Sha>
<Sha>a19fe34b7266ab7638a12c2b54748d89d35a21a7</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0-beta1.23462.3">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
Expand Down
6 changes: 3 additions & 3 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
Any tools that contribute to the design-time experience should use the MicrosoftCodeAnalysisVersion_LatestVS property above to ensure
they do not break the local dev experience.
-->
<MicrosoftCodeAnalysisCSharpVersion>4.8.0-3.23462.10</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftCodeAnalysisVersion>4.8.0-3.23462.10</MicrosoftCodeAnalysisVersion>
<MicrosoftNetCompilersToolsetVersion>4.8.0-3.23462.10</MicrosoftNetCompilersToolsetVersion>
<MicrosoftCodeAnalysisCSharpVersion>4.8.0-3.23468.4</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftCodeAnalysisVersion>4.8.0-3.23468.4</MicrosoftCodeAnalysisVersion>
<MicrosoftNetCompilersToolsetVersion>4.8.0-3.23468.4</MicrosoftNetCompilersToolsetVersion>
</PropertyGroup>
<!--
For source generator support we need to target multiple versions of Roslyn in order to be able to run on older versions of Roslyn.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ private static async Task VerifyAgainstBaselineUsingFile(
IEnumerable<Assembly>? references = null)
{
using var workspace = RoslynTestUtils.CreateTestWorkspace();
CSharpParseOptions parseOptions = new CSharpParseOptions(langVersion).WithFeatures(new[] { new KeyValuePair<string, string>("InterceptorsPreview", "") });
CSharpParseOptions parseOptions = new CSharpParseOptions(langVersion).WithFeatures(new[] {
new KeyValuePair<string, string>("InterceptorsPreview", ""),
new KeyValuePair<string, string>("InterceptorsPreviewNamespaces", "Microsoft.Extensions.Configuration.Binder.SourceGeneration")
});

Project proj = RoslynTestUtils.CreateTestProject(workspace, references ?? s_compilationAssemblyRefs, langVersion: langVersion)
.WithCompilationOptions(new CSharpCompilationOptions(OutputKind.DynamicallyLinkedLibrary).WithNullableContextOptions(NullableContextOptions.Annotations))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<!-- Type not supported; property on type not suppported -->
<NoWarn>SYSLIB1100,SYSLIB1101</NoWarn>
<Features>$(Features);InterceptorsPreview</Features>
<!-- TODO: Remove InterceptorsPreview feature after 8.0 RC2 SDK is used for build -->
<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration</InterceptorsPreviewNamespaces>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFrameworks>$(NetCoreAppCurrent);$(NetCoreAppPrevious);$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
<EnableDefaultItems>true</EnableDefaultItems>
<Features>$(Features);InterceptorsPreview</Features>
<!-- TODO: Remove InterceptorsPreview feature after 8.0 RC2 SDK is used for build -->
<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration</InterceptorsPreviewNamespaces>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
<IsPackable>true</IsPackable>
<PackageDescription>Configuration support for Microsoft.Extensions.Logging.</PackageDescription>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<IncludePlatformAttributes>true</IncludePlatformAttributes>
<IsPackable>true</IsPackable>
<Features>$(Features);InterceptorsPreview</Features>
<!-- TODO: Remove InterceptorsPreview feature after 8.0 RC2 SDK is used for build -->
<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration</InterceptorsPreviewNamespaces>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<PackageDescription>Console logger provider implementation for Microsoft.Extensions.Logging.</PackageDescription>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<TargetFrameworks>$(NetCoreAppCurrent);$(NetFrameworkMinimum)</TargetFrameworks>
<DefineConstants>$(DefineConstants);BUILDING_SOURCE_GENERATOR_TESTS;ROSLYN4_0_OR_GREATER;ROSLYN4_4_OR_GREATER</DefineConstants>
<Features>$(Features);InterceptorsPreview</Features>
<!-- TODO: Remove InterceptorsPreview feature after 8.0 RC2 SDK is used for build -->
<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration</InterceptorsPreviewNamespaces>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
</PropertyGroup>
Expand Down