1 instantiation of InteropStateManager
ilc (1)
Program.cs (1)
479InteropStateManager interopStateManager = new InteropStateManager(typeSystemContext.GeneratedAssembly);
53 references to InteropStateManager
ilc (1)
Program.cs (1)
479InteropStateManager interopStateManager = new InteropStateManager(typeSystemContext.GeneratedAssembly);
ILCompiler.Compiler (52)
Compiler\AnalysisBasedInteropStubManager.cs (1)
23public AnalysisBasedInteropStubManager(InteropStateManager interopStateManager, PInvokeILEmitterConfiguration pInvokeILEmitterConfiguration, IEnumerable<DefType> typesWithStructMarshalling, IEnumerable<DefType> typesWithDelegateMarshalling)
Compiler\CompilerGeneratedInteropStubManager.cs (2)
19internal readonly InteropStateManager _interopStateManager; 21public CompilerGeneratedInteropStubManager(InteropStateManager interopStateManager, PInvokeILEmitterConfiguration pInvokeILEmitterConfiguration)
Compiler\DependencyAnalysis\DelegateMarshallingDataNode.cs (1)
31InteropStateManager stateManager = ((CompilerGeneratedInteropStubManager)factory.InteropStubManager)._interopStateManager;
Compiler\DependencyAnalysis\DelegateMarshallingStubMapNode.cs (2)
18private readonly InteropStateManager _interopStateManager; 20public DelegateMarshallingStubMapNode(ExternalReferencesTableNode externalReferences, InteropStateManager interopStateManager)
Compiler\DependencyAnalysis\StructMarshallingDataNode.cs (1)
29InteropStateManager stateManager = ((CompilerGeneratedInteropStubManager)factory.InteropStubManager)._interopStateManager;
Compiler\DependencyAnalysis\StructMarshallingStubMapNode.cs (2)
20private readonly InteropStateManager _interopStateManager; 22public StructMarshallingStubMapNode(ExternalReferencesTableNode externalReferences, InteropStateManager interopStateManager)
Compiler\ILScanner.cs (1)
233public AnalysisBasedInteropStubManager GetInteropStubManager(InteropStateManager stateManager, PInvokeILEmitterConfiguration pinvokePolicy)
Compiler\UsageBasedInteropStubManager.cs (1)
23public UsageBasedInteropStubManager(InteropStateManager interopStateManager, PInvokeILEmitterConfiguration pInvokeILEmitterConfiguration, Logger logger)
IL\Stubs\PInvokeILProvider.cs (2)
18private readonly InteropStateManager _interopStateManager; 20public PInvokeILProvider(PInvokeILEmitterConfiguration pInvokeILEmitterConfiguration, InteropStateManager interopStateManager)
parent\parent\Common\TypeSystem\IL\Stubs\CalliMarshallingMethodThunk.cs (2)
17private readonly InteropStateManager _interopStateManager; 23InteropStateManager interopStateManager,
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (3)
29private readonly InteropStateManager _interopStateManager; 66InteropStateManager interopStateManager, DelegateMarshallingMethodThunkKind kind) 107private static TypeDesc GetNativeMethodParameterType(TypeDesc managedType, MarshalAsDescriptor marshalAs, InteropStateManager interopStateManager, bool isReturn, bool isAnsi)
parent\parent\Common\TypeSystem\IL\Stubs\ForwardDelegateCreationThunk.cs (2)
19private readonly InteropStateManager _interopStateManager; 23public ForwardDelegateCreationThunk(MetadataType delegateType, TypeDesc owningType, InteropStateManager interopStateManager)
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (4)
23private readonly InteropStateManager _interopStateManager; 25private PInvokeILEmitter(MethodDesc targetMethod, PInvokeILEmitterConfiguration pinvokeILEmitterConfiguration, InteropStateManager interopStateManager) 49private static Marshaller[] InitializeMarshallers(MethodDesc targetMethod, InteropStateManager interopStateManager, PInvokeFlags flags) 438InteropStateManager interopStateManager)
parent\parent\Common\TypeSystem\IL\Stubs\StructMarshallingThunk.cs (2)
42private InteropStateManager _interopStateManager; 46public StructMarshallingThunk(TypeDesc owningType, MetadataType managedType, StructMarshallingThunkType thunkType, InteropStateManager interopStateManager)
parent\parent\Common\TypeSystem\Interop\IL\InlineArrayType.cs (2)
169private InteropStateManager _interopStateManager; 173public InlineArrayType(ModuleDesc owningModule, MetadataType elementType, uint length, InteropStateManager interopStateManager)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.Aot.cs (3)
48internal static TypeDesc GetNativeMethodParameterType(TypeDesc type, MarshalAsDescriptor marshalAs, InteropStateManager interopStateManager, bool isReturn, bool isAnsi) 67internal static TypeDesc GetNativeStructFieldType(TypeDesc type, MarshalAsDescriptor marshalAs, InteropStateManager interopStateManager, bool isAnsi) 86internal static InlineArrayCandidate GetInlineArrayCandidate(TypeDesc managedElementType, MarshallerKind elementMarshallerKind, InteropStateManager interopStateManager, MarshalAsDescriptor marshalAs)
parent\parent\Common\TypeSystem\Interop\IL\MarshalHelpers.cs (1)
17InteropStateManager interopStateManager,
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (2)
28public InteropStateManager InteropStateManager; 235InteropStateManager interopStateManager,
parent\parent\Common\TypeSystem\Interop\IL\NativeStructType.cs (2)
157private InteropStateManager _interopStateManager; 180public NativeStructType(ModuleDesc owningModule, MetadataType managedStructType, InteropStateManager interopStateManager)
parent\parent\Common\TypeSystem\Interop\IL\PInvokeDelegateWrapper.cs (2)
160private InteropStateManager _interopStateManager; 162public PInvokeDelegateWrapper(ModuleDesc owningModule, MetadataType delegateType, InteropStateManager interopStateManager)
parent\parent\Common\TypeSystem\Interop\InteropStateManager.cs (14)
224private readonly InteropStateManager _interopStateManager; 227public NativeStructTypeHashtable(InteropStateManager interopStateManager, ModuleDesc owningModule) 275private readonly InteropStateManager _interopStateManager; 278public StructMarshallingThunkHashTable(InteropStateManager interopStateManager, TypeDesc owningType) 314private readonly InteropStateManager _interopStateManager; 317public InlineArrayHashTable(InteropStateManager interopStateManager, ModuleDesc owningModule) 366private InteropStateManager _interopStateManager; 368public DelegateMarshallingStubHashtable(InteropStateManager interopStateManager, TypeDesc owningType) 403private InteropStateManager _interopStateManager; 405public ForwardDelegateCreationStubHashtable(InteropStateManager interopStateManager, TypeDesc owningType) 439private readonly InteropStateManager _interopStateManager; 442public PInvokeDelegateWrapperHashtable(InteropStateManager interopStateManager, ModuleDesc owningModule) 496private readonly InteropStateManager _interopStateManager; 524public PInvokeCalliHashtable(InteropStateManager interopStateManager, TypeDesc owningType)