2 implementations of TypeInfo
Microsoft.Interop.SourceGeneration (2)
Marshalling\StatefulMarshallingStrategy.cs (1)
263
public TypePositionInfo
TypeInfo
=> info;
Marshalling\StatelessMarshallingStrategy.cs (1)
478
public TypePositionInfo
TypeInfo
=> info;
28 references to TypeInfo
Microsoft.Interop.SourceGeneration (28)
Marshalling\ElementsMarshalling.cs (28)
258
string managedSpanIdentifier = MarshallerHelpers.GetManagedSpanIdentifier(CollectionSource.
TypeInfo
, context);
259
string nativeSpanIdentifier = MarshallerHelpers.GetNativeSpanIdentifier(CollectionSource.
TypeInfo
, context);
277
if (ShouldCleanUpAllElements(CollectionSource.
TypeInfo
, CollectionSource.CodeContext))
287
IdentifierName(MarshallerHelpers.GetManagedSpanIdentifier(CollectionSource.
TypeInfo
, context)),
296
string managedSpanIdentifier = MarshallerHelpers.GetManagedSpanIdentifier(CollectionSource.
TypeInfo
, context);
297
string nativeSpanIdentifier = MarshallerHelpers.GetNativeSpanIdentifier(CollectionSource.
TypeInfo
, context);
298
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(CollectionSource.
TypeInfo
, context);
325
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(CollectionSource.
TypeInfo
, context);
326
string managedSpanIdentifier = MarshallerHelpers.GetManagedSpanIdentifier(CollectionSource.
TypeInfo
, context);
328
var setNumElements = CollectionSource.GetNumElementsAssignmentFromManagedValuesSource(CollectionSource.
TypeInfo
, context);
347
string nativeSpanIdentifier = MarshallerHelpers.GetNativeSpanIdentifier(CollectionSource.
TypeInfo
, context);
366
string nativeSpanIdentifier = MarshallerHelpers.GetNativeSpanIdentifier(CollectionSource.
TypeInfo
, context);
368
if (!UsesLastIndexMarshalled(CollectionSource.
TypeInfo
, CollectionSource.CodeContext))
376
indexConstraintName = IdentifierName(MarshallerHelpers.GetLastIndexMarshalledIdentifier(CollectionSource.
TypeInfo
, context));
386
if (UsesLastIndexMarshalled(CollectionSource.
TypeInfo
, CollectionSource.CodeContext))
390
IdentifierName(MarshallerHelpers.GetLastIndexMarshalledIdentifier(CollectionSource.
TypeInfo
, context)));
399
MarshallerHelpers.GetMarshalDirection(CollectionSource.
TypeInfo
, CollectionSource.CodeContext) == MarshalDirection.ManagedToUnmanaged
411
string numElementsIdentifier = MarshallerHelpers.GetNumElementsIdentifier(CollectionSource.
TypeInfo
, context);
412
string managedSpanIdentifier = MarshallerHelpers.GetManagedSpanIdentifier(CollectionSource.
TypeInfo
, context);
413
string nativeSpanIdentifier = MarshallerHelpers.GetNativeSpanIdentifier(CollectionSource.
TypeInfo
, context);
415
var setNumElements = CollectionSource.GetNumElementsAssignmentFromManagedValuesDestination(CollectionSource.
TypeInfo
, context);
448
if (CollectionSource.CodeContext.Direction is MarshalDirection.UnmanagedToManaged && CollectionSource.
TypeInfo
.ByValueContentsMarshalKind is ByValueContentsMarshalKind.Out)
474
string managedSpanIdentifier = MarshallerHelpers.GetManagedSpanIdentifier(CollectionSource.
TypeInfo
, context);
475
string nativeSpanIdentifier = MarshallerHelpers.GetNativeSpanIdentifier(CollectionSource.
TypeInfo
, context);
574
if (UsesLastIndexMarshalled(CollectionSource.
TypeInfo
, CollectionSource.CodeContext) && stagesToGeneratePerElement.Contains(StubIdentifierContext.Stage.Marshal))
578
IdentifierName(MarshallerHelpers.GetLastIndexMarshalledIdentifier(CollectionSource.
TypeInfo
, context))));
609
=> UsesLastIndexMarshalled(CollectionSource.
TypeInfo
, CollectionSource.CodeContext)
615
Identifier(MarshallerHelpers.GetLastIndexMarshalledIdentifier(CollectionSource.
TypeInfo
, context)),