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
16 changes: 0 additions & 16 deletions src/Verify/Splitters/Settings_Extension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,6 @@ internal static bool TryGetStreamConverter(string extension, [NotNullWhen(true)]
internal static bool HasStreamConverter(string extension) =>
extensionConverters.ContainsKey(extension);

[Obsolete("Use RegisterStreamConverter instead")]
public static void RegisterFileConverter(
string fromExtension,
Conversion<Stream> conversion) =>
RegisterFileConverter(
fromExtension,
(stream, context) => Task.FromResult(conversion(stream, context)));

[Obsolete("Use RegisterStreamConverter instead")]
public static void RegisterFileConverter(
string fromExtension,
AsyncConversion<Stream> conversion) =>
RegisterStreamConverter(
fromExtension,
(_, stream, context) => conversion(stream, context));

public static void RegisterStreamConverter(
string extension,
StreamConversion conversion) =>
Expand Down
10 changes: 0 additions & 10 deletions src/Verify/Verifier/InnerVerifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ public InnerVerifier(
}
}

/// <summary>
/// Initialize a new instance of the <see cref="InnerVerifier" /> class for verifying the entire file (not just a specific type)
/// </summary>
/// <remarks>This constructor is used by 3rd party clients</remarks>
[Obsolete("Use InnerVerifier(string directory, string name, VerifySettings settings)", true)]
// ReSharper disable UnusedParameter.Local
public InnerVerifier(string sourceFile, VerifySettings settings) =>
throw new NotImplementedException();
// ReSharper restore UnusedParameter.Local

/// <summary>
/// Initialize a new instance of the <see cref="InnerVerifier" /> class for verifying the entire file (not just a specific type)
/// </summary>
Expand Down
Loading