2 instantiations of SourceAvailableIncrementalMethodStubGenerationContext
Microsoft.Interop.ComInterfaceGenerator (2)
ComInterfaceGenerator.cs (1)
461return new SourceAvailableIncrementalMethodStubGenerationContext(
VtableIndexStubGenerator.cs (1)
309return new SourceAvailableIncrementalMethodStubGenerationContext(
16 references to SourceAvailableIncrementalMethodStubGenerationContext
Microsoft.Interop.ComInterfaceGenerator (16)
ComInterfaceGenerator.cs (1)
831IdentifierName($"ABI_{((SourceAvailableIncrementalMethodStubGenerationContext)declaredMethodContext.GenerationContext).StubMethodSyntaxTemplate.Identifier}")))));
ComMethodContext.cs (4)
24/// A partially constructed <see cref="ComMethodContext"/> that does not have a <see cref="SourceAvailableIncrementalMethodStubGenerationContext"/> generated for it yet. 25/// <see cref="Builder"/> can be constructed without a reference to an ISymbol, whereas the <see cref="SourceAvailableIncrementalMethodStubGenerationContext"/> requires an ISymbol 88if (GenerationContext is not SourceAvailableIncrementalMethodStubGenerationContext sourceAvailableContext) 108if (GenerationContext is not SourceAvailableIncrementalMethodStubGenerationContext sourceAvailableContext)
VirtualMethodPointerStubGenerator.cs (5)
24SourceAvailableIncrementalMethodStubGenerationContext methodStub, 131SourceAvailableIncrementalMethodStubGenerationContext methodStub, 177private static ImmutableArray<TypePositionInfo> AddManagedToUnmanagedImplicitThis(SourceAvailableIncrementalMethodStubGenerationContext methodStub) 235IEnumerable<SourceAvailableIncrementalMethodStubGenerationContext> vtableMethods, 240foreach (var method in vtableMethods)
VtableIndexStubGenerator.cs (6)
65IncrementalValuesProvider<SourceAvailableIncrementalMethodStubGenerationContext> generateStubInformation = methodsToGenerate 92IncrementalValuesProvider<SourceAvailableIncrementalMethodStubGenerationContext> nativeToManagedStubContexts = 198private static SourceAvailableIncrementalMethodStubGenerationContext CalculateStubInformation(MethodDeclarationSyntax syntax, IMethodSymbol symbol, StubEnvironment environment, CancellationToken ct) 366SourceAvailableIncrementalMethodStubGenerationContext methodStub) 379SourceAvailableIncrementalMethodStubGenerationContext methodStub) 436private static MemberDeclarationSyntax GeneratePopulateVTableMethod(IGrouping<ContainingSyntaxContext, SourceAvailableIncrementalMethodStubGenerationContext> vtableMethods)