public override IEnumerable <(string filedName, string value)> GetStringFields()
        {
            yield return("IsConst", IsConst.ToString());

            yield return("ModifiersStr", ModifiersStr);

            yield return("DeclarationStr", DeclarationStr);

            yield return("SemicolonTokenStr", SemicolonTokenStr);
        }
Example #2
0
        public override int GetHashCode()
        {
            var hashCode = -2115335014;

            hashCode = hashCode * -1521134295 + IsConst.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            hashCode = hashCode * -1521134295 + EqualityComparer <ReadOnlyCollection <CppTypeName> > .Default.GetHashCode(TypeParam);

            hashCode = hashCode * -1521134295 + EqualityComparer <ReadOnlyCollection <CppPtrType> > .Default.GetHashCode(PtrInfos);

            return(hashCode);
        }
Example #3
0
        public override int GetHashCode()
        {
            var hashCode = -1034007683;

            hashCode = hashCode * -1521134295 + EqualityComparer <Variable> .Default.GetHashCode(ReturnType);

            hashCode = hashCode * -1521134295 + EqualityComparer <List <Variable> > .Default.GetHashCode(InputTypes);

            hashCode = hashCode * -1521134295 + EqualityComparer <Class> .Default.GetHashCode(OwnerClass);

            hashCode = hashCode * -1521134295 + IsConst.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            return(hashCode);
        }
Example #4
0
        public override int GetHashCode()
        {
            var hashCode = -2115335014;

            hashCode = hashCode * -1521134295 + IsConst.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            if (TypeParam != null)
            {
                foreach (var item in TypeParam)
                {
                    hashCode = hashCode * -1521134295 + EqualityComparer <CppTypeName> .Default.GetHashCode(item);
                }
            }
            if (PtrInfos != null)
            {
                foreach (var item in PtrInfos)
                {
                    hashCode = hashCode * -1521134295 + EqualityComparer <CppPtrType> .Default.GetHashCode(item);
                }
            }
            return(hashCode);
        }
    internal static int modopt(IsConst) SizeOfPROPVARIANT = 0x10;

    [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success), HandleProcessCorruptedStateExceptions, ResourceExposure(ResourceScope.None)]
Example #6
0
 internal static int modopt(IsConst) SizeOfPROPVARIANT = 0x10;