Skip to content

[main] Update dependencies from dotnet/roslyn-analyzers #94169

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

Merged
merged 32 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
84c4e39
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Oct 30, 2023
ab0b479
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Oct 31, 2023
32ef115
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 1, 2023
b3e77bd
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 2, 2023
570cf13
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 3, 2023
ed4b0e7
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 4, 2023
63838b9
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 5, 2023
1ad74dc
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 6, 2023
d8dcf69
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 7, 2023
733360c
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 8, 2023
6cceb2b
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 9, 2023
3703d09
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 10, 2023
6e104e1
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 11, 2023
c5111a1
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 12, 2023
a56be8d
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 13, 2023
cb2db7a
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 14, 2023
49ff8b5
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 15, 2023
7306058
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 16, 2023
aaccf3e
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 17, 2023
195dd7d
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 18, 2023
74807f3
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 19, 2023
d7b820f
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 20, 2023
42b9b99
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 21, 2023
16b9e53
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 22, 2023
7e8ddeb
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 23, 2023
b351726
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 24, 2023
582b576
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 25, 2023
8be02ef
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 26, 2023
01d02b2
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 27, 2023
ff2031e
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 28, 2023
7f69ed2
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Nov 29, 2023
5b1d356
Disable invalid diagnostic.
jkoritzinsky Nov 29, 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
8 changes: 4 additions & 4 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,13 @@
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>8da753b65c4b05e086a29f7a2714ef40797728f7</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0-beta1.23523.1">
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0-beta1.23579.3">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>b4ed6a3093cfd3c8d353214ce97aaa7d24cf2df1</Sha>
<Sha>d0e4558fd0d73794dcb6eb4d46c12aa57303b69c</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.23523.1">
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.23579.3">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>b4ed6a3093cfd3c8d353214ce97aaa7d24cf2df1</Sha>
<Sha>d0e4558fd0d73794dcb6eb4d46c12aa57303b69c</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.ApiCompat.Task" Version="9.0.100-alpha.1.23528.1">
<Uri>https://github.com/dotnet/sdk</Uri>
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
</ItemGroup>
<PropertyGroup>
<!-- dotnet/roslyn-analyzers dependencies -->
<MicrosoftCodeAnalysisAnalyzersVersion>3.11.0-beta1.23523.1</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>9.0.0-preview.23523.1</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>3.11.0-beta1.23579.3</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>9.0.0-preview.23579.3</MicrosoftCodeAnalysisNetAnalyzersVersion>
<!-- dotnet/roslyn dependencies -->
<!--
These versions should not be used by any project that contributes to the design-time experience in VS, such as an analyzer, code-fix, or generator assembly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ partial class C
[LibraryImportAttribute("DoesNotExist")]
public static partial S Method1();
}

[NativeMarshalling(typeof(Marshaller))]
struct S
{
}

struct Native
{
}

[CustomMarshaller(typeof(S), MarshalMode.Default, typeof(Marshaller))]
static class Marshaller
{
public static Native ConvertToUnmanaged(S s) => default;

public static S ConvertToManaged(Native n) => default;
}
""";
Expand Down Expand Up @@ -242,21 +242,21 @@ partial class C
[LibraryImportAttribute("DoesNotExist")]
public static partial S Method1();
}

[NativeMarshalling(typeof(Marshaller))]
struct S
{
}

struct Native
{
}

[CustomMarshaller(typeof(S), MarshalMode.Default, typeof(Marshaller))]
static class Marshaller
{
public static Native ConvertToUnmanaged(S s) => default;

public static S ConvertToManaged(Native n) => default;
}
""";
Expand Down Expand Up @@ -436,7 +436,9 @@ private static IMethodSymbol GetGeneratedPInvokeTargetFromCompilation(Compilatio
.DescendantNodes().OfType<LocalFunctionStatementSyntax>()
.ToList();
LocalFunctionStatementSyntax innerDllImport = Assert.Single(localFunctions);
#pragma warning disable RS1039 // This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null' https://github.com/dotnet/roslyn-analyzers/issues/7061
IMethodSymbol targetMethod = (IMethodSymbol)model.GetDeclaredSymbol(innerDllImport)!;
#pragma warning restore RS1039 // This call to 'SemanticModel.GetDeclaredSymbol()' will always return 'null'
return targetMethod;
}

Expand Down