14 references to ToManaged
Microsoft.Interop.LibraryImportGenerator (3)
Analyzers\CustomMarshallerAttributeAnalyzer.cs (3)
820if ((shape & (MarshallerShape.ToManaged | MarshallerShape.GuaranteedUnmarshal)) == 0) 931if (shape.HasFlag(MarshallerShape.ToManaged | MarshallerShape.GuaranteedUnmarshal)) 1117if ((shape & (MarshallerShape.ToManaged | MarshallerShape.GuaranteedUnmarshal)) == 0)
Microsoft.Interop.SourceGeneration (11)
ManualTypeMarshallingHelper.cs (2)
559if (!ModeOptionallyMatchesShape(mode) && !shape.HasFlag(MarshallerShape.GuaranteedUnmarshal) && !shape.HasFlag(MarshallerShape.ToManaged)) 663if (mode != MarshalMode.Default && !shape.HasFlag(MarshallerShape.GuaranteedUnmarshal) && !shape.HasFlag(MarshallerShape.ToManaged))
MarshallerShape.cs (3)
154shape |= MarshallerShape.ToManaged; 180shape |= MarshallerShape.ToManaged; 515shape |= MarshallerShape.ToManaged;
Marshalling\StatefulMarshallingStrategy.cs (3)
59if (shape.HasFlag(MarshallerShape.ToManaged)) 67if (shape.HasFlag(MarshallerShape.ToManaged) || shape.HasFlag(MarshallerShape.GuaranteedUnmarshal)) 262if (!shape.HasFlag(MarshallerShape.ToManaged))
Marshalling\StatelessMarshallingStrategy.cs (3)
60if (shape.HasFlag(MarshallerShape.ToManaged)) 257if (!shape.HasFlag(MarshallerShape.ToManaged)) 426if (!shape.HasFlag(MarshallerShape.ToManaged))