Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Remove deprecated ResettableLazy and ClassConstructorExtensions c…
…lasses from API verification files
  • Loading branch information
thomhurst committed Sep 9, 2025
commit 375219ddded40fccc0f51eb8df72c5c018f815d2
Original file line number Diff line number Diff line change
Expand Up @@ -1090,28 +1090,6 @@ namespace
public RepeatAttribute(int times) { }
public int Times { get; }
}
public class ResettableLazy<[.(..PublicConstructors)] T> :
where T : class
{
protected readonly string SessionId;
protected <.<T>> _factory;
public ResettableLazy(<.<T>> factory, string sessionId, .TestBuilderContext testBuilderContext) { }
protected ResettableLazy(. classConstructor, string sessionId, .TestBuilderContext testBuilderContext) { }
public .? ClassConstructor { get; protected set; }
public .TestBuilderContext TestBuilderContext { get; }
public .<T> Value { get; }
public .ResettableLazy<T> Clone() { }
public . DisposeAsync() { }
public virtual . ResetLazy() { }
protected static . DisposeAsync(object? obj) { }
}
public class ResettableLazy<[.(..PublicConstructors)] TClassConstructor, [.(..PublicConstructors)] T> : .ResettableLazy<T>
where TClassConstructor : ., new ()
where T : class
{
public ResettableLazy(string sessionId, .TestBuilderContext testBuilderContext) { }
public override . ResetLazy() { }
}
public sealed class ResolvedDependency
{
public ResolvedDependency() { }
Expand Down Expand Up @@ -1865,11 +1843,6 @@ namespace .Executors
}
namespace .Extensions
{
public static class ClassConstructorExtensions
{
public static .<T> Create<[.(..PublicConstructors)] T>(this . classConstructor, .ClassConstructorMetadata classConstructorMetadata)
where T : class { }
}
public static class MetadataExtensions
{
public static DeclaringType(this .MethodMetadata method) { }
Expand Down Expand Up @@ -1920,8 +1893,8 @@ namespace .Helpers
{
public static .ClassConstructorAttribute? GetClassConstructorAttribute([] attributes) { }
public static bool HasClassConstructorAttribute([] attributes) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, [.(..PublicConstructors)] testClassType, .TestBuilderContext testBuilderContext, string testSessionId) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, [.(..PublicConstructors)] testClassType, string testSessionId, .TestContext testContext) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, [.(..PublicConstructors)] testClassType, string testSessionId, .TestContextEvents events, .<string, object?> objectBag, .MethodMetadata methodMetadata) { }
}
[.DebuggerDisplay("Count = {CurrentCount}")]
public class Counter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1090,28 +1090,6 @@ namespace
public RepeatAttribute(int times) { }
public int Times { get; }
}
public class ResettableLazy<[.(..PublicConstructors)] T> :
where T : class
{
protected readonly string SessionId;
protected <.<T>> _factory;
public ResettableLazy(<.<T>> factory, string sessionId, .TestBuilderContext testBuilderContext) { }
protected ResettableLazy(. classConstructor, string sessionId, .TestBuilderContext testBuilderContext) { }
public .? ClassConstructor { get; protected set; }
public .TestBuilderContext TestBuilderContext { get; }
public .<T> Value { get; }
public .ResettableLazy<T> Clone() { }
public . DisposeAsync() { }
public virtual . ResetLazy() { }
protected static . DisposeAsync(object? obj) { }
}
public class ResettableLazy<[.(..PublicConstructors)] TClassConstructor, [.(..PublicConstructors)] T> : .ResettableLazy<T>
where TClassConstructor : ., new ()
where T : class
{
public ResettableLazy(string sessionId, .TestBuilderContext testBuilderContext) { }
public override . ResetLazy() { }
}
public sealed class ResolvedDependency
{
public ResolvedDependency() { }
Expand Down Expand Up @@ -1865,11 +1843,6 @@ namespace .Executors
}
namespace .Extensions
{
public static class ClassConstructorExtensions
{
public static .<T> Create<[.(..PublicConstructors)] T>(this . classConstructor, .ClassConstructorMetadata classConstructorMetadata)
where T : class { }
}
public static class MetadataExtensions
{
public static DeclaringType(this .MethodMetadata method) { }
Expand Down Expand Up @@ -1920,8 +1893,8 @@ namespace .Helpers
{
public static .ClassConstructorAttribute? GetClassConstructorAttribute([] attributes) { }
public static bool HasClassConstructorAttribute([] attributes) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, [.(..PublicConstructors)] testClassType, .TestBuilderContext testBuilderContext, string testSessionId) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, [.(..PublicConstructors)] testClassType, string testSessionId, .TestContext testContext) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, [.(..PublicConstructors)] testClassType, string testSessionId, .TestContextEvents events, .<string, object?> objectBag, .MethodMetadata methodMetadata) { }
}
[.DebuggerDisplay("Count = {CurrentCount}")]
public class Counter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1023,28 +1023,6 @@ namespace
public RepeatAttribute(int times) { }
public int Times { get; }
}
public class ResettableLazy<T> :
where T : class
{
protected readonly string SessionId;
protected <.<T>> _factory;
public ResettableLazy(<.<T>> factory, string sessionId, .TestBuilderContext testBuilderContext) { }
protected ResettableLazy(. classConstructor, string sessionId, .TestBuilderContext testBuilderContext) { }
public .? ClassConstructor { get; protected set; }
public .TestBuilderContext TestBuilderContext { get; }
public .<T> Value { get; }
public .ResettableLazy<T> Clone() { }
public . DisposeAsync() { }
public virtual . ResetLazy() { }
protected static . DisposeAsync(object? obj) { }
}
public class ResettableLazy<TClassConstructor, T> : .ResettableLazy<T>
where TClassConstructor : ., new ()
where T : class
{
public ResettableLazy(string sessionId, .TestBuilderContext testBuilderContext) { }
public override . ResetLazy() { }
}
public sealed class ResolvedDependency
{
public ResolvedDependency() { }
Expand Down Expand Up @@ -1559,7 +1537,6 @@ namespace .Data
{
public ScopedDictionary() { }
public object? GetOrCreate(TScope scope, type, <, object?> factory) { }
public void RemoveValue(object valueToRemove) { }
}
}
namespace .DataSources
Expand Down Expand Up @@ -1776,11 +1753,6 @@ namespace .Executors
}
namespace .Extensions
{
public static class ClassConstructorExtensions
{
public static .<T> Create<T>(this . classConstructor, .ClassConstructorMetadata classConstructorMetadata)
where T : class { }
}
public static class MetadataExtensions
{
public static DeclaringType(this .MethodMetadata method) { }
Expand Down Expand Up @@ -1823,8 +1795,8 @@ namespace .Helpers
{
public static .ClassConstructorAttribute? GetClassConstructorAttribute([] attributes) { }
public static bool HasClassConstructorAttribute([] attributes) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, testClassType, .TestBuilderContext testBuilderContext, string testSessionId) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, testClassType, string testSessionId, .TestContext testContext) { }
public static .<object?> TryCreateInstanceWithClassConstructor(.<> attributes, testClassType, string testSessionId, .TestContextEvents events, .<string, object?> objectBag, .MethodMetadata methodMetadata) { }
}
[.DebuggerDisplay("Count = {CurrentCount}")]
public class Counter
Expand Down
Loading
Loading