Tostring hoisting #1191
build.yaml
on: pull_request
ubuntu-latest
3m 18s
windows-latest
5m 52s
run-snapshots
8m 6s
macOS-latest
2m 50s
Annotations
40 errors
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_bool._byte._short._float._object__event2.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
|
macOS-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_bool._byte._short._float._object__event2.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
macOS-latest
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
macOS-latest
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
ubuntu-latest
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
ubuntu-latest
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
|
ubuntu-latest
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
ubuntu-latest
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
ubuntu-latest
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
|
ubuntu-latest
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
ubuntu-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
ubuntu-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_bool._byte._short._float._object__event2.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_double_classFromEscapedNamespaceWithReservedUnderlyingType.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
|
windows-latest:
tests/ConsumerTests/Generated/Vogen/Vogen.ValueObjectGenerator/_bool._byte._short._float._object__event2.g.cs#L205
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
windows-latest
XML comment has syntactically incorrect cref attribute '@double. decimal . ToString ( )'
|
windows-latest
Identifier expected; 'decimal' is a keyword. See also error CS1041.
|
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.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.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.InstanceFields.InstanceFieldGenerationTests.GenerationTest_FR(type: "internal partial struct"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\InstanceFields\snapshots\snap-v8.0-fr
NotEqual:
- Received: ZaFOPIWhda.received.txt
Verified: ZaFOPIWhda.verified.txt
FileContent:
NotEqual:
Received: ZaFOPIWhda.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_partial_structfloat),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Whatever.internal_partial_structfloat.internal_partial_structfloatSystemTextJsonConverter())
}
};
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")]
[gl
|
SnapshotTests.InstanceFields.InstanceFieldGenerationTests.GenerationTest_FR(type: "public readonly partial struct"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\InstanceFields\snapshots\snap-v8.0-fr
NotEqual:
- Received: ZRJoAqVVvb.received.txt
Verified: ZRJoAqVVvb.verified.txt
FileContent:
NotEqual:
Received: ZRJoAqVVvb.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.public_readonly_partial_structstring),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Whatever.public_readonly_partial_structstring.public_readonly_partial_structstringSystemTextJsonConverter())
}
};
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("Vog
|
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.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.Escaping.GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes(type: "public partial struct"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\Escaping\snapshots\snap-v8.0
NotEqual:
- Received: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_291d0bc9a252cc85.received.txt
Verified: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_291d0bc9a252cc85.verified.txt
FileContent:
NotEqual:
Received: GenerationOfEscapedEfCoreConverters.GenerationOfEscapedTypes_291d0bc9a252cc85.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_structConversions_Nonerecord__struct__float__event2>().HaveConversion<@class.EfCoreConverters.escapedTestspublic_partial_structConversions_Nonerecord__struct__float__event2EfCoreValueConverter, @class.EfCoreConverters.escapedTestspublic_partial_structConversions_Nonerecord__struct__float__event2EfCoreValueComparer>();
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 publicly visible type or member 'Type_or_Member'
#pragma warning disable CS1591
namespace @Class;
public partial class EfCoreConverters
{
public class escapedTestspublic_partial_structConversions_Nonerecord__struct__float__event2EfCoreValueConverter : global::Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverter<@class.escapedTestspublic_partial_structConv
|
SnapshotTests.InstanceFields.InstanceFieldGenerationTests.GenerationTest_FR(type: "public partial record struct"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\InstanceFields\snapshots\snap-v8.0-fr
NotEqual:
- Received: jeUmQ6udJS.received.txt
Verified: jeUmQ6udJS.verified.txt
FileContent:
NotEqual:
Received: jeUmQ6udJS.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.public_partial_record_structfloat),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Whatever.public_partial_record_structfloat.public_partial_record_structfloatSystemTextJsonConverter())
}
};
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
|
SnapshotTests.GenerationPermutations.GenerationPermutationTests.GenerationTest(type: "internal partial struct"
VerifyException : Directory: D:\a\Vogen\Vogen\tests\SnapshotTests\GenerationPermutations\snapshots\snap-v8.0
NotEqual:
- Received: ono9JkTnAN.received.txt
Verified: ono9JkTnAN.verified.txt
FileContent:
NotEqual:
Received: ono9JkTnAN.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_partial_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterdecimal),
new global::System.Lazy<global::System.Text.Json.Serialization.JsonConverter>(() => new global::Whatever.internal_partial_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterdecimal.internal_partial_structConversions_NewtonsoftJson___Conversions_SystemTextJson___Conversions_EfCoreValueConverter___Conversions_DapperTypeHandler___Conversions_LinqToDbValueConverterdecimalSystemTextJsonConverter())
}
};
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
|