Skip to content

Update .NET SDK 9.0 #1353

Update .NET SDK 9.0

Update .NET SDK 9.0 #1353

Triggered via pull request November 13, 2024 01:43
@meziantoumeziantou
synchronize #768
netsdk9
Status Failure
Total duration 5m 22s
Artifacts 10

ci.yml

on: pull_request
compute_package_version
13s
compute_package_version
Matrix: build_and_test
check_documentation
39s
check_documentation
validate_nuget
0s
validate_nuget
create_release
0s
create_release
Fit to window
Zoom out
Zoom in

Annotations

42 errors
build_and_test (ubuntu-latest, Release, roslyn3.8)
No files were found with the provided path: /home/runner/work/Meziantou.Analyzer/Meziantou.Analyzer/TestResults/**/*. No artifacts will be uploaded.
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L106
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L108
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L102
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.FixAllInDocumentAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)'
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L102
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.CodeActionTitle.get'
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L12
'AvoidUsingRedundantElseFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L14
'AvoidUsingRedundantElseFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L8
'AvoidUsingRedundantElseFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.FixAllInDocumentAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)'
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L8
'AvoidUsingRedundantElseFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.CodeActionTitle.get'
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L12
'AvoidUsingRedundantElseFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
build_and_test (ubuntu-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L14
'AvoidUsingRedundantElseFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L12
'AvoidUsingRedundantElseFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L14
'AvoidUsingRedundantElseFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L8
'AvoidUsingRedundantElseFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.FixAllInDocumentAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)'
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L8
'AvoidUsingRedundantElseFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.CodeActionTitle.get'
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L106
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L108
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L102
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.FixAllInDocumentAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)'
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L102
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.CodeActionTitle.get'
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L12
'AvoidUsingRedundantElseFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
create_nuget: src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L14
'AvoidUsingRedundantElseFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
build_and_test (windows-latest, Release, roslyn3.8)
No files were found with the provided path: D:\a\Meziantou.Analyzer\Meziantou.Analyzer/TestResults/**/*. No artifacts will be uploaded.
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L12
'AvoidUsingRedundantElseFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L14
'AvoidUsingRedundantElseFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L8
'AvoidUsingRedundantElseFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.FixAllInDocumentAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)'
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/AvoidUsingRedundantElseFixAllProvider.cs#L8
'AvoidUsingRedundantElseFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.CodeActionTitle.get'
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L106
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L108
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L102
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.FixAllInDocumentAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)'
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L102
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider' does not implement inherited abstract member 'DocumentBasedFixAllProvider.CodeActionTitle.get'
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L106
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider.GetFixAllTitle(FixAllContext)': no suitable method found to override
build_and_test (windows-latest, Release, roslyn3.8): src/Meziantou.Analyzer.CodeFixers/Rules/MakeMemberReadOnlyFixer.cs#L108
'MakeMemberReadOnlyFixer.MakeMemberReadOnlyFixAllProvider.FixAllAsync(FixAllContext, Document, ImmutableArray<Diagnostic>)': no suitable method found to override
Meziantou.Analyzer.Test.Rules.DoNotLogClassifiedDataAnalyzerTests.Logger_LogInformation_DataClassification_Parameter: _/tests/Meziantou.Analyzer.Test/Rules/DoNotLogClassifiedDataAnalyzerTests.cs#L141
The code doesn't compile. Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(10,7): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(13,12): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(16,27): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(18,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(12,6): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(12,6): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(18,39): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(18,39): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(18,39): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(18,34): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(10,7): error CS1729: 'object' does not contain a constructor that takes 0 arguments Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(7,27): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(7,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(5,27): error CS0518: Predefined type 'System.Int32' is not defined or imported Test0.cs(5,1): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(5,9): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(5,9): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(3,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' using Microsoft.Extensions.Logging; ILogger logger = null; void A([TaxonomyAttribute]int param) { logger.LogInformation("{Prop}", param); } class Dummy { [TaxonomyAttribute()] public string Prop; } class TaxonomyAttribute : Microsoft.Extensions.Compliance.Classification.DataClassificationAttribute { public TaxonomyAttribute() : base(Microsoft.Extensions.Compliance.Classification.DataClassification.Unknown) { } }
Meziantou.Analyzer.Test.Rules.DoNotLogClassifiedDataAnalyzerTests.Logger_LogInformation_DataClassification_Field: _/tests/Meziantou.Analyzer.Test/Rules/DoNotLogClassifiedDataAnalyzerTests.cs#L112
The code doesn't compile. Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(6,7): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(9,12): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(12,27): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(8,6): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(8,6): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,39): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,39): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(14,39): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,34): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(6,7): error CS1729: 'object' does not contain a constructor that takes 0 arguments Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(4,23): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(4,37): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(4,37): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(4,1): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(3,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' using Microsoft.Extensions.Logging; ILogger logger = null; logger.LogInformation("{Prop}", new Dummy().Prop); class Dummy { [TaxonomyAttribute()] public string Prop; } class TaxonomyAttribute : Microsoft.Extensions.Compliance.Classification.DataClassificationAttribute { public TaxonomyAttribute() : base(Microsoft.Extensions.Compliance.Classification.DataClassification.Unknown) { } }
Meziantou.Analyzer.Test.Rules.DoNotLogClassifiedDataAnalyzerTests.Logger_LogInformation_DataClassification_Property: _/tests/Meziantou.Analyzer.Test/Rules/DoNotLogClassifiedDataAnalyzerTests.cs#L62
The code doesn't compile. Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(6,7): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(9,12): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(9,31): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(12,27): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(8,6): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(8,6): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,39): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,39): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(14,39): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,34): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(6,7): error CS1729: 'object' does not contain a constructor that takes 0 arguments Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(4,23): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(4,37): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(4,37): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(4,1): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(3,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' using Microsoft.Extensions.Logging; ILogger logger = null; logger.LogInformation("{Prop}", new Dummy().Prop); class Dummy { [TaxonomyAttribute()] public string Prop { get; set; } } class TaxonomyAttribute : Microsoft.Extensions.Compliance.Classification.DataClassificationAttribute { public TaxonomyAttribute() : base(Microsoft.Extensions.Compliance.Classification.DataClassification.Unknown) { } }
Meziantou.Analyzer.Test.Rules.DoNotLogClassifiedDataAnalyzerTests.Logger_LogInformation_NoDataClassification: _/tests/Meziantou.Analyzer.Test/Rules/DoNotLogClassifiedDataAnalyzerTests.cs#L37
The code doesn't compile. Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(6,7): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(8,12): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(8,31): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(11,27): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(13,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(13,39): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(13,39): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(13,39): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(13,34): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(6,7): error CS1729: 'object' does not contain a constructor that takes 0 arguments Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(4,23): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(4,37): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(4,37): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(4,1): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(3,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' using Microsoft.Extensions.Logging; ILogger logger = null; logger.LogInformation("{Prop}", new Dummy().Prop); class Dummy { public string Prop { get; set; } } class TaxonomyAttribute : Microsoft.Extensions.Compliance.Classification.DataClassificationAttribute { public TaxonomyAttribute() : base(Microsoft.Extensions.Compliance.Classification.DataClassification.Unknown) { } }
Meziantou.Analyzer.Test.Rules.DoNotLogClassifiedDataAnalyzerTests.Logger_BeginScope_DataClassification_Property: _/tests/Meziantou.Analyzer.Test/Rules/DoNotLogClassifiedDataAnalyzerTests.cs#L196
The code doesn't compile. Test0.cs(4,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(7,7): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(10,12): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(13,27): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(15,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(9,6): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(9,6): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(15,39): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(15,39): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(15,39): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(15,34): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(7,7): error CS1729: 'object' does not contain a constructor that takes 0 arguments Test0.cs(4,1): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(5,19): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(5,33): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(5,33): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(5,1): error CS0012: The type 'IDisposable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(4,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' using Microsoft.Extensions.Logging; ILogger logger = null; logger.BeginScope("{Prop}", new Dummy().Prop); class Dummy { [TaxonomyAttribute()] public string Prop; } class TaxonomyAttribute : Microsoft.Extensions.Compliance.Classification.DataClassificationAttribute { public TaxonomyAttribute() : base(Microsoft.Extensions.Compliance.Classification.DataClassification.Unknown) { } }
Meziantou.Analyzer.Test.Rules.DoNotLogClassifiedDataAnalyzerTests.Logger_LogInformation_DataClassification_Property_Array: _/tests/Meziantou.Analyzer.Test/Rules/DoNotLogClassifiedDataAnalyzerTests.cs#L87
The code doesn't compile. Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(6,7): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(9,12): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(9,33): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(12,27): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(8,6): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(8,6): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,39): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,39): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(14,39): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(14,34): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(6,7): error CS1729: 'object' does not contain a constructor that takes 0 arguments Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(4,23): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(4,37): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(4,37): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(4,50): error CS0518: Predefined type 'System.Int32' is not defined or imported Test0.cs(4,1): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(3,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' using Microsoft.Extensions.Logging; ILogger logger = null; logger.LogInformation("{Prop}", new Dummy().Prop[0]); class Dummy { [TaxonomyAttribute()] public string[] Prop { get; set; } } class TaxonomyAttribute : Microsoft.Extensions.Compliance.Classification.DataClassificationAttribute { public TaxonomyAttribute() : base(Microsoft.Extensions.Compliance.Classification.DataClassification.Unknown) { } }
Meziantou.Analyzer.Test.Rules.DoNotLogClassifiedDataAnalyzerTests.Logger_LogInformation_DataClassification_Parameter_AttributeOnType: _/tests/Meziantou.Analyzer.Test/Rules/DoNotLogClassifiedDataAnalyzerTests.cs#L170
The code doesn't compile. Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(16,27): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(18,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(10,2): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(10,2): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(11,7): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(13,12): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(18,39): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(18,39): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(18,39): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(18,34): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(11,7): error CS1729: 'object' does not contain a constructor that takes 0 arguments Test0.cs(3,1): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(7,27): error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(7,5): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(5,27): error CS0518: Predefined type 'System.Int32' is not defined or imported Test0.cs(5,1): error CS0518: Predefined type 'System.Void' is not defined or imported Test0.cs(5,9): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(5,9): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Test0.cs(3,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' using Microsoft.Extensions.Logging; ILogger logger = null; void A([TaxonomyAttribute]int param) { logger.LogInformation("{Prop}", param); } [TaxonomyAttribute()] class Dummy { public string Prop; } class TaxonomyAttribute : Microsoft.Extensions.Compliance.Classification.DataClassificationAttribute { public TaxonomyAttribute() : base(Microsoft.Extensions.Compliance.Classification.DataClassification.Unknown) { } }
Meziantou.Analyzer.Test.Rules.OptimizeStringBuilderUsageAnalyzerTests.AppendLine_ValueToString_Report(dataType: "ulong"): _/tests/Meziantou.Analyzer.Test/Rules/OptimizeStringBuilderUsageAnalyzerTests.cs#L724
The code doesn't compile. Test0.cs(1,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(1,5): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(1,17): error CS1069: The type name 'StringBuilder' could not be found in the namespace 'System.Text'. This type has been forwarded to assembly 'System.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly. Test0.cs(1,52): error CS0518: Predefined type 'System.UInt64' is not defined or imported Test0.cs(1,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' new System.Text.StringBuilder().AppendLine(default(ulong).ToString());
Meziantou.Analyzer.Test.Rules.OptimizeStringBuilderUsageAnalyzerTests.AppendLine_ValueToString_Report(dataType: "sbyte"): _/tests/Meziantou.Analyzer.Test/Rules/OptimizeStringBuilderUsageAnalyzerTests.cs#L724
The code doesn't compile. Test0.cs(1,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(1,5): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(1,17): error CS1069: The type name 'StringBuilder' could not be found in the namespace 'System.Text'. This type has been forwarded to assembly 'System.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly. Test0.cs(1,52): error CS0518: Predefined type 'System.SByte' is not defined or imported Test0.cs(1,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' new System.Text.StringBuilder().AppendLine(default(sbyte).ToString());
Meziantou.Analyzer.Test.Rules.OptimizeStringBuilderUsageAnalyzerTests.AppendLine_ValueToString_Report(dataType: "double"): _/tests/Meziantou.Analyzer.Test/Rules/OptimizeStringBuilderUsageAnalyzerTests.cs#L724
The code doesn't compile. Test0.cs(1,1): error CS0518: Predefined type 'System.Object' is not defined or imported error CS0518: Predefined type 'System.Void' is not defined or imported error CS0518: Predefined type 'System.String' is not defined or imported Test0.cs(1,5): error CS0518: Predefined type 'System.Object' is not defined or imported Test0.cs(1,17): error CS1069: The type name 'StringBuilder' could not be found in the namespace 'System.Text'. This type has been forwarded to assembly 'System.Runtime, Version=0.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly. Test0.cs(1,52): error CS0518: Predefined type 'System.Double' is not defined or imported Test0.cs(1,1): error CS1729: 'object' does not contain a constructor that takes 0 arguments error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Attribute' is not defined or imported error CS0518: Predefined type 'System.Int32' is not defined or imported error CS0656: Missing compiler required member 'System.AttributeUsageAttribute..ctor' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.AllowMultiple' error CS0656: Missing compiler required member 'System.AttributeUsageAttribute.Inherited' new System.Text.StringBuilder().AppendLine(default(double).ToString());

Artifacts

Produced during runtime
Name Size
test-results-ubuntu-latest-default-Release Expired
824 KB
test-results-ubuntu-latest-roslyn4.2-Release Expired
804 KB
test-results-ubuntu-latest-roslyn4.4-Release Expired
809 KB
test-results-ubuntu-latest-roslyn4.6-Release Expired
810 KB
test-results-ubuntu-latest-roslyn4.8-Release Expired
817 KB
test-results-windows-latest-default-Release Expired
1.74 MB
test-results-windows-latest-roslyn4.2-Release Expired
1.64 MB
test-results-windows-latest-roslyn4.4-Release Expired
1.65 MB
test-results-windows-latest-roslyn4.6-Release Expired
1.65 MB
test-results-windows-latest-roslyn4.8-Release Expired
1.66 MB