1 type derived from NativeMarshallingAttributeInfo
Microsoft.Interop.SourceGeneration (1)
MarshallingAttributeInfo.cs (1)
118ManagedTypeInfo PlaceholderTypeParameter) : NativeMarshallingAttributeInfo(
6 instantiations of NativeMarshallingAttributeInfo
Microsoft.Interop.SourceGeneration (6)
ComInterfaceMarshallingInfoProvider.cs (1)
45return new NativeMarshallingAttributeInfo(
CustomMarshallingInfoHelper.cs (3)
107return new NativeMarshallingAttributeInfo(entryPointTypeInfo, marshallers.Value); 164return new NativeMarshallingAttributeInfo(entryPointTypeInfo, marshallers.Value); 183return new NativeMarshallingAttributeInfo(
MarshallingAttributeInfo.cs (1)
142return new NativeMarshallingAttributeInfo(marshallerTypeInfo,
SafeHandleMarshallingInfoProvider.cs (1)
86return new NativeMarshallingAttributeInfo(ManagedTypeInfo.CreateTypeInfoForTypeSymbol(entryPointType), marshallers.Value);
6 references to NativeMarshallingAttributeInfo
Microsoft.Interop.SourceGeneration (6)
MarshalAsWithCustomMarshallersParser.cs (1)
13/// This class suppports parsing a System.Runtime.InteropServices.MarshalAsAttribute into either a <see cref="MarshalAsInfo"/> or a <see cref="NativeMarshallingAttributeInfo"/>
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (3)
45if (info.MarshallingAttributeInfo is NativeMarshallingAttributeInfo marshalInfo) 144private ResolvedGenerator CreateCustomNativeTypeMarshaller(TypePositionInfo info, StubCodeContext context, NativeMarshallingAttributeInfo marshalInfo) 417private GeneratorDiagnostic.NotSupported? ValidateCustomNativeTypeMarshallingSupported(TypePositionInfo info, StubCodeContext context, NativeMarshallingAttributeInfo marshalInfo)
Marshalling\BreakingChangeDetector.cs (1)
26if (info is { RefKind: RefKind.In or RefKind.RefReadOnlyParameter, MarshallingAttributeInfo: NativeMarshallingAttributeInfo(ManagedTypeInfo { DiagnosticFormattedName: TypeNames.ComVariantMarshaller }, _) }
MarshallingAttributeInfo.cs (1)
139static NativeMarshallingAttributeInfo CreateWellKnownComExceptionMarshallingData(string marshallerName, ManagedTypeInfo unmanagedType)