63 references to TypeSyntaxes
Microsoft.Interop.ComInterfaceGenerator (35)
ComClassGenerator.cs (9)
94
.AddBaseListTypes(SimpleBaseType(
TypeSyntaxes
.IComExposedClass))
98
PointerType(
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
108
PointerType(
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
111
PointerType(
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
113
TypeSyntaxes
.System_Runtime_CompilerServices_RuntimeHelpers,
119
SizeOfExpression(
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
125
Declare(
TypeSyntaxes
.IIUnknownDerivedDetails, detailsTempLocal, initializeToDefault: false)
136
TypeSyntaxes
.StrategyBasedComWrappers
199
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
ComInterfaceGenerator.cs (18)
593
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
594
FunctionPointerParameter(PointerType(
TypeSyntaxes
.System_Guid)),
595
FunctionPointerParameter(
TypeSyntaxes
.VoidStarStar),
609
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
623
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
637
TypeSyntaxes
.System_Runtime_InteropServices_LayoutKind,
695
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers,
712
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
733
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
754
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
766
TypeSyntaxes
.System_Runtime_InteropServices_NativeMemory,
770
TypeSyntaxes
.StrategyBasedComWrappers
781
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
834
.AddBaseListTypes(SimpleBaseType(
TypeSyntaxes
.IIUnknownInterfaceType));
841
PropertyDeclaration(
TypeSyntaxes
.System_Guid, "Iid")
856
PropertyDeclaration(
TypeSyntaxes
.VoidStarStar, "ManagedVirtualMethodTable")
865
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
877
PropertyDeclaration(
TypeSyntaxes
.VoidStarStar, "ManagedVirtualMethodTable")
ComMethodContext.cs (1)
133
TypeSyntaxes
.UnreachableException)
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
55
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch,
Marshallers\KeepAliveThisMarshaller.cs (1)
27
TypeSyntaxes
.System_GC,
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (2)
52
TypeSyntaxes
.System_Runtime_InteropServices_Marshal,
60
Argument(CastExpression(
TypeSyntaxes
.System_IntPtr, IdentifierName(VirtualMethodPointerStubGenerator.NativeThisParameterIdentifier))));
Marshallers\ObjectUnwrapperResolver.cs (1)
51
TypeSyntaxes
.UnmanagedObjectUnwrapper,
VirtualMethodPointerStubGenerator.cs (2)
62
TypeSyntaxes
.IUnmanagedVirtualMethodTableProvider,
161
methodStub.CallingConvention.Array.Select(callConv => TypeOfExpression(
TypeSyntaxes
.CallConv(callConv.Name.ValueText)))))))
Microsoft.Interop.JavaScript.JSImportGenerator (2)
Marshaling\BaseJSGenerator.cs (1)
47
MethodInvocation(
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe, IdentifierName("SkipInit"),
Marshaling\ImplicitArgumentGenerator.cs (1)
24
MethodInvocation(
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe, IdentifierName("SkipInit"),
Microsoft.Interop.LibraryImportGenerator (2)
LibraryImportGenerator.cs (2)
114
ArrayTypeSyntax arrayOfSystemType = ArrayType(
TypeSyntaxes
.System_Type, SingletonList(ArrayRankSpecifier()));
130
CastExpression(
TypeSyntaxes
.DllImportSearchPath,
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
86
CastExpression(
TypeSyntaxes
.DllImportSearchPath,
Microsoft.Interop.SourceGeneration (23)
GeneratedStatements.cs (1)
170
CatchDeclaration(
TypeSyntaxes
.System_Exception, Identifier(managed)),
MarshalAsParser.cs (3)
49
CastExpression(
TypeSyntaxes
.System_Runtime_InteropServices_UnmanagedType,
78
CastExpression(
TypeSyntaxes
.System_Runtime_InteropServices_UnmanagedType,
88
AttributeArgument(CastExpression(
TypeSyntaxes
.System_Runtime_InteropServices_UnmanagedType,
Marshalling\DelegateMarshaller.cs (2)
51
TypeSyntaxes
.System_Runtime_InteropServices_Marshal,
69
TypeSyntaxes
.System_Runtime_InteropServices_Marshal,
Marshalling\ElementsMarshalling.cs (10)
154
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
158
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
190
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
194
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
232
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
334
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
338
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
424
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
428
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
545
CastExpression(
TypeSyntaxes
.System_IntPtr,
Marshalling\MarshallerHelpers.cs (6)
16
public static readonly TypeSyntax SystemIntPtrType =
TypeSyntaxes
.System_IntPtr;
36
spanElementTypeSyntax =
TypeSyntaxes
.System_IntPtr;
47
TypeSyntaxes
.System_Runtime_InteropServices_Marshal,
55
AssignmentStatement(IdentifierName(lastErrorIdentifier), MethodInvocation(
TypeSyntaxes
.System_Runtime_InteropServices_Marshal, IdentifierName("GetLastSystemError")));
62
MethodInvocationStatement(
TypeSyntaxes
.System_Runtime_InteropServices_Marshal, IdentifierName("SetLastPInvokeError"), Argument(IdentifierName(lastErrorIdentifier)));
242
MethodInvocation(
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe, IdentifierName("SkipInit"),
Marshalling\StatefulMarshallingStrategy.cs (1)
157
TypeSyntaxes
.VoidStar,