Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix(mocks): skip interfaces with inaccessible abstract members - #6502

#6502
Merged
thomhurst merged 5 commits into
mainthomhurst/TUnit:mainfrom
fix/6491-unimplementable-interfacethomhurst/TUnit:fix/6491-unimplementable-interfaceCopy head branch name to clipboard
Jul 28, 2026
Merged

fix(mocks): skip interfaces with inaccessible abstract members#6502
thomhurst merged 5 commits into
mainthomhurst/TUnit:mainfrom
fix/6491-unimplementable-interfacethomhurst/TUnit:fix/6491-unimplementable-interfaceCopy head branch name to clipboard

Conversation

@thomhurst

Copy link
Copy Markdown
Owner

Fixes #6491

Problem

Mock.Of<Raven.Client.Documents.IDocumentStore>() produced 9 errors on generated code:

ISessionBlittableJsonConverter_MockImplFactory.g.cs(7,64): error CS0535: 'ISessionBlittableJsonConverterMockImpl'
  does not implement interface member 'ISessionBlittableJsonConverter.MissingProperties.get'
..._Mock.g.cs(49,197): error CS0122: 'ISessionBlittableJsonConverter.MissingProperties' is inaccessible
  due to its protection level

Confirmed against the shipped assembly — MissingProperties's accessors carry Assembly accessibility:

TYPE Raven.Client.Json.Serialization.ISessionBlittableJsonConverter attrs=Public, ClassSemanticsMask, Abstract
  PROP MissingProperties
    get=Assembly, Virtual, HideBySig, Abstract, SpecialName
    set=Assembly, Virtual, HideBySig, Abstract, SpecialName

Since C# 8 an interface may declare non-public abstract members, and no type outside the declaring assembly can implement them. MemberDiscovery correctly filtered the inaccessible member out of the model, so the generated impl never declared it — but the impl still had to satisfy the interface, hence CS0535.

The user never asked to mock that interface: transitive auto-mock discovery reached it from IDocumentStore, so there was no way to opt out from the call site.

Fix

  • InterfaceImplementability.CanBeImplemented — an interface is mockable only when every abstract member it (or a base interface) requires an implementer to provide is accessible from the consuming compilation. Members with a default implementation are ignored; they are not the implementer's problem.
  • BuildSingleTypeModel returns null for those interfaces, so they are dropped from every discovery path — direct, [GenerateMock], and the transitive walk.
  • GetAutoMockFactoryMethod applies the same rule, so a member returning such an interface falls back to a plain default rather than referencing a factory that was deliberately not generated (which would be CS0400).
  • New TM007 + InaccessibleInterfaceMemberMockAnalyzer reports at the call site when the interface is mocked directly, naming the member responsible — replacing the CS0535 cascade with one actionable error.

Tests

  • tests/TUnit.Mocks.SourceGenerator.Tests/Issue6491Tests.cs — the reported shape end-to-end: an external assembly whose IDocumentStore exposes an interface with an internal abstract member. Asserts no CS0535/CS0548/CS0551/CS0122 in the generated compilation, that the unimplementable interface gets no impl, and that a sibling public interface still gets its auto-mock factory.
  • tests/TUnit.Mocks.Analyzers.Tests/InaccessibleInterfaceMemberMockAnalyzerTests.cs — 8 cases covering inaccessible property / method / inherited member, both entry points, and the non-reporting cases (all-public members, default-implemented non-public member, same-assembly internal, class targets).

Analyzer tests 38 passed, generator snapshots 82 passed, TUnit.Mocks.Tests 1160 passed, Http 54, Logging 31.

Since C# 8 an interface may declare non-public abstract members. RavenDB's
ISessionBlittableJsonConverter.MissingProperties is `internal`, so no type
outside its assembly can implement the interface. Auto-mock discovery
walked into it anyway when it turned up as a member return type: mocking
IDocumentStore produced CS0535/CS0548/CS0551/CS0122 on generated code for
an interface the user never asked to mock, with no per-member opt-out.

Drop such interfaces at discovery, and suppress the auto-mock factory
reference on members that return them so the boundary type still compiles.
Members with a default implementation are ignored — they are not the
implementer's problem. Direct mock attempts now report TM007 naming the
offending member, instead of the CS0535 cascade.

Fixes #6491
Comment thread src/TUnit.Mocks.SourceGenerator/Discovery/InterfaceImplementability.cs Outdated
Comment thread src/TUnit.Mocks.SourceGenerator/Discovery/MockTypeDiscovery.cs
@greptile-apps

greptile-apps Bot commented Jul 28, 2026

Copy link
Copy Markdown

Greptile Summary

The PR prevents generation for interfaces whose required abstract members cannot be implemented and adds TM007 diagnostics for direct mock requests.

  • Applies implementability checks to direct, multi-interface, attribute, and transitive mock discovery.
  • Avoids references to factories intentionally omitted for unimplementable return interfaces.
  • Adds analyzer and generator regression coverage for inaccessible members and accessors.

Confidence Score: 3/5

The PR is not yet safe to merge because static-style mock requests can bypass TM007 when they bind to TUnit's generic fallback.

The generator omits the per-type extension for an unimplementable interface, but the analyzer treats the remaining generic TUnit Mock extension as a non-entry-point call and returns before syntactic target recovery, leaving the request without the promised compile-time diagnostic.

Files Needing Attention: src/TUnit.Mocks.Analyzers/InaccessibleInterfaceMemberMockAnalyzer.cs

Important Files Changed

Filename Overview
src/TUnit.Mocks.SourceGenerator/Discovery/InterfaceImplementability.cs Centralizes checks that required interface members and accessors can be implemented by generated code.
src/TUnit.Mocks.SourceGenerator/Discovery/MockTypeDiscovery.cs Drops unimplementable interfaces from direct, combined, attribute, and transitive generation paths.
src/TUnit.Mocks.SourceGenerator/Discovery/MemberDiscovery.cs Prevents auto-mock factory references for interfaces deliberately excluded from generation.
src/TUnit.Mocks.Analyzers/InaccessibleInterfaceMemberMockAnalyzer.cs Adds TM007 coverage and avoids unrelated bound Mock calls, but the semantic guard also suppresses the diagnostic when TUnit's generic static-style fallback binds.
tests/TUnit.Mocks.Analyzers.Tests/InaccessibleInterfaceMemberMockAnalyzerTests.cs Covers inaccessible members, accessors, attributes, inheritance, and unrelated extensions, but not the real generic TUnit fallback binding.
tests/TUnit.Mocks.SourceGenerator.Tests/Issue6491Tests.cs Exercises transitive discovery and verifies unimplementable interfaces are omitted without affecting implementable siblings.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Mock request discovered] --> B{All required interface members accessible?}
  B -->|Yes| C[Generate mock model and factory]
  B -->|No| D[Skip generated implementation]
  D --> E{Direct request recognized by analyzer?}
  E -->|Yes| F[Report TM007]
  E -->|No| G[Generic Mock extension may run without a factory]
Loading

Reviews (4): Last reviewed commit: "test(mocks): make the snapshot harness's..." | Re-trigger Greptile

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

The fix for the RavenDB internal-member case (issue #6491) is well-targeted and the test coverage for that scenario is solid. However, I found a correctness bug in the accessibility check itself, plus a gap in coverage, both of which I verified experimentally rather than just from reading the diff.

1. protected interface members are incorrectly treated as unmockable (false positive / regression)

InterfaceImplementability.CanBeImplemented (and the mirrored logic in InaccessibleInterfaceMemberMockAnalyzer) uses:

compilation.IsSymbolAccessibleWithin(member, compilation.Assembly)

IsSymbolAccessibleWithin evaluates accessibility relative to the within context. When within is an assembly (not a type), a protected member always evaluates to false — protected accessibility is defined relative to a derived type, not an assembly. I confirmed this directly:

// same compilation, no cross-assembly involved at all
protected string Hidden { get; set; }   // DeclaredAccessibility=Protected, IsSymbolAccessibleWithin(assembly)=False
internal string Internal { get; set; }  // DeclaredAccessibility=Internal,  IsSymbolAccessibleWithin(assembly)=True

But a protected interface member is implementable by any class in any assembly via explicit interface implementation — I verified this compiles and runs across two separate assemblies (LibA declares protected string Hidden, AppB's Impl : IFoo provides string IFoo.Hidden { get; set; }, builds and runs clean). Checking accessibility against the implementing type instead of the assembly confirms this:

compilation.IsSymbolAccessibleWithin(member, mockType) // mockType : IFoo → True for the protected member

So the test file's own framing is off — the comment in InaccessibleInterfaceMemberMockAnalyzerTests.cs says "protected members... are unimplementable by a class in any assembly," but that's not true; only internal/private protected members are assembly-gated. As written, this PR will make any interface with a protected abstract member silently drop out of mock generation (or hard-error with TM007 if mocked directly) even though it always worked and always could work.

Suggested fix: don't check accessibility against the bare assembly. Either check against the (hypothetical) implementing type, or special-case the two accessibility kinds that are actually assembly-scoped:

var accessibility = member.DeclaredAccessibility;
if (accessibility is Accessibility.Internal or Accessibility.ProtectedAndInternal
    && !SymbolEqualityComparer.Default.Equals(member.ContainingAssembly, compilation.Assembly))
{
    return false; // or: return member;
}

Protected and ProtectedOrInternal should always be treated as implementable — that's the entire point of C# 8's protected interface members.

2. Multi-interface Mock.Of<T1, T2>() doesn't get the same protection when the problem interface is T2/T3/T4

In MockTypeDiscovery.TransformToModels, the new CanBeImplemented guard is applied to the primary type (BuildSingleTypeModel(namedType, ...) at line ~146) and to transitive return-type discovery, but for additional interfaces in a multi-type mock:

var standalone = BuildSingleTypeModel(additionalType, isPartialMock: false, compilationAssembly, compilation);
if (standalone is null)
{
    mapsBuilder.Add(EquatableArray<int>.Empty);
    continue;   // only skips the pair-model/map — additionalType is still in additionalInterfaceNames
}

additionalInterfaceNames (used to build multiTypeModel.AdditionalInterfaceNames) is computed earlier, unconditionally, from all type arguments. MockImplBuilder then unconditionally lists every AdditionalInterfaceNames entry in the generated impl's base-type list (MockImplBuilder.cs:39-41 and :453-455). Since MemberDiscovery's existing external-accessibility filter still drops the inaccessible member from generation, the impl ends up declaring : T1, T2 without implementing T2's inaccessible member — reproducing the exact CS0535 cascade this PR fixes, just for Mock.Of<T1, T2>()/Of<T1, T2, T3>()/Of<T1, T2, T3, T4>() instead of the single-type entry point.

The new InaccessibleInterfaceMemberMockAnalyzer doesn't catch this either — ResolveMockTarget only handles methodSymbol.TypeArguments.Length == 1, so multi-interface calls get no TM007 and go straight to a raw compiler error, same bad UX as issue #6491 originally had.

Suggested fix: when standalone is null for an additional type, drop it from additionalInterfaceNames/AdditionalInterfaceNames (not just skip its pair model), and extend the analyzer's ResolveMockTarget to walk all of methodSymbol.TypeArguments, not just index 0.

Nit

Given finding #1, most of InaccessibleInterfaceMemberMockAnalyzerTests (which uses protected as the "unimplementable" stand-in) will need updating to use a genuinely assembly-gated accessibility (internal/private protected in a separate compilation, matching what Issue6491Tests already does for the generator side) once the accessibility check is corrected.

…pe combos

Two review findings, both reproduced before fixing.

IsSymbolAccessibleWithin(member, assembly) evaluates protected relative to
an assembly, where it is always false — but a protected interface member
is implementable from any assembly through explicit interface
implementation. Verified with a two-assembly probe: the implementing class
compiles clean while the check reports the member inaccessible. As written
that would have dropped every interface with a protected abstract member
out of generation. InterfaceImplementability now delegates to
MemberDiscovery.IsMemberAccessible — the same rule that decides which
members reach the model, so a required member discovery drops is exactly
one the impl would fail to implement — and the analyzer mirrors it,
gating only internal and private protected.

Mock.Of<T1, T2>() listed every additional interface in the impl's
base-type list without the implementability check, reproducing the same
CS0535 cascade for T2/T3/T4. The combo is now skipped, and the analyzer
walks all type arguments so TM007 still names the offending interface.

Analyzer tests move to real cross-assembly compilations via a new
VerifyAnalyzerWithLibraryAsync helper — same-assembly internal members are
implementable, so the old single-compilation tests could not have
exercised the reporting path.
@thomhurst

Copy link
Copy Markdown
Owner Author

Both findings confirmed and fixed in 4bb8a2b.

1. protected false positive — you're right, and it was a regression. I probed it with a two-assembly compilation before changing anything:

PROT_IMPL_ERRORS: <none>          // class ProtImpl : ExternalLib.IProt with explicit impl, compiles clean
IProt.Hidden acc=Protected vsAssembly=False vsImplType=True
IInt.Hidden  acc=Internal  vsAssembly=False vsImplType=False

So IsSymbolAccessibleWithin(member, assembly) was asking the wrong question, and as written the PR would have dropped every interface with a protected abstract member out of generation.

Rather than special-casing the accessibility kinds inline, InterfaceImplementability now delegates to MemberDiscovery.IsMemberAccessible (made internal). That is the rule that already decides which members reach the model, so the predicate is exact by construction: a required member discovery drops is precisely a member the impl will fail to implement. It also picks up the signature-type check for free — an abstract member whose parameter type is inaccessible has the same failure mode and wasn't covered before.

2. Multi-type combos — confirmed. Mock.Of<T1, T2>() now bails out when any type argument is unimplementable (matching what BuildSingleTypeModel returning null already did for the primary), and ResolveMockTargets in the analyzer walks all type arguments, so TM007 names the offending interface instead of leaving a raw CS0535.

3. Tests. You were right that the old protected-based tests couldn't stand in for the real thing — and after fix #1 they'd have been asserting the opposite of correct behaviour. Added VerifyAnalyzerWithLibraryAsync (Microsoft.CodeAnalysis.Testing AdditionalProjects) so every reporting case now uses a genuinely separate compilation with internal members, plus explicit non-reporting cases for cross-assembly protected and protected internal. Generator side gained Interface_With_Protected_Members_Is_Still_Mockable.

On extracting the shared accessibility logic: done on the generator side (single call into MemberDiscovery.IsMemberAccessible). The analyzer still carries its own ~12-line copy, because the analyzer and generator ship as separate assemblies with no shared project — the generator's sources are also linked into three Roslyn-version variants, so introducing a shared compilation unit is a build-layout change I'd rather not land inside a bug-fix PR. It's called out in an XML doc on both sides, and the two protected/protected-internal cases now pin the behaviour from the analyzer's end. Happy to do the extraction as a follow-up if you'd prefer it tracked.

Analyzer tests 41 passed, generator tests 84 passed, TUnit.Mocks.Tests 1160, Http 54, Logging 31.

Accessors are no longer skipped. C# permits a per-accessor modifier on an
interface property (`string Value { get; internal set; }` compiles), so a
reachable property can still declare a slot no outside implementer can
provide — MemberDiscovery drops that accessor and the impl then fails the
interface contract. The diagnostic names the property, not the accessor.

[assembly: GenerateMock(typeof(T))] is a third entry point that produces no
invocation, so an unimplementable T was dropped by the generator with
nothing reported. The analyzer now inspects the attribute too.

The T.Mock() fallback no longer claims every zero-argument Type.Mock().
Probed the real symbol shape against Roslyn 4.14: the generated member's
containing type is the synthesised, unnamed extension type, whose own
containing type is the *_MockStaticExtension class — so the walk out to
that class is what distinguishes ours from another library's Mock()
extension, which now binds and is left alone.
@claude

claude Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review

Re-reviewed at HEAD (ad22d9b5), after the two rounds of prior feedback (Greptile + a previous claude review) and the follow-up fix commits (4bb8a2b2, e4d66713, ad22d9b5).

Both previously-flagged correctness bugs are fixed and hold up under inspection:

  1. protected-member false positiveInaccessibleInterfaceMemberMockAnalyzer.IsImplementableFrom and InterfaceImplementability/MemberDiscovery.IsMemberAccessible now key off DeclaredAccessibility is Internal or ProtectedAndInternal (assembly-scoped) rather than IsSymbolAccessibleWithin(member, assembly), which was the wrong question for an implementer. protected/protected internal correctly stay mockable, with cross-assembly test coverage (Cross_Assembly_Protected_Member_Does_Not_Report, Cross_Assembly_Protected_Internal_Member_Does_Not_Report) actually exercising a separate compilation via VerifyAnalyzerWithLibraryAsync rather than the old same-compilation protected stand-in.

  2. Multi-type Mock.Of<T1, T2>() gapMockTypeDiscovery.TransformToModels now runs InterfaceImplementability.CanBeImplemented on every additional type argument before adding it to additionalTypes/additionalInterfaceNames, and drops the whole combo (ImmutableArray<MockTypeModel>.Empty) if any fails — consistent with how the primary type is already handled in BuildSingleTypeModel. The analyzer's ResolveMockTargets walks methodSymbol.TypeArguments for the generic form, so TM007 fires naming the offending interface (Additional_Interface_Of_A_Multi_Type_Mock_Reports_TM007).

I also traced the third generator entry point, [assembly: GenerateMock(typeof(T))] (MockTypeDiscovery.TransformGenerateMockAttributeBuildModelWithTransitiveDependenciesBuildSingleTypeModel), and confirmed it goes through the same CanBeImplemented guard as the other two paths, matching the analyzer's dedicated AnalyzeGenerateMockAttribute handler added in the latest commit.

Design notes (no action needed):

  • Delegating InterfaceImplementability.CanBeImplemented to the existing MemberDiscovery.IsMemberAccessible (rather than re-deriving the rule) is the right call — it guarantees "member the generator would drop" and "member that makes the interface unmockable" can't drift apart on the generator side.
  • The analyzer keeping its own ~12-line copy of the accessibility predicate (rather than sharing a project with the generator) is a reasonable trade-off given the generator is multi-targeted across Roslyn version variants — introducing a shared compilation unit for one predicate would be a bigger build-layout change than this bug-fix warrants. The XML doc cross-references keep the two in step, and it's already flagged as a candidate follow-up rather than silently left as tech debt.
  • Per-accessor accessibility checking (get/set can have independent modifiers on interface properties) is handled correctly by iterating GetMembers(), which surfaces accessor methods as distinct symbols — verified against the IHalfHiddenInterface/Cross_Assembly_Internal_Setter_On_A_Public_Property_Reports_TM007 test case rather than just trusting the comment.

No further issues found. The end-to-end regression test for the original RavenDB shape (Issue6491Tests), the TM007 analyzer coverage across all three entry points, and the explicit non-reporting cases (default-implemented members, same-assembly internal, class targets, unrelated third-party Mock() extensions) give good confidence this is solid. Good to merge from my read.

…inistic

The macOS CI job failed the two [assembly: GenerateMock]-driven tests
(Kiota and GenerateMock_Attribute_With_Concrete_Class) while every other
test passed, and both pass locally on Windows in Debug and Release.

The reference set is the only platform-varying input. It is built from
AppDomain.CurrentDomain.GetAssemblies(), which returns only assemblies the
runtime has already faulted in — so whether TUnit.Mocks is referenced
depends on which test ran first — plus a ref/TUnit.Mocks.dll copy whose
<None Include> glob expands at evaluation time, so a clean build that
evaluates this project before TUnit.Mocks/netstandard2.0 has produced
output ships without it. With no TUnit.Mocks reference, GenerateMockAttribute
doesn't bind, the generator emits nothing, and the failure surfaces as a
snapshot mismatch rather than a missing reference.

Fall back to the assembly this project references, and throw with the real
reason if neither source yields one. Verified by deleting the ref copy:
84 passed with and without it.
@thomhurst

Copy link
Copy Markdown
Owner Author

CI note — the macOS failure on ad22d9b was a latent fragility in the snapshot harness, not the diagnostic logic. Fixed in 5e42fac.

Only the two [assembly: GenerateMock]-driven tests failed (KiotaIRequestAdapter_ConstrainedGenericMethod_EmitsDefaultConstraint and GenerateMock_Attribute_With_Concrete_Class); the other 82 passed, and all 84 pass locally on Windows in both Debug and Release. The reference set is the only platform-varying input to those tests, and it had two order-dependent sources:

  • AppDomain.CurrentDomain.GetAssemblies() only returns assemblies the runtime has already faulted in, so whether TUnit.Mocks is referenced depends on which test ran first — and this PR adds four tests, which changes that order.
  • the ref/TUnit.Mocks.dll copy comes from a <None Include> whose glob expands at evaluation time, so a clean build that evaluates this project before TUnit.Mocks/netstandard2.0 has produced output ships without it.

With no TUnit.Mocks reference, GenerateMockAttribute doesn't bind, the generator emits nothing, and it surfaces as a snapshot mismatch instead of a missing reference — which is why it read as a logic regression.

LoadReferences now falls back to the assembly the project actually references, and throws naming the real cause if neither source yields one. Verified by deleting the ref copy and re-running: 84 passed with and without it.

The 6504 windows failure was separate and unrelated to mocks — RunEngineTestsModule/ExpectedStateTests with TaskCanceledException; neither TUnit.Engine.Tests nor TUnit.TestProject references TUnit.Mocks. Re-run in flight.

Comment on lines +127 to +131
// extension, or a static Mock() the user declared. Not a TUnit mock request.
if (!IsGeneratedStaticEntryPoint(methodSymbol))
{
return Enumerable.Empty<INamedTypeSymbol>();
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Generic fallback suppresses TM007

When an unimplementable interface's T.Mock() call binds to the generic TUnit.Mocks.MockExtension.Mock<T>() fallback, this branch classifies the bound method as non-generated and returns before syntactic target recovery, so TM007 is omitted and the call instead reaches Mock.Of<T>() at runtime without a generated factory.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review

Re-reviewed after the latest commits. Both findings from the previous review round are now correctly fixed, and I verified the fix logic directly rather than just reading the diff:

1. protected/protected internal interface membersInterfaceImplementability.CanBeImplemented now delegates to MemberDiscovery.IsMemberAccessible, which only gates Internal/ProtectedAndInternal cross-assembly, leaving Protected/ProtectedOrInternal implementable. This is the same rule that decides which members reach the generated model, so there's no risk of the two definitions drifting for the generator side. Good call routing through the existing rule instead of re-deriving a second one.

2. Multi-interface Mock.Of<T1, T2, ...>()MockTypeDiscovery.TransformToModels now checks CanBeImplemented on every type argument inside the same loop that validates they're interfaces (for (int i = 1; i < method.TypeArguments.Length; i++)), so this generically covers T2/T3/T4, not just the T2 case called out before. Confirmed the analyzer's ResolveMockTargets walks methodSymbol.TypeArguments for the same reason. This is a cleaner fix than the originally-flagged approach (which special-cased "drop the standalone model but leave the name in the base-type list") — aborting the whole combo before any names get collected removes the class of bug entirely instead of patching around it.

Other things checked:

  • The analyzer/generator duplication (FindInaccessibleAbstractMember vs InterfaceImplementability) is intentional and documented — no shared project between the two assemblies, so a second small copy is reasonable, and both are pinned to the same underlying accessor semantics.
  • [assembly: GenerateMock(typeof(T))] and the T.Mock() static entry point are both covered by TM007 now, closing the silent-failure gaps called out in the last round.
  • New VerifyAnalyzerWithLibraryAsync correctly exercises real cross-assembly internal accessibility, which the prior single-compilation tests structurally could not do — this fixes the test/reality mismatch flagged before (the tests using protected as an "unimplementable" stand-in).
  • TM007 (not TM006) avoids an ID collision with the in-flight #6501, which also adds a TUnit.Mocks diagnostic — good coordination.
  • Accessor-level checks (get/set with differing accessibility) are handled, with the diagnostic correctly naming the property rather than the synthetic accessor method.

No new issues found. Nice, thorough iteration — the commit messages documenting what was verified experimentally at each step (the two-assembly protected-member probe, the Roslyn 4.14 extension-type shape probe) made this much easier to re-verify than a typical PR.

@thomhurst
thomhurst merged commit 73e6fda into main Jul 28, 2026
14 of 16 checks passed
@thomhurst
thomhurst deleted the fix/6491-unimplementable-interface branch July 28, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TUnit.Mocks] Mock() fails for IDocumentStore (RavenDB.Client): asymmetric-accessor member CS0535/CS0548/CS0551

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.