12 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 (9)
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)
157shape |= MarshallerShape.GuaranteedUnmarshal; 184shape |= MarshallerShape.GuaranteedUnmarshal; 511shape |= MarshallerShape.GuaranteedUnmarshal;
Marshalling\StatefulMarshallingStrategy.cs (2)
35if (shape.HasFlag(MarshallerShape.GuaranteedUnmarshal)) 67if (shape.HasFlag(MarshallerShape.ToManaged) || shape.HasFlag(MarshallerShape.GuaranteedUnmarshal))
Marshalling\StatelessMarshallingStrategy.cs (2)
26if (shape.HasFlag(MarshallerShape.GuaranteedUnmarshal)) 201if (!shape.HasFlag(MarshallerShape.GuaranteedUnmarshal))