28 references to CreateTypeInfoForTypeSymbol
Microsoft.Interop.ComInterfaceGenerator (6)
AttributeInfo.cs (1)
27
var type = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(attribute.AttributeClass);
ComInterfaceGenerator.cs (1)
376
var declaringType = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(symbol.ContainingType);
ComInterfaceInfo.cs (2)
99
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(symbol),
158
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(thisSymbol),
GeneratedComInterfaceAttributeData.cs (1)
25
? ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(generatedComInterfaceAttr.StringMarshallingCustomType)
VtableIndexStubGenerator.cs (1)
290
var interfaceType = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(symbol.ContainingType);
Microsoft.Interop.LibraryImportGenerator (1)
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (1)
22
? ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(libraryImport.StringMarshallingCustomType)
Microsoft.Interop.LibraryImportGenerator.Downlevel (1)
src\libraries\System.Runtime.InteropServices\gen\Common\LibraryImportData.cs (1)
22
? ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(libraryImport.StringMarshallingCustomType)
Microsoft.Interop.SourceGeneration (20)
ArrayMarshallingInfoProvider.cs (2)
76
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(arrayMarshaller),
79
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(arrayMarshaller.TypeParameters.Last()));
ComInterfaceMarshallingInfoProvider.cs (1)
46
EntryPointType: ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(comInterfaceMarshaller),
CustomMarshallingInfoHelper.cs (4)
36
ManagedTypeInfo entryPointTypeInfo = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(entryPointType);
85
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(entryPointType.TypeParameters.Last()));
152
ManagedTypeInfo entryPointTypeInfo = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(entryPointType);
184
EntryPointType: ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(marshallerType),
ManagedTypeInfo.cs (1)
62
return new SzArrayType(
CreateTypeInfoForTypeSymbol
(arraySymbol.ElementType));
ManualTypeMarshallingHelper.cs (8)
525
bufferElementType = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(((INamedTypeSymbol)methods.ToUnmanagedWithBuffer.Parameters[1].Type).TypeArguments[0]);
532
collectionElementTypeInfo = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(collectionElementType);
537
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(marshallerType),
538
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(nativeType),
605
bufferElementType = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(((INamedTypeSymbol)methods.FromManagedWithBuffer.Parameters[1].Type).TypeArguments[0]);
612
collectionElementTypeInfo = ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(collectionElementType);
617
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(marshallerType),
618
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(nativeType),
MethodSignatureElementInfoProvider.cs (1)
34
ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(_method.ReturnType),
SafeHandleMarshallingInfoProvider.cs (1)
86
return new NativeMarshallingAttributeInfo(ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(entryPointType), marshallers.Value);
SignatureContext.cs (1)
122
TypePositionInfo retTypeInfo = new(ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(method.ReturnType), marshallingInfoParser.ParseMarshallingInfo(method.ReturnType, method.GetReturnTypeAttributes()));
TypePositionInfo.cs (1)
92
var typeInfo = new TypePositionInfo(ManagedTypeInfo.
CreateTypeInfoForTypeSymbol
(paramSymbol.Type), marshallingInfo)