/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
src/OneScript.Core/Compilation/Binding/SymbolBinding.cs
24 строки
724 B
Andrei Ovsiankin
Быстрое сравнение для SymbolBinding
02 июн 2024, 21:43
02 июн 2024, 21:43
7ac126c
Код
Авторство
О чём код?
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------*/ using System; namespace OneScript.Compilation.Binding { [Serializable] public struct SymbolBinding : IEquatable<SymbolBinding> { public int ScopeNumber { get; set; } public int MemberNumber { get; set; } public bool Equals(SymbolBinding other) { return ScopeNumber == other.ScopeNumber && MemberNumber == other.MemberNumber; } } }