11 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 (8)
ManualTypeMarshallingHelper.cs (2)
484if (!ModeOptionallyMatchesShape(mode) && !shape.HasFlag(MarshallerShape.GuaranteedUnmarshal) && !shape.HasFlag(MarshallerShape.ToManaged)) 580if (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 (2)
99if (!shape.HasFlag(MarshallerShape.ToManaged)) 114if (!shape.HasFlag(MarshallerShape.ToManaged) && !shape.HasFlag(MarshallerShape.GuaranteedUnmarshal))
Marshalling\StatelessMarshallingStrategy.cs (1)
105if (!shape.HasFlag(MarshallerShape.ToManaged))