5 implementations of NativeType
Microsoft.Interop.JavaScript.JSImportGenerator (1)
Marshaling\BaseJSGenerator.cs (1)
16public ManagedTypeInfo NativeType => s_jsMarshalerArgument;
Microsoft.Interop.SourceGeneration (4)
Marshalling\CustomTypeMarshallingGenerator.cs (1)
14public ManagedTypeInfo NativeType => nativeTypeMarshaller.NativeType;
Marshalling\MarshallingGenerator.cs (1)
160public ManagedTypeInfo NativeType => unbound.AsNativeType(TypeInfo);
Marshalling\StaticPinnableManagedValueMarshaller.cs (1)
12public ManagedTypeInfo NativeType => innerMarshallingGenerator.NativeType;
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (1)
96public ManagedTypeInfo NativeType => inner.NativeType;
16 references to NativeType
Microsoft.Interop.SourceGeneration (16)
BoundGenerators.cs (4)
74errorHandlerFactory = new MatchingNativeTypeValidator(overlappedMarshaller.NativeType, errorHandlerFactory); 116MarshallingAttributeInfo = ComExceptionMarshalling.CreateSpecificMarshallingInfo(overlappedMarshaller.NativeType) 125exceptionHandlerFactory = new MatchingNativeTypeValidator(overlappedMarshaller.NativeType, exceptionHandlerFactory); 274if (generator.Generator.NativeType != requiredNativeType)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (1)
226string unmanagedElementType = elementMarshaller.NativeType.GetCompatibleGenericTypeParameter();
Marshalling\ElementsMarshalling.cs (2)
283if (elementMarshaller.NativeType is PointerTypeInfo) 304string nativeType = elementMarshaller.NativeType.FullTypeName;
Marshalling\MarshallingGeneratorExtensions.cs (4)
21SignatureBehavior.NativeType => generator.NativeType.FullTypeName, 22SignatureBehavior.PointerToNativeType => $"{generator.NativeType.FullTypeName}*", 85SignatureBehavior.NativeType => generator.NativeType.FullTypeName, 86SignatureBehavior.PointerToNativeType => $"{generator.NativeType.FullTypeName}*",
Marshalling\StaticPinnableManagedValueMarshaller.cs (1)
12public ManagedTypeInfo NativeType => innerMarshallingGenerator.NativeType;
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (1)
96public ManagedTypeInfo NativeType => inner.NativeType;
VariableDeclarations.cs (3)
57Declare(variables, marshaller.NativeType.FullTypeName, native, initializeDeclarations); 93Declare(variables, marshaller.NativeType.FullTypeName, native, initializeToDefault: true); 102string localType = marshaller.NativeType.FullTypeName;