62 references to TypeSyntaxes
Microsoft.Interop.ComInterfaceGenerator (34)
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 (18)
572FunctionPointerParameter(TypeSyntaxes.VoidStar), 573FunctionPointerParameter(PointerType(TypeSyntaxes.System_Guid)), 574FunctionPointerParameter(TypeSyntaxes.VoidStarStar), 588FunctionPointerParameter(TypeSyntaxes.VoidStar), 602FunctionPointerParameter(TypeSyntaxes.VoidStar), 616TypeSyntaxes.System_Runtime_InteropServices_LayoutKind, 675TypeSyntaxes.System_Runtime_InteropServices_ComWrappers, 692TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, 713TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, 734TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, 746TypeSyntaxes.System_Runtime_InteropServices_NativeMemory, 750TypeSyntaxes.StrategyBasedComWrappers 761TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, 814.AddBaseListTypes(SimpleBaseType(TypeSyntaxes.IIUnknownInterfaceType)); 821PropertyDeclaration(TypeSyntaxes.System_Guid, "Iid") 836PropertyDeclaration(TypeSyntaxes.VoidStarStar, "ManagedVirtualMethodTable") 845TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, 857PropertyDeclaration(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.JavaScript.JSImportGenerator (2)
Marshaling\BaseJSGenerator.cs (1)
47MethodInvocation(TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, IdentifierName("SkipInit"),
Marshaling\ImplicitArgumentGenerator.cs (1)
24MethodInvocation(TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, IdentifierName("SkipInit"),
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 (23)
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 (10)
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, 334TypeSyntaxes.System_Runtime_InteropServices_MemoryMarshal, 338TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, 422TypeSyntaxes.System_Runtime_InteropServices_MemoryMarshal, 426TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, 541CastExpression(TypeSyntaxes.System_IntPtr,
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))); 242MethodInvocation(TypeSyntaxes.System_Runtime_CompilerServices_Unsafe, IdentifierName("SkipInit"),
Marshalling\StatefulMarshallingStrategy.cs (1)
157TypeSyntaxes.VoidStar,