1 write to ByValueContentsMarshalKind
Microsoft.Interop.SourceGeneration (1)
TypePositionInfo.cs (1)
96ByValueContentsMarshalKind = byValueContentsMarshalKind,
6 references to ByValueContentsMarshalKind
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSGeneratorFactory.cs (1)
19if (info.IsByRef || info.ByValueContentsMarshalKind != ByValueContentsMarshalKind.Default)
Microsoft.Interop.SourceGeneration (5)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (1)
217RefKind = CreateElementRefKind(info.RefKind, info.ByValueContentsMarshalKind)
Marshalling\ByValueContentsMarshalKindValidator.cs (2)
9/// An <see cref="IMarshallingGeneratorResolver"/> implementation that wraps an inner <see cref="IMarshallingGeneratorResolver"/> instance and validates that the <see cref="TypePositionInfo.ByValueContentsMarshalKind"/> on the provided <see cref="TypePositionInfo"/> is valid in the current marshalling scenario. 37var support = generator.Generator.SupportsByValueMarshalKind(generator.Generator.TypeInfo.ByValueContentsMarshalKind, out GeneratorDiagnostic? diagnostic);
Marshalling\MarshallingGeneratorExtensions.cs (2)
116if (info.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.In)) 120if (info.ByValueContentsMarshalKind.HasFlag(ByValueContentsMarshalKind.Out))