Tostring hoisting #1190
build.yaml
on: pull_request
ubuntu-latest
2m 28s
windows-latest
5m 40s
run-snapshots
8m 40s
macOS-latest
2m 25s
Annotations
40 errors
macOS-latest
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T1.g.cs#L231
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T2.g.cs#L245
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T3.g.cs#L243
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T1.g.cs#L231
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T1.g.cs#L231
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T2.g.cs#L245
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T3.g.cs#L243
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T1.g.cs#L231
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T2.g.cs#L245
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T3.g.cs#L243
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
ubuntu-latest
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T1.g.cs#L231
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T2.g.cs#L245
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T3.g.cs#L243
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T1.g.cs#L231
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T2.g.cs#L245
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/ConsumerTests.BugFixTests.BugFix516_T3.g.cs#L243
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest
Type 'T2' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest
Type 'T3' already defines a member called 'GetHashCode' with the same parameter types
|
windows-latest
Type 'T1' already defines a member called 'GetHashCode' with the same parameter types
|
SnapshotTests.Config.LocalConfigTests.Conversion_override
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\Config\snapshots\snap-v8.0
NotEqual:
- Received: LocalConfigTests.Conversion_override.received.txt
Verified: LocalConfigTests.Conversion_override.verified.txt
FileContent:
NotEqual:
Received: LocalConfigTests.Conversion_override.received.txt
[
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace generator;
public class VogenTypesFactory : global::System.Text.Json.Serialization.JsonConverterFactory
{
public VogenTypesFactory()
{
}
private static readonly global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>> _lookup = new global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>>
{
};
public override bool CanConvert(global::System.Type typeToConvert) => _lookup.ContainsKey(typeToConvert);
public override global::System.Text.Json.Serialization.JsonConverter CreateConverter(global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) => _lookup[typeToConvert].Value;
}
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace Whatever
{
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Vogen", "1.0.0.0")]
[global::System.Diagnostics.DebuggerTypeProxyAttribute(typeof(CustomerIdDebugView))]
[global::System.Diagnostics.DebuggerDisplayAttribute("Underlying type: System.Int32, Value = { _value }")]
// ReSharper disable onc
|
SnapshotTests.GenerationPermutations.GenerationPermutationTests.GenerationTest(type: "internal sealed partial record"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\GenerationPermutations\snapshots\snap-v8.0
NotEqual:
- Received: B6oAHeCpjv.received.txt
Verified: B6oAHeCpjv.verified.txt
FileContent:
NotEqual:
Received: B6oAHeCpjv.received.txt
[
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace generator;
public class VogenTypesFactory : global::System.Text.Json.Serialization.JsonConverterFactory
{
public VogenTypesFactory()
{
}
private static readonly global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>> _lookup = new global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>>
{
{
typeof(global::Whatever.internal_sealed_partial_recordConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterchar),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Whatever.internal_sealed_partial_recordConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterchar.internal_sealed_partial_recordConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConvertercharSystemTextJsonConverter())
}
};
public override bool CanConvert(global::System.Type typeToConvert) => _lookup.ContainsKey(typeToConvert);
public override global::System.Text.Json.Serialization.JsonConverter CreateConverter(global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) => _lookup[typeToConvert].Value;
}
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable
|
SnapshotTests.BugFixes.Bug673_nullability_override.When_deriving_from_a_record_it_matches_the_override_for_the_records_ToString
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\BugFixes\snapshots\snap-v8.0
NotEqual:
- Received: Bug673_nullability_override.When_deriving_from_a_record_it_matches_the_override_for_the_records_ToString.received.txt
Verified: Bug673_nullability_override.When_deriving_from_a_record_it_matches_the_override_for_the_records_ToString.verified.txt
FileContent:
NotEqual:
Received: Bug673_nullability_override.When_deriving_from_a_record_it_matches_the_override_for_the_records_ToString.received.txt
[
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace generator;
public class VogenTypesFactory : global::System.Text.Json.Serialization.JsonConverterFactory
{
public VogenTypesFactory()
{
}
private static readonly global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>> _lookup = new global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>>
{
{
typeof(global::Foo.D),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Foo.D.DSystemTextJsonConverter())
}
};
public override bool CanConvert(global::System.Type typeToConvert) => _lookup.ContainsKey(typeToConvert);
public override global::System.Text.Json.Serialization.JsonConverter CreateConverter(global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) => _lookup[typeToConvert].Value;
}
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
#
|
SnapshotTests.BugFixes.Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes.Test
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\BugFixes\snapshots\snap-v8.0
NotEqual:
- Received: Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes.Test.received.txt
Verified: Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes.Test.verified.txt
FileContent:
NotEqual:
Received: Bug589_Vogen_does_not_ignore_irrelevant_assembly_attributes.Test.received.txt
[
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace generator;
public class VogenTypesFactory : global::System.Text.Json.Serialization.JsonConverterFactory
{
public VogenTypesFactory()
{
}
private static readonly global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>> _lookup = new global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>>
{
{
typeof(Vo),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new Vo.VoSystemTextJsonConverter())
}
};
public override bool CanConvert(global::System.Type typeToConvert) => _lookup.ContainsKey(typeToConvert);
public override global::System.Text.Json.Serialization.JsonConverter CreateConverter(global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) => _lookup[typeToConvert].Value;
}
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Vogen", "1.0.0.
|
SnapshotTests.Escaping.GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes(type: "public readonly partial struct"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\Escaping\snapshots\snap-v8.0
NotEqual:
- Received: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d1d290471740b346.received.txt
Verified: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d1d290471740b346.verified.txt
FileContent:
NotEqual:
Received: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_d1d290471740b346.received.txt
[
#if NET8_0_OR_GREATER
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace @Class;
public static class EfCoreConverters__Ext
{
public static global::Microsoft.EntityFrameworkCore.ModelConfigurationBuilder RegisterAllInEfCoreConverters(this global::Microsoft.EntityFrameworkCore.ModelConfigurationBuilder configurationBuilder)
{
configurationBuilder.Properties<@class.escapedTestspublic_readonly_partial_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterSystem_Guid>().HaveConversion<@class.EfCoreConverters.escapedTestspublic_readonly_partial_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterSystem_GuidEfCoreValueConverter, @class.EfCoreConverters.escapedTestspublic_readonly_partial_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterSystem_GuidEfCoreValueComparer>();
return configurationBuilder;
}
}
#endif
#if NET8_0_OR_GREATER
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XM
|
SnapshotTests.BugFixes.Bug575_AttributesWithArraysBreaksGenerator.Test
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\BugFixes\snapshots\snap-v8.0
NotEqual:
- Received: Bug575_AttributesWithArraysBreaksGenerator.Test.received.txt
Verified: Bug575_AttributesWithArraysBreaksGenerator.Test.verified.txt
FileContent:
NotEqual:
Received: Bug575_AttributesWithArraysBreaksGenerator.Test.received.txt
[
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace generator;
public class VogenTypesFactory : global::System.Text.Json.Serialization.JsonConverterFactory
{
public VogenTypesFactory()
{
}
private static readonly global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>> _lookup = new global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>>
{
{
typeof(Vo),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new Vo.VoSystemTextJsonConverter())
}
};
public override bool CanConvert(global::System.Type typeToConvert) => _lookup.ContainsKey(typeToConvert);
public override global::System.Text.Json.Serialization.JsonConverter CreateConverter(global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) => _lookup[typeToConvert].Value;
}
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Vogen", "1.0.0.0")]
[global::System.Text.Json.Serialization.JsonCo
|
SnapshotTests.GenerationPermutations.GenerationPermutationTests.GenerationTest(type: "internal sealed partial class"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\GenerationPermutations\snapshots\snap-v8.0
NotEqual:
- Received: tep4bS6Kf1.received.txt
Verified: tep4bS6Kf1.verified.txt
FileContent:
NotEqual:
Received: tep4bS6Kf1.received.txt
[
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace generator;
public class VogenTypesFactory : global::System.Text.Json.Serialization.JsonConverterFactory
{
public VogenTypesFactory()
{
}
private static readonly global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>> _lookup = new global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>>
{
{
typeof(global::Whatever.internal_sealed_partial_classConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterlong),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Whatever.internal_sealed_partial_classConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterlong.internal_sealed_partial_classConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterlongSystemTextJsonConverter())
}
};
public override bool CanConvert(global::System.Type typeToConvert) => _lookup.ContainsKey(typeToConvert);
public override global::System.Text.Json.Serialization.JsonConverter CreateConverter(global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) => _lookup[typeToConvert].Value;
}
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' d
|
SnapshotTests.Config.LocalConfigTests.Defaults
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\Config\snapshots\snap-v8.0
NotEqual:
- Received: LocalConfigTests.Defaults.received.txt
Verified: LocalConfigTests.Defaults.verified.txt
FileContent:
NotEqual:
Received: LocalConfigTests.Defaults.received.txt
[
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace generator;
public class VogenTypesFactory : global::System.Text.Json.Serialization.JsonConverterFactory
{
public VogenTypesFactory()
{
}
private static readonly global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>> _lookup = new global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>>
{
{
typeof(global::Whatever.CustomerId),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Whatever.CustomerId.CustomerIdSystemTextJsonConverter())
}
};
public override bool CanConvert(global::System.Type typeToConvert) => _lookup.ContainsKey(typeToConvert);
public override global::System.Text.Json.Serialization.JsonConverter CreateConverter(global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) => _lookup[typeToConvert].Value;
}
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace Whatever
{
[global::System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Vogen", "1.0.0.0")]
[global::System.Text.Js
|
SnapshotTests.Escaping.GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes(type: "public partial record struct"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\Escaping\snapshots\snap-v8.0
NotEqual:
- Received: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_861e9a0628940c67.received.txt
Verified: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_861e9a0628940c67.verified.txt
FileContent:
NotEqual:
Received: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_861e9a0628940c67.received.txt
[
#if NET8_0_OR_GREATER
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace @Class;
public static class EfCoreConverters__Ext
{
public static global::Microsoft.EntityFrameworkCore.ModelConfigurationBuilder RegisterAllInEfCoreConverters(this global::Microsoft.EntityFrameworkCore.ModelConfigurationBuilder configurationBuilder)
{
configurationBuilder.Properties<@class.escapedTestspublic_partial_record_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterstring>().HaveConversion<@class.EfCoreConverters.escapedTestspublic_partial_record_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterstringEfCoreValueConverter, @class.EfCoreConverters.escapedTestspublic_partial_record_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterstringEfCoreValueComparer>();
return configurationBuilder;
}
}
#endif
#if NET8_0_OR_GREATER
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicl
|
SnapshotTests.SystemTextJsonGeneration.DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\SystemTextJsonGeneration\snapshots\snap-v8.0
NotEqual:
- Received: DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.received.txt
Verified: DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.verified.txt
FileContent:
NotEqual:
Received: DeserializationStrictnessTests.Can_disallow_nulls_for_reference_value_objects.received.txt
[
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace generator;
public class VogenTypesFactory : global::System.Text.Json.Serialization.JsonConverterFactory
{
public VogenTypesFactory()
{
}
private static readonly global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>> _lookup = new global::System.Collections.Generic.Dictionary<global::System.Type, global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>>
{
{
typeof(global::Whatever.ReferenceVo),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Whatever.ReferenceVo.ReferenceVoSystemTextJsonConverter())
}
};
public override bool CanConvert(global::System.Type typeToConvert) => _lookup.ContainsKey(typeToConvert);
public override global::System.Text.Json.Serialization.JsonConverter CreateConverter(global::System.Type typeToConvert, global::System.Text.Json.JsonSerializerOptions options) => _lookup[typeToConvert].Value;
}
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a source generator named Vogen (https://github.com/SteveDunn/Vogen)
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0618
// Suppress warnings for 'Override methods on comparable types'.
#pragma warning disable CA1036
// Suppress Error MA0097 : A class that implements IComparable<T> or IComparable should override comparison operators
#pragma warning disable MA0097
// Suppress warning for 'The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. Auto-generated code requires an explicit '#nullable' directive in source.'
// The generator copies signatures from the BCL, e.g. for `TryParse`, and some of those have nullable annotations.
#pragma warning disable CS8669, CS8632
// Suppress warnings about CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace Whatever
{
[
|