Push on main #126
codeql
on: dynamic
Matrix: analyze
Annotations
11 errors
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule010 ► WhenIsNotPublic_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,23): warning SAASEVT010: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT010).WithSpan(5, 23, 5, 29).WithArguments("AClass"),
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule011 ► WhenIsNotSealed_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASEVT011: Class 'AClass' should be marked as 'sealed'
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT011).WithSpan(5, 14, 5, 20).WithArguments("AClass"),
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule012 ► WhenHasCtorAndIsParameterless_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(13,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(13, 28, 13, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(15,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(15, 30, 15, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule012 ► WhenHasCtorAndNotParameterless_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASEVT012: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT012).WithSpan(5, 21, 5, 27).WithArguments("AClass"),
// /0/Test0.cs(13,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(13, 28, 13, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(15,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(15, 30, 15, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule012 ► WhenHasCtorAndPrivate_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASEVT012: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT012).WithSpan(5, 21, 5, 27).WithArguments("AClass"),
// /0/Test0.cs(13,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(13, 28, 13, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(15,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(15, 30, 15, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule013 ► WhenAnyPropertyHasNoSetter_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "4"
Diagnostics:
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(11,20): warning SAASEVT013: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT013).WithSpan(11, 20, 11, 29).WithArguments("AProperty"),
// /0/Test0.cs(11,20): warning SAASEVT016: 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(11, 20, 11, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule014 ► WhenAnyPropertyReferenceTypeIsInitializedAndNotRequiredAndNotNullable_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "3"
Diagnostics:
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(11,19): warning SAASEVT016: 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(11, 19, 11, 28).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule014 ► WhenAnyPropertyReferenceTypeIsInitializedAndNullableAndNotRequired_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "3"
Diagnostics:
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(11,20): warning SAASEVT016: 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(11, 20, 11, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule014 ► WhenAnyPropertyReferenceTypeIsInitializedAndRequiredAndNotNullable_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "3"
Diagnostics:
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(11,28): warning SAASEVT016: 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(11, 28, 11, 37).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule014 ► WhenAnyPropertyReferenceTypeIsInitializedAndRequiredAndNullable_ThenNoAlert:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "3"
Diagnostics:
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(11,20): warning SAASEVT016: 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(11, 20, 11, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule014 ► WhenAnyPropertyReferenceTypeIsNotRequiredAndNotInitializedAndNotNullable_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-77_2025-02-21_06_30_10.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "4"
Diagnostics:
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(11,19): warning SAASEVT014: Property 'AProperty' must be marked 'required' or be nullable or be initialized
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT014).WithSpan(11, 19, 11, 28).WithArguments("AProperty"),
// /0/Test0.cs(11,19): warning SAASEVT016: 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(11, 19, 11, 28).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|