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