Skip to content

Commit bf240bd

Browse files
committed
Resolve some warnings in operations
1 parent 07c3915 commit bf240bd

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

Extensions/Xtensive.Orm.Operations/Operations/KeySetOperation.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ namespace Xtensive.Orm.Operations
1818
/// </summary>
1919
public abstract class KeySetOperation : Operation
2020
{
21-
private readonly IReadOnlyList<Key> keys;
22-
2321
/// <inheritdoc/>
2422
[JsonIgnore]
2523
public override string Description {
@@ -33,10 +31,7 @@ public override string Description {
3331
/// Gets the key set.
3432
/// </summary>
3533
[JsonInclude]
36-
public IReadOnlyList<Key> Keys {
37-
get;
38-
private set;
39-
}
34+
public IReadOnlyList<Key> Keys { get; }
4035

4136
/// <inheritdoc/>
4237
protected override void PrepareSelf(OperationExecutionContext context)

Extensions/Xtensive.Orm.Operations/Serialization/Json/Converters/KeyConverterFactory.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ public override void Write(Utf8JsonWriter writer, Key value, JsonSerializerOptio
3838

3939
private readonly Domain domain = domain;
4040

41+
/// <inheritdoc/>
4142
public override bool CanConvert(Type typeToConvert) =>
4243
typeToConvert.IsAssignableTo(typeof(Key));
4344

45+
/// <inheritdoc/>
4446
public override JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options)
4547
{
4648
// there might be implementation of per-type converters

0 commit comments

Comments
 (0)