Push on main #10
codeql
on: dynamic
Matrix: analyze
Annotations
11 errors
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenAnyResource ► WhenComplete_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(7,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(7, 28, 7, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule010 ► WhenIsNotPublic_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(5,16): warning SAASAPP010: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP010).WithSpan(5, 16, 5, 22).WithArguments("AClass"),
// /0/Test0.cs(7,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(7, 28, 7, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 ► WhenHasCtorAndIsParameterless_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(12, 28, 12, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 ► WhenHasCtorAndNotParameterless_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASAPP011: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP011).WithSpan(5, 14, 5, 20).WithArguments("AClass"),
// /0/Test0.cs(12,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(12, 28, 12, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 ► WhenHasCtorAndPrivate_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASAPP011: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP011).WithSpan(5, 14, 5, 20).WithArguments("AClass"),
// /0/Test0.cs(12,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(12, 28, 12, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule012 ► WhenAnyPropertyHasNoSetter_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Context: Verifying exclusions in '#pragma warning disable' code
Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(8,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(8, 28, 8, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
// /0/Test0.cs(10,20): warning SAASAPP014: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(10, 20, 10, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule013 ► WhenAnyPropertyReferenceTypeIsNullable_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(7,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(7, 28, 7, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
// /0/Test0.cs(9,20): warning SAASAPP014: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(9, 20, 9, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule013 ► WhenAnyPropertyReferenceTypeIsOptional_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "2" actual "3"
Diagnostics:
// /0/Test0.cs(8,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(8, 28, 8, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
// /0/Test0.cs(10,29): warning SAASAPP013: Property 'AProperty' must be nullable, and not use `Optional<T>` for interoperability
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP013).WithSpan(10, 29, 10, 38).WithArguments("AProperty"),
// /0/Test0.cs(10,29): warning SAASAPP014: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule014 ► WhenAnyPropertyIsClassInCorrectNamespace_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(10,32): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(10, 32, 10, 34).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule014 ► WhenAnyPropertyIsClassInOtherNamespace_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(10,32): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(10, 32, 10, 34).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
// /0/Test0.cs(12,38): warning SAASAPP014: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(12, 38, 12, 47).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule014 ► WhenAnyPropertyIsDictionaryOfClassInCorrectNamespace_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1347-856_2024-10-28_04_43_53[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(10,32): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(10, 32, 10, 34).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
|