Implemented interface member:
method
IsInstanceOfType
System.Runtime.InteropServices._Type.IsInstanceOfType(System.Object)
3 overrides of IsInstanceOfType
mscorlib (1)
system\rttype.cs (1)
3670public override bool IsInstanceOfType(Object o)
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1100public override bool IsInstanceOfType(object o) { return _baseReflectionType.IsInstanceOfType(o); }
System.Data (1)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1100public override bool IsInstanceOfType(object o) { return _baseReflectionType.IsInstanceOfType(o); }
110 references to IsInstanceOfType
mscorlib (8)
system\defaultbinder.cs (2)
242if (pCls.IsInstanceOfType(args[paramOrder[i][j]])) 270if (paramArrayType.IsInstanceOfType(args[j]))
system\marshalbyrefobject.cs (1)
74return T.IsInstanceOfType(this);
system\oleautbinder.cs (1)
45if (!type.IsPrimitive && type.IsInstanceOfType(value))
system\runtime\remoting\message.cs (2)
599if (pt.IsInstanceOfType(value)) 656if (pt.IsInstanceOfType(value))
system\runtime\remoting\realproxy.cs (2)
550else if (!paramType.IsInstanceOfType(arg)) 560if (!paramType.IsInstanceOfType(arg))
PresentationCore (5)
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (4)
441if (!(typeof(VisualBrush).IsInstanceOfType(newValue) || 442typeof(BitmapCacheBrush).IsInstanceOfType(newValue) || 443typeof(ImplicitInputBrush).IsInstanceOfType(newValue) || 444typeof(ImageBrush).IsInstanceOfType(newValue))
Core\CSharp\System\Windows\Media\VisualTreeHelper.cs (1)
254while ((current != null) && (current != ancestor) && !stopType.IsInstanceOfType(current))
PresentationFramework (10)
src\Framework\MS\Internal\Controls\ConnectionPointCookie.cs (1)
64else if (sink == null || !eventInterface.IsInstanceOfType(sink) && !Marshal.IsComObject(sink))
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (1)
722return type.IsInstanceOfType(o) ? o : null;
src\Framework\MS\Internal\Data\ObjectRef.cs (1)
589if (type.IsInstanceOfType(fo.DO)) // found it!
src\Framework\System\Windows\AttachedPropertyBrowsableForChildrenAttribute.cs (1)
108if (walk != null && ownerType.IsInstanceOfType(walk))
src\Framework\System\Windows\Automation\Peers\GridViewAutomationPeer.cs (1)
308if (!type.IsInstanceOfType(visual))
src\Framework\System\Windows\Controls\GroupItem.cs (1)
199if (!style.TargetType.IsInstanceOfType(this))
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
3447if (!style.TargetType.IsInstanceOfType(container))
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
156obj == null || typeof(T).IsInstanceOfType(obj),
src\Framework\System\Windows\ControlTemplate.cs (1)
72if (_targetType != null && !_targetType.IsInstanceOfType(templatedParent))
src\Framework\System\Windows\Data\BindingBase.cs (1)
458if (type.IsInstanceOfType(collection[i]))
System (16)
compmod\system\componentmodel\basenumberconverter.cs (1)
122if (destinationType == typeof(string) && value != null && TargetType.IsInstanceOfType(value)) {
compmod\system\componentmodel\ComponentResourceManager.cs (2)
154if (prop != null && !prop.IsReadOnly && (kvp.Value == null || prop.PropertyType.IsInstanceOfType(kvp.Value))) { 174if (prop != null && prop.CanWrite && (kvp.Value == null || prop.PropertyType.IsInstanceOfType(kvp.Value))) {
compmod\system\componentmodel\design\serialization\ContextStack.cs (1)
78if (type.IsInstanceOfType(value)) {
compmod\system\componentmodel\NullableConverter.cs (1)
102if (destinationType == this.simpleType && this.nullableType.IsInstanceOfType(value)) {
compmod\system\componentmodel\ReferenceConverter.cs (1)
168if (obj != null && type.IsInstanceOfType(obj) &&
compmod\system\componentmodel\ReflectPropertyDescriptor.cs (2)
556if (changedEvent != null && changedEvent.EventType.IsInstanceOfType(handler)) { 1003if (changedEvent != null && changedEvent.EventType.IsInstanceOfType(handler)) {
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
1558if (_skipInterfaceAttributeList[ifaceSkipIdx].IsInstanceOfType(attrArray[idx])) 1818if (editor != null && !editorBaseType.IsInstanceOfType(editor)) {
compmod\system\componentmodel\TypeDescriptor.cs (5)
1294if (!type.IsInstanceOfType(primary)) 1318else if (type.IsInstanceOfType(secondary)) 1350if (designer != null && type.IsInstanceOfType(designer)) 3483if (!objectType.IsInstanceOfType(instance)) 4031if (instance != null && !objectType.IsInstanceOfType(instance))
sys\system\configuration\SettingsBase.cs (1)
76if (propertyValue != null && !pp.PropertyType.IsInstanceOfType(propertyValue))
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (2)
564if (!serviceType.IsInstanceOfType(service)) 686if (!(serviceInstance is PublishServiceCallback) && !serviceType.IsInstanceOfType(serviceInstance))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
1100public override bool IsInstanceOfType(object o) { return _baseReflectionType.IsInstanceOfType(o); } 1416if (attributeType.IsInstanceOfType(a))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (2)
350if (!serviceType.IsInstanceOfType(service)) 394if (!typeof(TServiceType).IsInstanceOfType(service))
System.Data (11)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\EditingContext.cs (2)
564if (!serviceType.IsInstanceOfType(service)) 686if (!(serviceInstance is PublishServiceCallback) && !serviceType.IsInstanceOfType(serviceInstance))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (2)
1100public override bool IsInstanceOfType(object o) { return _baseReflectionType.IsInstanceOfType(o); } 1416if (attributeType.IsInstanceOfType(a))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\ServiceManager.cs (2)
350if (!serviceType.IsInstanceOfType(service)) 394if (!typeof(TServiceType).IsInstanceOfType(service))
fx\src\data\Microsoft\SqlServer\Server\SmiContextFactory.cs (1)
119Debug.Assert(typeof(SmiContext).IsInstanceOfType(result), "didn't get SmiContext from GetCurrentContext?");
fx\src\data\System\Data\Common\DataColumnMappingCollection.cs (1)
329else if (!ItemType.IsInstanceOfType(value)) {
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (1)
331else if (!ItemType.IsInstanceOfType(value)) {
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
208else if (DataType == typeof(Object) || DataType.IsInstanceOfType(value)) {
fx\src\data\System\Data\Common\SQLTypes\SqlUDTStorage.cs (1)
119else if (!DataType.IsInstanceOfType(value)) {
System.Data.Entity (1)
System\Data\EntityClient\DbParameterCollectionHelper.cs (1)
283else if (!ItemType.IsInstanceOfType(value)) {
System.Data.Services.Client (3)
System\Data\Services\Client\AtomMaterializer.cs (1)
1638if (!expectedEntryType.IsInstanceOfType(entry.ResolvedObject))
System\Data\Services\Client\ClientConvert.cs (1)
357Debug.Assert(knownTypes[(int)StorageType.Binary].IsInstanceOfType(propertyValue), "not IsInstanceOfType System.Data.Linq.Binary");
System\Data\Services\Client\DataServiceContext.cs (1)
3513if ((null != target) && !type.ElementType.IsInstanceOfType(target))
System.Drawing (1)
commonui\System\Drawing\Design\ToolboxItem.cs (1)
861if (!expectedType.IsInstanceOfType(value)) {
System.ServiceModel (3)
System\ServiceModel\Channels\BindingElementCollection.cs (1)
80if (bindingElementType.IsInstanceOfType(this[i]))
System\ServiceModel\Channels\ServiceChannelProxy.cs (1)
112else if (declaringType.IsInstanceOfType(this.serviceChannel))
System\ServiceModel\Dispatcher\MessageFilterTable.cs (1)
590if (t.IsInstanceOfType(table))
System.Web (13)
Configuration\ConfigUtil.cs (1)
130Debug.Assert(propInfo.Type.IsInstanceOfType(newDefaultValue));
ModelBinding\CollectionModelBinderUtil.cs (1)
106if (!closedSupportedInterfaceType.IsInstanceOfType(modelMetadata.Model)) {
ModelBinding\ModelBinderUtil.cs (1)
103if (bindingContext.Model != null && !requiredType.IsInstanceOfType(bindingContext.Model)) {
ModelBinding\ModelValidationNode.cs (1)
84if (expectedContainerType.IsInstanceOfType(containerInstance)) {
ModelBinding\TypeHelpers.cs (1)
22return ((value == null && TypeAllowsNullValue(type)) || type.IsInstanceOfType(value));
ModelBinding\ValueProviderResult.cs (2)
46if (value == null || destinationType.IsInstanceOfType(value)) { 105if (value == null || destinationType.IsInstanceOfType(value)) {
UI\BindableTemplateBuilder.cs (1)
104if (control == null || !entry.ControlType.IsInstanceOfType(control)) {
UI\ControlBuilder.cs (1)
2413Debug.Assert(entry.ControlType.IsInstanceOfType(sender), "The DataBinding event sender was not of type " + entry.ControlType.Name);
UI\WebControls\ModelDataSourceView.cs (3)
540if (enumerableModelType.IsInstanceOfType(result)) { 544if (modelType == null || modelType.IsInstanceOfType(result)) { 1256if (value != null && !parameterInfo.ParameterType.IsInstanceOfType(value)) {
UI\WebControls\ObjectDataSourceView.cs (1)
714if (value != null && (!destinationType.IsInstanceOfType(value))) {
System.Web.Extensions (4)
Compilation\WCFModel\SchemaMerger.cs (3)
147if (itemType.IsInstanceOfType(item)) 646if (elementType == null || elementType.IsInstanceOfType(value)) 701if (serializationAttibuteType.IsInstanceOfType(attribute))
UI\WebControls\DataSourceHelper.cs (1)
164if ((value != null) && (!destinationType.IsInstanceOfType(value))) {
System.Windows.Forms (8)
winforms\Managed\System\WinForms\AxHost.cs (1)
3726else if (sink == null || !eventInterface.IsInstanceOfType(sink)) {
winforms\Managed\System\WinForms\Binding.cs (2)
683if (!(cevent.Value is System.DBNull) && cevent.Value != null && cevent.DesiredType != null && !cevent.DesiredType.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) { 698if (!(cevent.Value is System.DBNull) && cevent.DesiredType != null && !cevent.DesiredType.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\BaseCAMarshaler.cs (1)
125if (curItem != null && ItemType.IsInstanceOfType(curItem)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
47if (t.IsInstanceOfType(converter)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2Properties.cs (1)
268if (t.IsInstanceOfType(target)) {
winforms\Managed\System\WinForms\DataGridViewMethods.cs (1)
2695editControlType.IsInstanceOfType(this.latestEditingControl) &&
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
5747if (!createType.IsInstanceOfType(newValue)) {
System.Workflow.Activities (2)
Designers\StateDesigner.cs (1)
856if (type.IsInstanceOfType(activity))
LocalService\DataExchangeServiceBinder.cs (1)
59if (!methodParams[j].ParameterType.IsInstanceOfType(argsCopy[j]))
System.Workflow.ComponentModel (1)
AuthoringOM\Fault.cs (1)
66if (this.Fault != null && this.FaultType != null && !this.FaultType.IsInstanceOfType(this.Fault))
System.Workflow.Runtime (11)
PerformanceCounterManager.cs (2)
342if (!typeof(WorkflowExecutor).IsInstanceOfType(sender)) 355if (!typeof(WorkflowExecutor).IsInstanceOfType(sender))
Tracking.cs (6)
103if (!typeof(WorkflowExecutor).IsInstanceOfType(sender)) 615if (!typeof(WorkflowExecutor).IsInstanceOfType(sender)) 660if (!typeof(WorkflowExecutor).IsInstanceOfType(sender)) 759if (!typeof(WorkflowExecutor).IsInstanceOfType(sender)) 785if (!typeof(WorkflowExecutor).IsInstanceOfType(sender)) 801if (!typeof(WorkflowExecutor).IsInstanceOfType(sender))
Tracking\TrackingLocation.cs (1)
473return matchType.IsInstanceOfType(obj);
WorkflowRuntime.cs (2)
1188if (!typeof(WorkflowExecutor).IsInstanceOfType(sender)) 1212if (!typeof(WorkflowExecutor).IsInstanceOfType(sender))
System.Xml.Linq (6)
System\Xml\Linq\XLinq.cs (6)
1019if (type.IsInstanceOfType(annotations)) return annotations; 1025if (type.IsInstanceOfType(obj)) return obj; 1071if (type.IsInstanceOfType(annotations)) yield return annotations; 1077if (type.IsInstanceOfType(obj)) yield return obj; 1116if (type.IsInstanceOfType(annotations)) annotations = null; 1123if (!type.IsInstanceOfType(obj)) a[j++] = obj;
WindowsBase (1)
Base\System\Windows\DependencyProperty.cs (1)
1064if (!propertyType.IsInstanceOfType(value))