Skip to content

Commit

Permalink
Removed '@' from error message
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelGerr committed Oct 23, 2024
1 parent 2c88350 commit 3217eb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ private void GenerateValidateMethod(bool allowNullKeyMemberInput, bool allowNull
if(").AppendEscaped(_state.KeyMember.ArgumentName).Append(@" is null)
{
obj = default;
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<").AppendTypeFullyQualified(_state.ValidationError).Append(@">(""The argument '").AppendEscaped(_state.KeyMember.ArgumentName).Append(@"' must not be null."");
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<").AppendTypeFullyQualified(_state.ValidationError).Append(@">(""The argument '").Append(_state.KeyMember.ArgumentName).Append(@"' must not be null."");
}
");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ internal static void ModuleInit()
if(@value is null)
{
obj = default;
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<global::Thinktecture.ValidationError>("The argument '@value' must not be null.");
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<global::Thinktecture.ValidationError>("The argument 'value' must not be null.");
}

global::Thinktecture.ValidationError? validationError = null;
Expand Down Expand Up @@ -1741,7 +1741,7 @@ internal static void ModuleInit()
if(@value is null)
{
obj = default;
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<global::Thinktecture.ValidationError>("The argument '@value' must not be null.");
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<global::Thinktecture.ValidationError>("The argument 'value' must not be null.");
}

global::Thinktecture.ValidationError? validationError = null;
Expand Down Expand Up @@ -5262,7 +5262,7 @@ internal static void ModuleInit()
if(@value is null)
{
obj = default;
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<global::Thinktecture.ValidationError>("The argument '@value' must not be null.");
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<global::Thinktecture.ValidationError>("The argument 'value' must not be null.");
}

global::Thinktecture.ValidationError? validationError = null;
Expand Down Expand Up @@ -5456,7 +5456,7 @@ internal static void ModuleInit()
if(@value is null)
{
obj = default;
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<global::Thinktecture.ValidationError>("The argument '@value' must not be null.");
return global::Thinktecture.Internal.ValidationErrorCreator.CreateValidationError<global::Thinktecture.ValidationError>("The argument 'value' must not be null.");
}

global::Thinktecture.ValidationError? validationError = null;
Expand Down

0 comments on commit 3217eb2

Please sign in to comment.