Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<NoWarn Condition="$(MSBuildProjectName.Contains('Tests')) == 'true'">$(NoWarn);SYSLIB0011</NoWarn>
<!-- Enable Usage of BinaryFormatter in test projects -->
<EnableUnsafeBinaryFormatterSerialization
Condition="('$(TargetFramework)'=='net8.0' OR '$(TargetFramework)'=='net9.0') AND $(MSBuildProjectName.Contains('Tests')) == 'true'">true</EnableUnsafeBinaryFormatterSerialization>
Condition="('$(TargetFramework)'=='net10.0' OR '$(TargetFramework)'=='net9.0') AND $(MSBuildProjectName.Contains('Tests')) == 'true'">true</EnableUnsafeBinaryFormatterSerialization>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

Expand Down
9 changes: 4 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<Project>
<PropertyGroup>
<MSExtVersion Condition="'$(TargetFramework)' == 'net9.0'">9.0.0</MSExtVersion>
<MSExtVersion Condition="'$(TargetFramework)' == 'net8.0'">8.0.0</MSExtVersion>
<MSExtVersion Condition="'$(TargetFramework)' == 'net10.0'">10.0.0</MSExtVersion>
<MSExtVersion2>$(MSExtVersion)</MSExtVersion2>
<MSExtVersion2 Condition="'$(TargetFramework)' == 'net8.0'">8.0.1</MSExtVersion2>
<MSExtVersion2 Condition="'$(TargetFramework)' == 'net10.0'">10.0.0</MSExtVersion2>
</PropertyGroup>
<ItemGroup Label="Nupkg Versions">
<PackageVersion Include="System.CodeDom" Version="$(MSExtVersion)"/>
Expand All @@ -15,7 +15,6 @@
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="$(MSExtVersion2)" />
<PackageVersion Include="Microsoft.Extensions.Configuration.Xml" Version="$(MSExtVersion2)" />
<PackageVersion Include="System.Data.SQLite.Core" Version="1.0.119" />
<PackageVersion Include="System.Dynamic.Runtime" Version="4.3.0" />
<PackageVersion Include="System.Spatial" Version="5.8.5" />
<PackageVersion Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="2.2.0" />
Expand All @@ -25,10 +24,10 @@
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MSExtVersion2)" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.0.0" />
<PackageVersion Include="BitFaster.Caching" Version="2.5.2" />
<PackageVersion Include="BitFaster.Caching" Version="2.5.3" />
<PackageVersion Include="FirebirdSql.Data.FirebirdClient" Version="8.5.3" />
<PackageVersion Include="FSharp.Core" Version="4.7.0" />
<PackageVersion Include="Google.Protobuf" Version="3.28.3" />
<PackageVersion Include="Google.Protobuf" Version="3.29.3" />
<PackageVersion Include="log4net" Version="2.0.10" />
<PackageVersion Include="Mono.Cecil" Version="0.11.6" />
<PackageVersion Include="MySql.Data" Version="8.0.31" />
Expand Down
4 changes: 0 additions & 4 deletions Extensions/Xtensive.Orm.BulkOperations/Internals/Operation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,7 @@ protected void EnsureTransactionIsStarted()
public QueryTranslationResult GetRequest(IQueryable<T> query) => QueryBuilder.TranslateQuery(query);

public QueryTranslationResult GetRequest(Type type, IQueryable query) =>
#if NET8_0_OR_GREATER
(QueryTranslationResult) WellKnownMembers.TranslateQueryMethod.CachedMakeGenericMethodInvoker(type).Invoke(QueryBuilder, query);
#else
(QueryTranslationResult) WellKnownMembers.TranslateQueryMethod.CachedMakeGenericMethod(type).Invoke(QueryBuilder, new object[] {query});
#endif

public TypeInfo GetTypeInfo(Type entityType) =>
Session.Domain.Model.Hierarchies.SelectMany(a => a.Types).Single(a => a.UnderlyingType == entityType);
Expand Down
2 changes: 1 addition & 1 deletion MSBuild/DataObjects.Net.targets
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<XtensiveOrmPath Condition="'$(XtensiveOrmPath)'==''">$(MSBuildThisFileDirectory)</XtensiveOrmPath>
<XtensiveOrmPath Condition="!HasTrailingSlash('$(XtensiveOrmPath)')">$(XtensiveOrmPath)\</XtensiveOrmPath>
<XtensiveWeaverFramework>net9.0</XtensiveWeaverFramework>
<XtensiveWeaverFramework Condition="'$(TargetFramework)'=='net8.0'">net8.0</XtensiveWeaverFramework>
<XtensiveWeaverFramework Condition="'$(TargetFramework)'=='net10.0'">net10.0</XtensiveWeaverFramework>
<XtensiveOrmWeaver Condition="'$(XtensiveOrmWeaver)'==''">$(XtensiveOrmPath)tools\weaver\$(XtensiveWeaverFramework)\Xtensive.Orm.Weaver.dll</XtensiveOrmWeaver>
<XtensiveOrmBuildDependsOn>$(XtensiveOrmBuildDependsOn)</XtensiveOrmBuildDependsOn>
</PropertyGroup>
Expand Down
26 changes: 0 additions & 26 deletions Orm/Xtensive.Orm.Tests.Core/DotNetFramework/AllocationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ private void TestClassAllocation(double speedFactor)
// Warmup
int iterations = 100;
AllocateClass_SlimObject(iterations);
#if !NET8_0_OR_GREATER
AllocateClass_SlimObject_ByFormatterServices(iterations);
#endif
AllocateClass_FinalizableSlimObject(iterations);
AllocateClass_InheritedObject3(iterations);
AllocateClass<SlimObject>(iterations);
Expand All @@ -112,10 +109,6 @@ private void TestClassAllocation(double speedFactor)
using (new Measurement("SlimObject", MeasurementOptions.Log, iterations))
AllocateClass_SlimObject(iterations);
TestHelper.CollectGarbage();
#if !NET8_0_OR_GREATER
using (new Measurement("SlimObject (using FormatterServices)", MeasurementOptions.Log, iterations))
AllocateClass_SlimObject_ByFormatterServices(iterations);
#endif
TestHelper.CollectGarbage();
using (new Measurement("FinalizableSlimObject", MeasurementOptions.Log, iterations))
AllocateClass_FinalizableSlimObject(iterations);
Expand Down Expand Up @@ -213,25 +206,6 @@ private void AllocateClass_InheritedObject3(int iterationCount)
new InheritedObject3();
}
}
#if !NET8_0_OR_GREATER

private void AllocateClass_SlimObject_ByFormatterServices(int iterationCount)
{
var type = typeof(SlimObject);
for (int i = 0; i<iterationCount; i+=10) {
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
FormatterServices.GetUninitializedObject(type);
}
}
#endif

private void AllocateClass_FinalizableSlimObject(int iterationCount)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ public ValidationException(string message, string nodePath)
#region Serializing members

/// <inheritdoc/>
#if NET8_0_OR_GREATER
[Obsolete(DiagnosticId = "SYSLIB0051")]
#endif
protected ValidationException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
Expand All @@ -64,9 +62,7 @@ protected ValidationException(SerializationInfo info, StreamingContext context)

/// <inheritdoc/>
[SecurityCritical]
#if NET8_0_OR_GREATER
[Obsolete(DiagnosticId = "SYSLIB0051")]
#endif
public override void GetObjectData(SerializationInfo info, StreamingContext context)
{
info.AddValue("NodePath", NodePath);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ public void EqualsTest()
RunWrongTest<SingleDateTimeEntity>(c => c.MillisecondDateTime==WrongMillisecondDateTime);
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateTime==WrongDateTime);
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateTime==null);
#if NET_6_0_OR_GREATER
RunTest<SingleDateTimeEntity>(c => c.DateOnly == FirstDateOnly);
RunTest<SingleDateTimeEntity>(c => c.NullableDateOnly == NullableDateOnly);
#endif
});
}

Expand All @@ -38,9 +34,6 @@ public void NotEqualTest()
RunTest<SingleDateTimeEntity>(c=>c.DateTime!=FirstDateTime.AddYears(1));
RunTest<SingleDateTimeEntity>(c => c.MillisecondDateTime!=FirstMillisecondDateTime.AddYears(1));
RunTest<SingleDateTimeEntity>(c=>c.NullableDateTime!=NullableDateTime.AddYears(1));
#if NET_6_0_OR_GREATER
RunTest<SingleDateTimeEntity>(c => c.DateOnly != FirstDateOnly.AddYears(1));
#endif
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ public void DateTimeJoinTest()
(left, right) => new JoinResult<DateTime> { LeftId = left.Id, RightId = right.Id, LeftDateTime = left.DateTime, RightDateTime = right.DateTime },
c => c.LeftId,
c => c.RightId));
#if NET_6_0_OR_GREATER
ExecuteInsideSession(() => JoinPrivate<DateTimeEntity, DateTimeEntity, JoinResult<DateOnly>, DateOnly, long>(
left => left.DateOnly,
right => right.DateOnly,
(left, right) => new JoinResult<DateOnly> { LeftId = left.Id, RightId = right.Id, LeftDateTime = left.DateOnly, RightDateTime = right.DateOnly },
c => c.LeftId,
c => c.RightId));
#endif
}

[Test]
Expand Down Expand Up @@ -83,4 +75,4 @@ private static void JoinPrivate<T1, T2, T3, TK1, TK3>(Session session,
Assert.IsFalse(joinLocal.SequenceEqual(joinServer));
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ public void AddYearsTest()
RunWrongTest<SingleDateTimeEntity>(c => c.DateTime.AddYears(1) == FirstDateTime.AddYears(2));
RunWrongTest<SingleDateTimeEntity>(c => c.MillisecondDateTime.AddYears(-1) == FirstMillisecondDateTime.AddYears(-2));
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateTime.Value.AddYears(33) == NullableDateTime.AddYears(44));
#if NET_6_0_OR_GREATER
RunTest<SingleDateTimeEntity>(c => c.DateOnly.AddYears(1) == FirstDateOnly.AddYears(1));
RunTest<SingleDateTimeEntity>(c => c.NullableDateOnly.Value.AddYears(33) == NullableDateOnly.AddYears(33));

RunWrongTest<SingleDateTimeEntity>(c => c.DateOnly.AddYears(1) == FirstDateOnly.AddYears(2));
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateOnly.Value.AddYears(33) == NullableDateOnly.AddYears(44));
#endif
});
}

Expand All @@ -43,13 +36,6 @@ public void AddMonthsTest()
RunWrongTest<SingleDateTimeEntity>(c => c.DateTime.AddMonths(1) == FirstDateTime.AddMonths(2));
RunWrongTest<SingleDateTimeEntity>(c => c.MillisecondDateTime.AddMonths(-1) == FirstMillisecondDateTime.AddMonths(-2));
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateTime.Value.AddMonths(33) == NullableDateTime.AddMonths(44));
#if NET_6_0_OR_GREATER
RunTest<SingleDateTimeEntity>(c => c.DateOnly.AddMonths(1) == FirstDateOnly.AddMonths(1));
RunTest<SingleDateTimeEntity>(c => c.NullableDateOnly.Value.AddMonths(33) == NullableDateOnly.AddMonths(33));

RunWrongTest<SingleDateTimeEntity>(c => c.DateOnly.AddMonths(1) == FirstDateOnly.AddMonths(2));
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateOnly.Value.AddMonths(33) == NullableDateOnly.AddMonths(44));
#endif
});
}

Expand All @@ -64,13 +50,6 @@ public void AddDaysTest()
RunWrongTest<SingleDateTimeEntity>(c => c.DateTime.AddDays(1) == FirstDateTime.AddDays(2));
RunWrongTest<SingleDateTimeEntity>(c => c.MillisecondDateTime.AddDays(-1) == FirstMillisecondDateTime.AddDays(-2));
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateTime.Value.AddDays(33) == NullableDateTime.AddDays(44));
#if NET_6_0_OR_GREATER
RunTest<SingleDateTimeEntity>(c => c.DateOnly.AddDays(1) == FirstDateOnly.AddDays(1));
RunTest<SingleDateTimeEntity>(c => c.NullableDateOnly.Value.AddDays(33) == NullableDateOnly.AddDays(33));

RunWrongTest<SingleDateTimeEntity>(c => c.DateOnly.AddDays(1) == FirstDateOnly.AddDays(2));
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateOnly.Value.AddDays(33) == NullableDateOnly.AddDays(44));
#endif
});
}

Expand Down Expand Up @@ -99,11 +78,6 @@ public void AddMinutesTest()
RunWrongTest<SingleDateTimeEntity>(c => c.DateTime.AddMinutes(1) == FirstDateTime.AddMinutes(2));
RunWrongTest<SingleDateTimeEntity>(c => c.MillisecondDateTime.AddMinutes(-1) == FirstMillisecondDateTime.AddMinutes(-2));
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateTime.Value.AddMinutes(33) == NullableDateTime.AddMinutes(44));
#if NET_6_0_OR_GREATER
RunTest<SingleDateTimeEntity>(c => c.TimeOnly.AddMinutes(1) == FirstTimeOnly.AddMinutes(1));

RunWrongTest<SingleDateTimeEntity>(c => c.TimeOnly.AddMinutes(1) == FirstTimeOnly.AddMinutes(2));
#endif
});
}

Expand Down Expand Up @@ -214,11 +188,6 @@ public void MinusDateTimeTest()
RunWrongTest<SingleDateTimeEntity>(c => c.DateTime - SecondDateTime == FirstDateTime - WrongDateTime);
RunWrongTest<SingleDateTimeEntity>(c => c.MillisecondDateTime - SecondDateTime == FirstMillisecondDateTime - WrongDateTime);
RunWrongTest<SingleDateTimeEntity>(c => c.NullableDateTime - SecondDateTime == NullableDateTime - WrongDateTime);

#if NET_6_0_OR_GREATER
RunTest<SingleDateTimeEntity>(c => c.TimeOnly - SecondTimeOnly == FirstTimeOnly - SecondTimeOnly);
RunWrongTest<SingleDateTimeEntity>(c => c.TimeOnly - SecondTimeOnly == FirstTimeOnly - WrongTimeOnly);
#endif
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ protected override void PopulateEntities(Session session)
_ = new SingleDateTimeEntity(session) {
DateTime = FirstDateTime,
MillisecondDateTime = FirstMillisecondDateTime,
#if NET_6_0_OR_GREATER
DateOnly = DateOnly.FromDateTime(FirstDateTime),
NullableDateOnly = DateOnly.FromDateTime(NullableDateTime),
TimeOnly = FirstTimeOnly,
#endif
NullableDateTime = NullableDateTime
};

Expand Down Expand Up @@ -205,4 +200,4 @@ protected override void PopulateEntities(Session session)
_ = AllPossiblePartsEntity.FromDateTime(session, FirstMillisecondDateTime, 321);
}
}
}
}
4 changes: 0 additions & 4 deletions Orm/Xtensive.Orm.Tests/Model/HierarchyRootValidationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ public void InvalidNonPersistentKeyTypesForDefaultGeneratorTest()
Assert.That(ex.Message.Contains(UnableToCreateKeyForMsg));
}

#if NET6_0_OR_GREATER
configuration = CreateDomainConfiguration(new[] { typeof(Models.NonPersistentStorageSupporedTypesAsKeys.TimeOnlyKeyEntity) });
Assert.DoesNotThrow(() => domain = Domain.Build(configuration));
Assert.That(domain, Is.Not.Null);
Expand Down Expand Up @@ -294,7 +293,6 @@ public void InvalidNonPersistentKeyTypesForDefaultGeneratorTest()
});
Assert.That(ex.Message.Contains(UnableToCreateKeyForMsg));
}
#endif

configuration = CreateDomainConfiguration(new[] { typeof(Models.NonPersistentStorageSupporedTypesAsKeys.DateTimeKeyEntity) });
Assert.DoesNotThrow(() => domain = Domain.Build(configuration));
Expand Down Expand Up @@ -1621,7 +1619,6 @@ public TimeSpanKeyEntity(Session session)
}
}

#if NET6_0_OR_GREATER

[HierarchyRoot]
public class TimeOnlyKeyEntity : Entity
Expand Down Expand Up @@ -1655,7 +1652,6 @@ public DateOnlyKeyEntity(Session session)
}
}

#endif

[HierarchyRoot]
public class DateTimeKeyEntity : Entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ public class TestEntity1 : Entity
[Field]
public string Text { get; set; }

#if NET_6_0_OR_GREATER
[Field]
public DateOnly DateOnly { get; set; }

[Field]
public TimeOnly TimeOnly { get; set; }
#endif

[Field]
public string DatabaseName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,20 +414,16 @@ private void Update(Session session, Key[] createdKeys, int initialCountOfEntiti
var now = DateTime.UtcNow;

a.Text = updatedText;
#if NET_6_0_OR_GREATER
var dateOnly = DateOnly.FromDateTime(now);
var timeOnly = TimeOnly.FromDateTime(now);
a.DateOnly = dateOnly;
a.TimeOnly = timeOnly;
#endif
session.SaveChanges();

Assert.That(session.Query.All<model.Part1.TestEntity1>().Count(), Is.EqualTo(initialCountOfEntities + 1));
Assert.That(session.Query.All<model.Part1.TestEntity1>().FirstOrDefault(e => e.Text == updatedText), Is.Not.Null);
#if NET_6_0_OR_GREATER
Assert.AreEqual(session.Query.All<model.Part1.TestEntity1>().FirstOrDefault(e => e.Text == updatedText).DateOnly, dateOnly);
Assert.AreEqual(session.Query.All<model.Part1.TestEntity1>().FirstOrDefault(e => e.Text == updatedText).TimeOnly, timeOnly);
#endif
Assert.That(session.Query.All<model.Part1.TestEntity1>().FirstOrDefault(e => e.Text == text), Is.Null);
Assert.That(
session.Query.All<model.Part1.TestEntity1>()
Expand Down
1 change: 0 additions & 1 deletion Orm/Xtensive.Orm.Tests/Xtensive.Orm.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<PackageReference Include="NUnit" />
<PackageReference Include="NUnit3TestAdapter" />
<PackageReference Include="System.Spatial" />
<PackageReference Include="System.Dynamic.Runtime" />
<PackageReference Include="Microsoft.Extensions.Configuration" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" />
<PackageReference Include="Microsoft.Extensions.Configuration.Xml" />
Expand Down
2 changes: 0 additions & 2 deletions Orm/Xtensive.Orm/Core/Exceptions/ActivationException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ public ActivationException(string message, Exception innerException)
/// </summary>
/// <param name="info"></param>
/// <param name="context"></param>
#if NET8_0_OR_GREATER
[Obsolete(DiagnosticId = "SYSLIB0051")]
#endif
protected ActivationException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
Expand Down
2 changes: 0 additions & 2 deletions Orm/Xtensive.Orm/Core/Exceptions/InstanceIsLockedException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ public InstanceIsLockedException(string text)
/// </summary>
/// <param name="info"><see cref="SerializationInfo"/> object.</param>
/// <param name="context"><see cref="StreamingContext"/> object.</param>
#if NET8_0_OR_GREATER
[Obsolete(DiagnosticId = "SYSLIB0051")]
#endif
protected InstanceIsLockedException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
Expand Down
4 changes: 0 additions & 4 deletions Orm/Xtensive.Orm/Core/Internals/ValueStringBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,7 @@ public void Append(string? s)
Grow(s.Length);
}

#if NET6_0_OR_GREATER
s.CopyTo(chars.Slice(origPos));
#else
s.AsSpan().CopyTo(chars.Slice(origPos));
#endif
position += s.Length;
}
}
Expand Down
13 changes: 0 additions & 13 deletions Orm/Xtensive.Orm/IoC/ServiceContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -184,28 +184,15 @@ public static IServiceContainer Create(Type containerType, object configuration,
Type configurationType = configuration?.GetType(),
parentType = parent?.GetType();
return (IServiceContainer) (
#if NET8_0_OR_GREATER
FindConstructorInvoker(containerType, configurationType, parentType)?.Invoke(configuration, parent)
?? FindConstructorInvoker(containerType, configurationType)?.Invoke(configuration)
?? FindConstructorInvoker(containerType, parentType)?.Invoke(parent)
#else
FindConstructor(containerType, configurationType, parentType)?.Invoke(new[] { configuration, parent })
?? FindConstructor(containerType, configurationType)?.Invoke(new[] { configuration })
?? FindConstructor(containerType, parentType)?.Invoke(new[] { parent })
#endif
?? throw new ArgumentException(Strings.ExContainerTypeDoesNotProvideASuitableConstructor, "containerType")
);
}

#if NET8_0_OR_GREATER
private static ConstructorInvoker FindConstructorInvoker(Type containerType, params Type[] argumentTypes) =>
containerType.GetSingleConstructorInvokerOrDefault(argumentTypes);
#else
#pragma warning disable CS0612 // Type or member is obsolete
private static ConstructorInfo FindConstructor(Type containerType, params Type[] argumentTypes) =>
containerType.GetSingleConstructorOrDefault(argumentTypes);
#pragma warning restore CS0612 // Type or member is obsolete
#endif

#endregion

Expand Down
Loading