Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main to main-vs-deps #58066

Merged
merged 54 commits into from
Dec 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
0677dad
Remove IDE0051 suppression
Youssef1313 Oct 2, 2020
6239a79
Add LayoutKind
Youssef1313 Oct 2, 2020
59ed36a
LayoutKind.Sequential
Youssef1313 Oct 2, 2020
211aee2
Create azure-pipelines-integration-dartlab.yml
bradselw Nov 18, 2021
6dfb240
Update azure-pipelines-integration-dartlab.yml
bradselw Nov 18, 2021
6930441
[Async lightbulb] Move suppression fixes to 'Low' priority bucket
mavasani Sep 30, 2021
e797db7
Cache last project and compilationWithAnalyzers
mavasani Oct 8, 2021
0a2f5d7
Update test as normal priority bucket has one lesser code action
mavasani Nov 8, 2021
4803196
Make shallow checkout optional for integration test CI
JoeRobich Nov 18, 2021
c5f11d5
Move pipeline checkout skips up a layer.
JoeRobich Nov 18, 2021
6fe4509
Look up VS bootstrapper from build
Nov 19, 2021
2dc4985
Merge branch 'dev/jorobich/dartlab' of https://github.com/dotnet/rosl…
Nov 19, 2021
681a61e
Revert skipPipelinesCheckout change
Nov 19, 2021
6bc3308
Comment out checkout: none for now
Nov 19, 2021
a712454
Added matrix
Nov 19, 2021
3f69fd4
Target topic branch in DartLab.Templates
Nov 19, 2021
a50f4ab
Update number of machines to 4
Nov 19, 2021
c7f139c
Run test agent elevated
Nov 19, 2021
99c9c53
Update pipeline description
JoeRobich Nov 23, 2021
1c5a090
Default VS branch to main
JoeRobich Nov 23, 2021
da34e59
Address feedback
mavasani Nov 24, 2021
b5a6079
Exclude unnecessary sqlite assemblies
genlu Nov 24, 2021
ce69a5c
Convert namespace to file scoped when typing semicolon
CyrusNajmabadi Nov 29, 2021
d2b7692
Working on tests
CyrusNajmabadi Nov 29, 2021
5e8d11c
Add tests
CyrusNajmabadi Nov 29, 2021
2eebe11
Add comments
CyrusNajmabadi Nov 29, 2021
856f804
Add comments
CyrusNajmabadi Nov 29, 2021
cee1445
Revert
CyrusNajmabadi Nov 29, 2021
c6d6da4
Revert
CyrusNajmabadi Nov 29, 2021
b336159
Make static
CyrusNajmabadi Nov 29, 2021
4d8f8ab
Add tests
CyrusNajmabadi Nov 29, 2021
51112ed
Pass AnalysisKind instead of int
sharwell Nov 29, 2021
c4b2c21
Merge remote-tracking branch 'upstream/main' into convertNamespaceSem…
CyrusNajmabadi Nov 30, 2021
eb6934a
Honor option, and also improve formatting with comment
CyrusNajmabadi Nov 30, 2021
81ed168
Fix comment
CyrusNajmabadi Nov 30, 2021
bff627e
Add tests
CyrusNajmabadi Nov 30, 2021
c9685f4
Fix await completion for expression body lambda
genlu Nov 30, 2021
8f19149
Add new parser/lexer to the StackTraceAnalyzer (#57598)
ryzngard Dec 1, 2021
bc0cccf
Add comments
mavasani Dec 1, 2021
19d0b05
Merge pull request #58052 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 1, 2021
24a1d4b
Merge pull request #56959 from mavasani/AsyncLightBulb_LowPri
mavasani Dec 1, 2021
aeff023
Make it possible to analyze the dataflow of `ConstructorInitializerSy…
bernd5 Dec 1, 2021
b3d9ef6
Snap 17.1 P2 (#58041)
allisonchou Dec 1, 2021
a801e65
Merge pull request #58003 from CyrusNajmabadi/convertNamespaceSemicolon
CyrusNajmabadi Dec 1, 2021
0ce9a49
Add new parser/lexer to the StackTraceAnalyzer (#57598) (#58050)
ryzngard Dec 1, 2021
f17419c
Read SourceLink info and call service to retrieve source from there (…
davidwengier Dec 1, 2021
124f193
Merge pull request #58017 from sharwell/analysis-kind
sharwell Dec 1, 2021
c4512d5
Merge pull request #57953 from dotnet/dev/jorobich/dartlab
JoeRobich Dec 1, 2021
7fbc3fc
Merge pull request #57977 from genlu/CoreLayout
JoeRobich Dec 1, 2021
8b71240
Merge pull request #58042 from genlu/AwaitCompletionFix
genlu Dec 2, 2021
8a92d8a
Merge pull request #58061 from dotnet/merges/release/dev17.1-to-main
dotnet-bot Dec 2, 2021
6493157
Merge pull request #48245 from Youssef1313/patch-42
sharwell Dec 2, 2021
0b2c30d
Merge pull request #58100 from dotnet/dev/jorobich/skip-test
JoeRobich Dec 3, 2021
ed33286
Fix merge conflicts
allisonchou Dec 4, 2021
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
62 changes: 62 additions & 0 deletions azure-pipelines-integration-dartlab.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Roslyn integration test pipeline for validating against branch builds of VS.

trigger: none # Manual trigger for now

resources:
pipelines:
- pipeline: VisualStudioBuildUnderTest
source: DD-CB-ReleaseVS
branch: main
- pipeline: DartLab
source: DartLab
branch: main
repositories:
- repository: DartLabTemplates
type: git
name: DartLab.Templates
ref: refs/heads/dev/bradwhit/RemoveCheckoutNone

variables:
- name: XUNIT_LOGS
value: $(Build.SourcesDirectory)\artifacts\log\$(_configuration)

stages:
- template: \stages\visual-studio\base.yml@DartLabTemplates
parameters:
displayName: VS Integration
testLabPoolName: VS-Platform2
visualStudioBootstrapperURI: https://vsdrop.corp.microsoft.com/file/v1/$(VisualStudio.BuildUnderTest.ProductsDropName);bootstrappers/Enterprise/vs_enterprise.exe
visualStudioInstallationParameters: --add Microsoft.VisualStudio.Component.NuGet --add Microsoft.VisualStudio.Component.Roslyn.Compiler --add Microsoft.Component.MSBuild --add Microsoft.NetCore.Component.Runtime.6.0 --add Microsoft.NetCore.Component.SDK --add Microsoft.Net.Component.4.7.2.TargetingPack --add Microsoft.VisualStudio.Component.Roslyn.LanguageServices --add Microsoft.VisualStudio.Component.FSharp --add Microsoft.ComponentGroup.ClickOnce.Publish --add Microsoft.NetCore.Component.DevelopmentTools --add Microsoft.VisualStudio.Component.MSODBC.SQL --add Microsoft.VisualStudio.Component.MSSQL.CMDLnUtils --add Microsoft.VisualStudio.Component.SQL.LocalDB.Runtime --add Microsoft.VisualStudio.Component.SQL.CLR --add Microsoft.VisualStudio.Component.CoreEditor --add Microsoft.VisualStudio.Workload.CoreEditor --add Microsoft.Net.Component.4.8.SDK --add Microsoft.Net.ComponentGroup.DevelopmentPrerequisites --add Microsoft.VisualStudio.Component.TypeScript.TSServer --add Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions --add Microsoft.VisualStudio.Component.JavaScript.TypeScript --add Microsoft.VisualStudio.Component.JavaScript.Diagnostics --add Microsoft.VisualStudio.Component.TextTemplating --add Component.Microsoft.VisualStudio.RazorExtension --add Microsoft.VisualStudio.Component.IISExpress --add Microsoft.VisualStudio.Component.Common.Azure.Tools --add Microsoft.Component.ClickOnce --add Microsoft.VisualStudio.Component.ManagedDesktop.Core --add Microsoft.VisualStudio.Component.SQL.SSDT --add Microsoft.VisualStudio.Component.SQL.DataSources --add Component.Microsoft.Web.LibraryManager --add Component.Microsoft.WebTools.BrowserLink.WebLivePreview --add Microsoft.VisualStudio.ComponentGroup.Web --add Microsoft.VisualStudio.Component.FSharp.WebTemplates --add Microsoft.VisualStudio.Component.DockerTools --add Microsoft.NetCore.Component.Web --add Microsoft.VisualStudio.Component.WebDeploy --add Microsoft.VisualStudio.Component.AppInsights.Tools --add Microsoft.VisualStudio.Component.Web --add Microsoft.Net.Component.4.8.TargetingPack --add Microsoft.Net.ComponentGroup.4.8.DeveloperTools --add Microsoft.VisualStudio.Component.AspNet45 --add Microsoft.VisualStudio.Component.AspNet --add Component.Microsoft.VisualStudio.Web.AzureFunctions --add Microsoft.VisualStudio.ComponentGroup.AzureFunctions --add Microsoft.VisualStudio.Component.Debugger.Snapshot --add Microsoft.VisualStudio.ComponentGroup.Web.CloudTools --add Microsoft.VisualStudio.Component.IntelliTrace.FrontEnd --add Microsoft.VisualStudio.Component.DiagnosticTools --add Microsoft.VisualStudio.Component.EntityFramework --add Microsoft.VisualStudio.Component.LiveUnitTesting --add Microsoft.VisualStudio.Component.Debugger.JustInTime --add Component.Microsoft.VisualStudio.LiveShare.2022 --add Microsoft.VisualStudio.Component.WslDebugging --add Microsoft.VisualStudio.Component.IntelliCode --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites --add Microsoft.ComponentGroup.Blend --add Microsoft.VisualStudio.Component.DotNetModelBuilder --add Microsoft.VisualStudio.Component.FSharp.Desktop --add Microsoft.VisualStudio.Component.PortableLibrary --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.Net.Component.4.6.TargetingPack --add Microsoft.VisualStudio.Component.VSSDK --add Microsoft.VisualStudio.ComponentGroup.VisualStudioExtension.Prerequisites --add Microsoft.Component.CodeAnalysis.SDK --add Microsoft.VisualStudio.Workload.VisualStudioExtension --installPath "C:\Test\VisualStudio" --quiet --norestart --wait
testExecutionJobStrategy:
maxParallel: 4
matrix:
debug_32:
_configuration: Debug
_oop64bit: false
debug_64:
_configuration: Debug
_oop64bit: true
release_32:
_configuration: Release
_oop64bit: false
release_64:
_configuration: Release
_oop64bit: true
testMachineTotalCount: 4
testAgentElevated: true
preTestMachineConfigurationStepList:
- checkout: none
- download: VisualStudioBuildUnderTest
- task: PowerShell@2
name: SetProductsDropName
displayName: Set 'VisualStudio.BuildUnderTest.ProductsDropName'
inputs:
filePath: $(DartLab.Path)\Scripts\VisualStudio\Build\Get-VisualStudioDropName.ps1
arguments: -DropNamePrefix 'Products' -VstsDropUrlsJson '$(Pipeline.Workspace)\VisualStudioBuildUnderTest\BuildArtifacts\VstsDropUrls.json' -OutVariableName 'VisualStudio.BuildUnderTest.ProductsDropName'
deployAndRunTestsStepList:
- template: eng/pipelines/test-integration-job.yml
parameters:
configuration: $(_configuration)
oop64bit: $(_oop64bit)
lspEditor: false
shallowCheckout: false
3 changes: 2 additions & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<MajorVersion>4</MajorVersion>
<MinorVersion>1</MinorVersion>
<PatchVersion>0</PatchVersion>
<PreReleaseVersionLabel>2</PreReleaseVersionLabel>
<PreReleaseVersionLabel>3</PreReleaseVersionLabel>
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
<!--
By default the assembly version in official builds is "$(MajorVersion).$(MinorVersion).0.0".
Expand Down Expand Up @@ -124,6 +124,7 @@
<MicrosoftPortableTargetsVersion>0.1.2-dev</MicrosoftPortableTargetsVersion>
<MicrosoftServiceHubClientVersion>3.1.4</MicrosoftServiceHubClientVersion>
<MicrosoftServiceHubFrameworkVersion>3.1.4</MicrosoftServiceHubFrameworkVersion>
<MicrosoftSourceLinkToolsVersion>1.1.1-beta-21566-01</MicrosoftSourceLinkToolsVersion>
<MicrosoftVisualBasicVersion>10.1.0</MicrosoftVisualBasicVersion>
<MicrosoftVisualStudioCacheVersion>17.0.13-alpha</MicrosoftVisualStudioCacheVersion>
<MicrosoftVisualStudioCallHierarchyPackageDefinitionsVersion>15.8.27812-alpha</MicrosoftVisualStudioCallHierarchyPackageDefinitionsVersion>
Expand Down
8 changes: 4 additions & 4 deletions eng/config/PublishData.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@
"version": "4.1.*",
"packageFeeds": "default",
"channels": [],
"vsBranch": "rel/d17.1",
"vsBranch": "main",
"vsMajorVersion": 17,
"insertionTitlePrefix": "[d17.1p1]"
"insertionTitlePrefix": "[d17.1p2]"
},
"main-vs-deps": {
"nugetKind": [
Expand All @@ -222,8 +222,8 @@
"channels": [],
"vsBranch": "main",
"vsMajorVersion": 17,
"insertionCreateDraftPR": false,
"insertionTitlePrefix": "[d17.1p2]"
"insertionCreateDraftPR": true,
"insertionTitlePrefix": "[d17.1p3]"
},
"main": {
"nugetKind": [
Expand Down
6 changes: 5 additions & 1 deletion eng/pipelines/test-integration-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ parameters:
- name: lspEditor
type: string
default: false
- name: shallowCheckout
type: boolean
default: true

steps:
- template: checkout-windows-task.yml
- ${{ if eq(parameters.shallowCheckout, true) }}:
- template: checkout-windows-task.yml

- task: PowerShell@2
displayName: Build and Test
Expand Down
1 change: 1 addition & 0 deletions eng/targets/Services.props
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<ServiceHubService Include="Microsoft.VisualStudio.LanguageServices.UnusedReferenceAnalysis" ClassName="Microsoft.CodeAnalysis.Remote.RemoteUnusedReferenceAnalysisService+Factory" />
<ServiceHubService Include="Microsoft.VisualStudio.LanguageServices.ProcessTelemetry" ClassName="Microsoft.CodeAnalysis.Remote.RemoteProcessTelemetryService+Factory" />
<ServiceHubService Include="Microsoft.VisualStudio.LanguageServices.CompilationAvailable" ClassName="Microsoft.CodeAnalysis.Remote.RemoteCompilationAvailableService+Factory" />
<ServiceHubService Include="Microsoft.VisualStudio.LanguageServices.StackTraceExplorer" ClassName="Microsoft.CodeAnalysis.Remote.Services.StackTraceExplorer.RemoteStackTraceExplorerService+Factory" />
</ItemGroup>

<!--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,22 @@ public static bool CanOfferUseBlockScoped(OptionSet optionSet, BaseNamespaceDecl
}

internal static bool CanOfferUseFileScoped(OptionSet optionSet, CompilationUnitSyntax root, BaseNamespaceDeclarationSyntax declaration, bool forAnalyzer)
=> CanOfferUseFileScoped(optionSet, root, declaration, forAnalyzer, ((CSharpParseOptions)root.SyntaxTree.Options).LanguageVersion);

internal static bool CanOfferUseFileScoped(
OptionSet optionSet,
CompilationUnitSyntax root,
BaseNamespaceDeclarationSyntax declaration,
bool forAnalyzer,
LanguageVersion version)
{
if (declaration is not NamespaceDeclarationSyntax namespaceDeclaration)
return false;

if (namespaceDeclaration.OpenBraceToken.IsMissing)
return false;

if (((CSharpParseOptions)root.SyntaxTree.Options).LanguageVersion < LanguageVersion.CSharp10)
if (version < LanguageVersion.CSharp10)
return false;

var option = optionSet.GetOption(CSharpCodeStyleOptions.NamespaceDeclarations);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,25 @@ private static FileScopedNamespaceDeclarationSyntax ConvertNamespaceDeclaration(
{
// We move leading and trailing trivia on the open brace to just be trailing trivia on the semicolon, so we preserve
// comments etc. logically at the top of the file.
var semiColon = SyntaxFactory.Token(SyntaxKind.SemicolonToken)
.WithTrailingTrivia(namespaceDeclaration.OpenBraceToken.LeadingTrivia)
.WithAppendedTrailingTrivia(namespaceDeclaration.OpenBraceToken.TrailingTrivia);
var semiColon = SyntaxFactory.Token(SyntaxKind.SemicolonToken);

if (namespaceDeclaration.Name.GetTrailingTrivia().Any(t => t.IsSingleOrMultiLineComment()))
{
semiColon = semiColon.WithTrailingTrivia(namespaceDeclaration.Name.GetTrailingTrivia())
.WithAppendedTrailingTrivia(namespaceDeclaration.OpenBraceToken.LeadingTrivia);
}
else
{
semiColon = semiColon.WithTrailingTrivia(namespaceDeclaration.OpenBraceToken.LeadingTrivia);
}

semiColon = semiColon.WithAppendedTrailingTrivia(namespaceDeclaration.OpenBraceToken.TrailingTrivia);

var fileScopedNamespace = SyntaxFactory.FileScopedNamespaceDeclaration(
namespaceDeclaration.AttributeLists,
namespaceDeclaration.Modifiers,
namespaceDeclaration.NamespaceKeyword,
namespaceDeclaration.Name,
namespaceDeclaration.Name.WithoutTrailingTrivia(),
semiColon,
namespaceDeclaration.Externs,
namespaceDeclaration.Usings,
Expand Down
20 changes: 19 additions & 1 deletion src/Compilers/CSharp/Portable/CSharpExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,25 @@ public static AwaitExpressionInfo GetAwaitExpressionInfo(this SemanticModel? sem
}

/// <summary>
/// Analyze data-flow within an expression.
/// Analyze data-flow within a <see cref="ConstructorInitializerSyntax"/>.
/// </summary>
public static DataFlowAnalysis? AnalyzeDataFlow(this SemanticModel? semanticModel, ConstructorInitializerSyntax constructorInitializer)
{
var csmodel = semanticModel as CSharpSemanticModel;
return csmodel?.AnalyzeDataFlow(constructorInitializer);
}

/// <summary>
/// Analyze data-flow within a <see cref="PrimaryConstructorBaseTypeSyntax.ArgumentList"/> initializer.
/// </summary>
public static DataFlowAnalysis? AnalyzeDataFlow(this SemanticModel? semanticModel, PrimaryConstructorBaseTypeSyntax primaryConstructorBaseType)
{
var csmodel = semanticModel as CSharpSemanticModel;
return csmodel?.AnalyzeDataFlow(primaryConstructorBaseType);
}

/// <summary>
/// Analyze data-flow within an <see cref="ExpressionSyntax"/>.
/// </summary>
public static DataFlowAnalysis? AnalyzeDataFlow(this SemanticModel? semanticModel, ExpressionSyntax expression)
{
Expand Down
30 changes: 28 additions & 2 deletions src/Compilers/CSharp/Portable/Compilation/CSharpSemanticModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2412,7 +2412,29 @@ public virtual ControlFlowAnalysis AnalyzeControlFlow(StatementSyntax statement)
}

/// <summary>
/// Analyze data-flow within an expression.
/// Analyze data-flow within an <see cref="ConstructorInitializerSyntax"/>.
/// </summary>
/// <param name="constructorInitializer">The ctor-init within the associated SyntaxTree to analyze.</param>
/// <returns>An object that can be used to obtain the result of the data flow analysis.</returns>
public virtual DataFlowAnalysis AnalyzeDataFlow(ConstructorInitializerSyntax constructorInitializer)
{
// Only supported on a SyntaxTreeSemanticModel.
throw new NotSupportedException();
}

/// <summary>
/// Analyze data-flow within an <see cref="PrimaryConstructorBaseTypeSyntax.ArgumentList"/>.
/// </summary>
/// <param name="primaryConstructorBaseType">The node within the associated SyntaxTree to analyze.</param>
/// <returns>An object that can be used to obtain the result of the data flow analysis.</returns>
public virtual DataFlowAnalysis AnalyzeDataFlow(PrimaryConstructorBaseTypeSyntax primaryConstructorBaseType)
{
// Only supported on a SyntaxTreeSemanticModel.
throw new NotSupportedException();
}

/// <summary>
/// Analyze data-flow within an <see cref="ExpressionSyntax"/>.
/// </summary>
/// <param name="expression">The expression within the associated SyntaxTree to analyze.</param>
/// <returns>An object that can be used to obtain the result of the data flow analysis.</returns>
Expand Down Expand Up @@ -5236,8 +5258,12 @@ protected sealed override DataFlowAnalysis AnalyzeDataFlowCore(SyntaxNode statem
return this.AnalyzeDataFlow(statementSyntax);
case ExpressionSyntax expressionSyntax:
return this.AnalyzeDataFlow(expressionSyntax);
case ConstructorInitializerSyntax constructorInitializer:
return this.AnalyzeDataFlow(constructorInitializer);
case PrimaryConstructorBaseTypeSyntax primaryConstructorBaseType:
return this.AnalyzeDataFlow(primaryConstructorBaseType);
default:
throw new ArgumentException("statementOrExpression is not a StatementSyntax or an ExpressionSyntax.");
throw new ArgumentException("statementOrExpression is not a StatementSyntax or an ExpressionSyntax or a ConstructorInitializerSyntax or a PrimaryConstructorBaseTypeSyntax.");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2264,6 +2264,40 @@ public override DataFlowAnalysis AnalyzeDataFlow(ExpressionSyntax expression)
return result;
}

public override DataFlowAnalysis AnalyzeDataFlow(ConstructorInitializerSyntax constructorInitializer)
{
if (constructorInitializer == null)
{
throw new ArgumentNullException(nameof(constructorInitializer));
}

if (!IsInTree(constructorInitializer))
{
throw new ArgumentException("node not within tree");
}

var context = RegionAnalysisContext(constructorInitializer);
var result = new CSharpDataFlowAnalysis(context);
return result;
}

public override DataFlowAnalysis AnalyzeDataFlow(PrimaryConstructorBaseTypeSyntax primaryConstructorBaseType)
{
if (primaryConstructorBaseType == null)
{
throw new ArgumentNullException(nameof(primaryConstructorBaseType));
}

if (!IsInTree(primaryConstructorBaseType))
{
throw new ArgumentException("node not within tree");
}

var context = RegionAnalysisContext(primaryConstructorBaseType);
var result = new CSharpDataFlowAnalysis(context);
return result;
}

public override DataFlowAnalysis AnalyzeDataFlow(StatementSyntax firstStatement, StatementSyntax lastStatement)
{
ValidateStatementRange(firstStatement, lastStatement);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ private RegionAnalysisContext RegionAnalysisContext(ExpressionSyntax expression)
while (expression.Kind() == SyntaxKind.ParenthesizedExpression)
expression = ((ParenthesizedExpressionSyntax)expression).Expression;

return RegionAnalysisContext((CSharpSyntaxNode)expression);
}

private RegionAnalysisContext RegionAnalysisContext(CSharpSyntaxNode expression)
{
var memberModel = GetMemberModel(expression);
if (memberModel == null)
{
Expand Down
2 changes: 2 additions & 0 deletions src/Compilers/CSharp/Portable/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ override Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSynt
override Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax.Name.get -> Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax
override Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax.NamespaceKeyword.get -> Microsoft.CodeAnalysis.SyntaxToken
override Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax.Usings.get -> Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.UsingDirectiveSyntax>
static Microsoft.CodeAnalysis.CSharp.CSharpExtensions.AnalyzeDataFlow(this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorInitializerSyntax constructorInitializer) -> Microsoft.CodeAnalysis.DataFlowAnalysis
static Microsoft.CodeAnalysis.CSharp.CSharpExtensions.AnalyzeDataFlow(this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.PrimaryConstructorBaseTypeSyntax primaryConstructorBaseType) -> Microsoft.CodeAnalysis.DataFlowAnalysis
override Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax.Accept(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor visitor) -> void
override Microsoft.CodeAnalysis.CSharp.Syntax.SlicePatternSyntax.Accept<TResult>(Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor<TResult> visitor) -> TResult
static Microsoft.CodeAnalysis.CSharp.CSharpExtensions.GetDeclaredSymbol(this Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.FileScopedNamespaceDeclarationSyntax declarationSyntax, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) -> Microsoft.CodeAnalysis.INamespaceSymbol
Expand Down
4 changes: 3 additions & 1 deletion src/Compilers/CSharp/Test/CommandLine/CommandLineTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,9 @@ public void ModuleManifest()
Assert.Equal("blah", args.Win32Manifest);
}

[Fact]
// The following test is failing in the Linux Debug test leg of CI.
// This issus is being tracked by https://github.com/dotnet/roslyn/issues/58077
[ConditionalFact(typeof(WindowsOrMacOSOnly))]
public void ArgumentParsing()
{
var sdkDirectory = SdkDirectory;
Expand Down
Loading