1 write to ByValueContentsMarshalKind
Microsoft.Interop.SourceGeneration (1)
TypePositionInfo.cs (1)
96
ByValueContentsMarshalKind
= byValueContentsMarshalKind,
6 references to ByValueContentsMarshalKind
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSGeneratorFactory.cs (1)
19
if (info.IsByRef || info.
ByValueContentsMarshalKind
!= ByValueContentsMarshalKind.Default)
Microsoft.Interop.SourceGeneration (5)
Marshalling\AttributedMarshallingModelGeneratorResolver.cs (1)
217
RefKind = 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.
37
var support = generator.Generator.SupportsByValueMarshalKind(generator.Generator.TypeInfo.
ByValueContentsMarshalKind
, out GeneratorDiagnostic? diagnostic);
Marshalling\MarshallingGeneratorExtensions.cs (2)
116
if (info.
ByValueContentsMarshalKind
.HasFlag(ByValueContentsMarshalKind.In))
120
if (info.
ByValueContentsMarshalKind
.HasFlag(ByValueContentsMarshalKind.Out))