63 references to TypeSyntaxes
Microsoft.Interop.ComInterfaceGenerator (35)
ComClassGenerator.cs (9)
86
.AddBaseListTypes(SimpleBaseType(
TypeSyntaxes
.IComExposedClass))
90
PointerType(
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
100
PointerType(
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
103
PointerType(
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
105
TypeSyntaxes
.System_Runtime_CompilerServices_RuntimeHelpers,
111
SizeOfExpression(
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
117
Declare(
TypeSyntaxes
.IIUnknownDerivedDetails, detailsTempLocal, initializeToDefault: false)
128
TypeSyntaxes
.StrategyBasedComWrappers
191
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry),
ComInterfaceGenerator.cs (18)
623
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
624
FunctionPointerParameter(PointerType(
TypeSyntaxes
.System_Guid)),
625
FunctionPointerParameter(
TypeSyntaxes
.VoidStarStar),
639
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
653
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
667
TypeSyntaxes
.System_Runtime_InteropServices_LayoutKind,
725
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers,
742
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
763
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
784
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
796
TypeSyntaxes
.System_Runtime_InteropServices_NativeMemory,
800
TypeSyntaxes
.StrategyBasedComWrappers
811
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
864
.AddBaseListTypes(SimpleBaseType(
TypeSyntaxes
.IIUnknownInterfaceType));
871
PropertyDeclaration(
TypeSyntaxes
.System_Guid, "Iid")
886
PropertyDeclaration(
TypeSyntaxes
.VoidStarStar, "ManagedVirtualMethodTable")
895
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
907
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)
136
ArrayTypeSyntax arrayOfSystemType = ArrayType(
TypeSyntaxes
.System_Type, SingletonList(ArrayRankSpecifier()));
152
CastExpression(
TypeSyntaxes
.DllImportSearchPath,
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
DownlevelLibraryImportGenerator.cs (1)
98
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,