2 instantiations of SourceAvailableIncrementalMethodStubGenerationContext
Microsoft.Interop.ComInterfaceGenerator (2)
ComInterfaceGenerator.cs (1)
440return new SourceAvailableIncrementalMethodStubGenerationContext(
VtableIndexStubGenerator.cs (1)
294return new SourceAvailableIncrementalMethodStubGenerationContext(
18 references to SourceAvailableIncrementalMethodStubGenerationContext
Microsoft.Interop.ComInterfaceGenerator (18)
Analyzers\ComInterfaceGeneratorDiagnosticsAnalyzer.cs (1)
180if (stubContext is not SourceAvailableIncrementalMethodStubGenerationContext srcCtx)
Analyzers\VtableIndexStubDiagnosticsAnalyzer.cs (1)
90SourceAvailableIncrementalMethodStubGenerationContext stubContext = VtableIndexStubGenerator.CalculateStubInformation(methodSyntax, method, env, context.CancellationToken);
ComInterfaceGenerator.cs (1)
810IdentifierName($"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)
54IncrementalValuesProvider<SourceAvailableIncrementalMethodStubGenerationContext> generateStubInformation = methodsToGenerate 79IncrementalValuesProvider<SourceAvailableIncrementalMethodStubGenerationContext> nativeToManagedStubContexts = 183internal static SourceAvailableIncrementalMethodStubGenerationContext CalculateStubInformation(MethodDeclarationSyntax syntax, IMethodSymbol symbol, StubEnvironment environment, CancellationToken ct) 351SourceAvailableIncrementalMethodStubGenerationContext methodStub) 362SourceAvailableIncrementalMethodStubGenerationContext methodStub) 381private static MemberDeclarationSyntax GeneratePopulateVTableMethod(IGrouping<ContainingSyntaxContext, SourceAvailableIncrementalMethodStubGenerationContext> vtableMethods)