26 writes to tymed
PresentationCore (7)
System\Windows\dataobject.cs (7)
2283temp.tymed = TYMED.TYMED_GDI; 2287temp.tymed = TYMED.TYMED_ENHMF; 2291temp.tymed = TYMED.TYMED_HGLOBAL; 2673formatetc.tymed = TYMED.TYMED_ISTREAM; 2845formatetc.tymed = TYMED.TYMED_HGLOBAL; 2902formatetc.tymed = tymed; 3224formatetc.tymed |= ALLOWED_TYMEDS[i];
System.Windows.Forms (5)
System\Windows\Forms\OLE\DataObject.FormatEnumerator.cs (2)
50tymed = format.Equals(DataFormats.Bitmap) ? ComTypes.TYMED.TYMED_GDI : ComTypes.TYMED.TYMED_HGLOBAL 73tymed = current.tymed,
System\Windows\Forms\OLE\DragDropHelper.cs (3)
167tymed = ComTypes.TYMED.TYMED_HGLOBAL 272tymed = ComTypes.TYMED.TYMED_HGLOBAL 428tymed = ComTypes.TYMED.TYMED_HGLOBAL
System.Windows.Forms.Tests (14)
System\Windows\Forms\ClipboardTests.cs (1)
1024tymed = ComTypes.TYMED.TYMED_HGLOBAL
System\Windows\Forms\DataObjectTests.cs (10)
2385tymed = TYMED.TYMED_HGLOBAL, 2428tymed = TYMED.TYMED_HGLOBAL, 2465tymed = TYMED.TYMED_HGLOBAL, 2487tymed = TYMED.TYMED_HGLOBAL, 2508tymed = TYMED.TYMED_HGLOBAL, 2549tymed = TYMED.TYMED_HGLOBAL, 2588tymed = TYMED.TYMED_HGLOBAL, 2607tymed = TYMED.TYMED_HGLOBAL, 2630tymed = formatetcTymed 2655tymed = formatetcTymed,
System\Windows\Forms\DragDropFormatTests.cs (2)
31tymed = TYMED.TYMED_HGLOBAL 54tymed = TYMED.TYMED_ISTREAM
System\Windows\Forms\DragDropHelperTests.cs (1)
98tymed = TYMED.TYMED_HGLOBAL
18 references to tymed
PresentationCore (10)
System\Windows\dataobject.cs (10)
641if (GetTymedUseable(formatetc.tymed)) 643if ((formatetc.tymed & TYMED.TYMED_HGLOBAL) != 0) 659else if ( ( formatetc.tymed & TYMED.TYMED_ISTREAM ) != 0 ) 680medium.tymed = formatetc.tymed; 727if (GetTymedUseable(formatetc.tymed)) 1410if (GetTymedUseable(formatetc.tymed) && GetTymedUseable(medium.tymed)) 1428if ((formatetc.tymed & TYMED.TYMED_HGLOBAL) != 0) 1432else if ( ( formatetc.tymed & TYMED.TYMED_GDI ) != 0 ) 1436else if ( ( formatetc.tymed & TYMED.TYMED_ENHMF ) != 0 ) 1440else if ( ( formatetc.tymed & TYMED.TYMED_ISTREAM ) != 0 )
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.FormatEnumerator.cs (1)
73tymed = current.tymed,
System.Windows.Forms.Tests (7)
System\Windows\Forms\DataObjectTests.cs (7)
2088result[0].tymed.Should().Be(expectedTymed); 2098result[0].tymed.Should().Be(TYMED.TYMED_HGLOBAL); 2181result[0].tymed.Should().Be(TYMED.TYMED_GDI); 2191result[0].tymed.Should().Be(TYMED.TYMED_HGLOBAL); 2201result[0].tymed.Should().Be(TYMED.TYMED_HGLOBAL); 2278result[0].tymed.Should().Be(expectedTymed); 2288result[0].tymed.Should().Be(TYMED.TYMED_HGLOBAL);