11 references to GuaranteedUnmarshal
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)
157shape |= MarshallerShape.GuaranteedUnmarshal; 184shape |= MarshallerShape.GuaranteedUnmarshal; 511shape |= MarshallerShape.GuaranteedUnmarshal;
Marshalling\StatefulMarshallingStrategy.cs (2)
55if (!shape.HasFlag(MarshallerShape.GuaranteedUnmarshal)) 114if (!shape.HasFlag(MarshallerShape.ToManaged) && !shape.HasFlag(MarshallerShape.GuaranteedUnmarshal))
Marshalling\StatelessMarshallingStrategy.cs (1)
33if (!shape.HasFlag(MarshallerShape.GuaranteedUnmarshal))