35 references to TypeSyntaxes
Microsoft.Interop.ComInterfaceGenerator (7)
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)
120
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,