Implemented interface member:
method
Equals
System.Runtime.InteropServices._Type.Equals(System.Type)
189 references to Equals
mscorlib (19)
microsoft\win32\oavariantlib.cs (1)
111
if (ctype.
Equals
(ClassTypes[i])) {
system\attribute.cs (1)
875
if (!thisValue.GetType().
Equals
(thatValue.GetType()))
system\defaultbinder.cs (1)
758
if (!pCls.
Equals
(types[j]))
system\reflection\emit\assemblybuilderdata.cs (9)
150
if (conType.
Equals
(typeof(System.Reflection.AssemblyCopyrightAttribute)))
166
else if (conType.
Equals
(typeof(System.Reflection.AssemblyTrademarkAttribute)))
182
else if (conType.
Equals
(typeof(System.Reflection.AssemblyProductAttribute)))
192
else if (conType.
Equals
(typeof(System.Reflection.AssemblyCompanyAttribute)))
208
else if (conType.
Equals
(typeof(System.Reflection.AssemblyDescriptionAttribute)))
218
else if (conType.
Equals
(typeof(System.Reflection.AssemblyTitleAttribute)))
228
else if (conType.
Equals
(typeof(System.Reflection.AssemblyInformationalVersionAttribute)))
241
else if (conType.
Equals
(typeof(System.Reflection.AssemblyCultureAttribute)))
256
else if (conType.
Equals
(typeof(System.Reflection.AssemblyFileVersionAttribute)))
system\runtime\remoting\activationservices.cs (1)
994
if (attrType.
Equals
(retAttr[i].GetType()))
system\security\codeaccesspermission.cs (4)
263
Contract.Assert( grant == null || grant.GetType().
Equals
( this.GetType() ), "CheckDemand not defined for permissions of different type" );
269
Contract.Assert( permitted == null || permitted.GetType().
Equals
( this.GetType() ), "CheckPermitOnly not defined for permissions of different type" );
275
Contract.Assert( denied == null || denied.GetType().
Equals
( this.GetType() ), "CheckDeny not defined for permissions of different type" );
282
Contract.Assert( asserted == null || asserted.GetType().
Equals
( this.GetType() ), "CheckPermitOnly not defined for permissions of different type" );
system\security\policy\codegroup.cs (1)
717
if (that != null && this.GetType().
Equals
( that.GetType() ))
system\type.cs (1)
1786
return
Equals
(o as Type);
PresentationFramework (1)
src\Framework\System\Windows\ComponentResourceKey.cs (1)
113
return ((key._typeInTargetAssembly != null) ? key._typeInTargetAssembly.
Equals
(this._typeInTargetAssembly) : (this._typeInTargetAssembly == null)) &&
SMSvcHost (1)
System\ServiceModel\Activation\SMSvcHost.cs (1)
45
if (majorVersion != null && majorVersion.GetType().
Equals
(typeof(int)))
System (4)
compmod\system\componentmodel\ExtenderProvidedPropertyAttribute.cs (1)
80
return (other != null) && other.extenderProperty.Equals(extenderProperty) && other.provider.Equals(provider) && other.receiverType.
Equals
(receiverType);
compmod\system\componentmodel\LicenseProviderAttribute.cs (1)
101
if (type != null && type.
Equals
(LicenseProvider)) {
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
165
return type.
Equals
(typeof(WebProxyScriptHelper));
net\System\Net\Configuration\WebRequestModuleElement.cs (1)
112
return type.
Equals
(((TypeAndName) comparand).type);
System.Activities (2)
System\Activities\Debugger\XamlDebuggerXmlReader.cs (1)
382
shouldStoreAttachedProperty = !targetType.
Equals
(typeof(string));
System\Activities\Statements\MethodResolver.cs (1)
254
if (this.beginMethod != null && !this.beginMethod.ReturnType.
Equals
(typeof(IAsyncResult)))
System.Activities.Presentation (17)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
204
if (pair.Value.Count > 1 && !(pair.Value[0].PropertyType.IsValueType || pair.Value[0].PropertyType.
Equals
(typeof(string))))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
221
if (stringToConvert != null && typeof(string).
Equals
(this.ParentProperty.PropertyType))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
86
if (value == null || value.GetType().
Equals
(typeof(NullExtension)))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\AlphabeticalViewManager.cs (1)
61
if (foundProperty.PropertyType != null && foundProperty.PropertyType.
Equals
(System.Activities.Presentation.Internal.PropertyEditing.Model.ModelUtilities.GetPropertyType(propertySet)))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\ByCategoryViewManager.cs (1)
64
if (foundProperty.PropertyType != null && foundProperty.PropertyType.
Equals
(System.Activities.Presentation.Internal.PropertyEditing.Model.ModelUtilities.GetPropertyType(propertySet)))
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1511
if (attrData.AttributeType.
Equals
(typeof(TypeDescriptionProviderAttribute)))
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
694
if (type.IsGenericType && type.GetGenericTypeDefinition().
Equals
(disallowedType))
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
259
return allowedItemType.
Equals
(draggedType.GetGenericTypeDefinition());
264
return draggedType.
Equals
(allowedItemType.GetGenericTypeDefinition());
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
502
if (itemType.IsPrimitive || itemType.IsEnum || itemType.
Equals
(typeof(String)))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (1)
106
if (itemType.IsPrimitive || itemType.IsEnum || itemType.
Equals
(typeof(String)))
System.Activities.Presentation\System\Activities\Presentation\Model\MorphHelper.cs (1)
110
if (propertyInNewModelItem.PropertyType.
Equals
(modelProperty.PropertyType))
System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeDesigner.xaml.cs (2)
115
if (propertyType.
Equals
(typeof(ActivityBuilder)))
119
else if (propertyType.
Equals
(typeof(ActivityTemplateFactoryBuilder)))
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1098
if (displayNameProperty != null && displayNameProperty.PropertyType.
Equals
(typeof(string)))
System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (2)
16
Fx.Assert(targetType.
Equals
(typeof(string)), "TypeToStringValueConverter cannot convert a type to type " + targetType.FullName);
39
Fx.Assert(targetType.
Equals
(typeof(Type)), "TypeToStringValueConverter cannot convert string back to type " + targetType.FullName);
System.Core (3)
Microsoft\Scripting\Ast\NewArrayExpression.cs (2)
149
if (type.
Equals
(typeof(void))) {
208
if (type.
Equals
(typeof(void))) {
Microsoft\Scripting\Compiler\BoundConstants.cs (1)
58
return object.ReferenceEquals(Value, other.Value) && Type.
Equals
(other.Type);
System.Data (17)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyMerger.cs (1)
204
if (pair.Value.Count > 1 && !(pair.Value[0].PropertyType.IsValueType || pair.Value[0].PropertyType.
Equals
(typeof(string))))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyValue.cs (1)
221
if (stringToConvert != null && typeof(string).
Equals
(this.ParentProperty.PropertyType))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelUtilities.cs (1)
86
if (value == null || value.GetType().
Equals
(typeof(NullExtension)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\AlphabeticalViewManager.cs (1)
61
if (foundProperty.PropertyType != null && foundProperty.PropertyType.
Equals
(System.Activities.Presentation.Internal.PropertyEditing.Model.ModelUtilities.GetPropertyType(propertySet)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Views\ByCategoryViewManager.cs (1)
64
if (foundProperty.PropertyType != null && foundProperty.PropertyType.
Equals
(System.Activities.Presentation.Internal.PropertyEditing.Model.ModelUtilities.GetPropertyType(propertySet)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
1511
if (attrData.AttributeType.
Equals
(typeof(TypeDescriptionProviderAttribute)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (1)
694
if (type.IsGenericType && type.GetGenericTypeDefinition().
Equals
(disallowedType))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (2)
259
return allowedItemType.
Equals
(draggedType.GetGenericTypeDefinition());
264
return draggedType.
Equals
(allowedItemType.GetGenericTypeDefinition());
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
502
if (itemType.IsPrimitive || itemType.IsEnum || itemType.
Equals
(typeof(String)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyDescriptor.cs (1)
106
if (itemType.IsPrimitive || itemType.IsEnum || itemType.
Equals
(typeof(String)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\MorphHelper.cs (1)
110
if (propertyInNewModelItem.PropertyType.
Equals
(modelProperty.PropertyType))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ActivityTypeDesigner.xaml.cs (2)
115
if (propertyType.
Equals
(typeof(ActivityBuilder)))
119
else if (propertyType.
Equals
(typeof(ActivityTemplateFactoryBuilder)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.Commands.cs (1)
1098
if (displayNameProperty != null && displayNameProperty.PropertyType.
Equals
(typeof(string)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeToStringValueConverter.cs (2)
16
Fx.Assert(targetType.
Equals
(typeof(string)), "TypeToStringValueConverter cannot convert a type to type " + targetType.FullName);
39
Fx.Assert(targetType.
Equals
(typeof(Type)), "TypeToStringValueConverter cannot convert string back to type " + targetType.FullName);
System.Data.DataSetExtensions (1)
System\Data\EnumerableRowCollectionExtensions.cs (1)
193
if ((null != source) && source.ElementType.
Equals
(typeof(TResult)))
System.Data.Entity (21)
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (3)
1815
if (typeof(TInstance).BaseType.
Equals
(typeof(object)) &&
1847
if (type.IsGenericType && typeof(Nullable<>).
Equals
(type.GetGenericTypeDefinition()))
1891
if (typeof(Row).
Equals
(typeof(TArgument)))
System\Data\Common\EntityUtil.cs (1)
1870
if (foundFactory.GetType().
Equals
(connectionProviderFactoryType))
System\Data\Common\Utils\MetadataHelper.cs (4)
33
if (typeof(EntityType).
Equals
(typeof(T)) && resultType is EntityType
34
|| typeof(ComplexType).
Equals
(typeof(T)) && resultType is ComplexType
35
|| typeof(StructuralType).
Equals
(typeof(T)) && resultType is StructuralType
36
|| typeof(EdmType).
Equals
(typeof(T)) && resultType is EdmType)
System\Data\Common\Utils\Set.cs (1)
313
Debug.Assert(other.Comparer.GetType().
Equals
(this.Comparer.GetType()));
System\Data\Objects\ELinq\ExpressionConverter.cs (1)
996
return ((PrimitiveType)left.EdmType).ClrEquivalentType.
Equals
(
System\Data\Objects\ELinq\Funcletizer.cs (1)
426
if (parameterExp.Type.
Equals
(expression.Type))
System\Data\Objects\ELinq\InitializerFacet.cs (3)
115
if (!this.ClrType.
Equals
(other.ClrType)) { return false; }
221
typeof(IGrouping<,>).
Equals
(ClrType.GetGenericTypeDefinition()));
238
typeof(IGrouping<,>).
Equals
(ClrType.GetGenericTypeDefinition()));
System\Data\Objects\ELinq\MethodCallTranslator.cs (4)
73
if (linq.Method.GetParameters().Count() == 1 && linq.Method.ReturnType.
Equals
(typeof(bool)))
434
Debug.Assert(call.Object != null && call.Arguments.Count == 1 && call.Arguments[0] != null && call.Arguments[0].Type.
Equals
(typeof(string)), "Invalid Include arguments?");
470
Debug.Assert(call.Object != null && call.Arguments.Count == 1 && call.Arguments[0] != null && call.Arguments[0].Type.
Equals
(typeof(MergeOption)), "Invalid MergeAs arguments?");
506
Debug.Assert(call.Object != null && call.Arguments.Count == 1 && call.Arguments[0] != null && call.Arguments[0].Type.
Equals
(typeof(Span)), "Invalid IncludeSpan arguments?");
System\Data\Objects\ELinq\Translator.cs (2)
462
propertyInfo.PropertyType.
Equals
(typeof(int)))
485
candidateType.GetGenericTypeDefinition().
Equals
(typeof(System.Collections.Generic.ICollection<>)))
System\Data\Objects\Internal\EntitySqlQueryBuilder.cs (1)
158
Debug.Assert(leftQuery.ElementType.
Equals
(rightQuery.ElementType), "Incompatible element types in arguments to Except<T>/Intersect<T>/Union<T>/UnionAll<T>?");
System.Data.Linq (4)
SortableBindingList.cs (1)
107
return (t.
Equals
(typeof(XNode)) || t.IsSubclassOf(typeof(XNode)));
SqlClient\Common\SqlFactory.cs (1)
351
clrType = expression.ClrType.
Equals
(typeof(bool?)) ? typeof(bool?) : typeof(bool);
SqlClient\Common\SqlNode.cs (2)
1119
&& !TypeSystem.GetNonNullableType(this.matchExpression.ClrType).
Equals
(typeof(bool))
1120
&& !TypeSystem.GetNonNullableType(value.ClrType).
Equals
(typeof(bool)))
System.Data.Services.Client (1)
System\Data\Services\Client\ALinq\InputReferenceExpression.cs (1)
64
Debug.Assert(newTarget.ResourceType.
Equals
(this.Type), "Cannot reference a resource set with a different resource type");
System.Drawing (2)
commonui\System\Drawing\Advanced\PointF.cs (1)
209
comp.GetType().
Equals
(this.GetType());
commonui\System\Drawing\Advanced\SizeF.cs (1)
225
(comp.GetType().
Equals
(GetType()));
System.Runtime.Serialization (13)
System\Runtime\Serialization\Configuration\DeclaredTypeValidator.cs (1)
25
if (t != null && Globals.TypeOfObject.
Equals
(t))
System\Runtime\Serialization\DataContract.cs (2)
2208
if (t == null || !rootType.
Equals
(t))
2226
else if (rootType.
Equals
(t))
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
129
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
205
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
99
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
130
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
System\Runtime\Serialization\PrimitiveDataContract.cs (1)
154
return (thisType.
Equals
(otherType) || thisType.IsSubclassOf(otherType) || otherType.IsSubclassOf(thisType));
System\Runtime\Serialization\XmlDataContract.cs (1)
349
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
130
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
216
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
112
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
142
if (memberAccessFlag && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
System.Security (1)
system\security\cryptography\xml\keyinfo.cs (1)
138
if (requestedObjectType.
Equals
(tempObj.GetType()))
System.ServiceModel (21)
System\ServiceModel\Activation\Iis7Helper.cs (1)
39
if (majorVersion != null && majorVersion.GetType().
Equals
(typeof(int)))
System\ServiceModel\Configuration\BindingCollectionElement.cs (1)
78
if (null != collectionElementType && extensionSectionType.
Equals
(collectionElementType))
System\ServiceModel\Configuration\CustomBindingCollectionElement.cs (1)
79
isMatch = bindingElementExtension.BindingElementType.
Equals
(bindingElement.GetType());
System\ServiceModel\Configuration\EndpointCollectionElement.cs (1)
80
if (null != collectionElementType && extensionSectionType.
Equals
(collectionElementType))
System\ServiceModel\Configuration\ExtensionElementCollection.cs (1)
92
if (null != elementType && elementType.
Equals
(Type.GetType(extension.Type, false)))
System\ServiceModel\Configuration\ServiceModelExtensionElement.cs (2)
60
if (extensionType != null && extensionType.
Equals
(ThisType))
249
if (null != collectionElementType && extensionSectionType.
Equals
(collectionElementType))
System\ServiceModel\Description\ServiceDescription.cs (1)
172
if (securityException != null && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
System\ServiceModel\Dispatcher\InvokerUtil.cs (4)
90
if (requiresMemberAccess && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
129
if (requiresMemberAccess && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
174
if (requiresMemberAccess && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
221
if (requiresMemberAccess && securityException.PermissionType.
Equals
(typeof(ReflectionPermission)))
System\ServiceModel\Dispatcher\MessageFilterTable.cs (2)
165
if (this.tables[i].priority == priority && this.tables[i].table.GetType().
Equals
(tableType))
175
if (!table.GetType().
Equals
(tableType))
System\ServiceModel\MessageSecurityOverHttp.cs (2)
249
if (!isSecureConversation && typeof(TSecurity).
Equals
(typeof(MessageSecurityOverHttp)))
390
if (typeof(NonDualMessageSecurityOverHttp).
Equals
(typeof(TSecurity)))
System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
275
if (!(message.Body.ReturnValue.GetType().
Equals
(typeof(MessagePartDescription))))
System\ServiceModel\Security\PeerCredential.cs (1)
130
return (one.GetType().
Equals
(two.GetType()));
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
840
if ((this.primaryTokenAuthenticator != null) && (this.primaryTokenAuthenticator.GetType().
Equals
(spec.TokenAuthenticator.GetType())))
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (1)
405
if (feedType.
Equals
(typeof(SyndicationFeed)))
System\ServiceModel\Syndication\SyndicationItemFormatter.cs (1)
76
if (itemType.
Equals
(typeof(SyndicationItem)))
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\HelpPage.cs (2)
298
if (wrapped && !typeof(void).
Equals
(type))
303
else if (typeof(void).
Equals
(type))
System.Web (10)
Configuration\HealthMonitoringSectionHelper.cs (1)
478
if (!(eventType.
Equals
(_eventMappingSettings.RealType) ||
Configuration\HttpCapabilitiesSectionHandler.cs (1)
255
if (resultType.
Equals
(capabilitiesEvaluator._resultType) == false) {
Configuration\RuleInfoComparer.cs (1)
47
if (xType.
Equals
(yType)) {
Configuration\VersionValidator.cs (1)
19
return typeof(Version).
Equals
(type);
Configuration\WebBaseEventKeyComparer.cs (2)
18
if (xKey._eventCode == yKey._eventCode && xKey._type.
Equals
(yKey._type)) {
42
if (xType.
Equals
(yType)) {
ModelBinding\DataTypeUtil.cs (1)
27
isDataType = t => t.GetType().
Equals
(typeof(DataTypeAttribute));
UI\PropertyConverter.cs (2)
70
if (objType.
Equals
(typeof(bool)) && value.Length == 0) {
82
else if (objType.
Equals
(typeof(string))) {
UI\WebParts\WebPartManager.cs (1)
4532
(other._type.
Equals
(_type)) &&
System.Web.DynamicData (1)
DynamicData\DynamicDataExtensions.cs (1)
271
if (member.Type.
Equals
(rowType)) continue;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
490
if (type.IsGenericType && type.GetGenericTypeDefinition().
Equals
(typeof(Nullable<>)))
System.Web.Extensions (4)
ApplicationServices\ApplicationServicesHostFactory.cs (3)
16
if (typeof(ProfileService).
Equals
(serviceType)) {
19
else if (typeof(RoleService).
Equals
(serviceType)) {
22
else if (typeof(AuthenticationService).
Equals
(serviceType)) {
UI\AsyncPostBackTrigger.cs (1)
109
if (!handlerMethod.ReturnType.
Equals
(typeof(void)) ||
System.Web.Services (1)
System\Web\Services\Configuration\TypeElement.cs (1)
67
return type.
Equals
(((TypeAndName) comparand).type);
System.Windows.Forms (24)
winforms\Managed\System\Resources\ResXDataNode.cs (1)
183
if(nodeType != null && nodeType.
Equals
(typeof(ResXFileRef))) {
winforms\Managed\System\Resources\ResXFileRef.cs (4)
292
if(toCreate.
Equals
(typeof(string))) {
313
if(toCreate.
Equals
(typeof(byte[]))) {
317
if(toCreate.
Equals
(typeof(MemoryStream))) {
319
} else if(toCreate.
Equals
(typeof(System.Drawing.Bitmap)) && fileName.EndsWith(".ico")) {
winforms\Managed\System\WinForms\AxHost.cs (1)
7067
if (editorBaseType.
Equals
(typeof(UITypeEditor)) && editor != null) {
winforms\Managed\System\WinForms\DataGridTable.cs (14)
1462
if (dataType.
Equals
(typeof(bool)))
1464
else if (dataType.
Equals
(typeof(string)))
1466
else if (dataType.
Equals
(typeof(DateTime)))
1469
else if (dataType.
Equals
(typeof(Int16)) ||
1470
dataType.
Equals
(typeof(Int32)) ||
1471
dataType.
Equals
(typeof(Int64)) ||
1472
dataType.
Equals
(typeof(UInt16)) ||
1473
dataType.
Equals
(typeof(UInt32)) ||
1474
dataType.
Equals
(typeof(UInt64)) ||
1475
dataType.
Equals
(typeof(Decimal)) ||
1476
dataType.
Equals
(typeof(Double)) ||
1477
dataType.
Equals
(typeof(Single)) ||
1478
dataType.
Equals
(typeof(Byte)) ||
1479
dataType.
Equals
(typeof(SByte))) {
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (3)
999
if (type.
Equals
(typeof(bool)) || type.
Equals
(typeof(CheckState)))
1001
dataGridViewColumn = new DataGridViewCheckBoxColumn(type.
Equals
(typeof(CheckState)));
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
1851
pe.PropertyType.
Equals
(this.PropertyType) && pe.PropertyDepth == this.PropertyDepth;
System.Workflow.Activities (4)
CorrelationValidator.cs (2)
227
if (currentActivity is CallExternalMethodActivity && !interfaceType.
Equals
(((CallExternalMethodActivity)currentActivity).InterfaceType))
229
else if (currentActivity is HandleExternalEventActivity && !interfaceType.
Equals
(((HandleExternalEventActivity)currentActivity).InterfaceType))
InvokeWebService.cs (1)
325
if (!(type.
Equals
(webServiceBaseType)) && TypeProvider.IsAssignable(webServiceBaseType, type))
Rules\Helpers.cs (1)
64
return ((type.IsValueType) && (type.IsGenericType) && (type.GetGenericTypeDefinition().
Equals
(typeof(Nullable<>))));
System.Workflow.ComponentModel (5)
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
194
if (type != null && !type.
Equals
(ResolveType("System.Object")))
1336
if (!this.parameters[loop].
Equals
(maskSignature.parameters[loop]))
AuthoringOM\Compiler\TypeSystem\RTTypeWrapper.cs (1)
725
if (matchName && (returnType == null || (returnType.
Equals
(propInfo.PropertyType))))
AuthoringOM\Compiler\Validation\BindValidator.cs (1)
554
else if (!invokeMethod.ReturnType.
Equals
(methodInfo.ReturnType))
AuthoringOM\Design\Themes.cs (1)
696
if (designerTheme == null || (designerTheme.DesignerType != null && !designerType.
Equals
(designerTheme.DesignerType)))
System.Workflow.Runtime (3)
System\Activities\Statements\InteropEnvironment.cs (3)
351
if (propertyInfo.DeclaringType.
Equals
(compositeActivityType) ||
352
propertyInfo.DeclaringType.
Equals
(dependencyObjectType))
359
if (propertyInfo.DeclaringType.
Equals
(activityType) &&
System.WorkflowServices (5)
System\Workflow\Activities\ContractType.cs (1)
856
if (!this.parameters[loop].
Equals
(maskSignature.parameters[loop]))
System\Workflow\Activities\Design\OperationPickerDialog.cs (1)
421
if (!serviceContractListItem.IsCustomContract && serviceContractListItem.ContractType.
Equals
(foundContract.ContractType))
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (3)
199
if (typeCellItem.Type.
Equals
(type))
844
type.
Equals
(typeof(System.ServiceModel.Channels.Message)) ||
845
type.
Equals
(typeof(System.IO.Stream));
System.Xml (1)
System\Xml\Serialization\Configuration\SchemaImporterExtensionElement.cs (1)
95
return type.
Equals
(((TypeAndName) comparand).type);