1 write to ManagedValuesSource
Microsoft.Interop.SourceGeneration (1)
MarshallerShape.cs (1)
490
ManagedValuesSource
= managedSource,
9 references to ManagedValuesSource
Microsoft.Interop.LibraryImportGenerator (6)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (4)
1090
if (methods.
ManagedValuesSource
is null)
1233
if (methods.
ManagedValuesSource
is not null && methods.ManagedValuesDestination is not null)
1235
if (TryGetElementTypeFromSpanType(methods.
ManagedValuesSource
.ReturnType, out ITypeSymbol sourceElementType)
1239
diagnosticReporter.CreateAndReportDiagnostic(ElementTypesOfReturnTypesMustMatchRule, methods.
ManagedValuesSource
.ToDisplayString(), methods.ManagedValuesDestination.ToDisplayString());
Analyzers\CustomMarshallerAttributeFixer.cs (2)
554
if (methods.
ManagedValuesSource
is not null)
556
return ((INamedTypeSymbol)methods.
ManagedValuesSource
.ReturnType).TypeArguments[0];
Microsoft.Interop.SourceGeneration (3)
ManualTypeMarshallingHelper.cs (2)
570
if (isLinearCollectionMarshaller && methods.
ManagedValuesSource
is not null)
573
collectionElementType = ((INamedTypeSymbol)methods.
ManagedValuesSource
.ReturnType).TypeArguments[0];
MarshallerShape.cs (1)
439
|| SymbolEqualityComparer.Default.Equals(method,
ManagedValuesSource
)