public bool Equals(FieldToken obj) {}
	public static bool op_Inequality(FieldToken a, FieldToken b) {}
示例#3
0
 public bool Equals(FieldToken other)
 {
     return(this == other);
 }
示例#4
0
 public bool Equals(FieldToken obj) => obj.Token == Token && obj._class == _class;
		public bool Equals(FieldToken other)
		{
			return this == other;
		}
示例#6
0
        public override global::System.String ToString()
        {
            var offset     = OffsetToString(Offset) + ":";
            var prefixSpec = Prefixes.Count == 0 ? "" : ("[" + global::XenoGears.Functional.EnumerableExtensions.StringJoin(Prefixes) + "]");
            var name       = "ldfld";
            var mods       = new global::System.Collections.Generic.List <global::System.String>();
            var modSpec    = global::XenoGears.Functional.EnumerableExtensions.StringJoin(global::System.Linq.Enumerable.Where(mods, mod => global::XenoGears.Functional.EnumerableExtensions.IsNeitherNullNorEmpty(mod)), ", ");
            var operand    = ((Field != null ? FieldInfoToString(Field) : null) ?? (("0x" + FieldToken.ToString("x8"))));

            var parts  = new [] { offset, prefixSpec, name, modSpec, operand };
            var result = global::XenoGears.Functional.EnumerableExtensions.StringJoin(global::System.Linq.Enumerable.Where(parts, p => global::XenoGears.Functional.EnumerableExtensions.IsNeitherNullNorEmpty(p)), " ");

            return(result);
        }
 public virtual void VisitField(FieldToken field)
 {
 }