Skip to content

Commit c75cc42

Browse files
Dotnet format.
1 parent c1d2a24 commit c75cc42

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/Moq/AsInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public override DefaultValueProvider DefaultValueProvider
4949

5050
public override TInterface Object
5151
{
52-
get { return (TInterface) this.owner.Object; }
52+
get { return (TInterface)this.owner.Object; }
5353
}
5454

5555
internal override SetupCollection MutableSetups => this.owner.MutableSetups;

src/Moq/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static bool CanCreateInstance(this Type type)
2020
{
2121
return type.IsValueType || type.GetConstructor(Type.EmptyTypes) != null;
2222
}
23-
23+
2424
#if NULLABLE_REFERENCE_TYPES
2525
public static bool CanRead(this PropertyInfo property, [NotNullWhen(true)] out MethodInfo? getter)
2626
#else

src/Moq/Match.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ internal static TValue Matcher<TValue>()
7878
bool IMatcher.Matches(object? argument, Type parameterType) => this.Matches(argument, parameterType);
7979

8080
void IMatcher.SetupEvaluatedSuccessfully(object? value, Type parameterType) => this.SetupEvaluatedSuccessfully(value, parameterType);
81-
81+
8282
// TODO: Consider making the constructor set this to avoid the nullable reference warning.
8383
internal Expression RenderExpression { get; set; }
8484

src/Moq/Mock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ internal static Task RaiseEventAsync<T>(Mock mock, Action<T> action, object?[] a
703703

704704
var expression = ExpressionReconstructor.Instance.ReconstructExpression(action, mock.ConstructorArguments);
705705
var parts = expression.Split();
706-
706+
707707
// TODO: Will this code never return null?
708708
return (Task)Mock.RaiseEvent(mock, expression, parts, arguments);
709709
}

src/Moq/StringBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public static StringBuilder AppendValueOf(this StringBuilder stringBuilder, obje
148148

149149
stringBuilder.AppendValueOf(enumerator.Current);
150150
}
151-
151+
152152
(enumerator as IDisposable)?.Dispose();
153153
stringBuilder.Append(']');
154154
}

0 commit comments

Comments
 (0)