62 references to TypeSyntaxes
Microsoft.Interop.ComInterfaceGenerator (34)
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)
572
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
573
FunctionPointerParameter(PointerType(
TypeSyntaxes
.System_Guid)),
574
FunctionPointerParameter(
TypeSyntaxes
.VoidStarStar),
588
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
602
FunctionPointerParameter(
TypeSyntaxes
.VoidStar),
616
TypeSyntaxes
.System_Runtime_InteropServices_LayoutKind,
675
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers,
692
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
713
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
734
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
746
TypeSyntaxes
.System_Runtime_InteropServices_NativeMemory,
750
TypeSyntaxes
.StrategyBasedComWrappers
761
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
814
.AddBaseListTypes(SimpleBaseType(
TypeSyntaxes
.IIUnknownInterfaceType));
821
PropertyDeclaration(
TypeSyntaxes
.System_Guid, "Iid")
836
PropertyDeclaration(
TypeSyntaxes
.VoidStarStar, "ManagedVirtualMethodTable")
845
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
857
PropertyDeclaration(
TypeSyntaxes
.VoidStarStar, "ManagedVirtualMethodTable")
ComMethodContext.cs (1)
119
TypeSyntaxes
.UnreachableException)
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
55
TypeSyntaxes
.System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch,
Marshallers\KeepAliveThisMarshaller.cs (1)
27
TypeSyntaxes
.System_GC,
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (1)
51
TypeSyntaxes
.System_Runtime_InteropServices_Marshal,
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)
155
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
159
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
191
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
195
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
233
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
334
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
338
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
422
TypeSyntaxes
.System_Runtime_InteropServices_MemoryMarshal,
426
TypeSyntaxes
.System_Runtime_CompilerServices_Unsafe,
541
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,