Skip to content

Conversation

@JoeRobich
Copy link
Member

No description provided.

{
var environment = new OmniSharpEnvironment(path, logLevel: LogLevel.Trace);
var serviceProvider = TestServiceProvider.Create(this.TestOutput, environment, this.LoggerFactory, _assemblyLoader, _analyzerAssemblyLoader, _msbuildLocator,
var serviceProvider = TestServiceProvider.Create(this.TestOutput, environment, this.LoggerFactory, _assemblyLoader, ShadowCopyAnalyzerAssemblyLoader.CreateShadowCopyLoader(), _msbuildLocator,
Copy link
Member Author

Choose a reason for hiding this comment

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

We can no longer use one assembly loader for all the test runs because it now gets disposed with the other test services. See dotnet/roslyn#74845

var msbuildLocator = CreateMSBuildLocator(loggerFactory, assemblyLoader, configurationData);
var sharedTextWriter = CreateSharedTextWriter(testOutput);
var analyzerAssemblyLoader = ShadowCopyAnalyzerAssemblyLoader.Instance;
var analyzerAssemblyLoader = ShadowCopyAnalyzerAssemblyLoader.CreateShadowCopyLoader();
Copy link
Member Author

Choose a reason for hiding this comment

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

Another case where tests cannot share the same assembly loader.

FileName = testFile.FileName,
Buffer = testFile.Content.Code,
Identifier = "False;False;True:global::IFoo;AssemblyName;Microsoft.CodeAnalysis.ImplementInterface.AbstractImplementInterfaceService+ImplementInterfaceCodeAction;",
Identifier = "False;False;True:global::IFoo;Microsoft.CodeAnalysis.ImplementInterface.AbstractImplementInterfaceService+ImplementInterfaceCodeAction;",
Copy link
Member Author

Choose a reason for hiding this comment

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

Assembly Name removed in dotnet/roslyn@9c8c21f

String("\"hello\""),
Punctuation(";"),
Keyword("await"),
ControlKeyword("await"),
Copy link
Member Author

Choose a reason for hiding this comment

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

Changed in dotnet/roslyn#75782

public string PropertyHere { get; set; }
}";
var response = await RunRefactoringAsync(code, "Generate constructor...");
var response = await RunRefactoringAsync(code, "Generate constructor from members...");
Copy link
Member Author

Choose a reason for hiding this comment

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

Changed in dotnet/roslyn#76328

private const string RuntimeMetadataReferenceResolverType = "Microsoft.CodeAnalysis.Scripting.Hosting.RuntimeMetadataReferenceResolver";
private const string ResolverField = "_resolver";
private const string FileReferenceProviderField = "_fileReferenceProvider";
private const string CreateFromFileFuncField = "_createFromFileFunc";
Copy link
Member Author

Choose a reason for hiding this comment

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

Changed in dotnet/roslyn#75372

@JoeRobich JoeRobich changed the title Update Roslyn to 4.13.0-1.24477.2 Update Roslyn to 4.13.0-3.24619.11 Dec 20, 2024
@JoeRobich JoeRobich changed the title Update Roslyn to 4.13.0-3.24619.11 Update Roslyn to 4.13.0-3.24620.4 Dec 20, 2024
matrix:
os: [ubuntu-20.04, windows-2022, macos-12]
name: 'Build'
os: [ubuntu-20.04, windows-2022, macos-13]
Copy link
Member Author

Choose a reason for hiding this comment

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

I tried moving us to macos-14 but ran into OOM when publishing with ReadyToRun enabled. The arm64 MacOS runners only have 7GB of RAM as opposed to the other platforms having 14GB or more.

@JoeRobich JoeRobich marked this pull request as ready for review December 31, 2024 00:26
@JoeRobich JoeRobich merged commit 606e1f3 into master Dec 31, 2024
16 checks passed
@JoeRobich JoeRobich deleted the update-roslyn-4.13.x branch December 31, 2024 00:44
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.

3 participants