Implemented interface member:
method
GetInterface
System.Runtime.InteropServices._Type.GetInterface(System.String)
38 references to GetInterface
mscorlib (5)
system\security\permissiontoken.cs (5)
157if (cls.GetInterface( "System.Security.Permissions.IBuiltInPermission" ) != null) 245if (cls.GetInterface( "System.Security.Permissions.IBuiltInPermission" ) != null) 431if (cls.GetInterface(s_unrestrictedPermissionInferfaceName) != null) 467Contract.Assert( cls.GetInterface( "System.Security.Permissions.IBuiltInPermission" ) == null, "This shoudl not be called for built-ins" ); 468if (cls.GetInterface(s_unrestrictedPermissionInferfaceName) != null)
PresentationBuildTasks (1)
Framework\System\Windows\Markup\XamlReaderHelper.cs (1)
4847Type iCollectionT = collectionType.GetInterface("System.Collections.Generic.ICollection`1");
PresentationFramework (1)
src\Framework\System\Windows\Standard\Verify.cs (1)
271if (type.GetInterface(interfaceType.Name) == null)
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
2689return type.GetInterface(typeof(IActivityTemplateFactory).FullName) != null || 2690type.GetInterface(typeof(IActivityTemplateFactory<>).FullName) != null;
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
424Type templateFactoryInterface2 = type.GetInterface(typeof(IActivityTemplateFactory<>).FullName);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ActivityTemplateFactoryExtension.cs (4)
11return type.GetInterface(typeof(IActivityTemplateFactory).FullName) != null || 12type.GetInterface(typeof(IActivityTemplateFactory<>).FullName) != null; 17if (type.GetInterface(typeof(IActivityTemplateFactory).FullName) != null) 24Type activityFactoryInterfaceType = type.GetInterface(typeof(IActivityTemplateFactory<>).FullName);
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
424Type templateFactoryInterface2 = type.GetInterface(typeof(IActivityTemplateFactory<>).FullName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Toolbox\ActivityTemplateFactoryExtension.cs (4)
11return type.GetInterface(typeof(IActivityTemplateFactory).FullName) != null || 12type.GetInterface(typeof(IActivityTemplateFactory<>).FullName) != null; 17if (type.GetInterface(typeof(IActivityTemplateFactory).FullName) != null) 24Type activityFactoryInterfaceType = type.GetInterface(typeof(IActivityTemplateFactory<>).FullName);
System.Data.Entity (4)
System\Data\Common\EntityUtil.cs (2)
132type.GetInterface(typeof(ICollection<>).FullName) != null; 153collectionType.GetInterface(typeof(ICollection<>).FullName);
System\Data\Objects\Internal\EntityProxyFactory.cs (2)
1072_implementIEntityWithChangeTracker = (null == baseType.GetInterface(typeof(IEntityWithChangeTracker).Name)); 1073_implementIEntityWithRelationships = (null == baseType.GetInterface(typeof(IEntityWithRelationships).Name));
System.Data.Linq (1)
SortableBindingList.cs (1)
112return (t.GetInterface("IComparable") != null)
System.Runtime.Serialization (1)
System\Runtime\Serialization\CollectionDataContract.cs (1)
1210Type ienumerableInterface = interfaceType.GetInterface("System.Collections.Generic.IEnumerable*");
System.ServiceModel (1)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (1)
366if (description.ServiceType != null && description.ServiceType.GetInterface(typeof(IMetadataExchange).Name) != null)
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (1)
290if (description.ServiceType != null && description.ServiceType.GetInterface(typeof(IMetadataExchange).Name) != null)
System.Web.DataVisualization (2)
Common\General\Chart.cs (2)
410 dataSource.GetType().GetInterface("IDataSource") != null 437if (dataSource.GetType().GetInterface("IDataSource") != null)
System.Windows.Forms (4)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
2632Type editingCellInterface = dataGridViewCell.GetType().GetInterface("System.Windows.Forms.IDataGridViewEditingCell"); 2665Type editingCellInterface = dataGridViewCell.GetType().GetInterface("System.Windows.Forms.IDataGridViewEditingCell"); 2688Type editingCtrlInterface = editControlType.GetInterface("System.Windows.Forms.IDataGridViewEditingControl"); 22326editingCellInterface = dataGridViewCell.GetType().GetInterface("System.Windows.Forms.IDataGridViewEditingCell");
System.Windows.Forms.DataVisualization (2)
Common\General\Chart.cs (2)
410 dataSource.GetType().GetInterface("IDataSource") != null 437if (dataSource.GetType().GetInterface("IDataSource") != null)
System.Workflow.Activities (1)
CorrelationValidator.cs (1)
926Type serializableType = type.GetInterface(typeof(ISerializable).FullName);
System.Workflow.Runtime (1)
Tracking\TrackingLocation.cs (1)
445if (null != objType.GetInterface(name))
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (1)
695if (extensionType == null || extensionType.GetInterface(typeof(T).FullName) == null)