53 references to TypeSyntaxes
Microsoft.Interop.ComInterfaceGenerator (32)
ComClassGenerator.cs (9)
86.AddBaseListTypes(SimpleBaseType(TypeSyntaxes.IComExposedClass)) 90PointerType(TypeSyntaxes.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry), 100PointerType(TypeSyntaxes.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry), 103PointerType(TypeSyntaxes.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry), 105TypeSyntaxes.System_Runtime_CompilerServices_RuntimeHelpers, 111SizeOfExpression(TypeSyntaxes.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry), 117Declare(TypeSyntaxes.IIUnknownDerivedDetails, detailsTempLocal, initializeToDefault: false) 128TypeSyntaxes.StrategyBasedComWrappers 191TypeSyntaxes.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
ComInterfaceGenerator.cs (16)
517private static readonly MethodDeclarationSyntax CreateManagedVirtualFunctionTableMethodTemplate = MethodDeclaration(TypeSyntaxes.VoidStarStar, CreateManagedVirtualFunctionTableMethodName) 533TypeSyntaxes.VoidStarStar, 535CastExpression(TypeSyntaxes.VoidStarStar, 537TypeSyntaxes.System_Runtime_CompilerServices_RuntimeHelpers, 543SizeOfExpression(TypeSyntaxes.VoidStar), 563TypeSyntaxes.System_Runtime_InteropServices_ComWrappers, 573CastExpression(TypeSyntaxes.VoidStar, IdentifierName("v0"))), 579CastExpression(TypeSyntaxes.VoidStar, IdentifierName("v1"))), 585CastExpression(TypeSyntaxes.VoidStar, IdentifierName("v2")))); 592TypeSyntaxes.System_Runtime_InteropServices_NativeMemory, 596TypeSyntaxes.StrategyBasedComWrappers 632.AddBaseListTypes(SimpleBaseType(TypeSyntaxes.IIUnknownInterfaceType)); 639PropertyDeclaration(TypeSyntaxes.System_Guid, "Iid") 655FieldDeclaration(VariableDeclaration(TypeSyntaxes.VoidStarStar, SingletonSeparatedList(VariableDeclarator(vtableFieldName)))) 658PropertyDeclaration(TypeSyntaxes.VoidStarStar, "ManagedVirtualMethodTable") 677PropertyDeclaration(TypeSyntaxes.VoidStarStar, "ManagedVirtualMethodTable")
ComMethodContext.cs (1)
119TypeSyntaxes.UnreachableException)
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
55TypeSyntaxes.System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch,
Marshallers\KeepAliveThisMarshaller.cs (1)
27TypeSyntaxes.System_GC,
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (1)
51TypeSyntaxes.System_Runtime_InteropServices_Marshal,
Marshallers\ObjectUnwrapperResolver.cs (1)
51TypeSyntaxes.UnmanagedObjectUnwrapper,
VirtualMethodPointerStubGenerator.cs (2)
62TypeSyntaxes.IUnmanagedVirtualMethodTableProvider, 161methodStub.CallingConvention.Array.Select(callConv => TypeOfExpression(TypeSyntaxes.CallConv(callConv.Name.ValueText)))))))
Microsoft.Interop.LibraryImportGenerator (2)
LibraryImportGenerator.cs (2)
136ArrayTypeSyntax arrayOfSystemType = ArrayType(TypeSyntaxes.System_Type, SingletonList(ArrayRankSpecifier())); 152CastExpression(TypeSyntaxes.DllImportSearchPath,
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
98CastExpression(TypeSyntaxes.DllImportSearchPath,
Microsoft.Interop.SourceGeneration (18)
GeneratedStatements.cs (1)
170CatchDeclaration(TypeSyntaxes.System_Exception, Identifier(managed)),
MarshalAsParser.cs (3)
49CastExpression(TypeSyntaxes.System_Runtime_InteropServices_UnmanagedType, 78CastExpression(TypeSyntaxes.System_Runtime_InteropServices_UnmanagedType, 88AttributeArgument(CastExpression(TypeSyntaxes.System_Runtime_InteropServices_UnmanagedType,
Marshalling\DelegateMarshaller.cs (2)
51TypeSyntaxes.System_Runtime_InteropServices_Marshal, 69TypeSyntaxes.System_Runtime_InteropServices_Marshal,
Marshalling\ElementsMarshalling.cs (5)
155TypeSyntaxes.System_Runtime_InteropServices_MemoryMarshal, 159TypeSyntaxes.System_Runtime_InteropServices_MemoryMarshal, 191TypeSyntaxes.System_Runtime_InteropServices_MemoryMarshal, 195TypeSyntaxes.System_Runtime_InteropServices_MemoryMarshal, 233TypeSyntaxes.System_Runtime_InteropServices_MemoryMarshal,
Marshalling\MarshallerHelpers.cs (6)
16public static readonly TypeSyntax SystemIntPtrType = TypeSyntaxes.System_IntPtr; 36spanElementTypeSyntax = TypeSyntaxes.System_IntPtr; 47TypeSyntaxes.System_Runtime_InteropServices_Marshal, 55AssignmentStatement(IdentifierName(lastErrorIdentifier), MethodInvocation(TypeSyntaxes.System_Runtime_InteropServices_Marshal, IdentifierName("GetLastSystemError"))); 62MethodInvocationStatement(TypeSyntaxes.System_Runtime_InteropServices_Marshal, IdentifierName("SetLastPInvokeError"), Argument(IdentifierName(lastErrorIdentifier))); 269MethodInvocation(TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, IdentifierName("SkipInit"),
Marshalling\StatefulMarshallingStrategy.cs (1)
157TypeSyntaxes.VoidStar,