• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# ISupportsInterning类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ISupportsInterning的典型用法代码示例。如果您正苦于以下问题:C# ISupportsInterning类的具体用法?C# ISupportsInterning怎么用?C# ISupportsInterning使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ISupportsInterning类属于命名空间,在下文中一共展示了ISupportsInterning类的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1:

 bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
 {
     GetClassTypeReference o = other as GetClassTypeReference;
     return o != null && assembly == o.assembly && fullTypeName == o.fullTypeName;
 }
开发者ID:segaman,项目名称:NRefactory,代码行数:5,代码来源:GetClassTypeReference.cs


示例2:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			GetClassTypeReference o = other as GetClassTypeReference;
			return o != null && name == o.name && nameSpace == o.nameSpace && typeParameterCount == o.typeParameterCount;
		}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:5,代码来源:GetClassTypeReference.cs


示例3:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			SimpleConstantValue scv = other as SimpleConstantValue;
			return scv != null && type == scv.type && value == scv.value;
		}
开发者ID:0xb1dd1e,项目名称:NRefactory,代码行数:5,代码来源:SimpleConstantValue.cs


示例4: EqualsForInterning

 public bool EqualsForInterning(ISupportsInterning other)
 {
     throw new NotImplementedException();
 }
开发者ID:hazama-yuinyan,项目名称:Expresso,代码行数:4,代码来源:SimpleTypeOrModule.cs


示例5:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			ParameterizedTypeReference o = other as ParameterizedTypeReference;
			if (o != null && genericType == o.genericType && typeArguments.Length == o.typeArguments.Length) {
				for (int i = 0; i < typeArguments.Length; i++) {
					if (typeArguments[i] != o.typeArguments[i])
						return false;
				}
				return true;
			}
			return false;
		}
开发者ID:Gobiner,项目名称:ILSpy,代码行数:12,代码来源:ParameterizedType.cs


示例6:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			ConstantUnaryOperator uop = other as ConstantUnaryOperator;
			return uop != null
				&& this.operatorType == uop.operatorType
				&& this.expression == uop.expression;
		}
开发者ID:sbeparey,项目名称:ILSpy,代码行数:7,代码来源:ConstantValues.cs


示例7:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			DefaultParameter p = other as DefaultParameter;
			return p != null && type == p.type && attributes == p.attributes
				&& defaultValue == p.defaultValue && region == p.region && flags == p.flags;
		}
开发者ID:yayanyang,项目名称:monodevelop,代码行数:6,代码来源:DefaultParameter.cs


示例8:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			DefaultMemberReference o = other as DefaultMemberReference;
			return o != null && entityType == o.entityType && typeReference == o.typeReference && name == o.name && parameterTypes == o.parameterTypes;
		}
开发者ID:KAW0,项目名称:Alter-Native,代码行数:5,代码来源:DefaultMemberReference.cs


示例9:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			NestedTypeReference o = other as NestedTypeReference;
			return o != null && declaringTypeRef == o.declaringTypeRef && name == o.name && additionalTypeParameterCount == o.additionalTypeParameterCount;
		}
开发者ID:sphynx79,项目名称:dotfiles,代码行数:5,代码来源:NestedTypeReference.cs


示例10:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			return false;
		}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:4,代码来源:ISupportsInterning.cs


示例11: ListEquals

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			DefaultUnresolvedAttribute o = other as DefaultUnresolvedAttribute;
			return o != null && attributeType == o.attributeType
				&& constructorParameterTypes == o.constructorParameterTypes && positionalArguments == o.positionalArguments
				&& ListEquals(namedArguments ?? EmptyList<KeyValuePair<IMemberReference, IConstantValue>>.Instance,
				              o.namedArguments ?? EmptyList<KeyValuePair<IMemberReference, IConstantValue>>.Instance);
		}
开发者ID:nylen,项目名称:SharpDevelop,代码行数:8,代码来源:DefaultUnresolvedAttribute.cs


示例12:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			PointerTypeReference o = other as PointerTypeReference;
			return o != null && this.elementType == o.elementType;
		}
开发者ID:sphynx79,项目名称:dotfiles,代码行数:5,代码来源:PointerType.cs


示例13:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			DefaultAttribute a = other as DefaultAttribute;
			return a != null && attributeType == a.attributeType && positionalArguments == a.positionalArguments && namedArguments == a.namedArguments && region == a.region;
		}
开发者ID:constructor-igor,项目名称:cudafy,代码行数:5,代码来源:DefaultAttribute.cs


示例14:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			AttributeTypeReference atr = other as AttributeTypeReference;
			return atr != null && this.withoutSuffix == atr.withoutSuffix && this.withSuffix == atr.withSuffix;
		}
开发者ID:sphynx79,项目名称:dotfiles,代码行数:5,代码来源:AttributeTypeReference.cs


示例15:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			UnresolvedAttributeBlob o = other as UnresolvedAttributeBlob;
			return o != null && attributeType == o.attributeType && ctorParameterTypes == o.ctorParameterTypes
				&& BlobReader.BlobEquals(blob, o.blob);
		}
开发者ID:sphynx79,项目名称:dotfiles,代码行数:6,代码来源:UnresolvedAttributeBlob.cs


示例16:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			AliasNamespaceReference anr = other as AliasNamespaceReference;
			return anr != null && this.identifier == anr.identifier;
		}
开发者ID:sphynx79,项目名称:dotfiles,代码行数:5,代码来源:AliasNamespaceReference.cs


示例17:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			ArrayTypeReference o = other as ArrayTypeReference;
			return o != null && elementType == o.elementType && dimensions == o.dimensions;
		}
开发者ID:0xb1dd1e,项目名称:NRefactory,代码行数:5,代码来源:ArrayType.cs


示例18: ListEquals

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			// compare everything except for the IsFrozen flag
			DefaultUnresolvedParameter p = other as DefaultUnresolvedParameter;
			return p != null && type == p.type && name == p.name &&
				defaultValue == p.defaultValue && region == p.region && (flags & ~1) == (p.flags & ~1) && ListEquals(attributes, p.attributes);
		}
开发者ID:0xb1dd1e,项目名称:NRefactory,代码行数:7,代码来源:DefaultUnresolvedParameter.cs


示例19:

		bool ISupportsInterning.EqualsForInterning(ISupportsInterning other)
		{
			TypeOfConstantExpression o = other as TypeOfConstantExpression;
			return o != null && type == o.type;
		}
开发者ID:adisik,项目名称:simple-assembly-explorer,代码行数:5,代码来源:ConstantValues.cs



注:本文中的ISupportsInterning类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ISurface类代码示例发布时间:2022-05-24
下一篇:
C# ISubscription类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap