当前位置: 首页>>代码示例>>C#>>正文


C# ISupportsInterning类代码示例

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


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


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