Skip to content

Commit

Permalink
Rebase snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveDunn committed Dec 26, 2024
1 parent 663be3d commit 2063bd4
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
System.Guid value,
System.Guid value,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)]
#endif
out Vo vo)
out Vo vo)
#pragma warning restore CS8767 // Nullability of reference types in type of parameter doesn't match implicitly implemented member because of nullability attributes.

{
Expand Down Expand Up @@ -223,11 +223,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(string input,
public static global::System.Boolean TryParse(string input,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(input, out var __v))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
System.Guid value,
System.Guid value,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)]
#endif
out Vo vo)
out Vo vo)
#pragma warning restore CS8767 // Nullability of reference types in type of parameter doesn't match implicitly implemented member because of nullability attributes.

{
Expand Down Expand Up @@ -223,11 +223,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> input,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> input,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(input, out var __v))
{
Expand All @@ -245,11 +245,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(s, provider, out var __v))
{
Expand All @@ -267,11 +267,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(string input,
public static global::System.Boolean TryParse(string input,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(input, out var __v))
{
Expand All @@ -289,11 +289,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(string s, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(string s, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(s, provider, out var __v))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
System.Guid value,
System.Guid value,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)]
#endif
out Vo vo)
out Vo vo)
#pragma warning restore CS8767 // Nullability of reference types in type of parameter doesn't match implicitly implemented member because of nullability attributes.

{
Expand Down Expand Up @@ -223,11 +223,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> input,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> input,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(input, out var __v))
{
Expand All @@ -245,11 +245,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(s, provider, out var __v))
{
Expand All @@ -267,11 +267,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(string input,
public static global::System.Boolean TryParse(string input,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(input, out var __v))
{
Expand All @@ -289,11 +289,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(string s, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(string s, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out Vo result)
out Vo result)
{
if (System.Guid.TryParse(s, provider, out var __v))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
System.Int32 value,
System.Int32 value,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)]
#endif
out ToDoItemId vo)
out ToDoItemId vo)
#pragma warning restore CS8767 // Nullability of reference types in type of parameter doesn't match implicitly implemented member because of nullability attributes.

{
Expand Down Expand Up @@ -359,11 +359,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<byte> utf8Text, global::System.Globalization.NumberStyles style, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<byte> utf8Text, global::System.Globalization.NumberStyles style, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(utf8Text, style, provider, out var __v))
{
Expand All @@ -381,11 +381,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<byte> utf8Text, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<byte> utf8Text, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(utf8Text, provider, out var __v))
{
Expand All @@ -403,11 +403,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<byte> utf8Text,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<byte> utf8Text,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(utf8Text, out var __v))
{
Expand All @@ -425,11 +425,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s, global::System.Globalization.NumberStyles style, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s, global::System.Globalization.NumberStyles style, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(s, style, provider, out var __v))
{
Expand All @@ -447,11 +447,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(s, provider, out var __v))
{
Expand All @@ -469,11 +469,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s,
public static global::System.Boolean TryParse(global::System.ReadOnlySpan<char> s,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(s, out var __v))
{
Expand All @@ -491,11 +491,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(string s, global::System.Globalization.NumberStyles style, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(string s, global::System.Globalization.NumberStyles style, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(s, style, provider, out var __v))
{
Expand All @@ -513,11 +513,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(string s, global::System.IFormatProvider provider,
public static global::System.Boolean TryParse(string s, global::System.IFormatProvider provider,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(s, provider, out var __v))
{
Expand All @@ -535,11 +535,11 @@ private readonly global::System.Diagnostics.StackTrace _stackTrace = null!;
/// <returns>
/// True if the value could a) be parsed by the underlying type, and b) passes any validation (after running any optional normalization).
/// </returns>
public static global::System.Boolean TryParse(string s,
public static global::System.Boolean TryParse(string s,
#if NETCOREAPP3_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.NotNullWhen(true)]
#endif
out ToDoItemId result)
out ToDoItemId result)
{
if (System.Int32.TryParse(s, out var __v))
{
Expand Down
2 changes: 1 addition & 1 deletion tests/SnapshotTests/ModuleInitializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static void Init()
s.Replace("[global::System.CodeDom.Compiler.GeneratedCodeAttribute(\"Vogen\", \"0.0.0.0\")]",
" [global::System.CodeDom.Compiler.GeneratedCodeAttribute(\"Vogen\", \"1.0.0.0\")]");

s.Replace("[global::System.CodeDom.Compiler.GeneratedCodeAttribute(\"Vogen\", \"5.0.0.0\")]",
s.Replace("[global::System.CodeDom.Compiler.GeneratedCodeAttribute(\"Vogen\", \"6.0.0.0\")]",
" [global::System.CodeDom.Compiler.GeneratedCodeAttribute(\"Vogen\", \"1.0.0.0\")]");
});
}
Expand Down

0 comments on commit 2063bd4

Please sign in to comment.