content stringlengths 5 1.04M | avg_line_length float64 1.75 12.9k | max_line_length int64 2 244k | alphanum_fraction float64 0 0.98 | licenses list | repository_name stringlengths 7 92 | path stringlengths 3 249 | size int64 5 1.04M | lang stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using Avalonia.Controls.Primitives;
using Avalonia.Data;
using Avalonia.Input;
using Avalonia.Interactivity;
namespace Avalonia.Controls
{
/// <summary>
/// Provides data for the
/// <see cref="E:Avalonia.Controls.DatePicker.DateValidationError" />
/// event.
/// </summary>
public class DatePickerDateValidationErrorEventArgs : EventArgs
{
private bool _throwException;
/// <summary>
/// Initializes a new instance of the
/// <see cref="T:Avalonia.Controls.DatePickerDateValidationErrorEventArgs" />
/// class.
/// </summary>
/// <param name="exception">
/// The initial exception from the
/// <see cref="E:Avalonia.Controls.DatePicker.DateValidationError" />
/// event.
/// </param>
/// <param name="text">
/// The text that caused the
/// <see cref="E:Avalonia.Controls.DatePicker.DateValidationError" />
/// event.
/// </param>
public DatePickerDateValidationErrorEventArgs(Exception exception, string text)
{
this.Text = text;
this.Exception = exception;
}
/// <summary>
/// Gets the initial exception associated with the
/// <see cref="E:Avalonia.Controls.DatePicker.DateValidationError" />
/// event.
/// </summary>
/// <value>
/// The exception associated with the validation failure.
/// </value>
public Exception Exception { get; private set; }
/// <summary>
/// Gets the text that caused the
/// <see cref="E:Avalonia.Controls.DatePicker.DateValidationError" />
/// event.
/// </summary>
/// <value>
/// The text that caused the validation failure.
/// </value>
public string Text { get; private set; }
/// <summary>
/// Gets or sets a value indicating whether
/// <see cref="P:Avalonia.Controls.DatePickerDateValidationErrorEventArgs.Exception" />
/// should be thrown.
/// </summary>
/// <value>
/// True if the exception should be thrown; otherwise, false.
/// </value>
/// <exception cref="T:System.ArgumentException">
/// If set to true and
/// <see cref="P:Avalonia.Controls.DatePickerDateValidationErrorEventArgs.Exception" />
/// is null.
/// </exception>
public bool ThrowException
{
get { return this._throwException; }
set
{
if (value && this.Exception == null)
{
throw new ArgumentException("Cannot Throw Null Exception");
}
this._throwException = value;
}
}
}
/// <summary>
/// Specifies date formats for a
/// <see cref="T:Avalonia.Controls.DatePicker" />.
/// </summary>
public enum DatePickerFormat
{
/// <summary>
/// Specifies that the date should be displayed using unabbreviated days
/// of the week and month names.
/// </summary>
Long = 0,
/// <summary>
/// Specifies that the date should be displayed using abbreviated days
/// of the week and month names.
/// </summary>
Short = 1,
/// <summary>
/// Specifies that the date should be displayed using a custom format string.
/// </summary>
Custom = 2
}
public class DatePicker : TemplatedControl
{
private const string ElementTextBox = "PART_TextBox";
private const string ElementButton = "PART_Button";
private const string ElementPopup = "PART_Popup";
private const string ElementCalendar = "PART_Calendar";
private Calendar _calendar;
private string _defaultText;
private Button _dropDownButton;
//private Canvas _outsideCanvas;
//private Canvas _outsidePopupCanvas;
private Popup _popUp;
private TextBox _textBox;
private IDisposable _textBoxTextChangedSubscription;
private IDisposable _buttonPointerPressedSubscription;
private DateTime? _onOpenSelectedDate;
private bool _settingSelectedDate;
private DateTime _displayDate;
private DateTime? _displayDateStart;
private DateTime? _displayDateEnd;
private bool _isDropDownOpen;
private DateTime? _selectedDate;
private string _text;
private bool _suspendTextChangeHandler = false;
private bool _isPopupClosing = false;
private bool _ignoreButtonClick = false;
/// <summary>
/// Gets a collection of dates that are marked as not selectable.
/// </summary>
/// <value>
/// A collection of dates that cannot be selected. The default value is
/// an empty collection.
/// </value>
public CalendarBlackoutDatesCollection BlackoutDates { get; private set; }
public static readonly DirectProperty<DatePicker, DateTime> DisplayDateProperty =
AvaloniaProperty.RegisterDirect<DatePicker, DateTime>(
nameof(DisplayDate),
o => o.DisplayDate,
(o, v) => o.DisplayDate = v);
public static readonly DirectProperty<DatePicker, DateTime?> DisplayDateStartProperty =
AvaloniaProperty.RegisterDirect<DatePicker, DateTime?>(
nameof(DisplayDateStart),
o => o.DisplayDateStart,
(o, v) => o.DisplayDateStart = v);
public static readonly DirectProperty<DatePicker, DateTime?> DisplayDateEndProperty =
AvaloniaProperty.RegisterDirect<DatePicker, DateTime?>(
nameof(DisplayDateEnd),
o => o.DisplayDateEnd,
(o, v) => o.DisplayDateEnd = v);
public static readonly StyledProperty<DayOfWeek> FirstDayOfWeekProperty =
AvaloniaProperty.Register<DatePicker, DayOfWeek>(nameof(FirstDayOfWeek));
public static readonly DirectProperty<DatePicker, bool> IsDropDownOpenProperty =
AvaloniaProperty.RegisterDirect<DatePicker, bool>(
nameof(IsDropDownOpen),
o => o.IsDropDownOpen,
(o, v) => o.IsDropDownOpen = v);
public static readonly StyledProperty<bool> IsTodayHighlightedProperty =
AvaloniaProperty.Register<DatePicker, bool>(nameof(IsTodayHighlighted));
public static readonly DirectProperty<DatePicker, DateTime?> SelectedDateProperty =
AvaloniaProperty.RegisterDirect<DatePicker, DateTime?>(
nameof(SelectedDate),
o => o.SelectedDate,
(o, v) => o.SelectedDate = v);
public static readonly StyledProperty<DatePickerFormat> SelectedDateFormatProperty =
AvaloniaProperty.Register<DatePicker, DatePickerFormat>(
nameof(SelectedDateFormat),
defaultValue: DatePickerFormat.Short,
validate: IsValidSelectedDateFormat);
public static readonly StyledProperty<string> CustomDateFormatStringProperty =
AvaloniaProperty.Register<DatePicker, string>(
nameof(CustomDateFormatString),
defaultValue: "d",
validate: IsValidDateFormatString);
public static readonly DirectProperty<DatePicker, string> TextProperty =
AvaloniaProperty.RegisterDirect<DatePicker, string>(
nameof(Text),
o => o.Text,
(o, v) => o.Text = v);
public static readonly StyledProperty<string> WatermarkProperty =
TextBox.WatermarkProperty.AddOwner<DatePicker>();
public static readonly StyledProperty<bool> UseFloatingWatermarkProperty =
TextBox.UseFloatingWatermarkProperty.AddOwner<DatePicker>();
/// <summary>
/// Gets or sets the date to display.
/// </summary>
/// <value>
/// The date to display. The default
/// <see cref="P:System.DateTime.Today" />.
/// </value>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// The specified date is not in the range defined by
/// <see cref="P:Avalonia.Controls.DatePicker.DisplayDateStart" />
/// and
/// <see cref="P:Avalonia.Controls.DatePicker.DisplayDateEnd" />.
/// </exception>
public DateTime DisplayDate
{
get { return _displayDate; }
set { SetAndRaise(DisplayDateProperty, ref _displayDate, value); }
}
/// <summary>
/// Gets or sets the first date to be displayed.
/// </summary>
/// <value>The first date to display.</value>
public DateTime? DisplayDateStart
{
get { return _displayDateStart; }
set { SetAndRaise(DisplayDateStartProperty, ref _displayDateStart, value); }
}
/// <summary>
/// Gets or sets the last date to be displayed.
/// </summary>
/// <value>The last date to display.</value>
public DateTime? DisplayDateEnd
{
get { return _displayDateEnd; }
set { SetAndRaise(DisplayDateEndProperty, ref _displayDateEnd, value); }
}
/// <summary>
/// Gets or sets the day that is considered the beginning of the week.
/// </summary>
/// <value>
/// A <see cref="T:System.DayOfWeek" /> representing the beginning of
/// the week. The default is <see cref="F:System.DayOfWeek.Sunday" />.
/// </value>
public DayOfWeek FirstDayOfWeek
{
get { return GetValue(FirstDayOfWeekProperty); }
set { SetValue(FirstDayOfWeekProperty, value); }
}
/// <summary>
/// Gets or sets a value indicating whether the drop-down
/// <see cref="T:Avalonia.Controls.Calendar" /> is open or closed.
/// </summary>
/// <value>
/// True if the <see cref="T:Avalonia.Controls.Calendar" /> is
/// open; otherwise, false. The default is false.
/// </value>
public bool IsDropDownOpen
{
get { return _isDropDownOpen; }
set { SetAndRaise(IsDropDownOpenProperty, ref _isDropDownOpen, value); }
}
/// <summary>
/// Gets or sets a value indicating whether the current date will be
/// highlighted.
/// </summary>
/// <value>
/// True if the current date is highlighted; otherwise, false. The
/// default is true.
/// </value>
public bool IsTodayHighlighted
{
get { return GetValue(IsTodayHighlightedProperty); }
set { SetValue(IsTodayHighlightedProperty, value); }
}
/// <summary>
/// Gets or sets the currently selected date.
/// </summary>
/// <value>
/// The date currently selected. The default is null.
/// </value>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// The specified date is not in the range defined by
/// <see cref="P:Avalonia.Controls.DatePicker.DisplayDateStart" />
/// and
/// <see cref="P:Avalonia.Controls.DatePicker.DisplayDateEnd" />,
/// or the specified date is in the
/// <see cref="P:Avalonia.Controls.DatePicker.BlackoutDates" />
/// collection.
/// </exception>
public DateTime? SelectedDate
{
get { return _selectedDate; }
set { SetAndRaise(SelectedDateProperty, ref _selectedDate, value); }
}
/// <summary>
/// Gets or sets the format that is used to display the selected date.
/// </summary>
/// <value>
/// The format that is used to display the selected date. The default is
/// <see cref="F:Avalonia.Controls.DatePickerFormat.Short" />.
/// </value>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// An specified format is not valid.
/// </exception>
public DatePickerFormat SelectedDateFormat
{
get { return GetValue(SelectedDateFormatProperty); }
set { SetValue(SelectedDateFormatProperty, value); }
}
public string CustomDateFormatString
{
get { return GetValue(CustomDateFormatStringProperty); }
set { SetValue(CustomDateFormatStringProperty, value); }
}
/// <summary>
/// Gets or sets the text that is displayed by the
/// <see cref="T:Avalonia.Controls.DatePicker" />.
/// </summary>
/// <value>
/// The text displayed by the
/// <see cref="T:Avalonia.Controls.DatePicker" />.
/// </value>
/// <exception cref="T:System.FormatException">
/// The text entered cannot be parsed to a valid date, and the exception
/// is not suppressed.
/// </exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// The text entered parses to a date that is not selectable.
/// </exception>
public string Text
{
get { return _text; }
set { SetAndRaise(TextProperty, ref _text, value); }
}
public string Watermark
{
get { return GetValue(WatermarkProperty); }
set { SetValue(WatermarkProperty, value); }
}
public bool UseFloatingWatermark
{
get { return GetValue(UseFloatingWatermarkProperty); }
set { SetValue(UseFloatingWatermarkProperty, value); }
}
/// <summary>
/// Occurs when the drop-down
/// <see cref="T:Avalonia.Controls.Calendar" /> is closed.
/// </summary>
public event EventHandler CalendarClosed;
/// <summary>
/// Occurs when the drop-down
/// <see cref="T:Avalonia.Controls.Calendar" /> is opened.
/// </summary>
public event EventHandler CalendarOpened;
/// <summary>
/// Occurs when <see cref="P:Avalonia.Controls.DatePicker.Text" />
/// is assigned a value that cannot be interpreted as a date.
/// </summary>
public event EventHandler<DatePickerDateValidationErrorEventArgs> DateValidationError;
/// <summary>
/// Occurs when the
/// <see cref="P:Avalonia.Controls.DatePicker.SelectedDate" />
/// property is changed.
/// </summary>
public event EventHandler<SelectionChangedEventArgs> SelectedDateChanged;
static DatePicker()
{
FocusableProperty.OverrideDefaultValue<DatePicker>(true);
DisplayDateProperty.Changed.AddClassHandler<DatePicker>((x,e) => x.OnDisplayDateChanged(e));
DisplayDateStartProperty.Changed.AddClassHandler<DatePicker>((x,e) => x.OnDisplayDateStartChanged(e));
DisplayDateEndProperty.Changed.AddClassHandler<DatePicker>((x,e) => x.OnDisplayDateEndChanged(e));
IsDropDownOpenProperty.Changed.AddClassHandler<DatePicker>((x,e) => x.OnIsDropDownOpenChanged(e));
SelectedDateProperty.Changed.AddClassHandler<DatePicker>((x,e) => x.OnSelectedDateChanged(e));
SelectedDateFormatProperty.Changed.AddClassHandler<DatePicker>((x,e) => x.OnSelectedDateFormatChanged(e));
CustomDateFormatStringProperty.Changed.AddClassHandler<DatePicker>((x,e) => x.OnCustomDateFormatStringChanged(e));
TextProperty.Changed.AddClassHandler<DatePicker>((x,e) => x.OnTextChanged(e));
}
/// <summary>
/// Initializes a new instance of the
/// <see cref="T:Avalonia.Controls.DatePicker" /> class.
/// </summary>
public DatePicker()
{
FirstDayOfWeek = DateTimeHelper.GetCurrentDateFormat().FirstDayOfWeek;
_defaultText = string.Empty;
DisplayDate = DateTime.Today;
}
protected override void OnTemplateApplied(TemplateAppliedEventArgs e)
{
if (_calendar != null)
{
_calendar.DayButtonMouseUp -= Calendar_DayButtonMouseUp;
_calendar.DisplayDateChanged -= Calendar_DisplayDateChanged;
_calendar.SelectedDatesChanged -= Calendar_SelectedDatesChanged;
_calendar.PointerPressed -= Calendar_PointerPressed;
_calendar.KeyDown -= Calendar_KeyDown;
}
_calendar = e.NameScope.Find<Calendar>(ElementCalendar);
if (_calendar != null)
{
_calendar.SelectionMode = CalendarSelectionMode.SingleDate;
_calendar.SelectedDate = SelectedDate;
SetCalendarDisplayDate(DisplayDate);
SetCalendarDisplayDateStart(DisplayDateStart);
SetCalendarDisplayDateEnd(DisplayDateEnd);
_calendar.DayButtonMouseUp += Calendar_DayButtonMouseUp;
_calendar.DisplayDateChanged += Calendar_DisplayDateChanged;
_calendar.SelectedDatesChanged += Calendar_SelectedDatesChanged;
_calendar.PointerPressed += Calendar_PointerPressed;
_calendar.KeyDown += Calendar_KeyDown;
//_calendar.SizeChanged += new SizeChangedEventHandler(Calendar_SizeChanged);
//_calendar.IsTabStop = true;
var currentBlackoutDays = BlackoutDates;
BlackoutDates = _calendar.BlackoutDates;
if(currentBlackoutDays != null)
{
foreach (var range in currentBlackoutDays)
{
BlackoutDates.Add(range);
}
}
}
if (_popUp != null)
{
_popUp.Child = null;
_popUp.Closed -= PopUp_Closed;
}
_popUp = e.NameScope.Find<Popup>(ElementPopup);
if(_popUp != null)
{
_popUp.Closed += PopUp_Closed;
if (IsDropDownOpen)
{
OpenDropDown();
}
}
if(_dropDownButton != null)
{
_dropDownButton.Click -= DropDownButton_Click;
_buttonPointerPressedSubscription?.Dispose();
}
_dropDownButton = e.NameScope.Find<Button>(ElementButton);
if(_dropDownButton != null)
{
_dropDownButton.Click += DropDownButton_Click;
_buttonPointerPressedSubscription =
_dropDownButton.AddDisposableHandler(PointerPressedEvent, DropDownButton_PointerPressed, handledEventsToo: true);
}
if (_textBox != null)
{
_textBox.KeyDown -= TextBox_KeyDown;
_textBox.GotFocus -= TextBox_GotFocus;
_textBoxTextChangedSubscription?.Dispose();
}
_textBox = e.NameScope.Find<TextBox>(ElementTextBox);
if(!SelectedDate.HasValue)
{
SetWaterMarkText();
}
if(_textBox != null)
{
_textBox.KeyDown += TextBox_KeyDown;
_textBox.GotFocus += TextBox_GotFocus;
_textBoxTextChangedSubscription = _textBox.GetObservable(TextBox.TextProperty).Subscribe(txt => TextBox_TextChanged());
if(SelectedDate.HasValue)
{
_textBox.Text = DateTimeToString(SelectedDate.Value);
}
else if(!String.IsNullOrEmpty(_defaultText))
{
_textBox.Text = _defaultText;
SetSelectedDate();
}
}
base.OnTemplateApplied(e);
}
protected override void OnPropertyChanged<T>(
AvaloniaProperty<T> property,
Optional<T> oldValue,
BindingValue<T> newValue,
BindingPriority priority)
{
base.OnPropertyChanged(property, oldValue, newValue, priority);
if (property == SelectedDateProperty)
{
DataValidationErrors.SetError(this, newValue.Error);
}
}
protected override void OnPointerWheelChanged(PointerWheelEventArgs e)
{
base.OnPointerWheelChanged(e);
if (!e.Handled && SelectedDate.HasValue && _calendar != null)
{
DateTime selectedDate = this.SelectedDate.Value;
DateTime? newDate = DateTimeHelper.AddDays(selectedDate, e.Delta.Y > 0 ? -1 : 1);
if (newDate.HasValue && Calendar.IsValidDateSelection(_calendar, newDate.Value))
{
SelectedDate = newDate;
e.Handled = true;
}
}
}
protected override void OnGotFocus(GotFocusEventArgs e)
{
base.OnGotFocus(e);
if(IsEnabled && _textBox != null && e.NavigationMethod == NavigationMethod.Tab)
{
_textBox.Focus();
var text = _textBox.Text;
if(!string.IsNullOrEmpty(text))
{
_textBox.SelectionStart = 0;
_textBox.SelectionEnd = text.Length;
}
}
}
protected override void OnLostFocus(RoutedEventArgs e)
{
base.OnLostFocus(e);
SetSelectedDate();
}
private void SetCalendarDisplayDate(DateTime value)
{
if (DateTimeHelper.CompareYearMonth(_calendar.DisplayDate, value) != 0)
{
_calendar.DisplayDate = DisplayDate;
if (DateTime.Compare(_calendar.DisplayDate, DisplayDate) != 0)
{
DisplayDate = _calendar.DisplayDate;
}
}
}
private void OnDisplayDateChanged(AvaloniaPropertyChangedEventArgs e)
{
if (_calendar != null)
{
var value = (DateTime)e.NewValue;
SetCalendarDisplayDate(value);
}
}
private void SetCalendarDisplayDateStart(DateTime? value)
{
_calendar.DisplayDateStart = value;
if (_calendar.DisplayDateStart.HasValue && DisplayDateStart.HasValue && DateTime.Compare(_calendar.DisplayDateStart.Value, DisplayDateStart.Value) != 0)
{
DisplayDateStart = _calendar.DisplayDateStart;
}
}
private void OnDisplayDateStartChanged(AvaloniaPropertyChangedEventArgs e)
{
if (_calendar != null)
{
var value = (DateTime?)e.NewValue;
SetCalendarDisplayDateStart(value);
}
}
private void SetCalendarDisplayDateEnd(DateTime? value)
{
_calendar.DisplayDateEnd = value;
if (_calendar.DisplayDateEnd.HasValue && DisplayDateEnd.HasValue && DateTime.Compare(_calendar.DisplayDateEnd.Value, DisplayDateEnd.Value) != 0)
{
DisplayDateEnd = _calendar.DisplayDateEnd;
}
}
private void OnDisplayDateEndChanged(AvaloniaPropertyChangedEventArgs e)
{
if (_calendar != null)
{
var value = (DateTime?)e.NewValue;
SetCalendarDisplayDateEnd(value);
}
}
private void OnIsDropDownOpenChanged(AvaloniaPropertyChangedEventArgs e)
{
var oldValue = (bool)e.OldValue;
var value = (bool)e.NewValue;
if (_popUp != null && _popUp.Child != null)
{
if (value != oldValue)
{
if (_calendar.DisplayMode != CalendarMode.Month)
{
_calendar.DisplayMode = CalendarMode.Month;
}
if (value)
{
OpenDropDown();
}
else
{
_popUp.IsOpen = false;
OnCalendarClosed(new RoutedEventArgs());
}
}
}
}
private void OnSelectedDateChanged(AvaloniaPropertyChangedEventArgs e)
{
var addedDate = (DateTime?)e.NewValue;
var removedDate = (DateTime?)e.OldValue;
if (_calendar != null && addedDate != _calendar.SelectedDate)
{
_calendar.SelectedDate = addedDate;
}
if (SelectedDate != null)
{
DateTime day = SelectedDate.Value;
// When the SelectedDateProperty change is done from
// OnTextPropertyChanged method, two-way binding breaks if
// BeginInvoke is not used:
Threading.Dispatcher.UIThread.InvokeAsync(() =>
{
_settingSelectedDate = true;
Text = DateTimeToString(day);
_settingSelectedDate = false;
OnDateSelected(addedDate, removedDate);
});
// When DatePickerDisplayDateFlag is TRUE, the SelectedDate
// change is coming from the Calendar UI itself, so, we
// shouldn't change the DisplayDate since it will automatically
// be changed by the Calendar
if ((day.Month != DisplayDate.Month || day.Year != DisplayDate.Year) && (_calendar == null || !_calendar.DatePickerDisplayDateFlag))
{
DisplayDate = day;
}
if(_calendar != null)
_calendar.DatePickerDisplayDateFlag = false;
}
else
{
_settingSelectedDate = true;
SetWaterMarkText();
_settingSelectedDate = false;
OnDateSelected(addedDate, removedDate);
}
}
private void OnDateFormatChanged()
{
if (_textBox != null)
{
if (SelectedDate.HasValue)
{
Text = DateTimeToString(SelectedDate.Value);
}
else if (string.IsNullOrEmpty(_textBox.Text))
{
SetWaterMarkText();
}
else
{
DateTime? date = ParseText(_textBox.Text);
if (date != null)
{
string s = DateTimeToString((DateTime)date);
Text = s;
}
}
}
}
private void OnSelectedDateFormatChanged(AvaloniaPropertyChangedEventArgs e)
{
OnDateFormatChanged();
}
private void OnCustomDateFormatStringChanged(AvaloniaPropertyChangedEventArgs e)
{
if(SelectedDateFormat == DatePickerFormat.Custom)
{
OnDateFormatChanged();
}
}
private void OnTextChanged(AvaloniaPropertyChangedEventArgs e)
{
var oldValue = (string)e.OldValue;
var value = (string)e.NewValue;
if (!_suspendTextChangeHandler)
{
if (value != null)
{
if (_textBox != null)
{
_textBox.Text = value;
}
else
{
_defaultText = value;
}
if (!_settingSelectedDate)
{
SetSelectedDate();
}
}
else
{
if (!_settingSelectedDate)
{
_settingSelectedDate = true;
SelectedDate = null;
_settingSelectedDate = false;
}
}
}
else
{
SetWaterMarkText();
}
}
/// <summary>
/// Raises the
/// <see cref="E:Avalonia.Controls.DatePicker.DateValidationError" />
/// event.
/// </summary>
/// <param name="e">
/// A
/// <see cref="T:Avalonia.Controls.DatePickerDateValidationErrorEventArgs" />
/// that contains the event data.
/// </param>
protected virtual void OnDateValidationError(DatePickerDateValidationErrorEventArgs e)
{
DateValidationError?.Invoke(this, e);
}
private void OnDateSelected(DateTime? addedDate, DateTime? removedDate)
{
EventHandler<SelectionChangedEventArgs> handler = this.SelectedDateChanged;
if (null != handler)
{
Collection<DateTime> addedItems = new Collection<DateTime>();
Collection<DateTime> removedItems = new Collection<DateTime>();
if (addedDate.HasValue)
{
addedItems.Add(addedDate.Value);
}
if (removedDate.HasValue)
{
removedItems.Add(removedDate.Value);
}
handler(this, new SelectionChangedEventArgs(SelectingItemsControl.SelectionChangedEvent, removedItems, addedItems));
}
}
private void OnCalendarClosed(EventArgs e)
{
CalendarClosed?.Invoke(this, e);
}
private void OnCalendarOpened(EventArgs e)
{
CalendarOpened?.Invoke(this, e);
}
private void Calendar_DayButtonMouseUp(object sender, PointerReleasedEventArgs e)
{
Focus();
IsDropDownOpen = false;
}
private void Calendar_DisplayDateChanged(object sender, CalendarDateChangedEventArgs e)
{
if (e.AddedDate != this.DisplayDate)
{
SetValue(DisplayDateProperty, (DateTime) e.AddedDate);
}
}
private void Calendar_SelectedDatesChanged(object sender, SelectionChangedEventArgs e)
{
Debug.Assert(e.AddedItems.Count < 2, "There should be less than 2 AddedItems!");
if (e.AddedItems.Count > 0 && SelectedDate.HasValue && DateTime.Compare((DateTime)e.AddedItems[0], SelectedDate.Value) != 0)
{
SelectedDate = (DateTime?)e.AddedItems[0];
}
else
{
if (e.AddedItems.Count == 0)
{
SelectedDate = null;
return;
}
if (!SelectedDate.HasValue)
{
if (e.AddedItems.Count > 0)
{
SelectedDate = (DateTime?)e.AddedItems[0];
}
}
}
}
private void Calendar_PointerPressed(object sender, PointerPressedEventArgs e)
{
if (e.GetCurrentPoint(this).Properties.IsLeftButtonPressed)
{
e.Handled = true;
}
}
private void Calendar_KeyDown(object sender, KeyEventArgs e)
{
Calendar c = sender as Calendar;
Contract.Requires<ArgumentNullException>(c != null);
if (!e.Handled && (e.Key == Key.Enter || e.Key == Key.Space || e.Key == Key.Escape) && c.DisplayMode == CalendarMode.Month)
{
Focus();
IsDropDownOpen = false;
if (e.Key == Key.Escape)
{
SelectedDate = _onOpenSelectedDate;
}
}
}
private void TextBox_GotFocus(object sender, RoutedEventArgs e)
{
IsDropDownOpen = false;
}
private void TextBox_KeyDown(object sender, KeyEventArgs e)
{
if (!e.Handled)
{
e.Handled = ProcessDatePickerKey(e);
}
}
private void TextBox_TextChanged()
{
if (_textBox != null)
{
_suspendTextChangeHandler = true;
Text = _textBox.Text;
_suspendTextChangeHandler = false;
}
}
private void DropDownButton_PointerPressed(object sender, PointerPressedEventArgs e)
{
_ignoreButtonClick = _isPopupClosing;
}
private void DropDownButton_Click(object sender, RoutedEventArgs e)
{
if (!_ignoreButtonClick)
{
HandlePopUp();
}
else
{
_ignoreButtonClick = false;
}
}
private void PopUp_Closed(object sender, PopupClosedEventArgs e)
{
IsDropDownOpen = false;
if(!_isPopupClosing)
{
if (e.CloseEvent is PointerEventArgs pointerEvent)
{
pointerEvent.Handled = true;
}
_isPopupClosing = true;
Threading.Dispatcher.UIThread.InvokeAsync(() => _isPopupClosing = false);
}
}
private void HandlePopUp()
{
if (IsDropDownOpen)
{
Focus();
IsDropDownOpen = false;
}
else
{
ProcessTextBox();
}
}
private void OpenDropDown()
{
if (_calendar != null)
{
_calendar.Focus();
OpenPopUp();
_calendar.ResetStates();
OnCalendarOpened(new RoutedEventArgs());
}
}
private void OpenPopUp()
{
_onOpenSelectedDate = SelectedDate;
_popUp.IsOpen = true;
}
/// <summary>
/// Input text is parsed in the correct format and changed into a
/// DateTime object. If the text can not be parsed TextParseError Event
/// is thrown.
/// </summary>
/// <param name="text">Inherited code: Requires comment.</param>
/// <returns>
/// IT SHOULD RETURN NULL IF THE STRING IS NOT VALID, RETURN THE
/// DATETIME VALUE IF IT IS VALID.
/// </returns>
private DateTime? ParseText(string text)
{
DateTime newSelectedDate;
// TryParse is not used in order to be able to pass the exception to
// the TextParseError event
try
{
newSelectedDate = DateTime.Parse(text, DateTimeHelper.GetCurrentDateFormat());
if (Calendar.IsValidDateSelection(this._calendar, newSelectedDate))
{
return newSelectedDate;
}
else
{
var dateValidationError = new DatePickerDateValidationErrorEventArgs(new ArgumentOutOfRangeException(nameof(text), "SelectedDate value is not valid."), text);
OnDateValidationError(dateValidationError);
if (dateValidationError.ThrowException)
{
throw dateValidationError.Exception;
}
}
}
catch (FormatException ex)
{
DatePickerDateValidationErrorEventArgs textParseError = new DatePickerDateValidationErrorEventArgs(ex, text);
OnDateValidationError(textParseError);
if (textParseError.ThrowException)
{
throw textParseError.Exception;
}
}
return null;
}
private string DateTimeToString(DateTime d)
{
DateTimeFormatInfo dtfi = DateTimeHelper.GetCurrentDateFormat();
switch (SelectedDateFormat)
{
case DatePickerFormat.Short:
return string.Format(CultureInfo.CurrentCulture, d.ToString(dtfi.ShortDatePattern, dtfi));
case DatePickerFormat.Long:
return string.Format(CultureInfo.CurrentCulture, d.ToString(dtfi.LongDatePattern, dtfi));
case DatePickerFormat.Custom:
return string.Format(CultureInfo.CurrentCulture, d.ToString(CustomDateFormatString, dtfi));
}
return null;
}
private bool ProcessDatePickerKey(KeyEventArgs e)
{
switch (e.Key)
{
case Key.Enter:
{
SetSelectedDate();
return true;
}
case Key.Down:
{
if ((e.KeyModifiers & KeyModifiers.Control) == KeyModifiers.Control)
{
HandlePopUp();
return true;
}
break;
}
}
return false;
}
private void ProcessTextBox()
{
SetSelectedDate();
IsDropDownOpen = true;
_calendar.Focus();
}
private void SetSelectedDate()
{
if (_textBox != null)
{
if (!string.IsNullOrEmpty(_textBox.Text))
{
string s = _textBox.Text;
if (SelectedDate != null)
{
// If the string value of the SelectedDate and the
// TextBox string value are equal, we do not parse the
// string again if we do an extra parse, we lose data in
// M/d/yy format.
// ex: SelectedDate = DateTime(1008,12,19) but when
// "12/19/08" is parsed it is interpreted as
// DateTime(2008,12,19)
string selectedDate = DateTimeToString(SelectedDate.Value);
if (selectedDate == s)
{
return;
}
}
DateTime? d = SetTextBoxValue(s);
if (SelectedDate != d)
{
SelectedDate = d;
}
}
else
{
if (SelectedDate != null)
{
SelectedDate = null;
}
}
}
else
{
DateTime? d = SetTextBoxValue(_defaultText);
if (SelectedDate != d)
{
SelectedDate = d;
}
}
}
private DateTime? SetTextBoxValue(string s)
{
if (string.IsNullOrEmpty(s))
{
SetValue(TextProperty, s);
return SelectedDate;
}
else
{
DateTime? d = ParseText(s);
if (d != null)
{
SetValue(TextProperty, s);
return d;
}
else
{
// If parse error: TextBox should have the latest valid
// SelectedDate value:
if (SelectedDate != null)
{
string newtext = this.DateTimeToString(SelectedDate.Value);
SetValue(TextProperty, newtext);
return SelectedDate;
}
else
{
SetWaterMarkText();
return null;
}
}
}
}
private void SetWaterMarkText()
{
if (_textBox != null)
{
if (string.IsNullOrEmpty(Watermark) && !UseFloatingWatermark)
{
DateTimeFormatInfo dtfi = DateTimeHelper.GetCurrentDateFormat();
Text = string.Empty;
_defaultText = string.Empty;
var watermarkFormat = "<{0}>";
string watermarkText;
switch (SelectedDateFormat)
{
case DatePickerFormat.Long:
{
watermarkText = string.Format(CultureInfo.CurrentCulture, watermarkFormat, dtfi.LongDatePattern.ToString());
break;
}
case DatePickerFormat.Short:
default:
{
watermarkText = string.Format(CultureInfo.CurrentCulture, watermarkFormat, dtfi.ShortDatePattern.ToString());
break;
}
}
_textBox.Watermark = watermarkText;
}
else
{
_textBox.ClearValue(TextBox.WatermarkProperty);
}
}
}
private static bool IsValidSelectedDateFormat(DatePickerFormat value)
{
return value == DatePickerFormat.Long
|| value == DatePickerFormat.Short
|| value == DatePickerFormat.Custom;
}
private static bool IsValidDateFormatString(string formatString)
{
return !string.IsNullOrWhiteSpace(formatString);
}
private static DateTime DiscardDayTime(DateTime d)
{
int year = d.Year;
int month = d.Month;
DateTime newD = new DateTime(year, month, 1, 0, 0, 0);
return newD;
}
private static DateTime? DiscardTime(DateTime? d)
{
if (d == null)
{
return null;
}
else
{
DateTime discarded = (DateTime) d;
int year = discarded.Year;
int month = discarded.Month;
int day = discarded.Day;
DateTime newD = new DateTime(year, month, day, 0, 0, 0);
return newD;
}
}
}
}
| 36.608622 | 178 | 0.522328 | [
"MIT"
] | mameolan/Avalonia | src/Avalonia.Controls/Calendar/DatePicker.cs | 43,310 | C# |
//Problem 13.* Merge sort
//Write a program that sorts an array of integers using the Merge sort algorithm (find it in Wikipedia).
using System;
namespace Problem13MergeSort
{
class MergeSort
{
static void DoMerge(int[] numbers, int left, int mid, int right)
{
int[] temp = new int[25];
int i, leftEnd, numElements, tmpPost;
leftEnd = (mid - 1);
tmpPost = left;
numElements = (right - left + 1);
while ((left <= leftEnd) && (mid <= right))
{
if (numbers[left] <= numbers[mid])
temp[tmpPost++] = numbers[left++];
else
temp[tmpPost++] = numbers[mid++];
}
while (left <= leftEnd)
temp[tmpPost++] = numbers[left++];
while (mid <= right)
temp[tmpPost++] = numbers[mid++];
for (i = 0; i < numElements; i++)
{
numbers[right] = temp[right];
right--;
}
}
static public void MergeSort_Recursive(int[] numbers, int left, int right)
{
int mid;
if (right > left)
{
mid = (right + left) / 2;
MergeSort_Recursive(numbers, left, mid);
MergeSort_Recursive(numbers, (mid + 1), right);
DoMerge(numbers, left, (mid + 1), right);
}
}
static void Main()
{
// Enter array length
Console.WriteLine("Enter length of array: ");
int len = int.Parse(Console.ReadLine());
int[] array = new int[len];
// Enter values for array
for (int i = 0; i < len; i++)
{
Console.WriteLine("Enter Array[{0}]: ", i);
array[i] = int.Parse(Console.ReadLine());
}
// Sort
MergeSort_Recursive(array, 0, len - 1);
// Display array
for (int i = 0; i < len; i++)
{
Console.Write("{0}, ", array[i]);
}
}
}
}
| 26.888889 | 104 | 0.439853 | [
"MIT"
] | atanas-georgiev/TelerikAcademy | 02.CSharp-Part-2/Homeworks/Homework1/Problem13MergeSort/MergeSort.cs | 2,180 | C# |
namespace NodeLibrary
{
public class MetaSenseVoltGasReadings
{
public double No2A;
public double No2W;
public double OxA;
public double OxW;
public double CoA;
public double CoW;
public double Temp;
public double Nc;
}
public class MetaSenseHuPrReadings
{
public double HumCelsius;
public double HumPercent;
public double PresCelsius;
public double PresMilliBar;
}
public class MetaSenseConverters
{
private readonly MetaSenseMessage _msg;
public MetaSenseConverters(MetaSenseMessage msg) { _msg = msg; }
public MetaSenseHuPrReadings HuPr()
{
return ConvertHuPr(_msg.HuPr);
}
public static MetaSenseHuPrReadings ConvertHuPr(MetaSenseRawHuPrReadings huPr)
{
var ret = new MetaSenseHuPrReadings
{
HumCelsius = huPr.HumiditySensorTemperatureCelsius,
HumPercent = huPr.HumiditySensorHumidityPercent / 100.0,
PresMilliBar = huPr.BarometricSensorPressureMilliBar,
PresCelsius = huPr.BarometricSensorTemperatureCelsius
};
return ret;
}
private static double ConvertRawGasToVoltage(int rng, int rawValue)
{
double gain = rng;
if (rng == 0)
gain = 2.0 / 3.0;
var voltCalc = 4.096 / (gain * 0x7FFF);
return (rawValue * voltCalc);
}
public MetaSenseVoltGasReadings Gas()
{
return ConvertGas(_msg.Raw);
}
public static MetaSenseVoltGasReadings ConvertGas(MetaSenseRawGasReadings raw)
{
var ret = new MetaSenseVoltGasReadings
{
CoA = ConvertRawGasToVoltage(raw.Rng, raw.S3A),
CoW = ConvertRawGasToVoltage(raw.Rng, raw.S3W),
OxA = ConvertRawGasToVoltage(raw.Rng, raw.S2A),
OxW = ConvertRawGasToVoltage(raw.Rng, raw.S2W),
No2A = ConvertRawGasToVoltage(raw.Rng, raw.S1A),
No2W = ConvertRawGasToVoltage(raw.Rng, raw.S1W),
Nc = ConvertRawGasToVoltage(raw.Rng, raw.Voc),
Temp = ConvertRawGasToVoltage(raw.Rng, raw.Temperature)
};
return ret;
}
}
}
| 33.027778 | 86 | 0.58074 | [
"BSD-3-Clause"
] | metasenseorg/MetaSense | MetaSenseApps/Core.NodeLibrary/MetaSenseConverters.cs | 2,380 | C# |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using NUnit.Framework;
using SqlCE4Umbraco;
using Umbraco.Core;
using Umbraco.Core.IO;
using umbraco.DataLayer;
using Umbraco.Core.Models.EntityBase;
using GlobalSettings = umbraco.GlobalSettings;
namespace Umbraco.Tests.TestHelpers
{
/// <summary>
/// Common helper properties and methods useful to testing
/// </summary>
public static class TestHelper
{
/// <summary>
/// Clears an initialized database
/// </summary>
public static void ClearDatabase()
{
var databaseSettings = ConfigurationManager.ConnectionStrings[Constants.System.UmbracoConnectionName];
var dataHelper = DataLayerHelper.CreateSqlHelper(databaseSettings.ConnectionString, false) as SqlCEHelper;
if (dataHelper == null)
throw new InvalidOperationException("The sql helper for unit tests must be of type SqlCEHelper, check the ensure the connection string used for this test is set to use SQLCE");
dataHelper.ClearDatabase();
}
public static void DropForeignKeys(string table)
{
var databaseSettings = ConfigurationManager.ConnectionStrings[Constants.System.UmbracoConnectionName];
var dataHelper = DataLayerHelper.CreateSqlHelper(databaseSettings.ConnectionString, false) as SqlCEHelper;
if (dataHelper == null)
throw new InvalidOperationException("The sql helper for unit tests must be of type SqlCEHelper, check the ensure the connection string used for this test is set to use SQLCE");
dataHelper.DropForeignKeys(table);
}
/// <summary>
/// Gets the current assembly directory.
/// </summary>
/// <value>The assembly directory.</value>
static public string CurrentAssemblyDirectory
{
get
{
var codeBase = typeof(TestHelper).Assembly.CodeBase;
var uri = new Uri(codeBase);
var path = uri.LocalPath;
return Path.GetDirectoryName(path);
}
}
/// <summary>
/// Maps the given <paramref name="relativePath"/> making it rooted on <see cref="CurrentAssemblyDirectory"/>. <paramref name="relativePath"/> must start with <code>~/</code>
/// </summary>
/// <param name="relativePath">The relative path.</param>
/// <returns></returns>
public static string MapPathForTest(string relativePath)
{
if (!relativePath.StartsWith("~/"))
throw new ArgumentException("relativePath must start with '~/'", "relativePath");
return relativePath.Replace("~/", CurrentAssemblyDirectory + "/");
}
public static void InitializeContentDirectories()
{
CreateDirectories(new[] { SystemDirectories.Masterpages, SystemDirectories.MvcViews, SystemDirectories.Media, SystemDirectories.AppPlugins });
}
public static void CleanContentDirectories()
{
CleanDirectories(new[] { SystemDirectories.Masterpages, SystemDirectories.MvcViews, SystemDirectories.Media });
}
public static void CreateDirectories(string[] directories)
{
foreach (var directory in directories)
{
var directoryInfo = new DirectoryInfo(IOHelper.MapPath(directory));
if (directoryInfo.Exists == false)
Directory.CreateDirectory(IOHelper.MapPath(directory));
}
}
public static void CleanDirectories(string[] directories)
{
var preserves = new Dictionary<string, string[]>
{
{ SystemDirectories.Masterpages, new[] {"dummy.txt"} },
{ SystemDirectories.MvcViews, new[] {"dummy.txt"} }
};
foreach (var directory in directories)
{
var directoryInfo = new DirectoryInfo(IOHelper.MapPath(directory));
var preserve = preserves.ContainsKey(directory) ? preserves[directory] : null;
if (directoryInfo.Exists)
directoryInfo.GetFiles().Where(x => preserve == null || preserve.Contains(x.Name) == false).ForEach(x => x.Delete());
}
}
public static void CleanUmbracoSettingsConfig()
{
var currDir = new DirectoryInfo(CurrentAssemblyDirectory);
var umbracoSettingsFile = Path.Combine(currDir.Parent.Parent.FullName, "config", "umbracoSettings.config");
if (File.Exists(umbracoSettingsFile))
File.Delete(umbracoSettingsFile);
}
public static void AssertAllPropertyValuesAreEquals(object actual, object expected, string dateTimeFormat = null, Func<IEnumerable, IEnumerable> sorter = null, string[] ignoreProperties = null)
{
var properties = expected.GetType().GetProperties();
foreach (var property in properties)
{
//ignore properties that are attributed with this
var att = property.GetCustomAttribute<EditorBrowsableAttribute>(false);
if (att != null && att.State == EditorBrowsableState.Never)
continue;
if (ignoreProperties != null && ignoreProperties.Contains(property.Name))
continue;
var expectedValue = property.GetValue(expected, null);
var actualValue = property.GetValue(actual, null);
if (((actualValue is string) == false) && actualValue is IEnumerable)
{
AssertListsAreEquals(property, (IEnumerable)actualValue, (IEnumerable)expectedValue, dateTimeFormat, sorter);
}
else if (dateTimeFormat.IsNullOrWhiteSpace() == false && actualValue is DateTime)
{
// round to second else in some cases tests can fail ;-(
var expectedDateTime = (DateTime) expectedValue;
expectedDateTime = expectedDateTime.AddTicks(-(expectedDateTime.Ticks%TimeSpan.TicksPerSecond));
var actualDateTime = (DateTime) actualValue;
actualDateTime = actualDateTime.AddTicks(-(actualDateTime.Ticks % TimeSpan.TicksPerSecond));
Assert.AreEqual(expectedDateTime.ToString(dateTimeFormat), actualDateTime.ToString(dateTimeFormat), "Property {0}.{1} does not match. Expected: {2} but was: {3}", property.DeclaringType.Name, property.Name, expectedValue, actualValue);
}
else
{
Assert.AreEqual(expectedValue, actualValue, "Property {0}.{1} does not match. Expected: {2} but was: {3}", property.DeclaringType.Name, property.Name, expectedValue, actualValue);
}
}
}
private static void AssertListsAreEquals(PropertyInfo property, IEnumerable actualList, IEnumerable expectedList, string dateTimeFormat, Func<IEnumerable, IEnumerable> sorter)
{
if (sorter == null)
{
//this is pretty hackerific but saves us some code to write
sorter = enumerable =>
{
//semi-generic way of ensuring any collection of IEntity are sorted by Ids for comparison
var entities = enumerable.OfType<IEntity>().ToList();
if (entities.Count > 0)
{
return entities.OrderBy(x => x.Id);
}
else
{
return enumerable;
}
};
}
var actualListEx = sorter(actualList).Cast<object>().ToList();
var expectedListEx = sorter(expectedList).Cast<object>().ToList();
if (actualListEx.Count != expectedListEx.Count)
Assert.Fail("Collection {0}.{1} does not match. Expected IEnumerable containing {2} elements but was IEnumerable containing {3} elements", property.PropertyType.Name, property.Name, expectedListEx.Count, actualListEx.Count);
for (int i = 0; i < actualListEx.Count; i++)
{
var actualValue = actualListEx[i];
var expectedValue = expectedListEx[i];
if (((actualValue is string) == false) && actualValue is IEnumerable)
{
AssertListsAreEquals(property, (IEnumerable)actualValue, (IEnumerable)expectedValue, dateTimeFormat, sorter);
}
else if (dateTimeFormat.IsNullOrWhiteSpace() == false && actualValue is DateTime)
{
Assert.AreEqual(((DateTime)expectedValue).ToString(dateTimeFormat), ((DateTime)actualValue).ToString(dateTimeFormat), "Property {0}.{1} does not match. Expected: {2} but was: {3}", property.DeclaringType.Name, property.Name, expectedValue, actualValue);
}
else
{
Assert.AreEqual(expectedValue, actualValue, "Property {0}.{1} does not match. Expected: {2} but was: {3}", property.DeclaringType.Name, property.Name, expectedValue, actualValue);
}
}
}
public static void DeleteDirectory(string path)
{
Try(() =>
{
if (Directory.Exists(path) == false) return;
foreach (var file in Directory.EnumerateFiles(path, "*", SearchOption.AllDirectories))
File.Delete(file);
});
Try(() =>
{
if (Directory.Exists(path) == false) return;
Directory.Delete(path, true);
});
}
public static void TryAssert(Action action, int maxTries = 5, int waitMilliseconds = 200)
{
Try<AssertionException>(action, maxTries, waitMilliseconds);
}
public static void Try(Action action, int maxTries = 5, int waitMilliseconds = 200)
{
Try<Exception>(action, maxTries, waitMilliseconds);
}
public static void Try<T>(Action action, int maxTries = 5, int waitMilliseconds = 200)
where T : Exception
{
var tries = 0;
while (true)
{
try
{
action();
break;
}
catch (T)
{
if (tries++ > maxTries)
throw;
Thread.Sleep(waitMilliseconds);
}
}
}
}
} | 41.988142 | 273 | 0.602372 | [
"MIT"
] | filipesousa20/Umbraco-CMS-V7 | src/Umbraco.Tests/TestHelpers/TestHelper.cs | 10,623 | C# |
//---------------------------------------------------------------------
// Author: Harley Green
//
// Description: Cmdlet to get data from Sql Server databases
//
// Creation Date: 2008/8/20
//---------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
namespace SwisPowerShell
{
public class DataReaderIndexer : IIndexedByName
{
private readonly IDataReader _reader;
private readonly string[] _columns;
public DataReaderIndexer(IDataReader reader, IEnumerable<string> columns)
{
_reader = reader;
_columns = columns.ToArray();
}
public bool TryGetValue(string name, out object value, bool ignoreCase)
{
int ordinal = Array.FindIndex(_columns,
s => s.Equals(name, ignoreCase ? StringComparison.CurrentCultureIgnoreCase : StringComparison.CurrentCulture));
if (ordinal > -1)
{
value = _reader[ordinal];
return true;
}
value = null;
return false;
}
}
}
| 29.25 | 127 | 0.531624 | [
"Apache-2.0"
] | Skarbor/OrionSDK | Src/SwisPowerShell/DataReaderIndexer.cs | 1,170 | C# |
using System.Dynamic;
using Dolittle.Artifacts;
using Dolittle.Execution;
using Machine.Specifications;
using Moq;
using It = Machine.Specifications.It;
namespace Dolittle.Runtime.Commands.Coordination.Specs.for_CommandContextManager
{
[Subject(Subjects.establishing_context)]
public class when_establishing_for_same_command : given.a_command_context_manager
{
static ICommandContext commandContext;
static CommandRequest command;
Because of = () =>
{
var artifact = Artifact.New();
command = new CommandRequest(CorrelationId.Empty, artifact.Id, artifact.Generation, new ExpandoObject());
commandContext = Manager.EstablishForCommand(command);
};
It should_return_a_non_null_context = () => commandContext.ShouldNotBeNull();
It should_return_context_with_command_in_it = () => commandContext.Command.ShouldEqual(command);
It should_return_the_same_calling_it_twice_on_same_thread = () =>
{
var secondContext = Manager.EstablishForCommand(command);
secondContext.ShouldEqual(commandContext);
};
}
}
| 46.84375 | 134 | 0.549033 | [
"MIT"
] | joelhoisko/Runtime | Specifications/Commands.Coordination/for_CommandContextManager/when_establishing_for_same_command.cs | 1,501 | C# |
using System;
namespace Core.Domain.Models.Lastfm
{
public record LastfmTrack(string Name, string ArtistName, Uri Url, int? UserPlayCount);
}
| 21.142857 | 91 | 0.763514 | [
"MIT"
] | djohsson/Lastgram | src/Core/Domain/Models/Lastfm/LastfmTrack.cs | 150 | C# |
using System.Text.RegularExpressions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ExploreCsharp6
{
[TestClass]
public class StringInterpolationTests
{
[TestMethod]
public void CanUseAsRegularString()
{
var s = $"my string";
Assert.AreEqual("my string", s, "s should act as a regular string");
Assert.AreEqual(9, s.Length, "s should have length 9");
}
[TestMethod]
public void ShouldReplaceValues()
{
var error = "This is some [ERROR]";
var s = $"An error occurred: {error}";
StringAssert.Contains(s, "[ERROR]", "Should have replaced the variable for its value");
// Without the $ no interpolation occurs
var s2 = "An error occurred: {error}";
StringAssert.DoesNotMatch(s2, new Regex(".*[ERROR].*"), "Should have NOT replaced the variable for its value");
StringAssert.Contains(s2, "{error}", "Should have NOT replaced the variable for its value");
}
}
} | 32.636364 | 123 | 0.601671 | [
"MIT"
] | klmcwhirter/ExploreCSharp | ExploreCsharp6/StringInterpolationTests.cs | 1,077 | C# |
using System.Collections.Generic;
using Microsoft.Azure.Management.ResourceManager.Fluent.Core;
namespace ArdoqFluentModels.Azure.Model
{
public class SearchService : ResourceBase
{
public List<SearchServiceIndex> Indexes { get; } = new List<SearchServiceIndex>();
public SearchService(IResource resource) : base(resource)
{
}
public void AppendToFlattenedStructure(List<object> list)
{
list.Add(this);
list.AddRange(Indexes);
}
}
} | 26.4 | 90 | 0.655303 | [
"Apache-2.0"
] | 3lvia/libraries-ardoq-fluent-models-azure | src/ArdoqFluentModels.Azure/Model/SearchService.cs | 530 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using NetCoreReact.IDP.Models;
using NetCoreReact.IDP.Models.AccountViewModels;
//using NetCoreReact.IDP.Services;
using IdentityServer4.Quickstart.UI;
using IdentityServer4.Services;
using IdentityServer4.Stores;
using Microsoft.AspNetCore.Http;
using NetCoreReact.Models;
namespace NetCoreReact.IDP.Controllers
{
[Authorize]
[Route("[controller]/[action]")]
public class AccountController : Controller
{
private readonly UserManager<User> _userManager;
private readonly SignInManager<User> _signInManager;
//private readonly IEmailSender _emailSender;
private readonly ILogger _logger;
private readonly IIdentityServerInteractionService _interaction;
private readonly AccountService _account;
public AccountController(
UserManager<User> userManager,
SignInManager<User> signInManager,
//IEmailSender emailSender,
ILogger<AccountController> logger,
IIdentityServerInteractionService interaction,
IClientStore clientStore,
IHttpContextAccessor httpContextAccessor,
IAuthenticationSchemeProvider schemeProvider
)
{
_userManager = userManager;
_signInManager = signInManager;
//_emailSender = emailSender;
_logger = logger;
_interaction = interaction;
_account = new AccountService(interaction, httpContextAccessor, schemeProvider, clientStore);
}
[TempData]
public string ErrorMessage { get; set; }
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> Login(string returnUrl = null)
{
// Clear the existing external cookie to ensure a clean login process
await HttpContext.SignOutAsync(IdentityConstants.ExternalScheme);
ViewData["ReturnUrl"] = returnUrl;
return View();
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Login(LoginViewModel model, string returnUrl = null)
{
ViewData["ReturnUrl"] = returnUrl;
if (ModelState.IsValid)
{
// This doesn't count login failures towards account lockout
// To enable password failures to trigger account lockout, set lockoutOnFailure: true
var result = await _signInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, lockoutOnFailure: false);
if (result.Succeeded)
{
_logger.LogInformation("User logged in.");
return RedirectToLocal(returnUrl);
}
if (result.RequiresTwoFactor)
{
return RedirectToAction(nameof(LoginWith2fa), new { returnUrl, model.RememberMe });
}
if (result.IsLockedOut)
{
_logger.LogWarning("User account locked out.");
return RedirectToAction(nameof(Lockout));
}
else
{
ModelState.AddModelError(string.Empty, "Invalid login attempt.");
return View(model);
}
}
// If we got this far, something failed, redisplay form
return View(model);
}
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> LoginWith2fa(bool rememberMe, string returnUrl = null)
{
// Ensure the user has gone through the username & password screen first
var user = await _signInManager.GetTwoFactorAuthenticationUserAsync();
if (user == null)
{
throw new ApplicationException($"Unable to load two-factor authentication user.");
}
var model = new LoginWith2faViewModel { RememberMe = rememberMe };
ViewData["ReturnUrl"] = returnUrl;
return View(model);
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<IActionResult> LoginWith2fa(LoginWith2faViewModel model, bool rememberMe, string returnUrl = null)
{
if (!ModelState.IsValid)
{
return View(model);
}
var user = await _signInManager.GetTwoFactorAuthenticationUserAsync();
if (user == null)
{
throw new ApplicationException($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
}
var authenticatorCode = model.TwoFactorCode.Replace(" ", string.Empty).Replace("-", string.Empty);
var result = await _signInManager.TwoFactorAuthenticatorSignInAsync(authenticatorCode, rememberMe, model.RememberMachine);
if (result.Succeeded)
{
_logger.LogInformation("User with ID {UserId} logged in with 2fa.", user.Id);
return RedirectToLocal(returnUrl);
}
else if (result.IsLockedOut)
{
_logger.LogWarning("User with ID {UserId} account locked out.", user.Id);
return RedirectToAction(nameof(Lockout));
}
else
{
_logger.LogWarning("Invalid authenticator code entered for user with ID {UserId}.", user.Id);
ModelState.AddModelError(string.Empty, "Invalid authenticator code.");
return View();
}
}
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> LoginWithRecoveryCode(string returnUrl = null)
{
// Ensure the user has gone through the username & password screen first
var user = await _signInManager.GetTwoFactorAuthenticationUserAsync();
if (user == null)
{
throw new ApplicationException($"Unable to load two-factor authentication user.");
}
ViewData["ReturnUrl"] = returnUrl;
return View();
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<IActionResult> LoginWithRecoveryCode(LoginWithRecoveryCodeViewModel model, string returnUrl = null)
{
if (!ModelState.IsValid)
{
return View(model);
}
var user = await _signInManager.GetTwoFactorAuthenticationUserAsync();
if (user == null)
{
throw new ApplicationException($"Unable to load two-factor authentication user.");
}
var recoveryCode = model.RecoveryCode.Replace(" ", string.Empty);
var result = await _signInManager.TwoFactorRecoveryCodeSignInAsync(recoveryCode);
if (result.Succeeded)
{
_logger.LogInformation("User with ID {UserId} logged in with a recovery code.", user.Id);
return RedirectToLocal(returnUrl);
}
if (result.IsLockedOut)
{
_logger.LogWarning("User with ID {UserId} account locked out.", user.Id);
return RedirectToAction(nameof(Lockout));
}
else
{
_logger.LogWarning("Invalid recovery code entered for user with ID {UserId}", user.Id);
ModelState.AddModelError(string.Empty, "Invalid recovery code entered.");
return View();
}
}
[HttpGet]
[AllowAnonymous]
public IActionResult Lockout()
{
return View();
}
[HttpGet]
[AllowAnonymous]
public IActionResult Register(string returnUrl = null)
{
ViewData["ReturnUrl"] = returnUrl;
return View();
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Register(RegisterViewModel model, string returnUrl = null)
{
ViewData["ReturnUrl"] = returnUrl;
if (ModelState.IsValid)
{
var user = new User { UserName = model.Email, Email = model.Email };
var result = await _userManager.CreateAsync(user, model.Password);
if (result.Succeeded)
{
_logger.LogInformation("User created a new account with password.");
var code = await _userManager.GenerateEmailConfirmationTokenAsync(user);
//var callbackUrl = Url.EmailConfirmationLink(user.Id, code, Request.Scheme);
//await _emailSender.SendEmailConfirmationAsync(model.Email, callbackUrl);
await _signInManager.SignInAsync(user, isPersistent: false);
_logger.LogInformation("User created a new account with password.");
return RedirectToLocal(returnUrl);
}
AddErrors(result);
}
// If we got this far, something failed, redisplay form
return View(model);
}
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> Logout(string logoutId)
{
var logout = await _interaction.GetLogoutContextAsync(logoutId);
await _signInManager.SignOutAsync();
_logger.LogInformation("User logged out.");
// logout.PostLogoutRedirectUri is always null...
// use hardcoded url for now.
return Redirect("http://localhost:3000");
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Logout(LogoutInputModel model)
{
var vm = await _account.BuildLoggedOutViewModelAsync(model.LogoutId);
await _signInManager.SignOutAsync();
_logger.LogInformation("User logged out.");
// check if we need to trigger sign-out at an upstream identity provider
if (vm.TriggerExternalSignout)
{
// build a return URL so the upstream provider will redirect back
// to us after the user has logged out. this allows us to then
// complete our single sign-out processing.
string url = Url.Action("Logout", new { logoutId = vm.LogoutId });
// this triggers a redirect to the external provider for sign-out
// hack: try/catch to handle social providers that throw
return SignOut(new AuthenticationProperties { RedirectUri = url }, vm.ExternalAuthenticationScheme);
}
return View("LoggedOut", vm);
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public IActionResult ExternalLogin(string provider, string returnUrl = null)
{
// Request a redirect to the external login provider.
var redirectUrl = Url.Action(nameof(ExternalLoginCallback), "Account", new { returnUrl });
var properties = _signInManager.ConfigureExternalAuthenticationProperties(provider, redirectUrl);
return Challenge(properties, provider);
}
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> ExternalLoginCallback(string returnUrl = null, string remoteError = null)
{
if (remoteError != null)
{
ErrorMessage = $"Error from external provider: {remoteError}";
return RedirectToAction(nameof(Login));
}
var info = await _signInManager.GetExternalLoginInfoAsync();
if (info == null)
{
return RedirectToAction(nameof(Login));
}
// Sign in the user with this external login provider if the user already has a login.
var result = await _signInManager.ExternalLoginSignInAsync(info.LoginProvider, info.ProviderKey, isPersistent: false, bypassTwoFactor: true);
if (result.Succeeded)
{
_logger.LogInformation("User logged in with {Name} provider.", info.LoginProvider);
return RedirectToLocal(returnUrl);
}
if (result.IsLockedOut)
{
return RedirectToAction(nameof(Lockout));
}
else
{
// If the user does not have an account, then ask the user to create an account.
ViewData["ReturnUrl"] = returnUrl;
ViewData["LoginProvider"] = info.LoginProvider;
var email = info.Principal.FindFirstValue(ClaimTypes.Email);
return View("ExternalLogin", new ExternalLoginViewModel { Email = email });
}
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<IActionResult> ExternalLoginConfirmation(ExternalLoginViewModel model, string returnUrl = null)
{
if (ModelState.IsValid)
{
// Get the information about the user from the external login provider
var info = await _signInManager.GetExternalLoginInfoAsync();
if (info == null)
{
throw new ApplicationException("Error loading external login information during confirmation.");
}
var user = new User { UserName = model.Email, Email = model.Email };
var result = await _userManager.CreateAsync(user);
if (result.Succeeded)
{
result = await _userManager.AddLoginAsync(user, info);
if (result.Succeeded)
{
await _signInManager.SignInAsync(user, isPersistent: false);
_logger.LogInformation("User created an account using {Name} provider.", info.LoginProvider);
return RedirectToLocal(returnUrl);
}
}
AddErrors(result);
}
ViewData["ReturnUrl"] = returnUrl;
return View(nameof(ExternalLogin), model);
}
[HttpGet]
[AllowAnonymous]
public async Task<IActionResult> ConfirmEmail(string userId, string code)
{
if (userId == null || code == null)
{
return RedirectToAction(nameof(HomeController.Index), "Home");
}
var user = await _userManager.FindByIdAsync(userId);
if (user == null)
{
throw new ApplicationException($"Unable to load user with ID '{userId}'.");
}
var result = await _userManager.ConfirmEmailAsync(user, code);
return View(result.Succeeded ? "ConfirmEmail" : "Error");
}
[HttpGet]
[AllowAnonymous]
public IActionResult ForgotPassword()
{
return View();
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<IActionResult> ForgotPassword(ForgotPasswordViewModel model)
{
if (ModelState.IsValid)
{
var user = await _userManager.FindByEmailAsync(model.Email);
if (user == null || !(await _userManager.IsEmailConfirmedAsync(user)))
{
// Don't reveal that the user does not exist or is not confirmed
return RedirectToAction(nameof(ForgotPasswordConfirmation));
}
// For more information on how to enable account confirmation and password reset please
// visit https://go.microsoft.com/fwlink/?LinkID=532713
var code = await _userManager.GeneratePasswordResetTokenAsync(user);
//var callbackUrl = Url.ResetPasswordCallbackLink(user.Id, code, Request.Scheme);
//await _emailSender.SendEmailAsync(model.Email, "Reset Password",
//$"Please reset your password by clicking here: <a href='{callbackUrl}'>link</a>");
return RedirectToAction(nameof(ForgotPasswordConfirmation));
}
// If we got this far, something failed, redisplay form
return View(model);
}
[HttpGet]
[AllowAnonymous]
public IActionResult ForgotPasswordConfirmation()
{
return View();
}
[HttpGet]
[AllowAnonymous]
public IActionResult ResetPassword(string code = null)
{
if (code == null)
{
throw new ApplicationException("A code must be supplied for password reset.");
}
var model = new ResetPasswordViewModel { Code = code };
return View(model);
}
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<IActionResult> ResetPassword(ResetPasswordViewModel model)
{
if (!ModelState.IsValid)
{
return View(model);
}
var user = await _userManager.FindByEmailAsync(model.Email);
if (user == null)
{
// Don't reveal that the user does not exist
return RedirectToAction(nameof(ResetPasswordConfirmation));
}
var result = await _userManager.ResetPasswordAsync(user, model.Code, model.Password);
if (result.Succeeded)
{
return RedirectToAction(nameof(ResetPasswordConfirmation));
}
AddErrors(result);
return View();
}
[HttpGet]
[AllowAnonymous]
public IActionResult ResetPasswordConfirmation()
{
return View();
}
[HttpGet]
public IActionResult AccessDenied()
{
return View();
}
#region Helpers
private void AddErrors(IdentityResult result)
{
foreach (var error in result.Errors)
{
ModelState.AddModelError(string.Empty, error.Description);
}
}
private IActionResult RedirectToLocal(string returnUrl)
{
if (Url.IsLocalUrl(returnUrl))
{
return Redirect(returnUrl);
}
else
{
return RedirectToAction(nameof(HomeController.Index), "Home");
}
}
#endregion
}
}
| 37.539216 | 153 | 0.576913 | [
"MIT"
] | ZuechB/NetCoreReact | NetCoreReact/NetCoreReact/Controllers/AccountController.cs | 19,147 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AlarmSuiteSimulator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AlarmSuiteSimulator")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("7cb192ea-184a-47df-aa72-54f7ee73bf71")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| 37.972973 | 84 | 0.75089 | [
"Apache-2.0"
] | 463-archaic-codebase/AlarmSuiteSimulator | AlarmSuiteSimulator/Properties/AssemblyInfo.cs | 1,406 | C# |
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
using Vanara.Extensions;
namespace Vanara.Windows.Forms
{
/// <summary>A panel that supports a glass overlay.</summary>
[ToolboxItem(true), System.Drawing.ToolboxBitmap(typeof(ThemedPanel), "ThemedPanel.bmp")]
public class ThemedPanel : Panel
{
private VisualStyleRenderer rnd;
private string styleClass;
private int stylePart;
private int styleState;
private bool supportGlass;
/// <summary>Initializes a new instance of the <see cref="ThemedTableLayoutPanel"/> class.</summary>
public ThemedPanel()
{
SetTheme("WINDOW", 29, 1);
}
/// <summary>Sets the theme using a defined <see cref="VisualStyleElement"/>.</summary>
[Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public VisualStyleRenderer Style
{
get { return rnd; }
set
{
rnd = value;
styleClass = rnd.Class;
stylePart = rnd.Part;
styleState = rnd.State;
Invalidate();
}
}
/// <summary>Gets or sets the style class.</summary>
/// <value>The style class.</value>
[DefaultValue("WINDOW"), Category("Appearance")]
public string StyleClass
{
get { return styleClass; }
set { styleClass = value; ResetTheme(); Invalidate(); }
}
/// <summary>Gets or sets the style part.</summary>
/// <value>The style part.</value>
[DefaultValue(29), Category("Appearance")]
public int StylePart
{
get { return stylePart; }
set { stylePart = value; ResetTheme(); Invalidate(); }
}
/// <summary>Gets or sets the style part.</summary>
/// <value>The style part.</value>
[DefaultValue(1), Category("Appearance")]
public int StyleState
{
get { return styleState; }
set { styleState = value; ResetTheme(); Invalidate(); }
}
/// <summary>Gets or sets a value indicating whether this table supports glass (can be enclosed in the glass margin).</summary>
/// <value><c>true</c> if supports glass; otherwise, <c>false</c>.</value>
[DefaultValue(false), Category("Appearance")]
public bool SupportGlass
{
get { return supportGlass; }
set { supportGlass = value; Invalidate(); }
}
/// <summary>Sets the theme using theme class information.</summary>
/// <param name="className">Name of the theme class.</param>
/// <param name="part">The theme part.</param>
/// <param name="state">The theme state.</param>
public void SetTheme(string className, int part, int state)
{
styleClass = className;
stylePart = part;
styleState = state;
ResetTheme();
}
protected override void OnPaint(PaintEventArgs e)
{
if (!this.IsDesignMode() && SupportGlass && DesktopWindowManager.IsCompositionEnabled())
try { e.Graphics.Clear(Color.Black); } catch { }
else
{
if (rnd == null || !Application.RenderWithVisualStyles)
try { e.Graphics.Clear(BackColor); } catch { }
else
rnd.DrawBackground(e.Graphics, ClientRectangle, e.ClipRectangle);
}
base.OnPaint(e);
}
private void ResetTheme()
{
if (VisualStyleRenderer.IsSupported)
{
try
{
if (rnd == null)
rnd = new VisualStyleRenderer(styleClass, stylePart, styleState);
else
rnd.SetParameters(styleClass, stylePart, styleState);
}
catch
{
rnd = null;
}
}
else
rnd = null;
}
}
} | 27.729508 | 129 | 0.673662 | [
"MIT"
] | PlumpMath/vanara | Vanara.Windows.Forms/ThemedPanel.cs | 3,385 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace MovieProject.Core.Models
{
public class Cinema
{
public int Id { get; set; }
public string Name { get; set; }
public string Address { get; set; }
public int Capacity { get; set; }
public int NumberOfHalls { get; set; }
public bool IsDeleted { get; set; }
public string InnerBarkod { get; set; }
public ICollection<Movie> Movies { get; set; } // Bir sinemaya ait, birden fazla film olabilir.
}
}
| 28.947368 | 103 | 0.623636 | [
"MIT"
] | tiryakibeytullah/MovieApi | MovieProject/MovieProject.Core/Models/Cinema.cs | 552 | C# |
using System;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("NGUI/UI/NGUI Sprite"), ExecuteInEditMode]
public class UISprite : UIWidget
{
public enum Type
{
Simple,
Sliced,
Tiled,
Filled,
Advanced,
Custom
}
public enum FillDirection
{
Horizontal,
Vertical,
Radial90,
Radial180,
Radial360
}
public enum AdvancedType
{
Invisible,
Sliced,
Tiled
}
public enum Flip
{
Nothing,
Horizontally,
Vertically,
Both
}
public enum CustomType
{
Sliced,
Tiled
}
public delegate void OnInitCallback(UISprite sprite);
[HideInInspector]
private UIAtlas mAtlas;
[HideInInspector, SerializeField]
private string mSpriteName;
[HideInInspector, SerializeField]
private UISprite.Type mType;
[HideInInspector, SerializeField]
private UISprite.FillDirection mFillDirection = UISprite.FillDirection.Radial360;
[HideInInspector, Range(0f, 1f), SerializeField]
private float mFillAmount = 1f;
[HideInInspector, SerializeField]
private bool mInvert;
[HideInInspector, SerializeField]
private UISprite.Flip mFlip;
[HideInInspector, SerializeField]
private bool mFillCenter = true;
protected UISpriteData mSprite;
protected Rect mInnerUV = default(Rect);
protected Rect mOuterUV = default(Rect);
private bool mSpriteSet;
private List<UISprite.OnInitCallback> initCallbackList = new List<UISprite.OnInitCallback>();
public UISprite.AdvancedType centerType = UISprite.AdvancedType.Sliced;
public UISprite.AdvancedType leftType = UISprite.AdvancedType.Sliced;
public UISprite.AdvancedType rightType = UISprite.AdvancedType.Sliced;
public UISprite.AdvancedType bottomType = UISprite.AdvancedType.Sliced;
public UISprite.AdvancedType topType = UISprite.AdvancedType.Sliced;
[HideInInspector, SerializeField]
private string mstrAtlasName = string.Empty;
private int maskCount = 1;
[HideInInspector, SerializeField]
private Vector4 customValue1 = Vector4.zero;
[HideInInspector, SerializeField]
private Vector4 customValue2 = Vector4.zero;
private static Vector2[] mTempPos = new Vector2[4];
private static Vector2[] mTempUVs = new Vector2[4];
public virtual UISprite.Type type
{
get
{
return this.mType;
}
set
{
if (this.mType != value)
{
this.mType = value;
this.MarkAsChanged();
}
}
}
public string AtlasName
{
get
{
return this.mstrAtlasName;
}
set
{
if (this.mstrAtlasName != value)
{
if (this.mAtlas != null)
{
AtlasManager.PopAtlas(this.mstrAtlasName, base.gameObject);
}
if (Application.isPlaying)
{
AtlasManager.GetAtlas(value, base.gameObject, new AssetCallBack(this.OnLoadComplete));
}
this.mstrAtlasName = value;
}
}
}
public override Material material
{
get
{
return (!(this.mAtlas != null)) ? null : this.mAtlas.spriteMaterial;
}
}
public UIAtlas atlas
{
get
{
return this.mAtlas;
}
set
{
if (this.mAtlas != value)
{
base.RemoveFromPanel();
this.mAtlas = value;
this.mSpriteSet = false;
this.mSprite = null;
if (string.IsNullOrEmpty(this.mSpriteName) && this.mAtlas != null && this.mAtlas.spriteList.Count > 0)
{
this.SetAtlasSprite(this.mAtlas.spriteList[0]);
this.mSpriteName = this.mSprite.name;
}
if (!string.IsNullOrEmpty(this.mSpriteName))
{
string spriteName = this.mSpriteName;
this.mSpriteName = string.Empty;
this.spriteName = spriteName;
this.MarkAsChanged();
}
}
}
}
public string spriteName
{
get
{
return this.mSpriteName;
}
set
{
if (string.IsNullOrEmpty(value))
{
if (string.IsNullOrEmpty(this.mSpriteName))
{
return;
}
this.mSpriteName = string.Empty;
this.mSprite = null;
this.mChanged = true;
this.mSpriteSet = false;
}
else if (this.mSpriteName != value)
{
this.mSpriteName = value;
this.mSprite = null;
this.mChanged = true;
this.mSpriteSet = false;
}
}
}
public bool isValid
{
get
{
return this.GetAtlasSprite() != null;
}
}
[Obsolete("Use 'centerType' instead")]
public bool fillCenter
{
get
{
return this.centerType != UISprite.AdvancedType.Invisible;
}
set
{
if (value != (this.centerType != UISprite.AdvancedType.Invisible))
{
this.centerType = ((!value) ? UISprite.AdvancedType.Invisible : UISprite.AdvancedType.Sliced);
this.MarkAsChanged();
}
}
}
public UISprite.FillDirection fillDirection
{
get
{
return this.mFillDirection;
}
set
{
if (this.mFillDirection != value)
{
this.mFillDirection = value;
this.mChanged = true;
}
}
}
public float fillAmount
{
get
{
return this.mFillAmount;
}
set
{
float num = Mathf.Clamp01(value);
if (this.mFillAmount != num)
{
this.mFillAmount = num;
this.mChanged = true;
}
}
}
public int MaskCount
{
get
{
return this.maskCount;
}
set
{
if (value < 0 || value > 2)
{
return;
}
if (this.maskCount != value)
{
this.maskCount = value;
this.mChanged = true;
}
}
}
public Vector4 CustomValue1
{
get
{
return this.customValue1;
}
set
{
if (value.z < 0f)
{
value.z = 0f;
}
if (value.w < 0f)
{
value.w = 0f;
}
if (this.customValue1 != value)
{
this.customValue1 = value;
this.mChanged = true;
}
}
}
public Vector4 CustomValue2
{
get
{
return this.customValue2;
}
set
{
if (value.z < 0f)
{
value.z = 0f;
}
if (value.w < 0f)
{
value.w = 0f;
}
if (this.customValue2 != value)
{
this.customValue2 = value;
this.mChanged = true;
}
}
}
public bool invert
{
get
{
return this.mInvert;
}
set
{
if (this.mInvert != value)
{
this.mInvert = value;
this.mChanged = true;
}
}
}
public override Vector4 border
{
get
{
if (this.type != UISprite.Type.Sliced && this.type != UISprite.Type.Advanced && this.type != UISprite.Type.Custom)
{
return base.border;
}
UISpriteData atlasSprite = this.GetAtlasSprite();
if (atlasSprite == null)
{
return Vector2.zero;
}
Vector4 zero = Vector4.zero;
zero.x = (float)atlasSprite.borderLeft;
zero.y = (float)atlasSprite.borderBottom;
zero.z = (float)atlasSprite.borderRight;
zero.w = (float)atlasSprite.borderTop;
return zero;
}
}
public override int minWidth
{
get
{
if (this.type == UISprite.Type.Sliced || this.type == UISprite.Type.Advanced)
{
Vector4 a = this.border;
if (this.atlas != null)
{
a *= this.atlas.pixelSize;
}
int num = Mathf.RoundToInt(a.x + a.z);
UISpriteData atlasSprite = this.GetAtlasSprite();
if (atlasSprite != null)
{
num += atlasSprite.paddingLeft + atlasSprite.paddingRight;
}
return Mathf.Max(base.minWidth, ((num & 1) != 1) ? num : (num + 1));
}
return base.minWidth;
}
}
public override int minHeight
{
get
{
if (this.type == UISprite.Type.Sliced || this.type == UISprite.Type.Advanced)
{
Vector4 a = this.border;
if (this.atlas != null)
{
a *= this.atlas.pixelSize;
}
int num = Mathf.RoundToInt(a.y + a.w);
UISpriteData atlasSprite = this.GetAtlasSprite();
if (atlasSprite != null)
{
num += atlasSprite.paddingTop + atlasSprite.paddingBottom;
}
return Mathf.Max(base.minHeight, ((num & 1) != 1) ? num : (num + 1));
}
return base.minHeight;
}
}
public override Vector4 drawingDimensions
{
get
{
Vector2 pivotOffset = base.pivotOffset;
float num = -pivotOffset.x * (float)this.mWidth;
float num2 = -pivotOffset.y * (float)this.mHeight;
float num3 = num + (float)this.mWidth;
float num4 = num2 + (float)this.mHeight;
if (this.GetAtlasSprite() != null && this.mType != UISprite.Type.Tiled)
{
int paddingLeft = this.mSprite.paddingLeft;
int paddingBottom = this.mSprite.paddingBottom;
int num5 = this.mSprite.paddingRight;
int num6 = this.mSprite.paddingTop;
int num7 = this.mSprite.width + paddingLeft + num5;
int num8 = this.mSprite.height + paddingBottom + num6;
float num9 = 1f;
float num10 = 1f;
if (num7 > 0 && num8 > 0 && (this.mType == UISprite.Type.Simple || this.mType == UISprite.Type.Filled))
{
if ((num7 & 1) != 0)
{
num5++;
}
if ((num8 & 1) != 0)
{
num6++;
}
num9 = 1f / (float)num7 * (float)this.mWidth;
num10 = 1f / (float)num8 * (float)this.mHeight;
}
if (this.mFlip == UISprite.Flip.Horizontally || this.mFlip == UISprite.Flip.Both)
{
num += (float)num5 * num9;
num3 -= (float)paddingLeft * num9;
}
else
{
num += (float)paddingLeft * num9;
num3 -= (float)num5 * num9;
}
if (this.mFlip == UISprite.Flip.Vertically || this.mFlip == UISprite.Flip.Both)
{
num2 += (float)num6 * num10;
num4 -= (float)paddingBottom * num10;
}
else
{
num2 += (float)paddingBottom * num10;
num4 -= (float)num6 * num10;
}
}
if (this.atlas == null)
{
return Vector4.zero;
}
Vector4 vector = this.border * this.atlas.pixelSize;
float num11 = vector.x + vector.z;
float num12 = vector.y + vector.w;
float x = Mathf.Lerp(num, num3 - num11, this.mDrawRegion.x);
float y = Mathf.Lerp(num2, num4 - num12, this.mDrawRegion.y);
float z = Mathf.Lerp(num + num11, num3, this.mDrawRegion.z);
float w = Mathf.Lerp(num2 + num12, num4, this.mDrawRegion.w);
Vector4 zero = Vector4.zero;
zero.x = x;
zero.y = y;
zero.z = z;
zero.w = w;
return zero;
}
}
protected virtual Vector4 drawingUVs
{
get
{
Vector4 zero = Vector4.zero;
switch (this.mFlip)
{
case UISprite.Flip.Horizontally:
zero.x = this.mOuterUV.xMax;
zero.y = this.mOuterUV.yMin;
zero.z = this.mOuterUV.xMin;
zero.w = this.mOuterUV.yMax;
return zero;
case UISprite.Flip.Vertically:
zero.x = this.mOuterUV.xMin;
zero.y = this.mOuterUV.yMax;
zero.z = this.mOuterUV.xMax;
zero.w = this.mOuterUV.yMin;
return zero;
case UISprite.Flip.Both:
zero.x = this.mOuterUV.xMax;
zero.y = this.mOuterUV.yMax;
zero.z = this.mOuterUV.xMin;
zero.w = this.mOuterUV.yMin;
return zero;
default:
zero.x = this.mOuterUV.xMin;
zero.y = this.mOuterUV.yMin;
zero.z = this.mOuterUV.xMax;
zero.w = this.mOuterUV.yMax;
return zero;
}
}
}
public void AddInitCallback(UISprite.OnInitCallback callBack)
{
if (!this.initCallbackList.Contains(callBack))
{
this.initCallbackList.Add(callBack);
}
}
public UISpriteData GetAtlasSprite()
{
if (!this.mSpriteSet)
{
this.mSprite = null;
}
if (this.mSprite == null && this.mAtlas != null)
{
if (!string.IsNullOrEmpty(this.mSpriteName))
{
UISpriteData sprite = this.mAtlas.GetSprite(this.mSpriteName);
if (sprite == null)
{
return null;
}
this.SetAtlasSprite(sprite);
}
if (this.mSprite == null && this.mAtlas.spriteList.Count > 0)
{
UISpriteData uISpriteData = this.mAtlas.spriteList[0];
if (uISpriteData == null)
{
return null;
}
this.SetAtlasSprite(uISpriteData);
if (this.mSprite == null)
{
LogSystem.LogWarning(new object[]
{
this.mAtlas.name,
" seems to have a null sprite!"
});
return null;
}
this.mSpriteName = this.mSprite.name;
}
}
return this.mSprite;
}
protected void SetAtlasSprite(UISpriteData sp)
{
this.mChanged = true;
this.mSpriteSet = true;
if (sp != null)
{
this.mSprite = sp;
this.mSpriteName = this.mSprite.name;
}
else
{
this.mSpriteName = ((this.mSprite == null) ? string.Empty : this.mSprite.name);
this.mSprite = sp;
}
}
public override void MakePixelPerfect()
{
if (!this.isValid)
{
this.isMakePixelPerfect = true;
return;
}
base.MakePixelPerfect();
UISpriteData atlasSprite = this.GetAtlasSprite();
if (atlasSprite == null)
{
return;
}
UISprite.Type type = this.type;
if (type == UISprite.Type.Simple || type == UISprite.Type.Filled || !atlasSprite.hasBorder)
{
Texture mainTexture = this.mainTexture;
if (mainTexture != null && atlasSprite != null)
{
int num = Mathf.RoundToInt(this.atlas.pixelSize * (float)(atlasSprite.width + atlasSprite.paddingLeft + atlasSprite.paddingRight));
int num2 = Mathf.RoundToInt(this.atlas.pixelSize * (float)(atlasSprite.height + atlasSprite.paddingTop + atlasSprite.paddingBottom));
if ((num & 1) == 1)
{
num++;
}
if ((num2 & 1) == 1)
{
num2++;
}
base.width = num;
base.height = num2;
}
}
}
public override bool CheckWaitLoadingAtlas()
{
return !this.error && base.gameObject.activeInHierarchy && !string.IsNullOrEmpty(this.AtlasName) && this.atlas == null;
}
public override void CheckLoadAtlas()
{
if (!base.gameObject.activeInHierarchy)
{
return;
}
if (this.atlas == null && !string.IsNullOrEmpty(this.AtlasName))
{
AtlasManager.GetAtlas(this.AtlasName, base.gameObject, new AssetCallBack(this.OnLoadComplete));
}
}
protected override void Awake()
{
if (this.atlas != null)
{
return;
}
if (!string.IsNullOrEmpty(this.mstrAtlasName))
{
AtlasManager.GetAtlas(this.mstrAtlasName, base.gameObject, new AssetCallBack(this.OnLoadComplete));
}
}
private void OnLoadComplete(VarStore args)
{
UIAtlas uIAtlas = args[0] as UIAtlas;
if (uIAtlas != null)
{
this.atlas = uIAtlas;
this.MarkAsChanged();
}
}
private void OnDestroy()
{
if (this.atlas != null)
{
this.atlas = null;
AtlasManager.PopAtlas(this.AtlasName, base.gameObject);
}
}
protected override void OnInit()
{
if (!this.mFillCenter)
{
this.mFillCenter = true;
this.centerType = UISprite.AdvancedType.Invisible;
}
base.OnInit();
if (this.initCallbackList != null && this.initCallbackList.Count > 0)
{
for (int i = 0; i < this.initCallbackList.Count; i++)
{
if (this.initCallbackList[i] != null)
{
this.initCallbackList[i](this);
}
}
this.initCallbackList.Clear();
}
}
protected override void OnUpdate()
{
base.OnUpdate();
if (this.mChanged || !this.mSpriteSet)
{
this.mSpriteSet = true;
this.mSprite = null;
this.mChanged = true;
}
}
public override void OnFill(BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
Texture mainTexture = this.mainTexture;
if (mainTexture != null)
{
if (this.mSprite == null)
{
this.mSprite = this.atlas.GetSprite(this.spriteName);
}
if (this.mSprite == null)
{
return;
}
this.mOuterUV.Set((float)this.mSprite.x, (float)this.mSprite.y, (float)this.mSprite.width, (float)this.mSprite.height);
this.mInnerUV.Set((float)(this.mSprite.x + this.mSprite.borderLeft), (float)(this.mSprite.y + this.mSprite.borderTop), (float)(this.mSprite.width - this.mSprite.borderLeft - this.mSprite.borderRight), (float)(this.mSprite.height - this.mSprite.borderBottom - this.mSprite.borderTop));
this.mOuterUV = NGUIMath.ConvertToTexCoords(this.mOuterUV, mainTexture.width, mainTexture.height);
this.mInnerUV = NGUIMath.ConvertToTexCoords(this.mInnerUV, mainTexture.width, mainTexture.height);
}
switch (this.type)
{
case UISprite.Type.Simple:
this.SimpleFill(verts, uvs, cols);
break;
case UISprite.Type.Sliced:
this.SlicedFill(verts, uvs, cols);
break;
case UISprite.Type.Tiled:
this.TiledFill(verts, uvs, cols);
break;
case UISprite.Type.Filled:
this.FilledFill(verts, uvs, cols);
break;
case UISprite.Type.Advanced:
this.AdvancedFill(verts, uvs, cols);
break;
case UISprite.Type.Custom:
this.CustomFill(verts, uvs, cols);
break;
}
}
protected void SimpleFill(BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
Vector4 drawingDimensions = this.drawingDimensions;
Vector4 drawingUVs = this.drawingUVs;
Vector3 zero = Vector3.zero;
zero.x = drawingDimensions.x;
zero.y = drawingDimensions.y;
verts.Add(zero);
zero.x = drawingDimensions.x;
zero.y = drawingDimensions.w;
verts.Add(zero);
zero.x = drawingDimensions.z;
zero.y = drawingDimensions.w;
verts.Add(zero);
zero.x = drawingDimensions.z;
zero.y = drawingDimensions.y;
verts.Add(zero);
zero.x = drawingUVs.x;
zero.y = drawingUVs.y;
uvs.Add(zero);
zero.x = drawingUVs.x;
zero.y = drawingUVs.w;
uvs.Add(zero);
zero.x = drawingUVs.z;
zero.y = drawingUVs.w;
uvs.Add(zero);
zero.x = drawingUVs.z;
zero.y = drawingUVs.y;
uvs.Add(zero);
Color color = base.color;
color.a = this.finalAlpha;
if (this.atlas.premultipliedAlpha && color.a != 1f)
{
color.r *= color.a;
color.g *= color.a;
color.b *= color.a;
}
cols.Add(color);
cols.Add(color);
cols.Add(color);
cols.Add(color);
}
protected void SlicedFill(BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
if (!this.mSprite.hasBorder)
{
this.SimpleFill(verts, uvs, cols);
return;
}
Vector4 drawingDimensions = this.drawingDimensions;
Vector4 vector = this.border * this.atlas.pixelSize;
UISprite.mTempPos[0].x = drawingDimensions.x;
UISprite.mTempPos[0].y = drawingDimensions.y;
UISprite.mTempPos[3].x = drawingDimensions.z;
UISprite.mTempPos[3].y = drawingDimensions.w;
if (this.mFlip == UISprite.Flip.Horizontally || this.mFlip == UISprite.Flip.Both)
{
UISprite.mTempPos[1].x = UISprite.mTempPos[0].x + vector.z;
UISprite.mTempPos[2].x = UISprite.mTempPos[3].x - vector.x;
UISprite.mTempUVs[3].x = this.mOuterUV.xMin;
UISprite.mTempUVs[2].x = this.mInnerUV.xMin;
UISprite.mTempUVs[1].x = this.mInnerUV.xMax;
UISprite.mTempUVs[0].x = this.mOuterUV.xMax;
}
else
{
UISprite.mTempPos[1].x = UISprite.mTempPos[0].x + vector.x;
UISprite.mTempPos[2].x = UISprite.mTempPos[3].x - vector.z;
UISprite.mTempUVs[0].x = this.mOuterUV.xMin;
UISprite.mTempUVs[1].x = this.mInnerUV.xMin;
UISprite.mTempUVs[2].x = this.mInnerUV.xMax;
UISprite.mTempUVs[3].x = this.mOuterUV.xMax;
}
if (this.mFlip == UISprite.Flip.Vertically || this.mFlip == UISprite.Flip.Both)
{
UISprite.mTempPos[1].y = UISprite.mTempPos[0].y + vector.w;
UISprite.mTempPos[2].y = UISprite.mTempPos[3].y - vector.y;
UISprite.mTempUVs[3].y = this.mOuterUV.yMin;
UISprite.mTempUVs[2].y = this.mInnerUV.yMin;
UISprite.mTempUVs[1].y = this.mInnerUV.yMax;
UISprite.mTempUVs[0].y = this.mOuterUV.yMax;
}
else
{
UISprite.mTempPos[1].y = UISprite.mTempPos[0].y + vector.y;
UISprite.mTempPos[2].y = UISprite.mTempPos[3].y - vector.w;
UISprite.mTempUVs[0].y = this.mOuterUV.yMin;
UISprite.mTempUVs[1].y = this.mInnerUV.yMin;
UISprite.mTempUVs[2].y = this.mInnerUV.yMax;
UISprite.mTempUVs[3].y = this.mOuterUV.yMax;
}
Color color = base.color;
color.a = this.finalAlpha;
Color32 item = (!this.atlas.premultipliedAlpha) ? color : NGUITools.ApplyPMA(color);
for (int i = 0; i < 3; i++)
{
int num = i + 1;
for (int j = 0; j < 3; j++)
{
if (this.centerType != UISprite.AdvancedType.Invisible || i != 1 || j != 1)
{
int num2 = j + 1;
Vector3 zero = Vector3.zero;
zero.x = UISprite.mTempPos[i].x;
zero.y = UISprite.mTempPos[j].y;
verts.Add(zero);
zero.x = UISprite.mTempPos[i].x;
zero.y = UISprite.mTempPos[num2].y;
verts.Add(zero);
zero.x = UISprite.mTempPos[num].x;
zero.y = UISprite.mTempPos[num2].y;
verts.Add(zero);
zero.x = UISprite.mTempPos[num].x;
zero.y = UISprite.mTempPos[j].y;
verts.Add(zero);
zero.x = UISprite.mTempUVs[i].x;
zero.y = UISprite.mTempUVs[j].y;
uvs.Add(zero);
zero.x = UISprite.mTempUVs[i].x;
zero.y = UISprite.mTempUVs[num2].y;
uvs.Add(zero);
zero.x = UISprite.mTempUVs[num].x;
zero.y = UISprite.mTempUVs[num2].y;
uvs.Add(zero);
zero.x = UISprite.mTempUVs[num].x;
zero.y = UISprite.mTempUVs[j].y;
uvs.Add(zero);
cols.Add(item);
cols.Add(item);
cols.Add(item);
cols.Add(item);
}
}
}
}
protected void TiledFill(BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
Texture mainTexture = this.material.mainTexture;
if (mainTexture == null)
{
return;
}
Vector4 drawingDimensions = this.drawingDimensions;
Vector4 vector;
if (this.mFlip == UISprite.Flip.Horizontally || this.mFlip == UISprite.Flip.Both)
{
vector.x = this.mInnerUV.xMax;
vector.z = this.mInnerUV.xMin;
}
else
{
vector.x = this.mInnerUV.xMin;
vector.z = this.mInnerUV.xMax;
}
if (this.mFlip == UISprite.Flip.Vertically || this.mFlip == UISprite.Flip.Both)
{
vector.y = this.mInnerUV.yMax;
vector.w = this.mInnerUV.yMin;
}
else
{
vector.y = this.mInnerUV.yMin;
vector.w = this.mInnerUV.yMax;
}
Vector2 a = Vector2.zero;
a.x = this.mInnerUV.width * (float)mainTexture.width;
a.x = this.mInnerUV.height * (float)mainTexture.height;
a *= this.atlas.pixelSize;
Color color = base.color;
color.a = this.finalAlpha;
Color32 item = (!this.atlas.premultipliedAlpha) ? color : NGUITools.ApplyPMA(color);
float num = drawingDimensions.x;
float num2 = drawingDimensions.y;
float x = vector.x;
float y = vector.y;
while (num2 < drawingDimensions.w)
{
num = drawingDimensions.x;
float num3 = num2 + a.y;
float y2 = vector.w;
if (num3 > drawingDimensions.w)
{
y2 = Mathf.Lerp(vector.y, vector.w, (drawingDimensions.w - num2) / a.y);
num3 = drawingDimensions.w;
}
while (num < drawingDimensions.z)
{
float num4 = num + a.x;
float x2 = vector.z;
if (num4 > drawingDimensions.z)
{
x2 = Mathf.Lerp(vector.x, vector.z, (drawingDimensions.z - num) / a.x);
num4 = drawingDimensions.z;
}
Vector3 zero = Vector3.zero;
zero.x = num;
zero.y = num2;
verts.Add(zero);
zero.x = num;
zero.y = num3;
verts.Add(zero);
zero.x = num4;
zero.y = num3;
verts.Add(zero);
zero.x = num4;
zero.y = num2;
verts.Add(zero);
zero.x = x;
zero.y = y;
uvs.Add(zero);
zero.x = x;
zero.y = y2;
uvs.Add(zero);
zero.x = x2;
zero.y = y2;
uvs.Add(zero);
zero.x = x2;
zero.y = y;
uvs.Add(zero);
cols.Add(item);
cols.Add(item);
cols.Add(item);
cols.Add(item);
num += a.x;
}
num2 += a.y;
}
}
protected void FilledFill(BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
if (this.mFillAmount < 0.001f)
{
return;
}
Color color = base.color;
color.a = this.finalAlpha;
Color32 item = (!this.atlas.premultipliedAlpha) ? color : NGUITools.ApplyPMA(color);
Vector4 drawingDimensions = this.drawingDimensions;
Vector4 drawingUVs = this.drawingUVs;
if (this.mFillDirection == UISprite.FillDirection.Horizontal || this.mFillDirection == UISprite.FillDirection.Vertical)
{
if (this.mFillDirection == UISprite.FillDirection.Horizontal)
{
float num = (drawingUVs.z - drawingUVs.x) * this.mFillAmount;
if (this.mInvert)
{
drawingDimensions.x = drawingDimensions.z - (drawingDimensions.z - drawingDimensions.x) * this.mFillAmount;
drawingUVs.x = drawingUVs.z - num;
}
else
{
drawingDimensions.z = drawingDimensions.x + (drawingDimensions.z - drawingDimensions.x) * this.mFillAmount;
drawingUVs.z = drawingUVs.x + num;
}
}
else if (this.mFillDirection == UISprite.FillDirection.Vertical)
{
float num2 = (drawingUVs.w - drawingUVs.y) * this.mFillAmount;
if (this.mInvert)
{
drawingDimensions.y = drawingDimensions.w - (drawingDimensions.w - drawingDimensions.y) * this.mFillAmount;
drawingUVs.y = drawingUVs.w - num2;
}
else
{
drawingDimensions.w = drawingDimensions.y + (drawingDimensions.w - drawingDimensions.y) * this.mFillAmount;
drawingUVs.w = drawingUVs.y + num2;
}
}
}
Vector2 zero = Vector2.zero;
zero.x = drawingDimensions.x;
zero.y = drawingDimensions.y;
UISprite.mTempPos[0] = zero;
zero.x = drawingDimensions.x;
zero.y = drawingDimensions.w;
UISprite.mTempPos[1] = zero;
zero.x = drawingDimensions.z;
zero.y = drawingDimensions.w;
UISprite.mTempPos[2] = zero;
zero.x = drawingDimensions.z;
zero.y = drawingDimensions.y;
UISprite.mTempPos[3] = zero;
zero.x = drawingUVs.x;
zero.y = drawingUVs.y;
UISprite.mTempUVs[0] = zero;
zero.x = drawingUVs.x;
zero.y = drawingUVs.w;
UISprite.mTempUVs[1] = zero;
zero.x = drawingUVs.z;
zero.y = drawingUVs.w;
UISprite.mTempUVs[2] = zero;
zero.x = drawingUVs.z;
zero.y = drawingUVs.y;
UISprite.mTempUVs[3] = zero;
if (this.mFillAmount < 1f)
{
if (this.mFillDirection == UISprite.FillDirection.Radial90)
{
if (UISprite.RadialCut(UISprite.mTempPos, UISprite.mTempUVs, this.mFillAmount, this.mInvert, 0))
{
for (int i = 0; i < 4; i++)
{
verts.Add(UISprite.mTempPos[i]);
uvs.Add(UISprite.mTempUVs[i]);
cols.Add(item);
}
}
return;
}
if (this.mFillDirection == UISprite.FillDirection.Radial180)
{
for (int j = 0; j < 2; j++)
{
float t = 0f;
float t2 = 1f;
float t3;
float t4;
if (j == 0)
{
t3 = 0f;
t4 = 0.5f;
}
else
{
t3 = 0.5f;
t4 = 1f;
}
UISprite.mTempPos[0].x = Mathf.Lerp(drawingDimensions.x, drawingDimensions.z, t3);
UISprite.mTempPos[1].x = UISprite.mTempPos[0].x;
UISprite.mTempPos[2].x = Mathf.Lerp(drawingDimensions.x, drawingDimensions.z, t4);
UISprite.mTempPos[3].x = UISprite.mTempPos[2].x;
UISprite.mTempPos[0].y = Mathf.Lerp(drawingDimensions.y, drawingDimensions.w, t);
UISprite.mTempPos[1].y = Mathf.Lerp(drawingDimensions.y, drawingDimensions.w, t2);
UISprite.mTempPos[2].y = UISprite.mTempPos[1].y;
UISprite.mTempPos[3].y = UISprite.mTempPos[0].y;
UISprite.mTempUVs[0].x = Mathf.Lerp(drawingUVs.x, drawingUVs.z, t3);
UISprite.mTempUVs[1].x = UISprite.mTempUVs[0].x;
UISprite.mTempUVs[2].x = Mathf.Lerp(drawingUVs.x, drawingUVs.z, t4);
UISprite.mTempUVs[3].x = UISprite.mTempUVs[2].x;
UISprite.mTempUVs[0].y = Mathf.Lerp(drawingUVs.y, drawingUVs.w, t);
UISprite.mTempUVs[1].y = Mathf.Lerp(drawingUVs.y, drawingUVs.w, t2);
UISprite.mTempUVs[2].y = UISprite.mTempUVs[1].y;
UISprite.mTempUVs[3].y = UISprite.mTempUVs[0].y;
float value = this.mInvert ? (this.mFillAmount * 2f - (float)(1 - j)) : (this.fillAmount * 2f - (float)j);
if (UISprite.RadialCut(UISprite.mTempPos, UISprite.mTempUVs, Mathf.Clamp01(value), !this.mInvert, NGUIMath.RepeatIndex(j + 3, 4)))
{
for (int k = 0; k < 4; k++)
{
verts.Add(UISprite.mTempPos[k]);
uvs.Add(UISprite.mTempUVs[k]);
cols.Add(item);
}
}
}
return;
}
if (this.mFillDirection == UISprite.FillDirection.Radial360)
{
for (int l = 0; l < 4; l++)
{
float t5;
float t6;
if (l < 2)
{
t5 = 0f;
t6 = 0.5f;
}
else
{
t5 = 0.5f;
t6 = 1f;
}
float t7;
float t8;
if (l == 0 || l == 3)
{
t7 = 0f;
t8 = 0.5f;
}
else
{
t7 = 0.5f;
t8 = 1f;
}
UISprite.mTempPos[0].x = Mathf.Lerp(drawingDimensions.x, drawingDimensions.z, t5);
UISprite.mTempPos[1].x = UISprite.mTempPos[0].x;
UISprite.mTempPos[2].x = Mathf.Lerp(drawingDimensions.x, drawingDimensions.z, t6);
UISprite.mTempPos[3].x = UISprite.mTempPos[2].x;
UISprite.mTempPos[0].y = Mathf.Lerp(drawingDimensions.y, drawingDimensions.w, t7);
UISprite.mTempPos[1].y = Mathf.Lerp(drawingDimensions.y, drawingDimensions.w, t8);
UISprite.mTempPos[2].y = UISprite.mTempPos[1].y;
UISprite.mTempPos[3].y = UISprite.mTempPos[0].y;
UISprite.mTempUVs[0].x = Mathf.Lerp(drawingUVs.x, drawingUVs.z, t5);
UISprite.mTempUVs[1].x = UISprite.mTempUVs[0].x;
UISprite.mTempUVs[2].x = Mathf.Lerp(drawingUVs.x, drawingUVs.z, t6);
UISprite.mTempUVs[3].x = UISprite.mTempUVs[2].x;
UISprite.mTempUVs[0].y = Mathf.Lerp(drawingUVs.y, drawingUVs.w, t7);
UISprite.mTempUVs[1].y = Mathf.Lerp(drawingUVs.y, drawingUVs.w, t8);
UISprite.mTempUVs[2].y = UISprite.mTempUVs[1].y;
UISprite.mTempUVs[3].y = UISprite.mTempUVs[0].y;
float value2 = (!this.mInvert) ? (this.mFillAmount * 4f - (float)(3 - NGUIMath.RepeatIndex(l + 2, 4))) : (this.mFillAmount * 4f - (float)NGUIMath.RepeatIndex(l + 2, 4));
if (UISprite.RadialCut(UISprite.mTempPos, UISprite.mTempUVs, Mathf.Clamp01(value2), this.mInvert, NGUIMath.RepeatIndex(l + 2, 4)))
{
for (int m = 0; m < 4; m++)
{
verts.Add(UISprite.mTempPos[m]);
uvs.Add(UISprite.mTempUVs[m]);
cols.Add(item);
}
}
}
return;
}
}
for (int n = 0; n < 4; n++)
{
verts.Add(UISprite.mTempPos[n]);
uvs.Add(UISprite.mTempUVs[n]);
cols.Add(item);
}
}
private static bool RadialCut(Vector2[] xy, Vector2[] uv, float fill, bool invert, int corner)
{
if (fill < 0.001f)
{
return false;
}
if ((corner & 1) == 1)
{
invert = !invert;
}
if (!invert && fill > 0.999f)
{
return true;
}
float num = Mathf.Clamp01(fill);
if (invert)
{
num = 1f - num;
}
num *= 1.57079637f;
float cos = Mathf.Cos(num);
float sin = Mathf.Sin(num);
UISprite.RadialCut(xy, cos, sin, invert, corner);
UISprite.RadialCut(uv, cos, sin, invert, corner);
return true;
}
private static void RadialCut(Vector2[] xy, float cos, float sin, bool invert, int corner)
{
int num = NGUIMath.RepeatIndex(corner + 1, 4);
int num2 = NGUIMath.RepeatIndex(corner + 2, 4);
int num3 = NGUIMath.RepeatIndex(corner + 3, 4);
if ((corner & 1) == 1)
{
if (sin > cos)
{
cos /= sin;
sin = 1f;
if (invert)
{
xy[num].x = Mathf.Lerp(xy[corner].x, xy[num2].x, cos);
xy[num2].x = xy[num].x;
}
}
else if (cos > sin)
{
sin /= cos;
cos = 1f;
if (!invert)
{
xy[num2].y = Mathf.Lerp(xy[corner].y, xy[num2].y, sin);
xy[num3].y = xy[num2].y;
}
}
else
{
cos = 1f;
sin = 1f;
}
if (!invert)
{
xy[num3].x = Mathf.Lerp(xy[corner].x, xy[num2].x, cos);
}
else
{
xy[num].y = Mathf.Lerp(xy[corner].y, xy[num2].y, sin);
}
}
else
{
if (cos > sin)
{
sin /= cos;
cos = 1f;
if (!invert)
{
xy[num].y = Mathf.Lerp(xy[corner].y, xy[num2].y, sin);
xy[num2].y = xy[num].y;
}
}
else if (sin > cos)
{
cos /= sin;
sin = 1f;
if (invert)
{
xy[num2].x = Mathf.Lerp(xy[corner].x, xy[num2].x, cos);
xy[num3].x = xy[num2].x;
}
}
else
{
cos = 1f;
sin = 1f;
}
if (invert)
{
xy[num3].y = Mathf.Lerp(xy[corner].y, xy[num2].y, sin);
}
else
{
xy[num].x = Mathf.Lerp(xy[corner].x, xy[num2].x, cos);
}
}
}
protected void AdvancedFill(BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
if (!this.mSprite.hasBorder)
{
this.SimpleFill(verts, uvs, cols);
return;
}
Texture mainTexture = this.material.mainTexture;
if (mainTexture == null)
{
return;
}
Vector4 drawingDimensions = this.drawingDimensions;
Vector4 vector = this.border * this.atlas.pixelSize;
Vector2 a = Vector2.zero;
a.x = this.mInnerUV.width * (float)mainTexture.width;
a.y = this.mInnerUV.height * (float)mainTexture.height;
a *= this.atlas.pixelSize;
if (a.x < 1f)
{
a.x = 1f;
}
if (a.y < 1f)
{
a.y = 1f;
}
UISprite.mTempPos[0].x = drawingDimensions.x;
UISprite.mTempPos[0].y = drawingDimensions.y;
UISprite.mTempPos[3].x = drawingDimensions.z;
UISprite.mTempPos[3].y = drawingDimensions.w;
if (this.mFlip == UISprite.Flip.Horizontally || this.mFlip == UISprite.Flip.Both)
{
UISprite.mTempPos[1].x = UISprite.mTempPos[0].x + vector.z;
UISprite.mTempPos[2].x = UISprite.mTempPos[3].x - vector.x;
UISprite.mTempUVs[3].x = this.mOuterUV.xMin;
UISprite.mTempUVs[2].x = this.mInnerUV.xMin;
UISprite.mTempUVs[1].x = this.mInnerUV.xMax;
UISprite.mTempUVs[0].x = this.mOuterUV.xMax;
}
else
{
UISprite.mTempPos[1].x = UISprite.mTempPos[0].x + vector.x;
UISprite.mTempPos[2].x = UISprite.mTempPos[3].x - vector.z;
UISprite.mTempUVs[0].x = this.mOuterUV.xMin;
UISprite.mTempUVs[1].x = this.mInnerUV.xMin;
UISprite.mTempUVs[2].x = this.mInnerUV.xMax;
UISprite.mTempUVs[3].x = this.mOuterUV.xMax;
}
if (this.mFlip == UISprite.Flip.Vertically || this.mFlip == UISprite.Flip.Both)
{
UISprite.mTempPos[1].y = UISprite.mTempPos[0].y + vector.w;
UISprite.mTempPos[2].y = UISprite.mTempPos[3].y - vector.y;
UISprite.mTempUVs[3].y = this.mOuterUV.yMin;
UISprite.mTempUVs[2].y = this.mInnerUV.yMin;
UISprite.mTempUVs[1].y = this.mInnerUV.yMax;
UISprite.mTempUVs[0].y = this.mOuterUV.yMax;
}
else
{
UISprite.mTempPos[1].y = UISprite.mTempPos[0].y + vector.y;
UISprite.mTempPos[2].y = UISprite.mTempPos[3].y - vector.w;
UISprite.mTempUVs[0].y = this.mOuterUV.yMin;
UISprite.mTempUVs[1].y = this.mInnerUV.yMin;
UISprite.mTempUVs[2].y = this.mInnerUV.yMax;
UISprite.mTempUVs[3].y = this.mOuterUV.yMax;
}
Color color = base.color;
color.a = this.finalAlpha;
Color32 c = (!this.atlas.premultipliedAlpha) ? color : NGUITools.ApplyPMA(color);
for (int i = 0; i < 3; i++)
{
int num = i + 1;
for (int j = 0; j < 3; j++)
{
if (this.centerType != UISprite.AdvancedType.Invisible || i != 1 || j != 1)
{
int num2 = j + 1;
if (i == 1 && j == 1)
{
if (this.centerType == UISprite.AdvancedType.Tiled)
{
float x = UISprite.mTempPos[i].x;
float x2 = UISprite.mTempPos[num].x;
float y = UISprite.mTempPos[j].y;
float y2 = UISprite.mTempPos[num2].y;
float x3 = UISprite.mTempUVs[i].x;
float y3 = UISprite.mTempUVs[j].y;
for (float num3 = y; num3 < y2; num3 += a.y)
{
float num4 = x;
float num5 = UISprite.mTempUVs[num2].y;
float num6 = num3 + a.y;
if (num6 > y2)
{
num5 = Mathf.Lerp(y3, num5, (y2 - num3) / a.y);
num6 = y2;
}
while (num4 < x2)
{
float num7 = num4 + a.x;
float num8 = UISprite.mTempUVs[num].x;
if (num7 > x2)
{
num8 = Mathf.Lerp(x3, num8, (x2 - num4) / a.x);
num7 = x2;
}
this.FillBuffers(num4, num7, num3, num6, x3, num8, y3, num5, c, verts, uvs, cols);
num4 += a.x;
}
}
}
else if (this.centerType == UISprite.AdvancedType.Sliced)
{
this.FillBuffers(UISprite.mTempPos[i].x, UISprite.mTempPos[num].x, UISprite.mTempPos[j].y, UISprite.mTempPos[num2].y, UISprite.mTempUVs[i].x, UISprite.mTempUVs[num].x, UISprite.mTempUVs[j].y, UISprite.mTempUVs[num2].y, c, verts, uvs, cols);
}
}
else if (i == 1)
{
if ((j == 0 && this.bottomType == UISprite.AdvancedType.Tiled) || (j == 2 && this.topType == UISprite.AdvancedType.Tiled))
{
float x4 = UISprite.mTempPos[i].x;
float x5 = UISprite.mTempPos[num].x;
float y4 = UISprite.mTempPos[j].y;
float y5 = UISprite.mTempPos[num2].y;
float x6 = UISprite.mTempUVs[i].x;
float y6 = UISprite.mTempUVs[j].y;
float y7 = UISprite.mTempUVs[num2].y;
for (float num9 = x4; num9 < x5; num9 += a.x)
{
float num10 = num9 + a.x;
float num11 = UISprite.mTempUVs[num].x;
if (num10 > x5)
{
num11 = Mathf.Lerp(x6, num11, (x5 - num9) / a.x);
num10 = x5;
}
this.FillBuffers(num9, num10, y4, y5, x6, num11, y6, y7, c, verts, uvs, cols);
}
}
else if ((j == 0 && this.bottomType == UISprite.AdvancedType.Sliced) || (j == 2 && this.topType == UISprite.AdvancedType.Sliced))
{
this.FillBuffers(UISprite.mTempPos[i].x, UISprite.mTempPos[num].x, UISprite.mTempPos[j].y, UISprite.mTempPos[num2].y, UISprite.mTempUVs[i].x, UISprite.mTempUVs[num].x, UISprite.mTempUVs[j].y, UISprite.mTempUVs[num2].y, c, verts, uvs, cols);
}
}
else if (j == 1)
{
if ((i == 0 && this.leftType == UISprite.AdvancedType.Tiled) || (i == 2 && this.rightType == UISprite.AdvancedType.Tiled))
{
float x7 = UISprite.mTempPos[i].x;
float x8 = UISprite.mTempPos[num].x;
float y8 = UISprite.mTempPos[j].y;
float y9 = UISprite.mTempPos[num2].y;
float x9 = UISprite.mTempUVs[i].x;
float x10 = UISprite.mTempUVs[num].x;
float y10 = UISprite.mTempUVs[j].y;
for (float num12 = y8; num12 < y9; num12 += a.y)
{
float num13 = UISprite.mTempUVs[num2].y;
float num14 = num12 + a.y;
if (num14 > y9)
{
num13 = Mathf.Lerp(y10, num13, (y9 - num12) / a.y);
num14 = y9;
}
this.FillBuffers(x7, x8, num12, num14, x9, x10, y10, num13, c, verts, uvs, cols);
}
}
else if ((i == 0 && this.leftType == UISprite.AdvancedType.Sliced) || (i == 2 && this.rightType == UISprite.AdvancedType.Sliced))
{
this.FillBuffers(UISprite.mTempPos[i].x, UISprite.mTempPos[num].x, UISprite.mTempPos[j].y, UISprite.mTempPos[num2].y, UISprite.mTempUVs[i].x, UISprite.mTempUVs[num].x, UISprite.mTempUVs[j].y, UISprite.mTempUVs[num2].y, c, verts, uvs, cols);
}
}
else
{
this.FillBuffers(UISprite.mTempPos[i].x, UISprite.mTempPos[num].x, UISprite.mTempPos[j].y, UISprite.mTempPos[num2].y, UISprite.mTempUVs[i].x, UISprite.mTempUVs[num].x, UISprite.mTempUVs[j].y, UISprite.mTempUVs[num2].y, c, verts, uvs, cols);
}
}
}
}
}
protected void CustomFill(BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
Texture mainTexture = this.material.mainTexture;
if (mainTexture == null)
{
return;
}
Vector4 drawingDimensions = this.drawingDimensions;
Vector4 vector;
vector.x = this.mInnerUV.xMin;
vector.z = this.mInnerUV.xMax;
vector.y = this.mInnerUV.yMin;
vector.w = this.mInnerUV.yMax;
Vector2 a = Vector2.zero;
a.x = this.mInnerUV.width * (float)mainTexture.width;
a.y = this.mInnerUV.height * (float)mainTexture.height;
a *= this.atlas.pixelSize;
Color color = base.color;
color.a = this.finalAlpha;
Color32 col = (!this.atlas.premultipliedAlpha) ? color : NGUITools.ApplyPMA(color);
float x = drawingDimensions.x;
float y = drawingDimensions.y;
float x2 = vector.x;
float y2 = vector.y;
float w = vector.w;
float z = vector.z;
if (this.maskCount == 1)
{
float num = this.customValue1.x;
if (num < drawingDimensions.x)
{
num = drawingDimensions.x;
}
else if (num > drawingDimensions.z)
{
num = drawingDimensions.z;
}
float num2 = num + this.customValue1.z;
if (num2 > drawingDimensions.z)
{
num2 = drawingDimensions.z;
}
float num3 = this.customValue1.y;
if (num3 < drawingDimensions.y)
{
num3 = drawingDimensions.y;
}
else if (num3 > drawingDimensions.w)
{
num3 = drawingDimensions.w;
}
float num4 = num3 + this.customValue1.w;
if (num4 > drawingDimensions.w)
{
num4 = drawingDimensions.w;
}
this.SetUVandVert(x, drawingDimensions.z, y, num3, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(x, drawingDimensions.z, num4, drawingDimensions.w, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(x, num, num3, num4, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(num2, drawingDimensions.z, num3, num4, x2, y2, z, w, col, verts, uvs, cols);
}
else
{
float num5 = this.customValue1.x;
if (num5 < drawingDimensions.x)
{
num5 = drawingDimensions.x;
}
else if (num5 > drawingDimensions.z)
{
num5 = drawingDimensions.z;
}
float num6 = num5 + this.customValue1.z;
if (num6 > drawingDimensions.z)
{
num6 = drawingDimensions.z;
}
float num7 = this.customValue1.y;
if (num7 < drawingDimensions.y)
{
num7 = drawingDimensions.y;
}
else if (num7 > drawingDimensions.w)
{
num7 = drawingDimensions.w;
}
float num8 = num7 + this.customValue1.w;
if (num8 > drawingDimensions.w)
{
num8 = drawingDimensions.w;
}
float num9 = this.customValue2.x;
if (num9 < drawingDimensions.x)
{
num9 = drawingDimensions.x;
}
else if (num9 > drawingDimensions.z)
{
num9 = drawingDimensions.z;
}
float num10 = num9 + this.customValue2.z;
if (num10 > drawingDimensions.z)
{
num10 = drawingDimensions.z;
}
float num11 = this.customValue2.y;
if (num11 < drawingDimensions.y)
{
num11 = drawingDimensions.y;
}
else if (num11 > drawingDimensions.w)
{
num11 = drawingDimensions.w;
}
float num12 = num11 + this.customValue2.w;
if (num12 > drawingDimensions.w)
{
num12 = drawingDimensions.w;
}
float num13 = (num5 >= num9) ? num9 : num5;
float num14 = (num6 >= num10) ? num6 : num10;
float num15 = (num7 >= num11) ? num11 : num7;
float num16 = (num8 >= num12) ? num8 : num12;
this.SetUVandVert(x, drawingDimensions.z, y, num15, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(x, drawingDimensions.z, num16, drawingDimensions.w, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(x, num13, num15, num16, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(num14, drawingDimensions.z, num15, num16, x2, y2, z, w, col, verts, uvs, cols);
Vector2 zero = Vector2.zero;
zero.x = (num5 + num6) / 2f;
zero.y = (num7 + num8) / 2f;
Vector2 zero2 = Vector2.zero;
zero2.x = (num9 + num10) / 2f;
zero2.y = (num11 + num12) / 2f;
float num17 = (num5 >= num9) ? num5 : num9;
float num18 = (num6 >= num10) ? num10 : num6;
float num19 = (num7 >= num11) ? num7 : num11;
float num20 = (num8 >= num12) ? num12 : num8;
if (zero.y > zero2.y)
{
this.SetUVandVert(num13, num17, num15, num19, x2, y2, z, w, col, verts, uvs, cols);
if (num17 > num18)
{
if (num20 < num19)
{
this.SetUVandVert(num18, num17, num19, num16, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(num17, num14, num20, num16, x2, y2, z, w, col, verts, uvs, cols);
}
else
{
this.SetUVandVert(num18, num14, num20, num16, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(num18, num17, num19, num20, x2, y2, z, w, col, verts, uvs, cols);
}
}
else
{
this.SetUVandVert(num18, num14, num20, num16, x2, y2, z, w, col, verts, uvs, cols);
if (num20 < num19)
{
this.SetUVandVert(num17, num18, num20, num19, x2, y2, z, w, col, verts, uvs, cols);
}
}
}
else
{
this.SetUVandVert(num13, num17, num20, num16, x2, y2, z, w, col, verts, uvs, cols);
if (num17 > num18)
{
if (num20 < num19)
{
this.SetUVandVert(num17, num14, num15, num19, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(num18, num17, num15, num20, x2, y2, z, w, col, verts, uvs, cols);
}
else
{
this.SetUVandVert(num18, num14, num15, num19, x2, y2, z, w, col, verts, uvs, cols);
this.SetUVandVert(num18, num17, num19, num20, x2, y2, z, w, col, verts, uvs, cols);
}
}
else
{
this.SetUVandVert(num18, num14, num15, num19, x2, y2, z, w, col, verts, uvs, cols);
if (num20 < num19)
{
this.SetUVandVert(num17, num18, num20, num19, x2, y2, z, w, col, verts, uvs, cols);
}
}
}
}
}
private void SetUVandVert(float left, float right, float bottom, float top, float u0, float v0, float u1, float v1, Color32 col, BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
Vector3 zero = Vector3.zero;
zero.x = left;
zero.y = bottom;
verts.Add(zero);
zero.x = left;
zero.y = top;
verts.Add(zero);
zero.x = right;
zero.y = top;
verts.Add(zero);
zero.x = right;
zero.y = bottom;
verts.Add(zero);
zero.x = u0;
zero.y = v0;
uvs.Add(zero);
zero.x = u0;
zero.y = v1;
uvs.Add(zero);
zero.x = u1;
zero.y = v1;
uvs.Add(zero);
zero.x = u1;
zero.y = v0;
uvs.Add(zero);
cols.Add(col);
cols.Add(col);
cols.Add(col);
cols.Add(col);
}
private void FillBuffers(float v0x, float v1x, float v0y, float v1y, float u0x, float u1x, float u0y, float u1y, Color col, BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols)
{
Vector3 zero = Vector3.zero;
zero.x = v0x;
zero.y = v0y;
verts.Add(zero);
zero.x = v0x;
zero.y = v1y;
verts.Add(zero);
zero.x = v1x;
zero.y = v1y;
verts.Add(zero);
zero.x = v1x;
zero.y = v0y;
verts.Add(zero);
zero.x = u0x;
zero.y = u0y;
uvs.Add(zero);
zero.x = u0x;
zero.y = u1y;
uvs.Add(zero);
zero.x = u1x;
zero.y = u1y;
uvs.Add(zero);
zero.x = u1x;
zero.y = u0y;
uvs.Add(zero);
cols.Add(col);
cols.Add(col);
cols.Add(col);
cols.Add(col);
}
}
| 26.196283 | 287 | 0.626269 | [
"MIT"
] | moto2002/tianzi_src2 | src/UISprite.cs | 45,110 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SharpDX;
using SharpDX.Direct3D11;
// Resolve class name conflicts by explicitly stating
// which class they refer to:
using Buffer = SharpDX.Direct3D11.Buffer;
public class TriangleRenderer : Common.RendererBase
{
// The triangle vertex buffer
Buffer triangleVertices;
// The vertex buffer binding structure for the triangle
VertexBufferBinding triangleBinding;
// Shader texture resource
ShaderResourceView textureView;
// Control sampling behavior with this state
SamplerState samplerState;
/// <summary>
/// Create any device dependent resources here.
/// This method will be called when the device is first
/// initialized or recreated after being removed or reset.
/// </summary>
protected override void CreateDeviceDependentResources()
{
base.CreateDeviceDependentResources();
// Ensure that if already set the device resources
// are correctly disposed of before recreating
RemoveAndDispose(ref triangleVertices);
RemoveAndDispose(ref textureView);
RemoveAndDispose(ref samplerState);
// Retrieve our SharpDX.Direct3D11.Device1 instance
var device = this.DeviceManager.Direct3DDevice;
var context = this.DeviceManager.Direct3DContext;
// Load texture
textureView = ToDispose(Common.TextureLoader.ShaderResourceViewFromFile(device, "Texture2.png"));
// Create our sampler state
samplerState = ToDispose(new SamplerState(device, new SamplerStateDescription()
{
AddressU = TextureAddressMode.Wrap,
AddressV = TextureAddressMode.Wrap,
AddressW = TextureAddressMode.Wrap,
BorderColor = new Color4(0, 0, 0, 0),
ComparisonFunction = Comparison.Never,
Filter = Filter.MinMagMipLinear,
MaximumAnisotropy = 16,
MaximumLod = float.MaxValue,
MinimumLod = 0,
MipLodBias = 0.0f
}));
// Create a triangle
triangleVertices = ToDispose(Buffer.Create(device, BindFlags.VertexBuffer, new[] {
/* Vertex Position Vertex UV */
//0.0f, 0.0f, 0.5f, 1.0f, 1.0f, 1.0f, // Base-right
//-0.5f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f, // Base-left
//-0.25f, 0.5f, 0.25f, 1.0f, 0.5f, 0.0f, // Apex
0.75f, -0.75f, -0.001f, 1.0f, 1.0f, 1.0f, // Base-right
-0.75f, -0.75f, -0.001f, 1.0f, 0.0f, 1.0f, // Base-left
0.0f, 0.75f, -0.001f, 1.0f, 0.5f, 0.0f, // Apex
}));
triangleBinding = new VertexBufferBinding(triangleVertices, Utilities.SizeOf<float>() * 6, 0);
//0.5f, -1.5f, 0.0f, 1.0f, 1.0f, 1.0f, // Base-right
//-0.5f, -1.5f, 0.0f, 1.0f, 0.0f, 1.0f, // Base-left
//0.0f, -0.5f, 0.0f, 1.0f, 0.5f, 0.0f, // Apex
}
protected override void DoRender()
{
// Get the context reference
var context = this.DeviceManager.Direct3DContext;
// Render the triangle
// Set the shader resource
context.PixelShader.SetShaderResource(0, textureView);
// Set the sampler state
context.PixelShader.SetSampler(0, samplerState);
// Tell the IA we are now using triangles
context.InputAssembler.PrimitiveTopology = SharpDX.Direct3D.PrimitiveTopology.TriangleList;
// Pass in the triangle vertices
context.InputAssembler.SetVertexBuffers(0, triangleBinding);
// Draw the 3 vertices of our triangle
context.Draw(3, 0);
}
}
| 37.217822 | 105 | 0.621974 | [
"MIT"
] | AndreGuimRua/Direct3D-Rendering-Cookbook | Ch02_02AddingTexture/TriangleRenderer.cs | 3,761 | C# |
namespace Projeto.Pessoa.Model
{
public class PessoaTelefone
{
public int Id { get; set; }
public int PessoaId { get; set; }
public Pessoa Pessoa { get; set; }
public string TelefoneResidencial { get; set; }
public string TelefoneCelular { get; set; }
public string TelefoneTrabalho { get; set; }
public string Ramal { get; set; }
}
} | 21.526316 | 55 | 0.594132 | [
"MIT"
] | lucascrocha/Challenge | Projeto/Pessoa/Model/PessoaTelefone.cs | 411 | C# |
using System;
using System.Linq;
using TEABot.TEAScript.Attributes;
namespace TEABot.TEAScript.Instructions.Statements
{
/// <summary>
/// End script execution, flushing the output buffer.
/// </summary>
[TSKeyword("end")]
public class TSISEnd : TSISNoArguments
{
public override ITSControlFlow Execute(TSExecutionContext a_context)
{
// ensure storage is cleaned up and lock is released
if (a_context.Storage?.HoldsLock(a_context)??false)
{
a_context.Broadcaster.Warn("Ending script while storage ist still open.");
a_context.Storage.Close(a_context);
a_context.Storage.ReleaseLock(a_context);
}
// flush any pending output
a_context.Flush();
return TSFlow.Exit;
}
}
}
| 31.535714 | 91 | 0.592299 | [
"MIT"
] | LordPrevious/TEABot | TEABot/TEAScript/Instructions/Statements/TSISEnd.cs | 885 | C# |
/* Copyright 2010-2014 MongoDB Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Builders;
using MongoDB.Driver.Linq;
using NUnit.Framework;
namespace MongoDB.DriverUnitTests.Jira
{
[TestFixture]
public class CSharp900Tests
{
private class B
{
public ObjectId Id;
public object Value;
public List<C> SubValues;
}
private class C
{
public object Value;
public C(object val)
{
this.Value = val;
}
}
private MongoServer _server;
private MongoDatabase _database;
private MongoCollection<B> _collection;
[TestFixtureSetUp]
public void Setup()
{
_server = Configuration.TestServer;
_database = Configuration.TestDatabase;
_collection = Configuration.GetTestCollection<B>();
_collection.Drop();
_collection.CreateIndex("Value", "SubValues.Value");
//numeric
_collection.Insert(new B { Id = ObjectId.GenerateNewId(), Value = (byte)1, SubValues = new List<C>() { new C(2f), new C(3), new C(4D), new C(5UL) } });
_collection.Insert(new B { Id = ObjectId.GenerateNewId(), Value = 2f, SubValues = new List<C>() { new C(6f), new C(7), new C(8D), new C(9UL) } });
//strings
_collection.Insert(new B { Id = ObjectId.GenerateNewId(), Value = "1", SubValues = new List<C>() { new C("2"), new C("3"), new C("4"), new C("5") } });
}
[Test]
public void TestEqual()
{
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => (byte)x.Value == (byte)1).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => (float)x.Value == 1f).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => (int)x.Value == 1).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => (double)x.Value == 1D).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => (ulong)x.Value == 1UL).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => (string)x.Value == "1").Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (byte)y.Value == (byte)2)).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (float)y.Value == 2f)).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (int)y.Value == 2)).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (double)y.Value == 2D)).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (ulong)y.Value == 2UL)).Count());
Assert.AreEqual(1, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (string)y.Value == "2")).Count());
}
[Test]
public void TestNotEqual()
{
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (byte)x.Value != (byte)1).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (float)x.Value != 1f).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (int)x.Value != 1).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (double)x.Value != 1D).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (ulong)x.Value != 1UL).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (string)x.Value != "1").Count());
Assert.AreEqual(3, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (byte)y.Value != (byte)2)).Count());
Assert.AreEqual(3, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (float)y.Value != 2f)).Count());
Assert.AreEqual(3, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (int)y.Value != 2)).Count());
Assert.AreEqual(3, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (double)y.Value != 2D)).Count());
Assert.AreEqual(3, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (ulong)y.Value != 2UL)).Count());
Assert.AreEqual(3, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (string)y.Value != "2")).Count());
}
[Test]
public void TestGreaterThan()
{
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (byte)x.Value > (byte)0).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (float)x.Value > 0f).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (int)x.Value > 0).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (double)x.Value > 0D).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (ulong)x.Value > 0UL).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (byte)y.Value > (byte)1)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (float)y.Value > 1f)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (int)y.Value > 1)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (double)y.Value > 1D)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (ulong)y.Value > 1UL)).Count());
}
[Test]
public void TestGreaterThanOrEqual()
{
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (byte)x.Value >= (byte)0).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (float)x.Value >= 0f).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (int)x.Value >= 0).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (double)x.Value >= 0D).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (ulong)x.Value >= 0UL).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (byte)y.Value >= (byte)1)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (float)y.Value >= 1f)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (int)y.Value >= 1)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (double)y.Value >= 1D)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (ulong)y.Value >= 1UL)).Count());
}
[Test]
public void TestLessThan()
{
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (byte)x.Value < (byte)10).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (float)x.Value < 10f).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (int)x.Value < 10).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (double)x.Value < 10D).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (ulong)x.Value < 10UL).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (byte)y.Value < (byte)10)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (float)y.Value < 10f)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (int)y.Value < 10)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (double)y.Value < 10D)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (ulong)y.Value < 10UL)).Count());
}
[Test]
public void TestLessThanOrEqual()
{
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (byte)x.Value <= (byte)10).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (float)x.Value <= 10f).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (int)x.Value <= 10).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (double)x.Value <= 10D).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => (ulong)x.Value <= 10UL).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (byte)y.Value <= (byte)10)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (float)y.Value <= 10f)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (int)y.Value <= 10)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (double)y.Value <= 10D)).Count());
Assert.AreEqual(2, _collection.AsQueryable<B>().Where(x => x.SubValues.Any(y => (ulong)y.Value <= 10UL)).Count());
}
}
} | 59.64881 | 175 | 0.597146 | [
"Apache-2.0"
] | EvilMindz/mongo-csharp-driver | MongoDB.DriverUnitTests/Jira/CSharp900Tests.cs | 10,023 | C# |
using JetBrains.ReSharper.FeaturesTestFramework.Intentions;
using JetBrains.ReSharper.TestFramework;
using NUnit.Framework;
using ReCommendedExtension.ContextActions;
namespace ReCommendedExtension.Tests.ContextActions
{
[TestNetFramework45]
[TestFixture]
public sealed class AnnotateWithMustUseReturnValueExecuteTests : CSharpContextActionExecuteTestBase<AnnotateWithMustUseReturnValue>
{
protected override string ExtraPath => "";
protected override string RelativeTestDataPath => @"ContextActions\AnnotateWithMustUseReturnValue";
[Test]
public void TestExecuteNonPureMethod() => DoNamedTest2();
[Test]
public void TestExecutePureMethod() => DoNamedTest2();
}
} | 33.409091 | 135 | 0.767347 | [
"Apache-2.0"
] | prodot/ReCommended-Extension | Sources/ReCommendedExtension.Tests/ContextActions/AnnotateWithMustUseReturnValueExecuteTests.cs | 735 | C# |
using KDY.IP.DOC.Uc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace WpfApp_Basic
{
/// <summary>
/// Window_Popup.xaml 的交互逻辑
/// </summary>
public partial class Window_Popup : Window
{
PopupDragMoveBehavior be = new PopupDragMoveBehavior(0, 0);
public Window_Popup()
{
InitializeComponent();
}
private void btnShowPopup_Click(object sender, RoutedEventArgs e)
{
popupPatients.IsOpen = true;
}
private void PateintsListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
{
popupPatients.IsOpen = false;
}
private void Border_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
be.Attach(popupPatients);
}
private void Border_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
be.Detach();
}
}
}
| 24.66 | 93 | 0.652068 | [
"MIT"
] | shenhx/DotNetAll | Wpf/WpfApp_Basic/WpfApp_Basic/Window_Popup.xaml.cs | 1,245 | C# |
using UnityEngine;
namespace LiteNetLibManager
{
public class LiteNetLibReadOnlyAttribute : PropertyAttribute { }
}
| 17.428571 | 68 | 0.795082 | [
"MIT"
] | DungDajHjep/LiteNetLibManager | Scripts/PropertyAttributes/LiteNetLibReadOnlyAttribute.cs | 124 | C# |
using System;
namespace OPD.API
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}
| 18 | 69 | 0.59375 | [
"MIT"
] | DeividyH/OPD | OPD/OPD/OPD.API/WeatherForecast.cs | 288 | C# |
using System;
using System.Threading.Tasks;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Interactivity.Extensions;
using DSharpPlusBot.Handler.Dialogue;
namespace DSharpPlusBot.Module
{
public class Moderation : BaseCommandModule
{
private readonly DiscordShardedClient _shardedClient;
public Moderation(DiscordShardedClient shardedClient)
{
_shardedClient = shardedClient;
}
[Command("crole")]
[Description("Create a new role with no permission")]
[Aliases("createrole", "newrole")]
[Cooldown(1, 5, CooldownBucketType.User)]
public async Task CreateRole(CommandContext ctx, [RemainingText] string roleName)
{
await ctx.Guild.CreateRoleAsync($"{roleName}", Permissions.None, null, null, true);
await ctx.RespondAsync($"Role : {roleName} has been created!").ConfigureAwait(false);
}
[Command("dialogue")]
public async Task Dialogue(CommandContext ctx)
{
try
{
var inputStep = new TextStep("Enter something here!", null);
var mentionStep = new TextStep("Ha ha ha, nice try but I won't let you do that!", null, 10);
var intStep = new IntStep("Ho ho ho", null, maxValue: 100);
var userChannel = await ctx.Member.CreateDmChannelAsync().ConfigureAwait(false);
var input = string.Empty;
int testNum = 0;
inputStep.OnValidResult += (result) =>
{
input = result;
if (!result.Contains("@everyone") && (!result.Contains("@here"))) return;
inputStep.SetNextStep(mentionStep);
userChannel.SendMessageAsync("Ha ha ha, nice try but I won't let you do that!");
};
intStep.OnValidResult += (result) => testNum = result;
var inputDialogueHandler = new DialogueHandler(
_shardedClient,
userChannel,
ctx.User,
inputStep);
var succeeded = await inputDialogueHandler.ProcessDialogue().ConfigureAwait(false);
if (!succeeded)
{
return;
}
await ctx.Channel.SendMessageAsync(input).ConfigureAwait(false);
await ctx.Channel.SendMessageAsync(testNum.ToString()).ConfigureAwait(false);
}
catch (Exception e)
{
await ctx.RespondAsync("Your DM is blocked!");
}
}
}
} | 33.546512 | 108 | 0.535529 | [
"MIT"
] | Spinariaz/DSharpPlusBot | Module/Moderation.cs | 2,887 | C# |
// *****************************************************************************
//
// © Component Factory Pty Ltd, 2006 - 2016. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, PO Box 1504,
// Glen Waverley, Vic 3150, Australia and are supplied subject to licence terms.
//
// Version 5.500.0.0 www.ComponentFactory.com
// *****************************************************************************
using System;
using System.Security;
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyVersion("5.500.4.0")]
[assembly: AssemblyFileVersion("5.500.4.0")]
[assembly: AssemblyCopyright("© Component Factory Pty Ltd, 2006 - 2016. All rights reserved.")]
[assembly: AssemblyInformationalVersion("5.500.4.0")]
[assembly: AssemblyProduct("KryptonButton Examples")]
[assembly: AssemblyDefaultAlias("KryptonButtonExamples.dll")]
[assembly: AssemblyTitle("KryptonButton Examples")]
[assembly: AssemblyCompany("Component Factory")]
[assembly: AssemblyDescription("KryptonButton Examples")]
[assembly: AssemblyConfiguration("Production")]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: StringFreezing]
[assembly: ComVisible(false)]
[assembly: CLSCompliant(true)]
[assembly: AllowPartiallyTrustedCallers()]
[assembly: Dependency("System", LoadHint.Always)]
[assembly: Dependency("System.Drawing", LoadHint.Always)]
[assembly: Dependency("System.Windows.Forms", LoadHint.Always)]
[assembly: Dependency("Krypton.Toolkit", LoadHint.Always)]
| 44.459459 | 95 | 0.703951 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core | Source/Truncated Namespaces/Source/Demos/Non NuGet/Krypton Toolkit Examples/KryptonButton Examples/Properties/AssemblyInfo.cs | 1,649 | C# |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Generated code. DO NOT EDIT!
namespace Google.Ads.GoogleAds.V7.Services.Snippets
{
using Google.Ads.GoogleAds.V7.Resources;
using Google.Ads.GoogleAds.V7.Services;
public sealed partial class GeneratedBatchJobServiceClientStandaloneSnippets
{
/// <summary>Snippet for GetBatchJob</summary>
/// <remarks>
/// This snippet has been automatically generated for illustrative purposes only.
/// It may require modifications to work in your environment.
/// </remarks>
public void GetBatchJobResourceNames()
{
// Create client
BatchJobServiceClient batchJobServiceClient = BatchJobServiceClient.Create();
// Initialize request argument(s)
BatchJobName resourceName = BatchJobName.FromCustomerBatchJob("[CUSTOMER_ID]", "[BATCH_JOB_ID]");
// Make the request
BatchJob response = batchJobServiceClient.GetBatchJob(resourceName);
}
}
}
| 39.4 | 109 | 0.699873 | [
"Apache-2.0"
] | googleapis/googleapis-gen | google/ads/googleads/v7/googleads-csharp/Google.Ads.GoogleAds.V7.Services.StandaloneSnippets/BatchJobServiceClient.GetBatchJobResourceNamesSnippet.g.cs | 1,576 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZigBeeNet.Security;
using ZigBeeNet.ZCL.Clusters.Metering;
using ZigBeeNet.ZCL.Field;
using ZigBeeNet.ZCL.Protocol;
namespace ZigBeeNet.ZCL.Clusters.Metering
{
/// <summary>
/// Configure Mirror value object class.
///
/// Cluster: Metering. Command ID 0x08 is sent FROM the server.
/// This command is a specific command used for the Metering cluster.
///
/// FIXME: ConfigureMirror is sent to the mirror once the mirror has been created. The
/// command deals with the operational configuration of the Mirror.
///
/// Code is auto-generated. Modifications may be overwritten!
/// </summary>
public class ConfigureMirror : ZclCommand
{
/// <summary>
/// The cluster ID to which this command belongs.
/// </summary>
public const ushort CLUSTER_ID = 0x0702;
/// <summary>
/// The command ID.
/// </summary>
public const byte COMMAND_ID = 0x08;
/// <summary>
/// Issuer Event ID command message field.
///
/// Unique identifier generated by the device being mirrored. When new information is
/// provided that replaces older information, this field allows devices to determine
/// which information is newer. It is recommended that the value contained in this
/// field is a UTC based time stamp (UTCTime data type) identifying when the command was
/// issued. Thus, newer information will have a value in the Issuer Event ID field that
/// is larger than older information.
/// </summary>
public uint IssuerEventId { get; set; }
/// <summary>
/// Reporting Interval command message field.
///
/// An unsigned 24-bit integer to denote the interval, in seconds, at which a mirrored
/// meter intends to use the ReportAttribute command.
/// </summary>
public uint ReportingInterval { get; set; }
/// <summary>
/// Mirror Notification Reporting command message field.
///
/// A Boolean used to advise a BOMD how the Notification flags should be acquired (see
/// below).
/// When Mirror Notification Reporting is set, the MirrorReportAttributeResponse
/// command is enabled. In that case, the Metering client on the mirror endpoint shall
/// respond to the last or only ReportAttribute command with the
/// MirrorReportAttributeResponse.
/// If Mirror Notification Reporting is set to FALSE, the
/// MirrorReportAttributeResponse command shall not be enabled; the Metering
/// server may poll the Notification flags by means of a normal ReadAttribute command.
/// </summary>
public bool MirrorNotificationReporting { get; set; }
/// <summary>
/// Notification Scheme command message field.
///
/// This unsigned 8-bit integer allows for the pre-loading of the Notification Flags
/// bit mapping to ZCL or Smart Energy Standard commands.
/// </summary>
public byte NotificationScheme { get; set; }
/// <summary>
/// Default constructor.
/// </summary>
public ConfigureMirror()
{
ClusterId = CLUSTER_ID;
CommandId = COMMAND_ID;
GenericCommand = false;
CommandDirection = ZclCommandDirection.SERVER_TO_CLIENT;
}
internal override void Serialize(ZclFieldSerializer serializer)
{
serializer.Serialize(IssuerEventId, ZclDataType.Get(DataType.UNSIGNED_32_BIT_INTEGER));
serializer.Serialize(ReportingInterval, ZclDataType.Get(DataType.UNSIGNED_24_BIT_INTEGER));
serializer.Serialize(MirrorNotificationReporting, ZclDataType.Get(DataType.BOOLEAN));
serializer.Serialize(NotificationScheme, ZclDataType.Get(DataType.UNSIGNED_8_BIT_INTEGER));
}
internal override void Deserialize(ZclFieldDeserializer deserializer)
{
IssuerEventId = deserializer.Deserialize<uint>(ZclDataType.Get(DataType.UNSIGNED_32_BIT_INTEGER));
ReportingInterval = deserializer.Deserialize<uint>(ZclDataType.Get(DataType.UNSIGNED_24_BIT_INTEGER));
MirrorNotificationReporting = deserializer.Deserialize<bool>(ZclDataType.Get(DataType.BOOLEAN));
NotificationScheme = deserializer.Deserialize<byte>(ZclDataType.Get(DataType.UNSIGNED_8_BIT_INTEGER));
}
public override string ToString()
{
var builder = new StringBuilder();
builder.Append("ConfigureMirror [");
builder.Append(base.ToString());
builder.Append(", IssuerEventId=");
builder.Append(IssuerEventId);
builder.Append(", ReportingInterval=");
builder.Append(ReportingInterval);
builder.Append(", MirrorNotificationReporting=");
builder.Append(MirrorNotificationReporting);
builder.Append(", NotificationScheme=");
builder.Append(NotificationScheme);
builder.Append(']');
return builder.ToString();
}
}
}
| 41.880952 | 114 | 0.649991 | [
"EPL-1.0"
] | DavidKarlas/ZigbeeNet | libraries/ZigBeeNet/ZCL/Clusters/Metering/ConfigureMirror.cs | 5,277 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace CfgEdit
{
public class Parameter
{
public string m_name { get; private set; }
public string m_syntax { get; private set; }
public string m_description { get; private set; }
public string m_toolTipFormatted { get; private set; }
public Parameter(string name, string syntax, string description)
{
m_name = name;
m_syntax = syntax;
m_description = description;
m_toolTipFormatted = $"Syntax: {m_syntax}\n\nDescription: {m_description}";
}
}
}
| 27.652174 | 87 | 0.622642 | [
"MIT"
] | Izaki11/CFGEdit | CfgEdit/Parameter.cs | 638 | C# |
using IpcServiceSample.ServiceContracts;
using JKang.IpcServiceFramework;
using System;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace IpcServiceSample.ConsoleClient
{
class Program
{
static void Main(string[] args)
{
MainAsync(args).Wait();
}
private static async Task MainAsync(string[] args)
{
try
{
IpcServiceClient<IComputingService> computingClient = new IpcServiceClientBuilder<IComputingService>()
.UseNamedPipe("pipeName")
.Build();
IpcServiceClient<ISystemService> systemClient = new IpcServiceClientBuilder<ISystemService>()
.UseTcp(IPAddress.Loopback, 45684)
.Build();
if (!computingClient.TestConnection())
Console.WriteLine("Connection to ComputingService failed!");
// test 1: call IPC service method with primitive types
float result1 = await computingClient.InvokeAsync(x => x.AddFloat(1.23f, 4.56f));
Console.WriteLine($"[TEST 1] sum of 2 floating number is: {result1}");
// test 2: call IPC service method with complex types
ComplexNumber result2 = await computingClient.InvokeAsync(x => x.AddComplexNumber(
new ComplexNumber(0.1f, 0.3f),
new ComplexNumber(0.2f, 0.6f)));
Console.WriteLine($"[TEST 2] sum of 2 complexe number is: {result2.A}+{result2.B}i");
// test 3: call IPC service method with an array of complex types
ComplexNumber result3 = await computingClient.InvokeAsync(x => x.AddComplexNumbers(new[]
{
new ComplexNumber(0.5f, 0.4f),
new ComplexNumber(0.2f, 0.1f),
new ComplexNumber(0.3f, 0.5f),
}));
Console.WriteLine($"[TEST 3] sum of 3 complexe number is: {result3.A}+{result3.B}i");
// test 4: call IPC service method without parameter or return
await systemClient.InvokeAsync(x => x.DoNothing());
Console.WriteLine($"[TEST 4] invoked DoNothing()");
// test 5: call IPC service method with enum parameter
string text = await systemClient.InvokeAsync(x => x.ConvertText("hEllO woRd!", TextStyle.Upper));
Console.WriteLine($"[TEST 5] {text}");
// test 6: call IPC service method returning GUID
Guid generatedId = await systemClient.InvokeAsync(x => x.GenerateId());
Console.WriteLine($"[TEST 6] generated ID is: {generatedId}");
// test 7: call IPC service method with byte array
byte[] input = Encoding.UTF8.GetBytes("Test");
byte[] reversed = await systemClient.InvokeAsync(x => x.ReverseBytes(input));
Console.WriteLine($"[TEST 7] reversed bytes are: {Convert.ToBase64String(reversed)}");
}
catch (Exception ex)
{
Console.WriteLine(ex);
}
}
}
}
| 42.315789 | 118 | 0.568719 | [
"MIT"
] | seaeagle1/IpcServiceFramework | src/IpcServiceSample.ConsoleClient/Program.cs | 3,218 | C# |
using System;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Azure.Cosmos.Table;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TechSmith.Hyde.Common;
using TechSmith.Hyde.Table;
namespace TechSmith.Hyde.IntegrationTest
{
[TestClass]
public class SaveAtomicallyTest
{
private static readonly string _baseTableName = "BatchTestTable";
private AzureTableStorageProvider _tableStorageProvider;
private CloudTableClient _client;
private string _tableName;
[TestInitialize]
public void TestInitialize()
{
ICloudStorageAccount storageAccount = Configuration.GetTestStorageAccount();
_tableStorageProvider = new AzureTableStorageProvider( storageAccount );
_client = new CloudTableClient( new Uri( storageAccount.TableEndpoint ), storageAccount.Credentials );
_tableName = _baseTableName + Guid.NewGuid().ToString().Replace( "-", string.Empty );
var table = _client.GetTableReference( _tableName );
table.CreateAsync().Wait();
}
[TestCleanup]
public void TestCleanup()
{
var table = _client.GetTableReference( _tableName );
table.DeleteAsync().Wait();
}
[ClassCleanup]
public static void ClassCleanup()
{
var storageAccountProvider = Configuration.GetTestStorageAccount();
var client = new CloudTableClient( new Uri( storageAccountProvider.TableEndpoint ), storageAccountProvider.Credentials );
TableContinuationToken token = new TableContinuationToken();
do
{
var orphanedTables = client.ListTablesSegmentedAsync( _baseTableName, token ).Result;
token = orphanedTables.ContinuationToken;
foreach ( CloudTable orphanedTableName in orphanedTables.Results )
{
client.GetTableReference( orphanedTableName.Name ).DeleteIfExistsAsync().Wait();
}
}
while ( token != null );
}
[TestMethod]
[TestCategory( "Integration" )]
public async Task SaveAsync_TooManyOperationsForEGT_ThrowsInvalidOperationException()
{
string partitionKey = "123";
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = partitionKey, Name = "200" } );
await _tableStorageProvider.SaveAsync();
int expectedCount = 100;
for ( int i = 0; i < expectedCount; i++ )
{
var item = new DecoratedItem { Id = partitionKey, Name = i.ToString( CultureInfo.InvariantCulture ) };
_tableStorageProvider.Add( _tableName, item );
}
// this next insert should fail, canceling the whole transaction
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = partitionKey, Name = "200" } );
try
{
await _tableStorageProvider.SaveAsync( Execute.Atomically );
Assert.Fail( "Should have thrown exception" );
}
catch ( InvalidOperationException )
{
}
Assert.AreEqual( 1, ( await _tableStorageProvider.CreateQuery<DecoratedItem>( _tableName ).PartitionKeyEquals( partitionKey ).Async() ).Count() );
}
[TestMethod]
[TestCategory( "Integration" )]
public async Task SaveAsync_OperationsInDifferentPartitions_ThrowsInvalidOperationException()
{
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Ed" } );
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "345", Name = "Eve" } );
try
{
await _tableStorageProvider.SaveAsync( Execute.Atomically );
Assert.Fail( "Should have thrown exception" );
}
catch ( InvalidOperationException )
{
}
}
[TestMethod]
[TestCategory( "Integration" )]
public async Task SaveAsync_OperationsWithSamePartitionKeyInDifferentTables_ThrowsInvalidOperationException()
{
var newTableName = _baseTableName + Guid.NewGuid().ToString().Replace( "-", string.Empty );
await _client.GetTableReference( newTableName ).CreateAsync();
try
{
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Ed" } );
_tableStorageProvider.Add( newTableName, new DecoratedItem { Id = "123", Name = "Eve" } );
try
{
await _tableStorageProvider.SaveAsync( Execute.Atomically );
Assert.Fail( "Should have thrown exception" );
}
catch ( InvalidOperationException )
{
}
}
finally
{
await _client.GetTableReference( newTableName ).DeleteIfExistsAsync();
}
}
[TestMethod]
[TestCategory( "Integration" )]
public async Task SaveAsync_MultipleOperationTypesOnSamePartitionAndNoConflicts_OperationsSucceed()
{
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Eve", Age = 34 } );
await _tableStorageProvider.SaveAsync();
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Ed", Age = 7 } );
_tableStorageProvider.Upsert( _tableName, new DecoratedItem { Id = "123", Name = "Eve", Age = 42 } );
await _tableStorageProvider.SaveAsync( Execute.Atomically );
Assert.AreEqual( 7, ( await _tableStorageProvider.GetAsync<DecoratedItem>( _tableName, "123", "Ed" ) ).Age );
Assert.AreEqual( 42, ( await _tableStorageProvider.GetAsync<DecoratedItem>( _tableName, "123", "Eve" ) ).Age );
}
[TestMethod]
[TestCategory( "Integration" )]
public async Task SaveAsync_TableStorageReturnsBadRequest_ThrowsInvalidOperationException()
{
// Inserting the same row twice in the same EGT causes Table Storage to return 400 Bad Request.
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "abc" } );
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "abc" } );
await AsyncAssert.ThrowsAsync<InvalidOperationException>( () => _tableStorageProvider.SaveAsync( Execute.Atomically ) );
}
[TestMethod]
[TestCategory( "Integration" )]
public async Task Inserts_TwoRowsInPartitionAndOneAlreadyExists_NeitherRowInserted()
{
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Jake", Age = 34 } );
await _tableStorageProvider.SaveAsync();
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Jane" } );
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Jake", Age = 42 } );
try
{
await _tableStorageProvider.SaveAsync( Execute.Atomically );
Assert.Fail( "Should have thrown exception" );
}
catch ( EntityAlreadyExistsException )
{
}
try
{
await _tableStorageProvider.GetAsync<DecoratedItem>( _tableName, "123", "Jane" );
}
catch ( EntityDoesNotExistException )
{
}
Assert.AreEqual( 34, ( await _tableStorageProvider.GetAsync<DecoratedItem>( _tableName, "123", "Jake" ) ).Age );
}
[TestMethod]
[TestCategory( "Integration" )]
public async Task SaveAsync_InsertingTwoRowsInPartitionAndOneAlreadyExists_NeitherRowInserted()
{
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Jake", Age = 34 } );
await _tableStorageProvider.SaveAsync();
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Jane" } );
_tableStorageProvider.Add( _tableName, new DecoratedItem { Id = "123", Name = "Jake", Age = 42 } );
try
{
await _tableStorageProvider.SaveAsync( Execute.Atomically );
Assert.Fail( "Should have thrown exception" );
}
catch ( EntityAlreadyExistsException )
{
}
try
{
await _tableStorageProvider.GetAsync<DecoratedItem>( _tableName, "123", "Jane" );
}
catch ( EntityDoesNotExistException )
{
}
Assert.AreEqual( 34, ( await _tableStorageProvider.GetAsync<DecoratedItem>( _tableName, "123", "Jake" ) ).Age );
}
}
}
| 38.547511 | 155 | 0.634112 | [
"BSD-3-Clause"
] | TechSmith/hyde | src/Hyde.IntegrationTest/SaveAtomicallyTest.cs | 8,521 | C# |
using System.Xml;
using System.Xml.Linq;
namespace Xbrl.Discovery.Entities.xsi
{
public class Type : xml.Attribute
{
public Type(xml.Element parent, XAttribute xAttribute) : base(parent, xAttribute)
{ }
public Type(xml.Element parent, XmlAttribute xmlAttribute) : this(parent, new XAttribute(XName.Get(xmlAttribute.LocalName, xmlAttribute.NamespaceURI), xmlAttribute.Value))
{ }
}
} | 32.923077 | 179 | 0.703271 | [
"MIT"
] | OpenSBR/RGS.Taxonomy.Reader | Xbrl Discovery/Entities/xsi/Type.cs | 430 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace opdemo
{
public class CameraController : MonoBehaviour
{
// Singleton
private static CameraController instance;
//public float speed = 1f;
//[SerializeField] KeyCode ForwardKey = KeyCode.W;
//[SerializeField] KeyCode BackwardKey = KeyCode.S;
//[SerializeField] KeyCode LeftKey = KeyCode.A;
//[SerializeField] KeyCode RightKey = KeyCode.D;
[SerializeField] Transform CameraCenter;
[SerializeField] Transform CameraJoint;
[SerializeField] Transform MyCamera;
public Transform HumanCenter;
// Camera control
public float ControlDistanceSpeed = 1.1f;
public float ControlRotateSpeed = 240f;
public float MinDistance = 0.6f;
public Vector2 ControlRotateLimit = new Vector2(0f, 60f);
public float FollowRotatingCoeff = 0.5f;
public float FollowTranslatingCoeff = 0.3f;
public float FollowRotatingThres = 1f;
public float FollowTranslatingThres = 0.01f;
//public float RotatingStiff = 0.5f;
//public float TranslatingStiff = 0.5f;
private float DefaultDistance;
private Quaternion DefaultCenterRotation;
private float InitDistance;
//private Vector3 InitPos;
//private Quaternion InitRotation;
private Vector3 GoalWatch;
private Vector3 GoalPos;
public static Transform FocusCenter { set { instance.HumanCenter = value; } get { return instance.HumanCenter; } }
public static Vector3 CameraJointPosition { set { instance.CameraJoint.position = value; } get { return instance.CameraJoint.position; } }
private void Awake()
{
instance = this;
}
private void Start()
{
DefaultDistance = Vector3.Dot(GoalPos - MyCamera.position, MyCamera.forward);
DefaultCenterRotation = CameraCenter.localRotation;
InitDistance = DefaultDistance;
//InitPos = MyCamera.position;
//InitRotation = MyCamera.rotation;
}
public void SetToDefault()
{
InitDistance = DefaultDistance;
CameraCenter.localRotation = DefaultCenterRotation;
}
private void SetGoalUpdate()
{
GoalWatch = HumanCenter.position;
GoalPos = HumanCenter.position;
}
private void MoveToGoalUpdate()
{
// Rotation
float angleDiff;
Vector3 axisRotate;
Quaternion.FromToRotation(CameraJoint.forward, GoalWatch - CameraJoint.position).ToAngleAxis(out angleDiff, out axisRotate);
if (angleDiff > FollowRotatingThres)
{
float deltaAngle = FollowRotatingCoeff * Mathf.Sqrt(angleDiff) * Time.deltaTime; // index 1/2
//float deltaAngle = FollowRotatingCoeff * angleDiff * Mathf.Abs(angleDiff) * Time.deltaTime; // index 2
CameraJoint.Rotate(axisRotate, deltaAngle, Space.World);
}
CameraJoint.localRotation = Quaternion.Euler(CameraJoint.localRotation.eulerAngles - CameraJoint.localRotation.eulerAngles.z * Vector3.forward); // filter out z rotation
// Translation
float distanceDiff = Vector3.Dot(GoalPos - MyCamera.position, MyCamera.forward) - InitDistance;
if (Mathf.Abs(distanceDiff) > FollowTranslatingThres)
{
float deltaMove = FollowTranslatingCoeff * Mathf.Sign(distanceDiff) * Mathf.Sqrt(Mathf.Abs(distanceDiff)) * Time.deltaTime; // index 1/2
//float deltaMove = FollowTranslatingCoeff * distanceDiff * Time.deltaTime; // index 1
//float deltaMove = FollowTranslatingCoeff * distanceDiff * Mathf.Abs(distanceDiff) * Time.deltaTime; // index 2
MyCamera.localPosition += new Vector3(0, 0, deltaMove);
}
if (MyCamera.localPosition.z < 0f) MyCamera.localPosition = new Vector3(0f, 0f, 0f);
}
/*private void KeyboardControlUpdate()
{
Vector3 move = new Vector3();
if (Input.GetKey(ForwardKey)) move += Time.deltaTime * speed * Vector3.back;
if (Input.GetKey(BackwardKey)) move += Time.deltaTime * speed * Vector3.forward;
if (Input.GetKey(LeftKey)) move += Time.deltaTime * speed * Vector3.right;
if (Input.GetKey(RightKey)) move += Time.deltaTime * speed * Vector3.left;
CameraJoint.Translate(move, Space.World);
}*/
private void MouseControlUpdate()
{
// Mouse input
Vector2 deltaScreenPos = new Vector2();
float deltaScroll = Input.GetAxis("Mouse ScrollWheel");
if (Input.GetMouseButton(0) || Input.GetMouseButton(1) || Input.GetMouseButton(2))
{
deltaScreenPos = new Vector2(Input.GetAxis("Mouse X"), Input.GetAxis("Mouse Y"));
}
// Control camera
Vector3 euler = CameraCenter.localRotation.eulerAngles + new Vector3(-deltaScreenPos.y, deltaScreenPos.x, 0f) * ControlRotateSpeed * Time.deltaTime;
euler.x = (euler.x + 180f) % 360f - 180f; // -180 -- +180
if (euler.x < ControlRotateLimit.x) euler.x = ControlRotateLimit.x;
else if (euler.x > ControlRotateLimit.y) euler.x = ControlRotateLimit.y;
CameraCenter.localRotation = Quaternion.Euler(euler);
if (deltaScroll > 0) InitDistance /= ControlDistanceSpeed;
else if (deltaScroll < 0) InitDistance *= ControlDistanceSpeed;
if (InitDistance < MinDistance) InitDistance *= ControlDistanceSpeed;
if (InitDistance * InitDistance > (CameraJoint.position - HumanCenter.position).sqrMagnitude) InitDistance /= ControlDistanceSpeed;
}
void Update()
{
MouseControlUpdate();
SetGoalUpdate();
MoveToGoalUpdate();
}
}
}
| 43.156028 | 181 | 0.626787 | [
"MIT"
] | hansanjie/OpenPoseUnityDemo | unitydemo/Assets/Scripts/CameraController.cs | 6,087 | C# |
using MarsRoverApp;
using MarsRoverApp.Entities;
using MarsRoverApp.Interfaces;
using Xunit;
namespace MarsRoverAppTest
{
public class MarsRoverTest
{
[Fact]
public void DeployRoversTest()
{
ILandingSurface landingSurface = new Plateau("5 5");
RoverSquad roverSquad = new RoverSquad(landingSurface);
roverSquad.DeployNewRover("1 2 N", "LMLMLMLMM");
roverSquad.DeployNewRover("3 3 E", "MMRMMRMRRM");
int noRovers = 2;
int roverOneIdx = 0;
int roverTwoIdx = 1;
Assert.True(roverSquad.Count == noRovers);
IRover roverOne = roverSquad[roverOneIdx];
IRover roverTwo = roverSquad[roverTwoIdx];
Assert.NotNull(roverOne);
Assert.NotNull(roverTwo);
}
[Fact]
public void DeployRoversAndTestCoordinates()
{
ILandingSurface landingSurface = new Plateau("5 5");
RoverSquad roverSquad = new RoverSquad(landingSurface);
roverSquad.DeployNewRover("1 2 N", "LMLMLMLMM");
roverSquad.DeployNewRover("3 3 E", "MMRMMRMRRM");
int roverOneIdx = 0;
int roverTwoIdx = 1;
IRover roverOne = roverSquad[roverOneIdx];
IRover roverTwo = roverSquad[roverTwoIdx];
Assert.True(roverOne.XCoordinate == 1, "RoverOne: X != 1");
Assert.True(roverOne.YCoordinate == 3, "RoverOne: Y != 3");
Assert.True(roverOne.DirectionFacing == "N", "RoverOne: Direction != North");
Assert.True(roverTwo.XCoordinate == 5, "RoverTwo: X != 5");
Assert.True(roverTwo.YCoordinate == 1, "RoverTwo: Y != 1");
Assert.True(roverTwo.DirectionFacing == "E", "RoverTwo: Direction != East");
}
}
}
| 31.637931 | 89 | 0.589646 | [
"MIT"
] | Balajilande/rover | MarsRoverAppTest/MarsRoverTest.cs | 1,837 | C# |
using System;
using System.Collections.Generic;
using DofusRE.IO;
using DofusRE.GameData.classes;
namespace DofusRE.GameData.classes
{
public class Quest : GameDataClass
{
public const String MODULE = "Quests";
public uint id;
public uint nameId;
public List<uint> stepIds;
public uint categoryId;
public uint repeatType;
public uint repeatLimit;
public Boolean isDungeonQuest;
public uint levelMin;
public uint levelMax;
public Boolean isPartyQuest;
public String startCriterion;
public Boolean followable;
}
} | 24.230769 | 46 | 0.661905 | [
"Apache-2.0"
] | Hydrofluoric0/DofusRE | src/DofusRE/GameData/classes/quest/Quest.cs | 630 | C# |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
public class UITab : MonoBehaviour
{
public bool isActive;
public Sprite activeSprite;
public Sprite inactiveSprite;
public Text tabText;
private Button tabButton;
void Start()
{
tabButton = GetComponent<Button>();
}
void Update()
{
}
}
| 14.892857 | 43 | 0.676259 | [
"MIT"
] | henry9836/Pier-Shaped-Plan | Assets/Scripts/UI/UITab.cs | 419 | C# |
using System;
using System.Threading.Tasks;
using Jasper.Testing.Messaging;
using Jasper.Tracking;
using Shouldly;
using Xunit;
namespace Jasper.Testing.Tracking
{
public class TrackedSessionTester
{
private readonly Envelope theEnvelope = ObjectMother.Envelope();
private readonly TrackedSession theSession = new TrackedSession(null)
{
};
[Fact]
public async Task throw_if_any_exceptions_happy_path()
{
theSession.Record(EventType.Sent, theEnvelope, "", 1);
await theSession.Track();
theSession.AssertNoExceptionsWereThrown();
}
[Fact]
public async Task throw_if_any_exceptions_sad_path()
{
theSession.Record(EventType.ExecutionStarted, theEnvelope, "", 1);
theSession.Record(EventType.ExecutionFinished, theEnvelope, "", 1, ex: new DivideByZeroException());
await theSession.Track();
Should.Throw<AggregateException>(() => theSession.AssertNoExceptionsWereThrown());
}
[Fact]
public async Task throw_if_any_exceptions_and_completed_happy_path()
{
theSession.Record(EventType.ExecutionStarted, theEnvelope, "", 1);
theSession.Record(EventType.ExecutionFinished, theEnvelope, "", 1);
await theSession.Track();
theSession.AssertNoExceptionsWereThrown();
theSession.AssertNotTimedOut();
}
[Fact]
public async Task throw_if_any_exceptions_and_completed_sad_path_with_exceptions()
{
theSession.Record(EventType.ExecutionStarted, theEnvelope, "", 1);
theSession.Record(EventType.ExecutionFinished, theEnvelope, "", 1, ex: new DivideByZeroException());
await theSession.Track();
Should.Throw<AggregateException>(() =>
{
theSession.AssertNoExceptionsWereThrown();
theSession.AssertNotTimedOut();
});
}
[Fact]
public async Task throw_if_any_exceptions_and_completed_sad_path_with_never_completed()
{
theSession.Record(EventType.ExecutionStarted, theEnvelope, "", 1);
await theSession.Track();
Should.Throw<TimeoutException>(() =>
{
theSession.AssertNoExceptionsWereThrown();
theSession.AssertNotTimedOut();
});
}
}
}
| 32.434211 | 112 | 0.625152 | [
"MIT"
] | CodingGorilla/jasper | src/Jasper.Testing/Tracking/TrackedSessionTester.cs | 2,465 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;
using Azure.ResourceManager.Core;
using Azure.ResourceManager.Network.Models;
namespace Azure.ResourceManager.Network
{
/// <summary> A Class representing a VpnGatewayNatRule along with the instance operations that can be performed on it. </summary>
public partial class VpnGatewayNatRule : ArmResource
{
/// <summary> Generate the resource identifier of a <see cref="VpnGatewayNatRule"/> instance. </summary>
public static ResourceIdentifier CreateResourceIdentifier(string subscriptionId, string resourceGroupName, string gatewayName, string natRuleName)
{
var resourceId = $"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}";
return new ResourceIdentifier(resourceId);
}
private readonly ClientDiagnostics _clientDiagnostics;
private readonly NatRulesRestOperations _natRulesRestClient;
private readonly VpnGatewayNatRuleData _data;
/// <summary> Initializes a new instance of the <see cref="VpnGatewayNatRule"/> class for mocking. </summary>
protected VpnGatewayNatRule()
{
}
/// <summary> Initializes a new instance of the <see cref = "VpnGatewayNatRule"/> class. </summary>
/// <param name="options"> The client parameters to use in these operations. </param>
/// <param name="data"> The resource that is the target of operations. </param>
internal VpnGatewayNatRule(ArmResource options, VpnGatewayNatRuleData data) : base(options, new ResourceIdentifier(data.Id))
{
HasData = true;
_data = data;
_clientDiagnostics = new ClientDiagnostics(ClientOptions);
_natRulesRestClient = new NatRulesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
#if DEBUG
ValidateResourceId(Id);
#endif
}
/// <summary> Initializes a new instance of the <see cref="VpnGatewayNatRule"/> class. </summary>
/// <param name="options"> The client parameters to use in these operations. </param>
/// <param name="id"> The identifier of the resource that is the target of operations. </param>
internal VpnGatewayNatRule(ArmResource options, ResourceIdentifier id) : base(options, id)
{
_clientDiagnostics = new ClientDiagnostics(ClientOptions);
_natRulesRestClient = new NatRulesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
#if DEBUG
ValidateResourceId(Id);
#endif
}
/// <summary> Initializes a new instance of the <see cref="VpnGatewayNatRule"/> class. </summary>
/// <param name="clientOptions"> The client options to build client context. </param>
/// <param name="credential"> The credential to build client context. </param>
/// <param name="uri"> The uri to build client context. </param>
/// <param name="pipeline"> The pipeline to build client context. </param>
/// <param name="id"> The identifier of the resource that is the target of operations. </param>
internal VpnGatewayNatRule(ArmClientOptions clientOptions, TokenCredential credential, Uri uri, HttpPipeline pipeline, ResourceIdentifier id) : base(clientOptions, credential, uri, pipeline, id)
{
_clientDiagnostics = new ClientDiagnostics(ClientOptions);
_natRulesRestClient = new NatRulesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
#if DEBUG
ValidateResourceId(Id);
#endif
}
/// <summary> Gets the resource type for the operations. </summary>
public static readonly ResourceType ResourceType = "Microsoft.Network/vpnGateways/natRules";
/// <summary> Gets whether or not the current instance has data. </summary>
public virtual bool HasData { get; }
/// <summary> Gets the data representing this Feature. </summary>
/// <exception cref="InvalidOperationException"> Throws if there is no data loaded in the current instance. </exception>
public virtual VpnGatewayNatRuleData Data
{
get
{
if (!HasData)
throw new InvalidOperationException("The current instance does not have data, you must call Get first.");
return _data;
}
}
internal static void ValidateResourceId(ResourceIdentifier id)
{
if (id.ResourceType != ResourceType)
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Invalid resource type {0} expected {1}", id.ResourceType, ResourceType), nameof(id));
}
/// <summary> Retrieves the details of a nat ruleGet. </summary>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public async virtual Task<Response<VpnGatewayNatRule>> GetAsync(CancellationToken cancellationToken = default)
{
using var scope = _clientDiagnostics.CreateScope("VpnGatewayNatRule.Get");
scope.Start();
try
{
var response = await _natRulesRestClient.GetAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false);
if (response.Value == null)
throw await _clientDiagnostics.CreateRequestFailedExceptionAsync(response.GetRawResponse()).ConfigureAwait(false);
return Response.FromValue(new VpnGatewayNatRule(this, response.Value), response.GetRawResponse());
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
/// <summary> Retrieves the details of a nat ruleGet. </summary>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public virtual Response<VpnGatewayNatRule> Get(CancellationToken cancellationToken = default)
{
using var scope = _clientDiagnostics.CreateScope("VpnGatewayNatRule.Get");
scope.Start();
try
{
var response = _natRulesRestClient.Get(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken);
if (response.Value == null)
throw _clientDiagnostics.CreateRequestFailedException(response.GetRawResponse());
return Response.FromValue(new VpnGatewayNatRule(this, response.Value), response.GetRawResponse());
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
/// <summary> Lists all available geo-locations. </summary>
/// <param name="cancellationToken"> A token to allow the caller to cancel the call to the service. The default value is <see cref="CancellationToken.None" />. </param>
/// <returns> A collection of locations that may take multiple service requests to iterate over. </returns>
public async virtual Task<IEnumerable<AzureLocation>> GetAvailableLocationsAsync(CancellationToken cancellationToken = default)
{
using var scope = _clientDiagnostics.CreateScope("VpnGatewayNatRule.GetAvailableLocations");
scope.Start();
try
{
return await ListAvailableLocationsAsync(ResourceType, cancellationToken).ConfigureAwait(false);
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
/// <summary> Lists all available geo-locations. </summary>
/// <param name="cancellationToken"> A token to allow the caller to cancel the call to the service. The default value is <see cref="CancellationToken.None" />. </param>
/// <returns> A collection of locations that may take multiple service requests to iterate over. </returns>
public virtual IEnumerable<AzureLocation> GetAvailableLocations(CancellationToken cancellationToken = default)
{
using var scope = _clientDiagnostics.CreateScope("VpnGatewayNatRule.GetAvailableLocations");
scope.Start();
try
{
return ListAvailableLocations(ResourceType, cancellationToken);
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
/// <summary> Deletes a nat rule. </summary>
/// <param name="waitForCompletion"> Waits for the completion of the long running operations. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public async virtual Task<NatRuleDeleteOperation> DeleteAsync(bool waitForCompletion, CancellationToken cancellationToken = default)
{
using var scope = _clientDiagnostics.CreateScope("VpnGatewayNatRule.Delete");
scope.Start();
try
{
var response = await _natRulesRestClient.DeleteAsync(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken).ConfigureAwait(false);
var operation = new NatRuleDeleteOperation(_clientDiagnostics, Pipeline, _natRulesRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response);
if (waitForCompletion)
await operation.WaitForCompletionResponseAsync(cancellationToken).ConfigureAwait(false);
return operation;
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
/// <summary> Deletes a nat rule. </summary>
/// <param name="waitForCompletion"> Waits for the completion of the long running operations. </param>
/// <param name="cancellationToken"> The cancellation token to use. </param>
public virtual NatRuleDeleteOperation Delete(bool waitForCompletion, CancellationToken cancellationToken = default)
{
using var scope = _clientDiagnostics.CreateScope("VpnGatewayNatRule.Delete");
scope.Start();
try
{
var response = _natRulesRestClient.Delete(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name, cancellationToken);
var operation = new NatRuleDeleteOperation(_clientDiagnostics, Pipeline, _natRulesRestClient.CreateDeleteRequest(Id.SubscriptionId, Id.ResourceGroupName, Id.Parent.Name, Id.Name).Request, response);
if (waitForCompletion)
operation.WaitForCompletion(cancellationToken);
return operation;
}
catch (Exception e)
{
scope.Failed(e);
throw;
}
}
}
}
| 50.00885 | 214 | 0.651212 | [
"MIT"
] | AhmedLeithy/azure-sdk-for-net | sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayNatRule.cs | 11,302 | C# |
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK.Graphics;
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Framework.IO.Stores;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Direct
{
public class PlayButton : Container
{
public readonly Bindable<bool> Playing = new Bindable<bool>();
public Track Preview { get; private set; }
private BeatmapSetInfo beatmapSet;
public BeatmapSetInfo BeatmapSet
{
get { return beatmapSet; }
set
{
if (value == beatmapSet) return;
beatmapSet = value;
Playing.Value = false;
trackLoader = null;
Preview = null;
}
}
private Color4 hoverColour;
private readonly SpriteIcon icon;
private readonly LoadingAnimation loadingAnimation;
private readonly BindableDouble muteBindable = new BindableDouble();
private const float transition_duration = 500;
private bool loading
{
set
{
if (value)
{
loadingAnimation.Show();
icon.FadeOut(transition_duration * 5, Easing.OutQuint);
}
else
{
loadingAnimation.Hide();
icon.FadeIn(transition_duration, Easing.OutQuint);
}
}
}
public PlayButton(BeatmapSetInfo setInfo = null)
{
BeatmapSet = setInfo;
AddRange(new Drawable[]
{
icon = new SpriteIcon
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
FillMode = FillMode.Fit,
RelativeSizeAxes = Axes.Both,
Icon = FontAwesome.fa_play,
},
loadingAnimation = new LoadingAnimation(),
});
Playing.ValueChanged += updatePreviewTrack;
}
[BackgroundDependencyLoader]
private void load(OsuColour colour, AudioManager audio)
{
hoverColour = colour.Yellow;
this.audio = audio;
}
protected override bool OnClick(InputState state)
{
Playing.Value = !Playing.Value;
return true;
}
protected override bool OnHover(InputState state)
{
icon.FadeColour(hoverColour, 120, Easing.InOutQuint);
return base.OnHover(state);
}
protected override void OnHoverLost(InputState state)
{
if (!Playing.Value)
icon.FadeColour(Color4.White, 120, Easing.InOutQuint);
base.OnHoverLost(state);
}
protected override void Update()
{
base.Update();
if (Preview?.HasCompleted ?? false)
{
Playing.Value = false;
Preview = null;
}
}
private void updatePreviewTrack(bool playing)
{
if (playing && BeatmapSet == null)
{
Playing.Value = false;
return;
}
icon.Icon = playing ? FontAwesome.fa_pause : FontAwesome.fa_play;
icon.FadeColour(playing || IsHovered ? hoverColour : Color4.White, 120, Easing.InOutQuint);
if (playing)
{
if (Preview == null)
{
beginAudioLoad();
return;
}
Preview.Restart();
audio.Track.AddAdjustment(AdjustableProperty.Volume, muteBindable);
}
else
{
audio.Track.RemoveAdjustment(AdjustableProperty.Volume, muteBindable);
Preview?.Stop();
loading = false;
}
}
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
Playing.Value = false;
}
private TrackLoader trackLoader;
private AudioManager audio;
private void beginAudioLoad()
{
if (trackLoader != null)
{
Preview = trackLoader.Preview;
Playing.TriggerChange();
return;
}
loading = true;
LoadComponentAsync(trackLoader = new TrackLoader($"https://b.ppy.sh/preview/{BeatmapSet.OnlineBeatmapSetID}.mp3"),
d =>
{
// We may have been replaced by another loader
if (trackLoader != d) return;
Preview = d?.Preview;
updatePreviewTrack(Playing);
loading = false;
Add(trackLoader);
});
}
private class TrackLoader : Drawable
{
private readonly string preview;
public Track Preview;
private TrackManager trackManager;
public TrackLoader(string preview)
{
this.preview = preview;
}
[BackgroundDependencyLoader]
private void load(AudioManager audio, FrameworkConfigManager config)
{
// create a local trackManager to bypass the mute we are applying above.
audio.AddItem(trackManager = new TrackManager(new OnlineStore()));
// add back the user's music volume setting (since we are no longer in the global TrackManager's hierarchy).
config.BindWith(FrameworkSetting.VolumeMusic, trackManager.Volume);
Preview = trackManager.Get(preview);
}
protected override void Dispose(bool isDisposing)
{
base.Dispose(isDisposing);
trackManager?.Dispose();
}
}
}
}
| 30.109589 | 127 | 0.505156 | [
"MIT"
] | EvanD7657/WIP-Clicking-Game | osu.Game/Overlays/Direct/PlayButton.cs | 6,378 | C# |
using Xunit;
namespace NetScriptTest.language.expressions
{
public sealed class Test_Class : BaseTest
{
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-computed-err-evaluation.js")]
public void Test_accessor﹏name﹏inst﹏computed﹏err﹏evaluation_js()
{
RunTest("language/expressions/class/accessor-name-inst-computed-err-evaluation.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-computed-err-to-prop-key.js")]
public void Test_accessor﹏name﹏inst﹏computed﹏err﹏to﹏prop﹏key_js()
{
RunTest("language/expressions/class/accessor-name-inst-computed-err-to-prop-key.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-computed-err-unresolvable.js")]
public void Test_accessor﹏name﹏inst﹏computed﹏err﹏unresolvable_js()
{
RunTest("language/expressions/class/accessor-name-inst-computed-err-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-computed-in.js")]
public void Test_accessor﹏name﹏inst﹏computed﹏in_js()
{
RunTest("language/expressions/class/accessor-name-inst-computed-in.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-computed-yield-expr.js")]
public void Test_accessor﹏name﹏inst﹏computed﹏yield﹏expr_js()
{
RunTest("language/expressions/class/accessor-name-inst-computed-yield-expr.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-computed.js")]
public void Test_accessor﹏name﹏inst﹏computed_js()
{
RunTest("language/expressions/class/accessor-name-inst-computed.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-numeric-binary.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏numeric﹏binary_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-numeric-binary.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-numeric-exponent.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏numeric﹏exponent_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-numeric-exponent.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-numeric-hex.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏numeric﹏hex_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-numeric-hex.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-numeric-leading-decimal.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏numeric﹏leading﹏decimal_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-numeric-leading-decimal.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-numeric-non-canonical.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏numeric﹏non﹏canonical_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-numeric-non-canonical.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-numeric-octal.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏numeric﹏octal_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-numeric-octal.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-numeric-zero.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏numeric﹏zero_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-numeric-zero.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-string-char-escape.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏string﹏char﹏escape_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-string-char-escape.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-string-double-quote.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏string﹏double﹏quote_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-string-double-quote.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-string-empty.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏string﹏empty_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-string-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-string-hex-escape.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏string﹏hex﹏escape_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-string-hex-escape.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-string-line-continuation.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏string﹏line﹏continuation_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-string-line-continuation.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-string-single-quote.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏string﹏single﹏quote_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-string-single-quote.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-inst-literal-string-unicode-escape.js")]
public void Test_accessor﹏name﹏inst﹏literal﹏string﹏unicode﹏escape_js()
{
RunTest("language/expressions/class/accessor-name-inst-literal-string-unicode-escape.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-computed-err-evaluation.js")]
public void Test_accessor﹏name﹏static﹏computed﹏err﹏evaluation_js()
{
RunTest("language/expressions/class/accessor-name-static-computed-err-evaluation.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-computed-err-to-prop-key.js")]
public void Test_accessor﹏name﹏static﹏computed﹏err﹏to﹏prop﹏key_js()
{
RunTest("language/expressions/class/accessor-name-static-computed-err-to-prop-key.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-computed-err-unresolvable.js")]
public void Test_accessor﹏name﹏static﹏computed﹏err﹏unresolvable_js()
{
RunTest("language/expressions/class/accessor-name-static-computed-err-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-computed-in.js")]
public void Test_accessor﹏name﹏static﹏computed﹏in_js()
{
RunTest("language/expressions/class/accessor-name-static-computed-in.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-computed-yield-expr.js")]
public void Test_accessor﹏name﹏static﹏computed﹏yield﹏expr_js()
{
RunTest("language/expressions/class/accessor-name-static-computed-yield-expr.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-computed.js")]
public void Test_accessor﹏name﹏static﹏computed_js()
{
RunTest("language/expressions/class/accessor-name-static-computed.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-numeric-binary.js")]
public void Test_accessor﹏name﹏static﹏literal﹏numeric﹏binary_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-numeric-binary.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-numeric-exponent.js")]
public void Test_accessor﹏name﹏static﹏literal﹏numeric﹏exponent_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-numeric-exponent.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-numeric-hex.js")]
public void Test_accessor﹏name﹏static﹏literal﹏numeric﹏hex_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-numeric-hex.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-numeric-leading-decimal.js")]
public void Test_accessor﹏name﹏static﹏literal﹏numeric﹏leading﹏decimal_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-numeric-leading-decimal.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-numeric-non-canonical.js")]
public void Test_accessor﹏name﹏static﹏literal﹏numeric﹏non﹏canonical_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-numeric-non-canonical.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-numeric-octal.js")]
public void Test_accessor﹏name﹏static﹏literal﹏numeric﹏octal_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-numeric-octal.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-numeric-zero.js")]
public void Test_accessor﹏name﹏static﹏literal﹏numeric﹏zero_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-numeric-zero.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-string-char-escape.js")]
public void Test_accessor﹏name﹏static﹏literal﹏string﹏char﹏escape_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-string-char-escape.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-string-double-quote.js")]
public void Test_accessor﹏name﹏static﹏literal﹏string﹏double﹏quote_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-string-double-quote.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-string-empty.js")]
public void Test_accessor﹏name﹏static﹏literal﹏string﹏empty_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-string-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-string-hex-escape.js")]
public void Test_accessor﹏name﹏static﹏literal﹏string﹏hex﹏escape_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-string-hex-escape.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-string-line-continuation.js")]
public void Test_accessor﹏name﹏static﹏literal﹏string﹏line﹏continuation_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-string-line-continuation.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-string-single-quote.js")]
public void Test_accessor﹏name﹏static﹏literal﹏string﹏single﹏quote_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-string-single-quote.js");
}
[Fact(DisplayName = "/language/expressions/class/accessor-name-static-literal-string-unicode-escape.js")]
public void Test_accessor﹏name﹏static﹏literal﹏string﹏unicode﹏escape_js()
{
RunTest("language/expressions/class/accessor-name-static-literal-string-unicode-escape.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-args-trailing-comma-multiple.js")]
public void Test_async﹏gen﹏meth﹏args﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/async-gen-meth-args-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-args-trailing-comma-null.js")]
public void Test_async﹏gen﹏meth﹏args﹏trailing﹏comma﹏null_js()
{
RunTest("language/expressions/class/async-gen-meth-args-trailing-comma-null.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-args-trailing-comma-single-args.js")]
public void Test_async﹏gen﹏meth﹏args﹏trailing﹏comma﹏single﹏args_js()
{
RunTest("language/expressions/class/async-gen-meth-args-trailing-comma-single-args.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-args-trailing-comma-undefined.js")]
public void Test_async﹏gen﹏meth﹏args﹏trailing﹏comma﹏undefined_js()
{
RunTest("language/expressions/class/async-gen-meth-args-trailing-comma-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-abrupt.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-arg-val-not-undefined.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏arg﹏val﹏not﹏undefined_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-arg-val-not-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-arg-val-undefined.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏arg﹏val﹏undefined_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-arg-val-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-duplicates.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏duplicates_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-duplicates.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-ref-later.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏ref﹏later_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-ref-later.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-ref-prior.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏ref﹏prior_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-ref-prior.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-ref-self.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏ref﹏self_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-ref-self.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-rest.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏rest_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-dflt-params-trailing-comma.js")]
public void Test_async﹏gen﹏meth﹏dflt﹏params﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/async-gen-meth-dflt-params-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-params-trailing-comma-multiple.js")]
public void Test_async﹏gen﹏meth﹏params﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/async-gen-meth-params-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-params-trailing-comma-single.js")]
public void Test_async﹏gen﹏meth﹏params﹏trailing﹏comma﹏single_js()
{
RunTest("language/expressions/class/async-gen-meth-params-trailing-comma-single.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-rest-params-trailing-comma-early-error.js")]
public void Test_async﹏gen﹏meth﹏rest﹏params﹏trailing﹏comma﹏early﹏error_js()
{
RunTest("language/expressions/class/async-gen-meth-rest-params-trailing-comma-early-error.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-args-trailing-comma-multiple.js")]
public void Test_async﹏gen﹏meth﹏static﹏args﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/async-gen-meth-static-args-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-args-trailing-comma-null.js")]
public void Test_async﹏gen﹏meth﹏static﹏args﹏trailing﹏comma﹏null_js()
{
RunTest("language/expressions/class/async-gen-meth-static-args-trailing-comma-null.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-args-trailing-comma-single-args.js")]
public void Test_async﹏gen﹏meth﹏static﹏args﹏trailing﹏comma﹏single﹏args_js()
{
RunTest("language/expressions/class/async-gen-meth-static-args-trailing-comma-single-args.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-args-trailing-comma-undefined.js")]
public void Test_async﹏gen﹏meth﹏static﹏args﹏trailing﹏comma﹏undefined_js()
{
RunTest("language/expressions/class/async-gen-meth-static-args-trailing-comma-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-abrupt.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-arg-val-not-undefined.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏arg﹏val﹏not﹏undefined_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-arg-val-not-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-arg-val-undefined.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏arg﹏val﹏undefined_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-arg-val-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-duplicates.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏duplicates_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-duplicates.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-ref-later.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏ref﹏later_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-ref-later.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-ref-prior.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏ref﹏prior_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-ref-prior.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-ref-self.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏ref﹏self_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-ref-self.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-rest.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏rest_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-dflt-params-trailing-comma.js")]
public void Test_async﹏gen﹏meth﹏static﹏dflt﹏params﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/async-gen-meth-static-dflt-params-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-params-trailing-comma-multiple.js")]
public void Test_async﹏gen﹏meth﹏static﹏params﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/async-gen-meth-static-params-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-params-trailing-comma-single.js")]
public void Test_async﹏gen﹏meth﹏static﹏params﹏trailing﹏comma﹏single_js()
{
RunTest("language/expressions/class/async-gen-meth-static-params-trailing-comma-single.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-meth-static-rest-params-trailing-comma-early-error.js")]
public void Test_async﹏gen﹏meth﹏static﹏rest﹏params﹏trailing﹏comma﹏early﹏error_js()
{
RunTest("language/expressions/class/async-gen-meth-static-rest-params-trailing-comma-early-error.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-await-as-binding-identifier-escaped.js")]
public void Test_async﹏gen﹏method﹏await﹏as﹏binding﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-await-as-binding-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-await-as-binding-identifier.js")]
public void Test_async﹏gen﹏method﹏await﹏as﹏binding﹏identifier_js()
{
RunTest("language/expressions/class/async-gen-method-await-as-binding-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-await-as-identifier-reference-escaped.js")]
public void Test_async﹏gen﹏method﹏await﹏as﹏identifier﹏reference﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-await-as-identifier-reference-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-await-as-identifier-reference.js")]
public void Test_async﹏gen﹏method﹏await﹏as﹏identifier﹏reference_js()
{
RunTest("language/expressions/class/async-gen-method-await-as-identifier-reference.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-await-as-label-identifier-escaped.js")]
public void Test_async﹏gen﹏method﹏await﹏as﹏label﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-await-as-label-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-await-as-label-identifier.js")]
public void Test_async﹏gen﹏method﹏await﹏as﹏label﹏identifier_js()
{
RunTest("language/expressions/class/async-gen-method-await-as-label-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-await-as-binding-identifier-escaped.js")]
public void Test_async﹏gen﹏method﹏static﹏await﹏as﹏binding﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-static-await-as-binding-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-await-as-binding-identifier.js")]
public void Test_async﹏gen﹏method﹏static﹏await﹏as﹏binding﹏identifier_js()
{
RunTest("language/expressions/class/async-gen-method-static-await-as-binding-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-await-as-identifier-reference-escaped.js")]
public void Test_async﹏gen﹏method﹏static﹏await﹏as﹏identifier﹏reference﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-static-await-as-identifier-reference-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-await-as-identifier-reference.js")]
public void Test_async﹏gen﹏method﹏static﹏await﹏as﹏identifier﹏reference_js()
{
RunTest("language/expressions/class/async-gen-method-static-await-as-identifier-reference.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-await-as-label-identifier-escaped.js")]
public void Test_async﹏gen﹏method﹏static﹏await﹏as﹏label﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-static-await-as-label-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-await-as-label-identifier.js")]
public void Test_async﹏gen﹏method﹏static﹏await﹏as﹏label﹏identifier_js()
{
RunTest("language/expressions/class/async-gen-method-static-await-as-label-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-as-binding-identifier-escaped.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏as﹏binding﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-as-binding-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-as-binding-identifier.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏as﹏binding﹏identifier_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-as-binding-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-as-identifier-reference-escaped.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏as﹏identifier﹏reference﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-as-identifier-reference-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-as-identifier-reference.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏as﹏identifier﹏reference_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-as-identifier-reference.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-as-label-identifier-escaped.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏as﹏label﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-as-label-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-as-label-identifier.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏as﹏label﹏identifier_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-as-label-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-identifier-spread-strict.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏identifier﹏spread﹏strict_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-identifier-spread-strict.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-identifier-strict.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏identifier﹏strict_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-identifier-strict.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-promise-reject-next-catch.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏promise﹏reject﹏next﹏catch_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-promise-reject-next-catch.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-promise-reject-next-for-await-of-async-iterator.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏promise﹏reject﹏next﹏for﹏await﹏of﹏async﹏iterator_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-promise-reject-next-for-await-of-async-iterator.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-promise-reject-next-for-await-of-sync-iterator.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏promise﹏reject﹏next﹏for﹏await﹏of﹏sync﹏iterator_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-promise-reject-next-for-await-of-sync-iterator.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-promise-reject-next-yield-star-async-iterator.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏promise﹏reject﹏next﹏yield﹏star﹏async﹏iterator_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-promise-reject-next-yield-star-async-iterator.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-promise-reject-next-yield-star-sync-iterator.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏promise﹏reject﹏next﹏yield﹏star﹏sync﹏iterator_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-promise-reject-next-yield-star-sync-iterator.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-promise-reject-next.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏promise﹏reject﹏next_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-promise-reject-next.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-spread-arr-multiple.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏spread﹏arr﹏multiple_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-spread-arr-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-spread-arr-single.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏spread﹏arr﹏single_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-spread-arr-single.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-spread-obj.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏spread﹏obj_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-spread-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-async-next.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏async﹏next_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-async-next.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-async-return.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏async﹏return_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-async-return.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-async-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏async﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-async-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-expr-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏expr﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-expr-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-number-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-object-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏object﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-object-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-string-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-not-callable-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-null-sync-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏null﹏sync﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-null-sync-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏returns﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏returns﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-null-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏returns﹏null﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-null-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-number-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏returns﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-string-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏returns﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏returns﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-undefined-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏returns﹏undefined﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-returns-undefined-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-async-undefined-sync-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏async﹏undefined﹏sync﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-async-undefined-sync-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-number-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-object-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏object﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-object-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-string-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-not-callable-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏returns﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏returns﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-null-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏returns﹏null﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-null-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-number-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏returns﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-string-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏returns﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏returns﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-undefined-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏getiter﹏sync﹏returns﹏undefined﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-getiter-sync-returns-undefined-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-call-done-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏call﹏done﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-call-done-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-call-returns-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏call﹏returns﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-call-returns-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-call-value-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏call﹏value﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-call-value-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-non-object-ignores-then.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏non﹏object﹏ignores﹏then_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-non-object-ignores-then.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-not-callable-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏not﹏callable﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-not-callable-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-not-callable-null-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏not﹏callable﹏null﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-not-callable-null-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-not-callable-number-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏not﹏callable﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-not-callable-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-not-callable-object-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏not﹏callable﹏object﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-not-callable-object-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-not-callable-string-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏not﹏callable﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-not-callable-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-not-callable-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏not﹏callable﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-not-callable-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-not-callable-undefined-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏not﹏callable﹏undefined﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-not-callable-undefined-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-boolean-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏non﹏callable﹏boolean﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-boolean-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-null-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏non﹏callable﹏null﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-null-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-number-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏non﹏callable﹏number﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-number-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-object-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏non﹏callable﹏object﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-object-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-string-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏non﹏callable﹏string﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-string-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-symbol-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏non﹏callable﹏symbol﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-symbol-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-undefined-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏non﹏callable﹏undefined﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-non-callable-undefined-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-next-then-returns-abrupt.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏next﹏then﹏returns﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-next-then-returns-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-sync-next.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏sync﹏next_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-sync-next.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-sync-return.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏sync﹏return_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-sync-return.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-static-yield-star-sync-throw.js")]
public void Test_async﹏gen﹏method﹏static﹏yield﹏star﹏sync﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-static-yield-star-sync-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-as-binding-identifier-escaped.js")]
public void Test_async﹏gen﹏method﹏yield﹏as﹏binding﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-yield-as-binding-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-as-binding-identifier.js")]
public void Test_async﹏gen﹏method﹏yield﹏as﹏binding﹏identifier_js()
{
RunTest("language/expressions/class/async-gen-method-yield-as-binding-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-as-identifier-reference-escaped.js")]
public void Test_async﹏gen﹏method﹏yield﹏as﹏identifier﹏reference﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-yield-as-identifier-reference-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-as-identifier-reference.js")]
public void Test_async﹏gen﹏method﹏yield﹏as﹏identifier﹏reference_js()
{
RunTest("language/expressions/class/async-gen-method-yield-as-identifier-reference.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-as-label-identifier-escaped.js")]
public void Test_async﹏gen﹏method﹏yield﹏as﹏label﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-gen-method-yield-as-label-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-as-label-identifier.js")]
public void Test_async﹏gen﹏method﹏yield﹏as﹏label﹏identifier_js()
{
RunTest("language/expressions/class/async-gen-method-yield-as-label-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-identifier-spread-strict.js")]
public void Test_async﹏gen﹏method﹏yield﹏identifier﹏spread﹏strict_js()
{
RunTest("language/expressions/class/async-gen-method-yield-identifier-spread-strict.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-identifier-strict.js")]
public void Test_async﹏gen﹏method﹏yield﹏identifier﹏strict_js()
{
RunTest("language/expressions/class/async-gen-method-yield-identifier-strict.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-promise-reject-next-catch.js")]
public void Test_async﹏gen﹏method﹏yield﹏promise﹏reject﹏next﹏catch_js()
{
RunTest("language/expressions/class/async-gen-method-yield-promise-reject-next-catch.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-promise-reject-next-for-await-of-async-iterator.js")]
public void Test_async﹏gen﹏method﹏yield﹏promise﹏reject﹏next﹏for﹏await﹏of﹏async﹏iterator_js()
{
RunTest("language/expressions/class/async-gen-method-yield-promise-reject-next-for-await-of-async-iterator.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-promise-reject-next-for-await-of-sync-iterator.js")]
public void Test_async﹏gen﹏method﹏yield﹏promise﹏reject﹏next﹏for﹏await﹏of﹏sync﹏iterator_js()
{
RunTest("language/expressions/class/async-gen-method-yield-promise-reject-next-for-await-of-sync-iterator.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-promise-reject-next-yield-star-async-iterator.js")]
public void Test_async﹏gen﹏method﹏yield﹏promise﹏reject﹏next﹏yield﹏star﹏async﹏iterator_js()
{
RunTest("language/expressions/class/async-gen-method-yield-promise-reject-next-yield-star-async-iterator.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-promise-reject-next-yield-star-sync-iterator.js")]
public void Test_async﹏gen﹏method﹏yield﹏promise﹏reject﹏next﹏yield﹏star﹏sync﹏iterator_js()
{
RunTest("language/expressions/class/async-gen-method-yield-promise-reject-next-yield-star-sync-iterator.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-promise-reject-next.js")]
public void Test_async﹏gen﹏method﹏yield﹏promise﹏reject﹏next_js()
{
RunTest("language/expressions/class/async-gen-method-yield-promise-reject-next.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-spread-arr-multiple.js")]
public void Test_async﹏gen﹏method﹏yield﹏spread﹏arr﹏multiple_js()
{
RunTest("language/expressions/class/async-gen-method-yield-spread-arr-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-spread-arr-single.js")]
public void Test_async﹏gen﹏method﹏yield﹏spread﹏arr﹏single_js()
{
RunTest("language/expressions/class/async-gen-method-yield-spread-arr-single.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-spread-obj.js")]
public void Test_async﹏gen﹏method﹏yield﹏spread﹏obj_js()
{
RunTest("language/expressions/class/async-gen-method-yield-spread-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-async-next.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏async﹏next_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-async-next.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-async-return.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏async﹏return_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-async-return.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-async-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏async﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-async-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-expr-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏expr﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-expr-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-number-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-object-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏object﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-object-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-string-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏not﹏callable﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-not-callable-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-null-sync-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏null﹏sync﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-null-sync-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-returns-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏returns﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-returns-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-returns-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏returns﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-returns-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-returns-null-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏returns﹏null﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-returns-null-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-returns-number-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏returns﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-returns-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-returns-string-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏returns﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-returns-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-returns-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏returns﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-returns-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-returns-undefined-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏returns﹏undefined﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-returns-undefined-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-async-undefined-sync-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏async﹏undefined﹏sync﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-async-undefined-sync-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-number-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-object-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏object﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-object-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-string-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏not﹏callable﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-not-callable-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏returns﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏returns﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-null-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏returns﹏null﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-null-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-number-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏returns﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-string-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏returns﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏returns﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-undefined-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏getiter﹏sync﹏returns﹏undefined﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-getiter-sync-returns-undefined-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-call-done-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏call﹏done﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-call-done-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-call-returns-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏call﹏returns﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-call-returns-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-call-value-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏call﹏value﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-call-value-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-non-object-ignores-then.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏non﹏object﹏ignores﹏then_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-non-object-ignores-then.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-not-callable-boolean-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏not﹏callable﹏boolean﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-not-callable-boolean-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-not-callable-null-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏not﹏callable﹏null﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-not-callable-null-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-not-callable-number-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏not﹏callable﹏number﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-not-callable-number-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-not-callable-object-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏not﹏callable﹏object﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-not-callable-object-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-not-callable-string-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏not﹏callable﹏string﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-not-callable-string-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-not-callable-symbol-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏not﹏callable﹏symbol﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-not-callable-symbol-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-not-callable-undefined-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏not﹏callable﹏undefined﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-not-callable-undefined-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-get-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏get﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-get-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-non-callable-boolean-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏non﹏callable﹏boolean﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-non-callable-boolean-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-non-callable-null-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏non﹏callable﹏null﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-non-callable-null-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-non-callable-number-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏non﹏callable﹏number﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-non-callable-number-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-non-callable-object-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏non﹏callable﹏object﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-non-callable-object-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-non-callable-string-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏non﹏callable﹏string﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-non-callable-string-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-non-callable-symbol-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏non﹏callable﹏symbol﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-non-callable-symbol-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-non-callable-undefined-fulfillpromise.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏non﹏callable﹏undefined﹏fulfillpromise_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-non-callable-undefined-fulfillpromise.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-next-then-returns-abrupt.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏next﹏then﹏returns﹏abrupt_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-next-then-returns-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-sync-next.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏sync﹏next_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-sync-next.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-sync-return.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏sync﹏return_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-sync-return.js");
}
[Fact(DisplayName = "/language/expressions/class/async-gen-method-yield-star-sync-throw.js")]
public void Test_async﹏gen﹏method﹏yield﹏star﹏sync﹏throw_js()
{
RunTest("language/expressions/class/async-gen-method-yield-star-sync-throw.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-abrupt.js")]
public void Test_async﹏meth﹏dflt﹏params﹏abrupt_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-arg-val-not-undefined.js")]
public void Test_async﹏meth﹏dflt﹏params﹏arg﹏val﹏not﹏undefined_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-arg-val-not-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-arg-val-undefined.js")]
public void Test_async﹏meth﹏dflt﹏params﹏arg﹏val﹏undefined_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-arg-val-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-duplicates.js")]
public void Test_async﹏meth﹏dflt﹏params﹏duplicates_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-duplicates.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-ref-later.js")]
public void Test_async﹏meth﹏dflt﹏params﹏ref﹏later_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-ref-later.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-ref-prior.js")]
public void Test_async﹏meth﹏dflt﹏params﹏ref﹏prior_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-ref-prior.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-ref-self.js")]
public void Test_async﹏meth﹏dflt﹏params﹏ref﹏self_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-ref-self.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-rest.js")]
public void Test_async﹏meth﹏dflt﹏params﹏rest_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-dflt-params-trailing-comma.js")]
public void Test_async﹏meth﹏dflt﹏params﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/async-meth-dflt-params-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-params-trailing-comma-multiple.js")]
public void Test_async﹏meth﹏params﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/async-meth-params-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-params-trailing-comma-single.js")]
public void Test_async﹏meth﹏params﹏trailing﹏comma﹏single_js()
{
RunTest("language/expressions/class/async-meth-params-trailing-comma-single.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-rest-params-trailing-comma-early-error.js")]
public void Test_async﹏meth﹏rest﹏params﹏trailing﹏comma﹏early﹏error_js()
{
RunTest("language/expressions/class/async-meth-rest-params-trailing-comma-early-error.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-abrupt.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏abrupt_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-arg-val-not-undefined.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏arg﹏val﹏not﹏undefined_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-arg-val-not-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-arg-val-undefined.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏arg﹏val﹏undefined_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-arg-val-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-duplicates.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏duplicates_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-duplicates.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-ref-later.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏ref﹏later_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-ref-later.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-ref-prior.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏ref﹏prior_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-ref-prior.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-ref-self.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏ref﹏self_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-ref-self.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-rest.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏rest_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-dflt-params-trailing-comma.js")]
public void Test_async﹏meth﹏static﹏dflt﹏params﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/async-meth-static-dflt-params-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-params-trailing-comma-multiple.js")]
public void Test_async﹏meth﹏static﹏params﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/async-meth-static-params-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-params-trailing-comma-single.js")]
public void Test_async﹏meth﹏static﹏params﹏trailing﹏comma﹏single_js()
{
RunTest("language/expressions/class/async-meth-static-params-trailing-comma-single.js");
}
[Fact(DisplayName = "/language/expressions/class/async-meth-static-rest-params-trailing-comma-early-error.js")]
public void Test_async﹏meth﹏static﹏rest﹏params﹏trailing﹏comma﹏early﹏error_js()
{
RunTest("language/expressions/class/async-meth-static-rest-params-trailing-comma-early-error.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-await-as-binding-identifier-escaped.js")]
public void Test_async﹏method﹏await﹏as﹏binding﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-method-await-as-binding-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-await-as-binding-identifier.js")]
public void Test_async﹏method﹏await﹏as﹏binding﹏identifier_js()
{
RunTest("language/expressions/class/async-method-await-as-binding-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-await-as-identifier-reference-escaped.js")]
public void Test_async﹏method﹏await﹏as﹏identifier﹏reference﹏escaped_js()
{
RunTest("language/expressions/class/async-method-await-as-identifier-reference-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-await-as-identifier-reference.js")]
public void Test_async﹏method﹏await﹏as﹏identifier﹏reference_js()
{
RunTest("language/expressions/class/async-method-await-as-identifier-reference.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-await-as-label-identifier-escaped.js")]
public void Test_async﹏method﹏await﹏as﹏label﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-method-await-as-label-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-await-as-label-identifier.js")]
public void Test_async﹏method﹏await﹏as﹏label﹏identifier_js()
{
RunTest("language/expressions/class/async-method-await-as-label-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-static-await-as-binding-identifier-escaped.js")]
public void Test_async﹏method﹏static﹏await﹏as﹏binding﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-method-static-await-as-binding-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-static-await-as-binding-identifier.js")]
public void Test_async﹏method﹏static﹏await﹏as﹏binding﹏identifier_js()
{
RunTest("language/expressions/class/async-method-static-await-as-binding-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-static-await-as-identifier-reference-escaped.js")]
public void Test_async﹏method﹏static﹏await﹏as﹏identifier﹏reference﹏escaped_js()
{
RunTest("language/expressions/class/async-method-static-await-as-identifier-reference-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-static-await-as-identifier-reference.js")]
public void Test_async﹏method﹏static﹏await﹏as﹏identifier﹏reference_js()
{
RunTest("language/expressions/class/async-method-static-await-as-identifier-reference.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-static-await-as-label-identifier-escaped.js")]
public void Test_async﹏method﹏static﹏await﹏as﹏label﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/async-method-static-await-as-label-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/async-method-static-await-as-label-identifier.js")]
public void Test_async﹏method﹏static﹏await﹏as﹏label﹏identifier_js()
{
RunTest("language/expressions/class/async-method-static-await-as-label-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-init-iter-close.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-init-iter-get-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-init-iter-no-close.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-name-iter-val.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-init-iter-close.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-init-iter-get-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-init-iter-no-close.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-name-iter-val.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-init-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-init-undefined.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-list-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-dflt-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-init-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-init-undefined.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-list-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-init-iter-close.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-init-iter-get-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-init-iter-no-close.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-name-iter-val.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-init-iter-close.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-init-iter-get-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-init-iter-no-close.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-name-iter-val.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-init-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-init-undefined.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-list-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-dflt-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-init-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-init-undefined.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-empty.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-list-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏async﹏gen﹏meth﹏static﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-async-gen-meth-static-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-init-iter-close.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-init-iter-get-err.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-init-iter-no-close.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-name-iter-val.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-elision.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-empty.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-init-iter-close.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-init-iter-get-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-init-iter-no-close.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-name-iter-val.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elision.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-empty.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-init-null.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-init-undefined.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-empty.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-list-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏gen﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-dflt-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-init-null.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-init-undefined.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-empty.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-list-err.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏gen﹏meth﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-init-iter-close.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-init-iter-get-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-init-iter-no-close.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-name-iter-val.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-elision.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-empty.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-init-iter-close.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-init-iter-get-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-init-iter-no-close.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-name-iter-val.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elision.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-empty.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-init-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-init-undefined.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-empty.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-list-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-dflt-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-init-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-init-undefined.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-empty.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-list-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-gen-meth-static-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏gen﹏meth﹏static﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-gen-meth-static-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-init-iter-close.js")]
public void Test_dstr﹏meth﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-meth-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-init-iter-get-err.js")]
public void Test_dstr﹏meth﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-init-iter-no-close.js")]
public void Test_dstr﹏meth﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-meth-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-name-iter-val.js")]
public void Test_dstr﹏meth﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-meth-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-elision.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-empty.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-id.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏meth﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-init-iter-close.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-init-iter-get-err.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-init-iter-no-close.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-name-iter-val.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-elision.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-empty.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏meth﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-init-null.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-init-undefined.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-empty.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-list-err.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-dflt-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏meth﹏dflt﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-dflt-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-init-null.js")]
public void Test_dstr﹏meth﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-init-undefined.js")]
public void Test_dstr﹏meth﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-meth-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-empty.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-list-err.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-id.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏meth﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-init-iter-close.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-init-iter-get-err.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-init-iter-no-close.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-name-iter-val.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-elision.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-empty.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-id.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏meth﹏static﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-init-iter-close.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏close_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-init-iter-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-init-iter-get-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏get﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-init-iter-get-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-init-iter-no-close.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏init﹏iter﹏no﹏close_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-init-iter-no-close.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-name-iter-val.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏name﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-name-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-elem-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-elem-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-elem-iter.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elem﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-elem-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-elision-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-elision-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-elision-iter.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏elision﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-elision-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-empty-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-empty-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-empty-iter.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏empty﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-empty-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-rest-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-rest-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-rest-iter.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏rest﹏iter_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-rest-iter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-val-null.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏ary﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-ary-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-exhausted.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-class.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-cover.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-fn.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-gen.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-hole.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏hole_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-hole.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-skipped.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-throws.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-undef.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-complete.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏complete_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-complete.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-done.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏done_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-done.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-step-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-val-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-val.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏id﹏iter﹏val_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-id-iter-val.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-id-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-id.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-prop-id-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-prop-id.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-val-null.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-val-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-val-undef.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elem﹏obj﹏val﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elem-obj-val-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elision-exhausted.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elision-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elision-step-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elision-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elision.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-empty.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-ary-elem.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elem_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-ary-elem.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-ary-elision.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-ary-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-ary-empty.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-ary-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-ary-rest.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏ary﹏rest_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-ary-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-elision-next-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision﹏next﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-elision-next-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-elision.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏elision_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-elision.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-exhausted.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏exhausted_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-exhausted.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-iter-step-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏step﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-iter-step-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-iter-val-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id﹏iter﹏val﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id-iter-val-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-init-ary.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-init-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-init-id.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-init-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-init-obj.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏init﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-init-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-not-final-ary.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-not-final-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-not-final-id.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-not-final-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-not-final-obj.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏not﹏final﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-not-final-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-obj-id.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-obj-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-obj-prop-id.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏ary﹏ptrn﹏rest﹏obj﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-ary-ptrn-rest-obj-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-init-null.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-init-undefined.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-empty.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-list-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-dflt-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏meth﹏static﹏dflt﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-static-dflt-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-init-null.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏init﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-init-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-init-undefined.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏init﹏undefined_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-init-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-empty.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏empty_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-empty.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-get-value-err.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-arrow.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏arrow_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-arrow.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-class.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏class_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-class.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-cover.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏cover_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-cover.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-fn.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏fn_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-fn.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-gen.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏fn﹏name﹏gen_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-init-fn-name-gen.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-init-skipped.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-init-throws.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-id-trailing-comma.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-list-err.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏list﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-list-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-ary-init.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-ary-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-ary-trailing-comma.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-ary-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-ary-value-null.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-ary-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-ary.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏ary_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-ary.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-eval-err.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏eval﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-eval-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-get-value-err.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏get﹏value﹏err_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-get-value-err.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-init-skipped.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏skipped_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-init-skipped.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-init-throws.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏throws_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-init-throws.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-init-unresolvable.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init﹏unresolvable_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-init-unresolvable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-init.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-trailing-comma.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-id-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-id.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏id_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-id.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-obj-init.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏init_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-obj-init.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-obj-value-null.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏value﹏null_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-obj-value-null.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-obj-value-undef.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj﹏value﹏undef_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-obj-value-undef.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-prop-obj.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏prop﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-prop-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-rest-getter.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏rest﹏getter_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-rest-getter.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-rest-skip-non-enumerable.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏rest﹏skip﹏non﹏enumerable_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-rest-skip-non-enumerable.js");
}
[Fact(DisplayName = "/language/expressions/class/dstr-meth-static-obj-ptrn-rest-val-obj.js")]
public void Test_dstr﹏meth﹏static﹏obj﹏ptrn﹏rest﹏val﹏obj_js()
{
RunTest("language/expressions/class/dstr-meth-static-obj-ptrn-rest-val-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/err-field-delete-call-expression-privatename.js")]
public void Test_err﹏field﹏delete﹏call﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-field-delete-call-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-field-delete-covered-call-expression-privatename.js")]
public void Test_err﹏field﹏delete﹏covered﹏call﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-field-delete-covered-call-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-field-delete-covered-member-expression-privatename.js")]
public void Test_err﹏field﹏delete﹏covered﹏member﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-field-delete-covered-member-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-field-delete-member-expression-privatename.js")]
public void Test_err﹏field﹏delete﹏member﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-field-delete-member-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-field-delete-twice-covered-call-expression-privatename.js")]
public void Test_err﹏field﹏delete﹏twice﹏covered﹏call﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-field-delete-twice-covered-call-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-field-delete-twice-covered-member-expression-privatename.js")]
public void Test_err﹏field﹏delete﹏twice﹏covered﹏member﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-field-delete-twice-covered-member-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-method-delete-call-expression-privatename.js")]
public void Test_err﹏method﹏delete﹏call﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-method-delete-call-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-method-delete-covered-call-expression-privatename.js")]
public void Test_err﹏method﹏delete﹏covered﹏call﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-method-delete-covered-call-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-method-delete-covered-member-expression-privatename.js")]
public void Test_err﹏method﹏delete﹏covered﹏member﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-method-delete-covered-member-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-method-delete-member-expression-privatename.js")]
public void Test_err﹏method﹏delete﹏member﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-method-delete-member-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-method-delete-twice-covered-call-expression-privatename.js")]
public void Test_err﹏method﹏delete﹏twice﹏covered﹏call﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-method-delete-twice-covered-call-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/err-method-delete-twice-covered-member-expression-privatename.js")]
public void Test_err﹏method﹏delete﹏twice﹏covered﹏member﹏expression﹏privatename_js()
{
RunTest("language/expressions/class/err-method-delete-twice-covered-member-expression-privatename.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-gen-computed-names.js")]
public void Test_fields﹏after﹏same﹏line﹏gen﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-gen-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-gen-computed-symbol-names.js")]
public void Test_fields﹏after﹏same﹏line﹏gen﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-gen-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-gen-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏gen﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-gen-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-gen-private-names.js")]
public void Test_fields﹏after﹏same﹏line﹏gen﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-gen-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-gen-string-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏gen﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-gen-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-method-computed-names.js")]
public void Test_fields﹏after﹏same﹏line﹏method﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-method-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-method-computed-symbol-names.js")]
public void Test_fields﹏after﹏same﹏line﹏method﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-method-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-method-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏method﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-method-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-method-private-names.js")]
public void Test_fields﹏after﹏same﹏line﹏method﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-method-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-method-string-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏method﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-method-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-gen-computed-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏gen﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-gen-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-gen-computed-symbol-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏gen﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-gen-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-gen-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏gen﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-gen-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-gen-private-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏gen﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-gen-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-gen-string-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏gen﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-gen-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-method-computed-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏method﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-method-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-method-computed-symbol-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏method﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-method-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-method-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏method﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-method-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-method-private-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏method﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-method-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-async-method-string-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏async﹏method﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-async-method-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-gen-computed-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏gen﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-gen-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-gen-computed-symbol-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏gen﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-gen-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-gen-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏gen﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-gen-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-gen-private-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏gen﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-gen-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-gen-string-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏gen﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-gen-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-method-computed-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏method﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-method-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-method-computed-symbol-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏method﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-method-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-method-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏method﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-method-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-method-private-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏method﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-method-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-after-same-line-static-method-string-literal-names.js")]
public void Test_fields﹏after﹏same﹏line﹏static﹏method﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-after-same-line-static-method-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-arrow-fnc-init-err-contains-arguments.js")]
public void Test_fields﹏arrow﹏fnc﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-arrow-fnc-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-arrow-fnc-init-err-contains-super.js")]
public void Test_fields﹏arrow﹏fnc﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-arrow-fnc-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-asi-1.js")]
public void Test_fields﹏asi﹏1_js()
{
RunTest("language/expressions/class/fields-asi-1.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-asi-2.js")]
public void Test_fields﹏asi﹏2_js()
{
RunTest("language/expressions/class/fields-asi-2.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-asi-3.js")]
public void Test_fields﹏asi﹏3_js()
{
RunTest("language/expressions/class/fields-asi-3.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-asi-4.js")]
public void Test_fields﹏asi﹏4_js()
{
RunTest("language/expressions/class/fields-asi-4.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-asi-5.js")]
public void Test_fields﹏asi﹏5_js()
{
RunTest("language/expressions/class/fields-asi-5.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-comp-name-init-err-contains-arguments.js")]
public void Test_fields﹏comp﹏name﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-comp-name-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-comp-name-init-err-contains-super.js")]
public void Test_fields﹏comp﹏name﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-comp-name-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-computed-name-propname-constructor.js")]
public void Test_fields﹏computed﹏name﹏propname﹏constructor_js()
{
RunTest("language/expressions/class/fields-computed-name-propname-constructor.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-computed-name-toprimitive-symbol.js")]
public void Test_fields﹏computed﹏name﹏toprimitive﹏symbol_js()
{
RunTest("language/expressions/class/fields-computed-name-toprimitive-symbol.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-computed-name-toprimitive.js")]
public void Test_fields﹏computed﹏name﹏toprimitive_js()
{
RunTest("language/expressions/class/fields-computed-name-toprimitive.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-computed-variable-name-propname-constructor.js")]
public void Test_fields﹏computed﹏variable﹏name﹏propname﹏constructor_js()
{
RunTest("language/expressions/class/fields-computed-variable-name-propname-constructor.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-ctor-called-after-fields-init.js")]
public void Test_fields﹏ctor﹏called﹏after﹏fields﹏init_js()
{
RunTest("language/expressions/class/fields-ctor-called-after-fields-init.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-direct-eval-err-contains-supercall-1.js")]
public void Test_fields﹏derived﹏cls﹏direct﹏eval﹏err﹏contains﹏supercall﹏1_js()
{
RunTest("language/expressions/class/fields-derived-cls-direct-eval-err-contains-supercall-1.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-direct-eval-err-contains-supercall-2.js")]
public void Test_fields﹏derived﹏cls﹏direct﹏eval﹏err﹏contains﹏supercall﹏2_js()
{
RunTest("language/expressions/class/fields-derived-cls-direct-eval-err-contains-supercall-2.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-direct-eval-err-contains-supercall.js")]
public void Test_fields﹏derived﹏cls﹏direct﹏eval﹏err﹏contains﹏supercall_js()
{
RunTest("language/expressions/class/fields-derived-cls-direct-eval-err-contains-supercall.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-direct-eval-err-contains-superproperty-1.js")]
public void Test_fields﹏derived﹏cls﹏direct﹏eval﹏err﹏contains﹏superproperty﹏1_js()
{
RunTest("language/expressions/class/fields-derived-cls-direct-eval-err-contains-superproperty-1.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-direct-eval-err-contains-superproperty-2.js")]
public void Test_fields﹏derived﹏cls﹏direct﹏eval﹏err﹏contains﹏superproperty﹏2_js()
{
RunTest("language/expressions/class/fields-derived-cls-direct-eval-err-contains-superproperty-2.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-indirect-eval-err-contains-supercall-1.js")]
public void Test_fields﹏derived﹏cls﹏indirect﹏eval﹏err﹏contains﹏supercall﹏1_js()
{
RunTest("language/expressions/class/fields-derived-cls-indirect-eval-err-contains-supercall-1.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-indirect-eval-err-contains-supercall-2.js")]
public void Test_fields﹏derived﹏cls﹏indirect﹏eval﹏err﹏contains﹏supercall﹏2_js()
{
RunTest("language/expressions/class/fields-derived-cls-indirect-eval-err-contains-supercall-2.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-indirect-eval-err-contains-supercall.js")]
public void Test_fields﹏derived﹏cls﹏indirect﹏eval﹏err﹏contains﹏supercall_js()
{
RunTest("language/expressions/class/fields-derived-cls-indirect-eval-err-contains-supercall.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-indirect-eval-err-contains-superproperty-1.js")]
public void Test_fields﹏derived﹏cls﹏indirect﹏eval﹏err﹏contains﹏superproperty﹏1_js()
{
RunTest("language/expressions/class/fields-derived-cls-indirect-eval-err-contains-superproperty-1.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-derived-cls-indirect-eval-err-contains-superproperty-2.js")]
public void Test_fields﹏derived﹏cls﹏indirect﹏eval﹏err﹏contains﹏superproperty﹏2_js()
{
RunTest("language/expressions/class/fields-derived-cls-indirect-eval-err-contains-superproperty-2.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-direct-eval-err-contains-arguments.js")]
public void Test_fields﹏direct﹏eval﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-direct-eval-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-direct-eval-err-contains-newtarget.js")]
public void Test_fields﹏direct﹏eval﹏err﹏contains﹏newtarget_js()
{
RunTest("language/expressions/class/fields-direct-eval-err-contains-newtarget.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-duplicate-privatenames.js")]
public void Test_fields﹏duplicate﹏privatenames_js()
{
RunTest("language/expressions/class/fields-duplicate-privatenames.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-equality-init-err-contains-arguments.js")]
public void Test_fields﹏equality﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-equality-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-equality-init-err-contains-super.js")]
public void Test_fields﹏equality﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-equality-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-evaluation-error-computed-name-referenceerror.js")]
public void Test_fields﹏evaluation﹏error﹏computed﹏name﹏referenceerror_js()
{
RunTest("language/expressions/class/fields-evaluation-error-computed-name-referenceerror.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-evaluation-error-computed-name-toprimitive-err.js")]
public void Test_fields﹏evaluation﹏error﹏computed﹏name﹏toprimitive﹏err_js()
{
RunTest("language/expressions/class/fields-evaluation-error-computed-name-toprimitive-err.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-evaluation-error-computed-name-tostring-err.js")]
public void Test_fields﹏evaluation﹏error﹏computed﹏name﹏tostring﹏err_js()
{
RunTest("language/expressions/class/fields-evaluation-error-computed-name-tostring-err.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-evaluation-error-computed-name-valueof-err.js")]
public void Test_fields﹏evaluation﹏error﹏computed﹏name﹏valueof﹏err_js()
{
RunTest("language/expressions/class/fields-evaluation-error-computed-name-valueof-err.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-indirect-eval-err-contains-arguments.js")]
public void Test_fields﹏indirect﹏eval﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-indirect-eval-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-indirect-eval-err-contains-newtarget.js")]
public void Test_fields﹏indirect﹏eval﹏err﹏contains﹏newtarget_js()
{
RunTest("language/expressions/class/fields-indirect-eval-err-contains-newtarget.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-init-err-evaluation.js")]
public void Test_fields﹏init﹏err﹏evaluation_js()
{
RunTest("language/expressions/class/fields-init-err-evaluation.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-init-value-defined-after-class.js")]
public void Test_fields﹏init﹏value﹏defined﹏after﹏class_js()
{
RunTest("language/expressions/class/fields-init-value-defined-after-class.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-init-value-incremental.js")]
public void Test_fields﹏init﹏value﹏incremental_js()
{
RunTest("language/expressions/class/fields-init-value-incremental.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-initializer-static-private-fields-forbidden.js")]
public void Test_fields﹏initializer﹏static﹏private﹏fields﹏forbidden_js()
{
RunTest("language/expressions/class/fields-initializer-static-private-fields-forbidden.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-initializer-static-public-fields-forbidden.js")]
public void Test_fields﹏initializer﹏static﹏public﹏fields﹏forbidden_js()
{
RunTest("language/expressions/class/fields-initializer-static-public-fields-forbidden.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-literal-name-init-err-contains-arguments.js")]
public void Test_fields﹏literal﹏name﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-literal-name-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-literal-name-init-err-contains-super.js")]
public void Test_fields﹏literal﹏name﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-literal-name-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-literal-name-propname-constructor.js")]
public void Test_fields﹏literal﹏name﹏propname﹏constructor_js()
{
RunTest("language/expressions/class/fields-literal-name-propname-constructor.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-definitions-computed-names.js")]
public void Test_fields﹏multiple﹏definitions﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-definitions-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-definitions-computed-symbol-names.js")]
public void Test_fields﹏multiple﹏definitions﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-definitions-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-definitions-literal-names.js")]
public void Test_fields﹏multiple﹏definitions﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-definitions-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-definitions-private-names.js")]
public void Test_fields﹏multiple﹏definitions﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-definitions-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-definitions-string-literal-names.js")]
public void Test_fields﹏multiple﹏definitions﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-definitions-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-stacked-definitions-computed-names.js")]
public void Test_fields﹏multiple﹏stacked﹏definitions﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-stacked-definitions-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-stacked-definitions-computed-symbol-names.js")]
public void Test_fields﹏multiple﹏stacked﹏definitions﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-stacked-definitions-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-stacked-definitions-literal-names.js")]
public void Test_fields﹏multiple﹏stacked﹏definitions﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-stacked-definitions-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-stacked-definitions-private-names.js")]
public void Test_fields﹏multiple﹏stacked﹏definitions﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-stacked-definitions-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-multiple-stacked-definitions-string-literal-names.js")]
public void Test_fields﹏multiple﹏stacked﹏definitions﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-multiple-stacked-definitions-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-no-sc-line-method-computed-names.js")]
public void Test_fields﹏new﹏no﹏sc﹏line﹏method﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-new-no-sc-line-method-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-no-sc-line-method-computed-symbol-names.js")]
public void Test_fields﹏new﹏no﹏sc﹏line﹏method﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-new-no-sc-line-method-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-no-sc-line-method-literal-names.js")]
public void Test_fields﹏new﹏no﹏sc﹏line﹏method﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-new-no-sc-line-method-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-no-sc-line-method-private-names.js")]
public void Test_fields﹏new﹏no﹏sc﹏line﹏method﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-new-no-sc-line-method-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-no-sc-line-method-string-literal-names.js")]
public void Test_fields﹏new﹏no﹏sc﹏line﹏method﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-new-no-sc-line-method-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-gen-computed-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏gen﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-gen-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-gen-computed-symbol-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏gen﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-gen-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-gen-literal-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏gen﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-gen-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-gen-private-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏gen﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-gen-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-gen-string-literal-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏gen﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-gen-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-method-computed-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏method﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-method-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-method-computed-symbol-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏method﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-method-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-method-literal-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏method﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-method-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-method-private-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏method﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-method-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-new-sc-line-method-string-literal-names.js")]
public void Test_fields﹏new﹏sc﹏line﹏method﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-new-sc-line-method-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-private-arrow-fnc-init-err-contains-arguments.js")]
public void Test_fields﹏private﹏arrow﹏fnc﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-private-arrow-fnc-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-private-arrow-fnc-init-err-contains-super.js")]
public void Test_fields﹏private﹏arrow﹏fnc﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-private-arrow-fnc-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-private-literal-name-init-err-contains-arguments.js")]
public void Test_fields﹏private﹏literal﹏name﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-private-literal-name-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-private-literal-name-init-err-contains-super.js")]
public void Test_fields﹏private﹏literal﹏name﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-private-literal-name-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-private-ternary-init-err-contains-arguments.js")]
public void Test_fields﹏private﹏ternary﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-private-ternary-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-private-ternary-init-err-contains-super.js")]
public void Test_fields﹏private﹏ternary﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-private-ternary-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-private-typeof-init-err-contains-arguments.js")]
public void Test_fields﹏private﹏typeof﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-private-typeof-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-private-typeof-init-err-contains-super.js")]
public void Test_fields﹏private﹏typeof﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-private-typeof-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-privatename-constructor-err.js")]
public void Test_fields﹏privatename﹏constructor﹏err_js()
{
RunTest("language/expressions/class/fields-privatename-constructor-err.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-prop-name-static-private-fields-forbidden.js")]
public void Test_fields﹏prop﹏name﹏static﹏private﹏fields﹏forbidden_js()
{
RunTest("language/expressions/class/fields-prop-name-static-private-fields-forbidden.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-prop-name-static-public-fields-forbidden.js")]
public void Test_fields﹏prop﹏name﹏static﹏public﹏fields﹏forbidden_js()
{
RunTest("language/expressions/class/fields-prop-name-static-public-fields-forbidden.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-redeclaration-symbol.js")]
public void Test_fields﹏redeclaration﹏symbol_js()
{
RunTest("language/expressions/class/fields-redeclaration-symbol.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-redeclaration.js")]
public void Test_fields﹏redeclaration_js()
{
RunTest("language/expressions/class/fields-redeclaration.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-regular-definitions-computed-names.js")]
public void Test_fields﹏regular﹏definitions﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-regular-definitions-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-regular-definitions-computed-symbol-names.js")]
public void Test_fields﹏regular﹏definitions﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-regular-definitions-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-regular-definitions-literal-names.js")]
public void Test_fields﹏regular﹏definitions﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-regular-definitions-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-regular-definitions-private-names.js")]
public void Test_fields﹏regular﹏definitions﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-regular-definitions-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-regular-definitions-string-literal-names.js")]
public void Test_fields﹏regular﹏definitions﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-regular-definitions-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-gen-computed-names.js")]
public void Test_fields﹏same﹏line﹏async﹏gen﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-gen-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-gen-computed-symbol-names.js")]
public void Test_fields﹏same﹏line﹏async﹏gen﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-gen-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-gen-literal-names.js")]
public void Test_fields﹏same﹏line﹏async﹏gen﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-gen-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-gen-private-names.js")]
public void Test_fields﹏same﹏line﹏async﹏gen﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-gen-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-gen-string-literal-names.js")]
public void Test_fields﹏same﹏line﹏async﹏gen﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-gen-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-method-computed-names.js")]
public void Test_fields﹏same﹏line﹏async﹏method﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-method-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-method-computed-symbol-names.js")]
public void Test_fields﹏same﹏line﹏async﹏method﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-method-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-method-literal-names.js")]
public void Test_fields﹏same﹏line﹏async﹏method﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-method-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-method-private-names.js")]
public void Test_fields﹏same﹏line﹏async﹏method﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-method-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-async-method-string-literal-names.js")]
public void Test_fields﹏same﹏line﹏async﹏method﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-async-method-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-gen-computed-names.js")]
public void Test_fields﹏same﹏line﹏gen﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-gen-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-gen-computed-symbol-names.js")]
public void Test_fields﹏same﹏line﹏gen﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-gen-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-gen-literal-names.js")]
public void Test_fields﹏same﹏line﹏gen﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-gen-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-gen-private-names.js")]
public void Test_fields﹏same﹏line﹏gen﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-gen-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-gen-string-literal-names.js")]
public void Test_fields﹏same﹏line﹏gen﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-gen-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-method-computed-names.js")]
public void Test_fields﹏same﹏line﹏method﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-method-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-method-computed-symbol-names.js")]
public void Test_fields﹏same﹏line﹏method﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-method-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-method-literal-names.js")]
public void Test_fields﹏same﹏line﹏method﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-method-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-method-private-names.js")]
public void Test_fields﹏same﹏line﹏method﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-method-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-same-line-method-string-literal-names.js")]
public void Test_fields﹏same﹏line﹏method﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-same-line-method-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-string-literal-name-init-err-contains-arguments.js")]
public void Test_fields﹏string﹏literal﹏name﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-string-literal-name-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-string-literal-name-init-err-contains-super.js")]
public void Test_fields﹏string﹏literal﹏name﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-string-literal-name-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-string-name-propname-constructor.js")]
public void Test_fields﹏string﹏name﹏propname﹏constructor_js()
{
RunTest("language/expressions/class/fields-string-name-propname-constructor.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-ternary-init-err-contains-arguments.js")]
public void Test_fields﹏ternary﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-ternary-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-ternary-init-err-contains-super.js")]
public void Test_fields﹏ternary﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-ternary-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-typeof-init-err-contains-arguments.js")]
public void Test_fields﹏typeof﹏init﹏err﹏contains﹏arguments_js()
{
RunTest("language/expressions/class/fields-typeof-init-err-contains-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-typeof-init-err-contains-super.js")]
public void Test_fields﹏typeof﹏init﹏err﹏contains﹏super_js()
{
RunTest("language/expressions/class/fields-typeof-init-err-contains-super.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-wrapped-in-sc-computed-names.js")]
public void Test_fields﹏wrapped﹏in﹏sc﹏computed﹏names_js()
{
RunTest("language/expressions/class/fields-wrapped-in-sc-computed-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-wrapped-in-sc-computed-symbol-names.js")]
public void Test_fields﹏wrapped﹏in﹏sc﹏computed﹏symbol﹏names_js()
{
RunTest("language/expressions/class/fields-wrapped-in-sc-computed-symbol-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-wrapped-in-sc-literal-names.js")]
public void Test_fields﹏wrapped﹏in﹏sc﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-wrapped-in-sc-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-wrapped-in-sc-private-names.js")]
public void Test_fields﹏wrapped﹏in﹏sc﹏private﹏names_js()
{
RunTest("language/expressions/class/fields-wrapped-in-sc-private-names.js");
}
[Fact(DisplayName = "/language/expressions/class/fields-wrapped-in-sc-string-literal-names.js")]
public void Test_fields﹏wrapped﹏in﹏sc﹏string﹏literal﹏names_js()
{
RunTest("language/expressions/class/fields-wrapped-in-sc-string-literal-names.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-abrupt.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏abrupt_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-arg-val-not-undefined.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏arg﹏val﹏not﹏undefined_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-arg-val-not-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-arg-val-undefined.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏arg﹏val﹏undefined_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-arg-val-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-duplicates.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏duplicates_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-duplicates.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-ref-later.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏ref﹏later_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-ref-later.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-ref-prior.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏ref﹏prior_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-ref-prior.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-ref-self.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏ref﹏self_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-ref-self.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-rest.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏rest_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-dflt-params-trailing-comma.js")]
public void Test_gen﹏meth﹏dflt﹏params﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/gen-meth-dflt-params-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-params-trailing-comma-multiple.js")]
public void Test_gen﹏meth﹏params﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/gen-meth-params-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-params-trailing-comma-single.js")]
public void Test_gen﹏meth﹏params﹏trailing﹏comma﹏single_js()
{
RunTest("language/expressions/class/gen-meth-params-trailing-comma-single.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-rest-params-trailing-comma-early-error.js")]
public void Test_gen﹏meth﹏rest﹏params﹏trailing﹏comma﹏early﹏error_js()
{
RunTest("language/expressions/class/gen-meth-rest-params-trailing-comma-early-error.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-abrupt.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏abrupt_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-arg-val-not-undefined.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏arg﹏val﹏not﹏undefined_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-arg-val-not-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-arg-val-undefined.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏arg﹏val﹏undefined_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-arg-val-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-duplicates.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏duplicates_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-duplicates.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-ref-later.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏ref﹏later_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-ref-later.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-ref-prior.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏ref﹏prior_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-ref-prior.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-ref-self.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏ref﹏self_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-ref-self.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-rest.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏rest_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-dflt-params-trailing-comma.js")]
public void Test_gen﹏meth﹏static﹏dflt﹏params﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/gen-meth-static-dflt-params-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-params-trailing-comma-multiple.js")]
public void Test_gen﹏meth﹏static﹏params﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/gen-meth-static-params-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-params-trailing-comma-single.js")]
public void Test_gen﹏meth﹏static﹏params﹏trailing﹏comma﹏single_js()
{
RunTest("language/expressions/class/gen-meth-static-params-trailing-comma-single.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-meth-static-rest-params-trailing-comma-early-error.js")]
public void Test_gen﹏meth﹏static﹏rest﹏params﹏trailing﹏comma﹏early﹏error_js()
{
RunTest("language/expressions/class/gen-meth-static-rest-params-trailing-comma-early-error.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-length-dflt.js")]
public void Test_gen﹏method﹏length﹏dflt_js()
{
RunTest("language/expressions/class/gen-method-length-dflt.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-param-dflt-yield.js")]
public void Test_gen﹏method﹏param﹏dflt﹏yield_js()
{
RunTest("language/expressions/class/gen-method-param-dflt-yield.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-as-binding-identifier-escaped.js")]
public void Test_gen﹏method﹏static﹏yield﹏as﹏binding﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/gen-method-static-yield-as-binding-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-as-binding-identifier.js")]
public void Test_gen﹏method﹏static﹏yield﹏as﹏binding﹏identifier_js()
{
RunTest("language/expressions/class/gen-method-static-yield-as-binding-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-as-identifier-reference-escaped.js")]
public void Test_gen﹏method﹏static﹏yield﹏as﹏identifier﹏reference﹏escaped_js()
{
RunTest("language/expressions/class/gen-method-static-yield-as-identifier-reference-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-as-identifier-reference.js")]
public void Test_gen﹏method﹏static﹏yield﹏as﹏identifier﹏reference_js()
{
RunTest("language/expressions/class/gen-method-static-yield-as-identifier-reference.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-as-label-identifier-escaped.js")]
public void Test_gen﹏method﹏static﹏yield﹏as﹏label﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/gen-method-static-yield-as-label-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-as-label-identifier.js")]
public void Test_gen﹏method﹏static﹏yield﹏as﹏label﹏identifier_js()
{
RunTest("language/expressions/class/gen-method-static-yield-as-label-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-identifier-spread-strict.js")]
public void Test_gen﹏method﹏static﹏yield﹏identifier﹏spread﹏strict_js()
{
RunTest("language/expressions/class/gen-method-static-yield-identifier-spread-strict.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-identifier-strict.js")]
public void Test_gen﹏method﹏static﹏yield﹏identifier﹏strict_js()
{
RunTest("language/expressions/class/gen-method-static-yield-identifier-strict.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-spread-arr-multiple.js")]
public void Test_gen﹏method﹏static﹏yield﹏spread﹏arr﹏multiple_js()
{
RunTest("language/expressions/class/gen-method-static-yield-spread-arr-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-spread-arr-single.js")]
public void Test_gen﹏method﹏static﹏yield﹏spread﹏arr﹏single_js()
{
RunTest("language/expressions/class/gen-method-static-yield-spread-arr-single.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-static-yield-spread-obj.js")]
public void Test_gen﹏method﹏static﹏yield﹏spread﹏obj_js()
{
RunTest("language/expressions/class/gen-method-static-yield-spread-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-as-binding-identifier-escaped.js")]
public void Test_gen﹏method﹏yield﹏as﹏binding﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/gen-method-yield-as-binding-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-as-binding-identifier.js")]
public void Test_gen﹏method﹏yield﹏as﹏binding﹏identifier_js()
{
RunTest("language/expressions/class/gen-method-yield-as-binding-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-as-identifier-reference-escaped.js")]
public void Test_gen﹏method﹏yield﹏as﹏identifier﹏reference﹏escaped_js()
{
RunTest("language/expressions/class/gen-method-yield-as-identifier-reference-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-as-identifier-reference.js")]
public void Test_gen﹏method﹏yield﹏as﹏identifier﹏reference_js()
{
RunTest("language/expressions/class/gen-method-yield-as-identifier-reference.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-as-label-identifier-escaped.js")]
public void Test_gen﹏method﹏yield﹏as﹏label﹏identifier﹏escaped_js()
{
RunTest("language/expressions/class/gen-method-yield-as-label-identifier-escaped.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-as-label-identifier.js")]
public void Test_gen﹏method﹏yield﹏as﹏label﹏identifier_js()
{
RunTest("language/expressions/class/gen-method-yield-as-label-identifier.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-identifier-spread-strict.js")]
public void Test_gen﹏method﹏yield﹏identifier﹏spread﹏strict_js()
{
RunTest("language/expressions/class/gen-method-yield-identifier-spread-strict.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-identifier-strict.js")]
public void Test_gen﹏method﹏yield﹏identifier﹏strict_js()
{
RunTest("language/expressions/class/gen-method-yield-identifier-strict.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-spread-arr-multiple.js")]
public void Test_gen﹏method﹏yield﹏spread﹏arr﹏multiple_js()
{
RunTest("language/expressions/class/gen-method-yield-spread-arr-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-spread-arr-single.js")]
public void Test_gen﹏method﹏yield﹏spread﹏arr﹏single_js()
{
RunTest("language/expressions/class/gen-method-yield-spread-arr-single.js");
}
[Fact(DisplayName = "/language/expressions/class/gen-method-yield-spread-obj.js")]
public void Test_gen﹏method﹏yield﹏spread﹏obj_js()
{
RunTest("language/expressions/class/gen-method-yield-spread-obj.js");
}
[Fact(DisplayName = "/language/expressions/class/getter-param-dflt.js")]
public void Test_getter﹏param﹏dflt_js()
{
RunTest("language/expressions/class/getter-param-dflt.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-abrupt.js")]
public void Test_meth﹏dflt﹏params﹏abrupt_js()
{
RunTest("language/expressions/class/meth-dflt-params-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-arg-val-not-undefined.js")]
public void Test_meth﹏dflt﹏params﹏arg﹏val﹏not﹏undefined_js()
{
RunTest("language/expressions/class/meth-dflt-params-arg-val-not-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-arg-val-undefined.js")]
public void Test_meth﹏dflt﹏params﹏arg﹏val﹏undefined_js()
{
RunTest("language/expressions/class/meth-dflt-params-arg-val-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-duplicates.js")]
public void Test_meth﹏dflt﹏params﹏duplicates_js()
{
RunTest("language/expressions/class/meth-dflt-params-duplicates.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-ref-later.js")]
public void Test_meth﹏dflt﹏params﹏ref﹏later_js()
{
RunTest("language/expressions/class/meth-dflt-params-ref-later.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-ref-prior.js")]
public void Test_meth﹏dflt﹏params﹏ref﹏prior_js()
{
RunTest("language/expressions/class/meth-dflt-params-ref-prior.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-ref-self.js")]
public void Test_meth﹏dflt﹏params﹏ref﹏self_js()
{
RunTest("language/expressions/class/meth-dflt-params-ref-self.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-rest.js")]
public void Test_meth﹏dflt﹏params﹏rest_js()
{
RunTest("language/expressions/class/meth-dflt-params-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-dflt-params-trailing-comma.js")]
public void Test_meth﹏dflt﹏params﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/meth-dflt-params-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-params-trailing-comma-multiple.js")]
public void Test_meth﹏params﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/meth-params-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-params-trailing-comma-single.js")]
public void Test_meth﹏params﹏trailing﹏comma﹏single_js()
{
RunTest("language/expressions/class/meth-params-trailing-comma-single.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-rest-params-trailing-comma-early-error.js")]
public void Test_meth﹏rest﹏params﹏trailing﹏comma﹏early﹏error_js()
{
RunTest("language/expressions/class/meth-rest-params-trailing-comma-early-error.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-abrupt.js")]
public void Test_meth﹏static﹏dflt﹏params﹏abrupt_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-abrupt.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-arg-val-not-undefined.js")]
public void Test_meth﹏static﹏dflt﹏params﹏arg﹏val﹏not﹏undefined_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-arg-val-not-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-arg-val-undefined.js")]
public void Test_meth﹏static﹏dflt﹏params﹏arg﹏val﹏undefined_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-arg-val-undefined.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-duplicates.js")]
public void Test_meth﹏static﹏dflt﹏params﹏duplicates_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-duplicates.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-ref-later.js")]
public void Test_meth﹏static﹏dflt﹏params﹏ref﹏later_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-ref-later.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-ref-prior.js")]
public void Test_meth﹏static﹏dflt﹏params﹏ref﹏prior_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-ref-prior.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-ref-self.js")]
public void Test_meth﹏static﹏dflt﹏params﹏ref﹏self_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-ref-self.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-rest.js")]
public void Test_meth﹏static﹏dflt﹏params﹏rest_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-rest.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-dflt-params-trailing-comma.js")]
public void Test_meth﹏static﹏dflt﹏params﹏trailing﹏comma_js()
{
RunTest("language/expressions/class/meth-static-dflt-params-trailing-comma.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-params-trailing-comma-multiple.js")]
public void Test_meth﹏static﹏params﹏trailing﹏comma﹏multiple_js()
{
RunTest("language/expressions/class/meth-static-params-trailing-comma-multiple.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-params-trailing-comma-single.js")]
public void Test_meth﹏static﹏params﹏trailing﹏comma﹏single_js()
{
RunTest("language/expressions/class/meth-static-params-trailing-comma-single.js");
}
[Fact(DisplayName = "/language/expressions/class/meth-static-rest-params-trailing-comma-early-error.js")]
public void Test_meth﹏static﹏rest﹏params﹏trailing﹏comma﹏early﹏error_js()
{
RunTest("language/expressions/class/meth-static-rest-params-trailing-comma-early-error.js");
}
[Fact(DisplayName = "/language/expressions/class/method-length-dflt.js")]
public void Test_method﹏length﹏dflt_js()
{
RunTest("language/expressions/class/method-length-dflt.js");
}
[Fact(DisplayName = "/language/expressions/class/method-param-dflt-yield.js")]
public void Test_method﹏param﹏dflt﹏yield_js()
{
RunTest("language/expressions/class/method-param-dflt-yield.js");
}
[Fact(DisplayName = "/language/expressions/class/name.js")]
public void Test_name_js()
{
RunTest("language/expressions/class/name.js");
}
[Fact(DisplayName = "/language/expressions/class/params-dflt-gen-meth-args-unmapped.js")]
public void Test_params﹏dflt﹏gen﹏meth﹏args﹏unmapped_js()
{
RunTest("language/expressions/class/params-dflt-gen-meth-args-unmapped.js");
}
[Fact(DisplayName = "/language/expressions/class/params-dflt-gen-meth-ref-arguments.js")]
public void Test_params﹏dflt﹏gen﹏meth﹏ref﹏arguments_js()
{
RunTest("language/expressions/class/params-dflt-gen-meth-ref-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/params-dflt-gen-meth-static-args-unmapped.js")]
public void Test_params﹏dflt﹏gen﹏meth﹏static﹏args﹏unmapped_js()
{
RunTest("language/expressions/class/params-dflt-gen-meth-static-args-unmapped.js");
}
[Fact(DisplayName = "/language/expressions/class/params-dflt-gen-meth-static-ref-arguments.js")]
public void Test_params﹏dflt﹏gen﹏meth﹏static﹏ref﹏arguments_js()
{
RunTest("language/expressions/class/params-dflt-gen-meth-static-ref-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/params-dflt-meth-args-unmapped.js")]
public void Test_params﹏dflt﹏meth﹏args﹏unmapped_js()
{
RunTest("language/expressions/class/params-dflt-meth-args-unmapped.js");
}
[Fact(DisplayName = "/language/expressions/class/params-dflt-meth-ref-arguments.js")]
public void Test_params﹏dflt﹏meth﹏ref﹏arguments_js()
{
RunTest("language/expressions/class/params-dflt-meth-ref-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/params-dflt-meth-static-args-unmapped.js")]
public void Test_params﹏dflt﹏meth﹏static﹏args﹏unmapped_js()
{
RunTest("language/expressions/class/params-dflt-meth-static-args-unmapped.js");
}
[Fact(DisplayName = "/language/expressions/class/params-dflt-meth-static-ref-arguments.js")]
public void Test_params﹏dflt﹏meth﹏static﹏ref﹏arguments_js()
{
RunTest("language/expressions/class/params-dflt-meth-static-ref-arguments.js");
}
[Fact(DisplayName = "/language/expressions/class/restricted-properties.js")]
public void Test_restricted﹏properties_js()
{
RunTest("language/expressions/class/restricted-properties.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-gen-meth-paramsbody-var-close.js")]
public void Test_scope﹏gen﹏meth﹏paramsbody﹏var﹏close_js()
{
RunTest("language/expressions/class/scope-gen-meth-paramsbody-var-close.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-gen-meth-paramsbody-var-open.js")]
public void Test_scope﹏gen﹏meth﹏paramsbody﹏var﹏open_js()
{
RunTest("language/expressions/class/scope-gen-meth-paramsbody-var-open.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-meth-paramsbody-var-close.js")]
public void Test_scope﹏meth﹏paramsbody﹏var﹏close_js()
{
RunTest("language/expressions/class/scope-meth-paramsbody-var-close.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-meth-paramsbody-var-open.js")]
public void Test_scope﹏meth﹏paramsbody﹏var﹏open_js()
{
RunTest("language/expressions/class/scope-meth-paramsbody-var-open.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-name-lex-close.js")]
public void Test_scope﹏name﹏lex﹏close_js()
{
RunTest("language/expressions/class/scope-name-lex-close.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-name-lex-open-heritage.js")]
public void Test_scope﹏name﹏lex﹏open﹏heritage_js()
{
RunTest("language/expressions/class/scope-name-lex-open-heritage.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-name-lex-open-no-heritage.js")]
public void Test_scope﹏name﹏lex﹏open﹏no﹏heritage_js()
{
RunTest("language/expressions/class/scope-name-lex-open-no-heritage.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-setter-paramsbody-var-close.js")]
public void Test_scope﹏setter﹏paramsbody﹏var﹏close_js()
{
RunTest("language/expressions/class/scope-setter-paramsbody-var-close.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-setter-paramsbody-var-open.js")]
public void Test_scope﹏setter﹏paramsbody﹏var﹏open_js()
{
RunTest("language/expressions/class/scope-setter-paramsbody-var-open.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-static-gen-meth-paramsbody-var-close.js")]
public void Test_scope﹏static﹏gen﹏meth﹏paramsbody﹏var﹏close_js()
{
RunTest("language/expressions/class/scope-static-gen-meth-paramsbody-var-close.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-static-gen-meth-paramsbody-var-open.js")]
public void Test_scope﹏static﹏gen﹏meth﹏paramsbody﹏var﹏open_js()
{
RunTest("language/expressions/class/scope-static-gen-meth-paramsbody-var-open.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-static-meth-paramsbody-var-close.js")]
public void Test_scope﹏static﹏meth﹏paramsbody﹏var﹏close_js()
{
RunTest("language/expressions/class/scope-static-meth-paramsbody-var-close.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-static-meth-paramsbody-var-open.js")]
public void Test_scope﹏static﹏meth﹏paramsbody﹏var﹏open_js()
{
RunTest("language/expressions/class/scope-static-meth-paramsbody-var-open.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-static-setter-paramsbody-var-close.js")]
public void Test_scope﹏static﹏setter﹏paramsbody﹏var﹏close_js()
{
RunTest("language/expressions/class/scope-static-setter-paramsbody-var-close.js");
}
[Fact(DisplayName = "/language/expressions/class/scope-static-setter-paramsbody-var-open.js")]
public void Test_scope﹏static﹏setter﹏paramsbody﹏var﹏open_js()
{
RunTest("language/expressions/class/scope-static-setter-paramsbody-var-open.js");
}
[Fact(DisplayName = "/language/expressions/class/setter-length-dflt.js")]
public void Test_setter﹏length﹏dflt_js()
{
RunTest("language/expressions/class/setter-length-dflt.js");
}
[Fact(DisplayName = "/language/expressions/class/static-gen-method-param-dflt-yield.js")]
public void Test_static﹏gen﹏method﹏param﹏dflt﹏yield_js()
{
RunTest("language/expressions/class/static-gen-method-param-dflt-yield.js");
}
[Fact(DisplayName = "/language/expressions/class/static-method-length-dflt.js")]
public void Test_static﹏method﹏length﹏dflt_js()
{
RunTest("language/expressions/class/static-method-length-dflt.js");
}
[Fact(DisplayName = "/language/expressions/class/static-method-param-dflt-yield.js")]
public void Test_static﹏method﹏param﹏dflt﹏yield_js()
{
RunTest("language/expressions/class/static-method-param-dflt-yield.js");
}
}
}
| 52.73252 | 146 | 0.656234 | [
"MIT"
] | MatthewSmit/.netScript | NetScriptTest/NetScriptTest.language.expressions.Class.cs | 535,396 | C# |
using DestinyMod.Common.Projectiles;
using DestinyMod.Content.Buffs.Debuffs;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Graphics;
using System;
using Terraria;
using Terraria.Audio;
using Terraria.Enums;
using Terraria.GameContent;
using Terraria.ID;
using Terraria.ModLoader;
using ReLogic.Utilities;
namespace DestinyMod.Content.Projectiles.Weapons.Magic
{
public class DivinityBeam : DestinyModProjectile
{
private SlotId Fire; //thanks, solstice
private SlotId Start;
public float Distance { get => Projectile.ai[0]; set => Projectile.ai[0] = value; }
public float Counter { get => Projectile.ai[1]; set => Projectile.ai[1] = value; }
public override void DestinySetDefaults()
{
Projectile.width = 10;
Projectile.height = 10;
Projectile.friendly = true;
Projectile.penetrate = -1;
Projectile.tileCollide = false;
Projectile.DamageType = DamageClass.Magic;
Projectile.hide = true;
}
public override bool PreDraw(ref Color lightColor)
{
Player player = Main.player[Projectile.owner];
DrawLaser(Main.spriteBatch, TextureAssets.Projectile[Projectile.type].Value, new Vector2(player.MountedCenter.X, player.MountedCenter.Y - 5),
Projectile.velocity, 10, Projectile.damage, -MathHelper.PiOver2, 1f, 60);
return false;
}
public void DrawLaser(SpriteBatch spriteBatch, Texture2D texture, Vector2 start, Vector2 unit, float step, int damage, float rotation = 0f, float scale = 1f, int transDist = 50)
{
float adjustedRotation = unit.ToRotation() + rotation;
Vector2 origin = new Vector2(10, 13);
for (float i = transDist; i <= Distance; i += step)
{
Vector2 drawPos = start + i * unit;
spriteBatch.Draw(texture, drawPos - Main.screenPosition,
new Rectangle(0, 26, 20, 26), i < transDist ? Color.Transparent : Color.White, adjustedRotation,
origin, scale, 0, 0);
}
spriteBatch.Draw(texture, start + unit * (transDist - step) - Main.screenPosition,
new Rectangle(0, 0, 20, 26), Color.White, adjustedRotation, origin, scale, 0, 0);
spriteBatch.Draw(texture, start + (Distance + step) * unit - Main.screenPosition,
new Rectangle(0, 52, 20, 26), Color.White, adjustedRotation, origin, scale, 0, 0);
}
public override bool? Colliding(Rectangle projHitbox, Rectangle targetHitbox)
{
Player player = Main.player[Projectile.owner];
Vector2 collisionBox = new Vector2(player.MountedCenter.X, player.MountedCenter.Y - 5) + Projectile.velocity * (Distance + 10);
float discard = 0f;
return Collision.CheckAABBvLineCollision(targetHitbox.TopLeft(), targetHitbox.Size(), player.MountedCenter,
collisionBox, 8, ref discard);
}
public override void Kill(int timeLeft)
{
SoundEngine.TryGetActiveSound(Start, out ActiveSound startStatus);
SoundEngine.TryGetActiveSound(Fire, out ActiveSound fireStatus);
startStatus?.Stop();
fireStatus?.Stop();
SoundEngine.PlaySound(new SoundStyle("DestinyMod/Assets/Sounds/Item/Weapons/Magic/DivinityStop"), Projectile.Center);
}
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
target.immune[Projectile.owner] = 5;
if (Counter > 120)
{
target.AddBuff(ModContent.BuffType<Judgment>(), 150);
Counter = 0;
}
}
public override void AI()
{
Player player = Main.player[Projectile.owner];
Projectile.position = player.MountedCenter + Projectile.velocity * 60;
Projectile.timeLeft = 4;
if (Start.Value == 0)
{
Start = SoundEngine.PlaySound(new SoundStyle("DestinyMod/Assets/Sounds/Item/Weapons/Magic/DivinityStart"), Projectile.Center);
}
bool startSuccess = SoundEngine.TryGetActiveSound(Start, out ActiveSound startStatus);
bool fireSuccess = SoundEngine.TryGetActiveSound(Fire, out ActiveSound fireStatus);
if (!startSuccess && !fireSuccess)
{
Fire = SoundEngine.PlaySound(new SoundStyle("DestinyMod/Assets/Sounds/Item/Weapons/Magic/DivinityFire"), Projectile.Center);
}
if (!player.channel && player.whoAmI == Main.myPlayer || Main.time % 10 == 0 && !player.CheckMana(player.inventory[player.selectedItem].mana, true))
{
Projectile.Kill();
}
if (Projectile.owner == Main.myPlayer)
{
Projectile.velocity = Vector2.Normalize(Main.MouseWorld - player.MountedCenter);
Projectile.direction = Main.MouseWorld.X > player.position.X ? 1 : -1;
Projectile.netUpdate = true;
}
int dir = Projectile.direction;
player.ChangeDir(dir);
player.heldProj = Projectile.whoAmI;
player.itemTime = player.itemAnimation = 2;
player.itemRotation = (float)Math.Atan2(Projectile.velocity.Y * dir, Projectile.velocity.X * dir);
for (Distance = 60; Distance <= 2200f; Distance += 5f)
{
Vector2 start = player.MountedCenter + Projectile.velocity * Distance;
if (!Collision.CanHitLine(player.MountedCenter, 1, 1, start, 1, 1))
{
Distance -= 5f;
Counter = 0;
break;
}
for (int npcCount = 0; npcCount < Main.maxNPCs; npcCount++)
{
NPC npc = Main.npc[npcCount];
if (npc.active && !npc.townNPC && !npc.dontTakeDamage && npc.Hitbox.Contains((int)start.X, (int)start.Y))
{
Counter++;
goto End;
}
}
for (int playerCount = 0; playerCount < Main.maxPlayers; playerCount++)
{
if (playerCount == Main.myPlayer)
{
continue;
}
Player otherPlayer = Main.player[playerCount];
if (otherPlayer.active && otherPlayer.team != player.team && otherPlayer.hostile && otherPlayer.Hitbox.Contains((int)start.X, (int)start.Y))
{
Counter++;
goto End;
}
}
}
End:
Vector2 dustPos = player.Center + Projectile.velocity * Distance;
for (int i = 0; i < 2; i++)
{
float velInput = Projectile.velocity.ToRotation() + (Main.rand.NextBool() ? -MathHelper.PiOver2 : MathHelper.PiOver2);
float velMultiplier = (float)(Main.rand.NextDouble() * 0.8f + 1.0f);
Vector2 dustVel = new Vector2((float)Math.Cos(velInput) * velMultiplier, (float)Math.Sin(velInput) * velMultiplier);
Dust dust = Main.dust[Dust.NewDust(dustPos, 0, 0, DustID.Electric, dustVel.X, dustVel.Y)];
dust.noGravity = true;
dust.scale = 1.2f;
}
if (Main.rand.NextBool(5))
{
Dust dust = Main.dust[Dust.NewDust(player.Center + 55 * Vector2.Normalize(dustPos - player.Center), 8, 8, DustID.Electric, 0.0f, 0.0f, 100, new Color(), 1.5f)];
dust.noGravity = true;
dust.scale = 0.5f;
}
if (++Projectile.localAI[1] > 1)
{
DelegateMethods.v3_1 = new Vector3(0.8f, 0.8f, 1f);
Utils.PlotTileLine(Projectile.Center, Projectile.Center + Projectile.velocity * (Distance - 60), 26, DelegateMethods.CastLight);
}
}
public override bool ShouldUpdatePosition() => false;
public override void CutTiles()
{
DelegateMethods.tilecut_0 = TileCuttingContext.AttackProjectile;
Utils.PlotTileLine(Projectile.Center, Projectile.Center + Projectile.velocity * (Distance - 60), (Projectile.width + 16) * Projectile.scale, DelegateMethods.CutTiles);
}
}
} | 35.144279 | 179 | 0.697905 | [
"MIT"
] | MikhailMCraft/DestinyMod | Content/Projectiles/Weapons/Magic/DivinityBeam.cs | 7,064 | C# |
using WebApplication1;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
builder.Services.AddEndpointsApiExplorer();
builder.Services.AddSwaggerGen();
var configurationInstaller = new ConfigurationInstaller();
configurationInstaller.AddConfigurations(builder.Services, builder.Configuration);
var app = builder.Build();
// Configure the HTTP request pipeline.
if (app.Environment.IsDevelopment())
{
app.UseSwagger();
app.UseSwaggerUI();
}
app.UseHttpsRedirection();
app.UseAuthorization();
app.MapControllers();
app.Run(); | 22.548387 | 88 | 0.782546 | [
"MIT"
] | twinity1/AppSettingsDocGenerator | WebApplication1/Program.cs | 699 | C# |
using Newtonsoft.Json;
namespace RetroClash.Logic.Manager.Items
{
public class Resource
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("vl")]
public int Value { get; set; }
}
} | 18.538462 | 40 | 0.576763 | [
"BSD-3-Clause"
] | HiimEiffel/RetroClashv0.6 | RetroClash/Logic/Manager/Items/Resource.cs | 243 | C# |
using UnityEngine;
namespace Adrenak.Tork {
public abstract class Player : MonoBehaviour {
protected VehicleInput p_Input = new VehicleInput();
public abstract VehicleInput GetInput();
}
}
| 22.333333 | 55 | 0.751244 | [
"MIT"
] | PragneshRathod901/Tork | Assets/Adrenak/Tork/Common/Scripts/Player.cs | 203 | C# |
//******************************************************************************************************
// EditorEventManager.cs - Gbtc
//
// Copyright © 2019, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// the NOTICE file distributed with this work for additional information regarding copyright ownership.
// The GPA licenses this file to you under the MIT License (MIT), the "License"; you may not use this
// file except in compliance with the License. You may obtain a copy of the License at:
//
// http://opensource.org/licenses/MIT
//
// Unless agreed to in writing, the subject software distributed under the License is distributed on an
// "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the
// License for the specific language governing permissions and limitations.
//
// Code Modification History:
// ----------------------------------------------------------------------------------------------------
// 07/01/2019 - J. Ritchie Carroll
// Generated original version of source code.
//
//******************************************************************************************************
using System;
using System.IO;
using UnityEditor;
using UnityEditor.Callbacks;
using UnityEngine;
// ReSharper disable once CheckNamespace
namespace ConnectionTester.Editor
{
[InitializeOnLoad]
public class EditorEventManager
{
static EditorEventManager()
{
// Setup path to load proper version of native sttp.net.lib.dll from inside Unity editor
string currentPath = Environment.GetEnvironmentVariable("PATH", EnvironmentVariableTarget.Process);
string dataPath = Application.dataPath.Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar);
#if UNITY_EDITOR_32
string pluginPath = Path.Combine(dataPath, "sttp.net", "Plugins", "x86");
#else
string pluginPath = Path.Combine(dataPath, "sttp.net", "Plugins", "x86_64");
#endif
if (!currentPath?.Contains(pluginPath) ?? false)
Environment.SetEnvironmentVariable("PATH", $"{currentPath}{Path.PathSeparator}{pluginPath}", EnvironmentVariableTarget.Process);
EditorApplication.playModeStateChanged += PlayModeStateChangedHandler;
}
private static void PlayModeStateChangedHandler(PlayModeStateChange state)
{
if (state == PlayModeStateChange.ExitingPlayMode)
GraphLines.EditorExitingPlayMode();
}
[PostProcessBuild(1)]
public static void OnPostprocessBuild(BuildTarget target, string path)
{
string targetName = Common.GetTargetName();
switch (target)
{
case BuildTarget.StandaloneWindows:
case BuildTarget.StandaloneWindows64:
targetName += ".exe";
break;
}
File.Move(path, Path.Combine(Path.GetDirectoryName(path) ?? "", targetName));
}
}
} | 42.36 | 144 | 0.609065 | [
"MIT"
] | sttp/connection-tester | Assets/Editor/EditorEventManager.cs | 3,180 | C# |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EgitimAPI.ApplicationCore.Entities.Comments;
using Microsoft.EgitimAPI.ApplicationCore.Services.CommentService.Dto;
using Microsoft.EgitimAPI.ApplicationCore.Services.Dto;
namespace Microsoft.EgitimAPI.ApplicationCore.Services.CommentService
{
public interface ICommentAppService
{
Task CreateComment(CreateCommentDto input);
Task<PagedResultDto<CommentDto>> GetEntityComments(long entityId, string entityName);
Task DeleteComment(long id);
Task UpdateComment(UpdateCommentDto input);
}
} | 38.3125 | 93 | 0.797716 | [
"MIT"
] | sahinme/edutro-api | src/ApplicationCore/Services/CommentService/ICommentAppService.cs | 613 | C# |
using System;
using System.Collections.Generic;
using BEPUphysics.BroadPhaseEntries.MobileCollidables;
using BEPUphysics.CollisionShapes;
using BEPUutilities;
using BEPUutilities.DataStructures;
namespace BEPUphysics.Entities.Prefabs
{
/// <summary>
/// Acts as a grouping of multiple other objects. Can be used to form physically simulated concave shapes.
/// </summary>
public class CompoundBody : Entity<CompoundCollidable>
{
///<summary>
/// Gets the list of shapes in the compound.
///</summary>
public ReadOnlyList<CompoundShapeEntry> Shapes
{
get
{
return CollisionInformation.Shape.Shapes;
}
}
/// <summary>
/// Creates a new kinematic CompoundBody with the given subbodies.
/// </summary>
/// <param name="bodies">List of entities to use as subbodies of the compound body.</param>
/// <exception cref="InvalidOperationException">Thrown when the bodies list is empty or there is a mix of kinematic and dynamic entities in the body list.</exception>
public CompoundBody(IList<CompoundShapeEntry> bodies)
{
Vector3 center;
var shape = new CompoundShape(bodies, out center);
Initialize(new CompoundCollidable(shape));
Position = center;
}
/// <summary>
/// Creates a new dynamic CompoundBody with the given subbodies.
/// </summary>
/// <param name="bodies">List of entities to use as subbodies of the compound body.</param>
/// <param name="mass">Mass of the compound.</param>
/// <exception cref="InvalidOperationException">Thrown when the bodies list is empty or there is a mix of kinematic and dynamic entities in the body list.</exception>
public CompoundBody(IList<CompoundShapeEntry> bodies, float mass)
{
Vector3 center;
var shape = new CompoundShape(bodies, out center);
Initialize(new CompoundCollidable(shape), mass);
Position = center;
}
///<summary>
/// Constructs a kinematic compound body from the children data.
///</summary>
///<param name="children">Children data to construct the compound from.</param>
public CompoundBody(IList<CompoundChildData> children)
{
Vector3 center;
var collidable = new CompoundCollidable(children, out center);
Initialize(collidable);
Position = center;
}
///<summary>
/// Constructs a dynamic compound body from the children data.
///</summary>
///<param name="children">Children data to construct the compound from.</param>
///<param name="mass">Mass of the compound body.</param>
public CompoundBody(IList<CompoundChildData> children, float mass)
{
Vector3 center;
var collidable = new CompoundCollidable(children, out center);
Initialize(collidable, mass);
Position = center;
}
}
} | 35.908046 | 174 | 0.623239 | [
"Unlicense"
] | aeroson/lego-game-and-Unity-like-engine | MyEngine/bepuphysics/Entities/Prefabs/CompoundBody.cs | 3,124 | C# |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Xml.Serialization;
namespace Workday.FinancialManagement
{
[GeneratedCode("System.Xml", "4.6.1590.0"), DesignerCategory("code"), DebuggerStepThrough, XmlType(Namespace = "urn:com.workday/bsvc")]
[Serializable]
public class Budget_Lines_High_Volume_DataType : INotifyPropertyChanged
{
private string line_OrderField;
private CompanyObjectType company_ReferenceField;
private decimal yearField;
private bool yearFieldSpecified;
private Fiscal_Time_IntervalObjectType fiscal_Time_Interval_ReferenceField;
private Financial_Report_GroupObjectType ledger_Account_or_Ledger_Account_Summary_ReferenceField;
private CurrencyObjectType budget_Currency_ReferenceField;
private decimal budget_Debit_AmountField;
private bool budget_Debit_AmountFieldSpecified;
private decimal budget_Credit_AmountField;
private bool budget_Credit_AmountFieldSpecified;
private string memoField;
private Accounting_Worktag_and_Aggregation_DimensionObjectType[] accounting_Worktag_ReferenceField;
[method: CompilerGenerated]
[CompilerGenerated]
public event PropertyChangedEventHandler PropertyChanged;
[XmlElement(Order = 0)]
public string Line_Order
{
get
{
return this.line_OrderField;
}
set
{
this.line_OrderField = value;
this.RaisePropertyChanged("Line_Order");
}
}
[XmlElement(Order = 1)]
public CompanyObjectType Company_Reference
{
get
{
return this.company_ReferenceField;
}
set
{
this.company_ReferenceField = value;
this.RaisePropertyChanged("Company_Reference");
}
}
[XmlElement(Order = 2)]
public decimal Year
{
get
{
return this.yearField;
}
set
{
this.yearField = value;
this.RaisePropertyChanged("Year");
}
}
[XmlIgnore]
public bool YearSpecified
{
get
{
return this.yearFieldSpecified;
}
set
{
this.yearFieldSpecified = value;
this.RaisePropertyChanged("YearSpecified");
}
}
[XmlElement(Order = 3)]
public Fiscal_Time_IntervalObjectType Fiscal_Time_Interval_Reference
{
get
{
return this.fiscal_Time_Interval_ReferenceField;
}
set
{
this.fiscal_Time_Interval_ReferenceField = value;
this.RaisePropertyChanged("Fiscal_Time_Interval_Reference");
}
}
[XmlElement(Order = 4)]
public Financial_Report_GroupObjectType Ledger_Account_or_Ledger_Account_Summary_Reference
{
get
{
return this.ledger_Account_or_Ledger_Account_Summary_ReferenceField;
}
set
{
this.ledger_Account_or_Ledger_Account_Summary_ReferenceField = value;
this.RaisePropertyChanged("Ledger_Account_or_Ledger_Account_Summary_Reference");
}
}
[XmlElement(Order = 5)]
public CurrencyObjectType Budget_Currency_Reference
{
get
{
return this.budget_Currency_ReferenceField;
}
set
{
this.budget_Currency_ReferenceField = value;
this.RaisePropertyChanged("Budget_Currency_Reference");
}
}
[XmlElement(Order = 6)]
public decimal Budget_Debit_Amount
{
get
{
return this.budget_Debit_AmountField;
}
set
{
this.budget_Debit_AmountField = value;
this.RaisePropertyChanged("Budget_Debit_Amount");
}
}
[XmlIgnore]
public bool Budget_Debit_AmountSpecified
{
get
{
return this.budget_Debit_AmountFieldSpecified;
}
set
{
this.budget_Debit_AmountFieldSpecified = value;
this.RaisePropertyChanged("Budget_Debit_AmountSpecified");
}
}
[XmlElement(Order = 7)]
public decimal Budget_Credit_Amount
{
get
{
return this.budget_Credit_AmountField;
}
set
{
this.budget_Credit_AmountField = value;
this.RaisePropertyChanged("Budget_Credit_Amount");
}
}
[XmlIgnore]
public bool Budget_Credit_AmountSpecified
{
get
{
return this.budget_Credit_AmountFieldSpecified;
}
set
{
this.budget_Credit_AmountFieldSpecified = value;
this.RaisePropertyChanged("Budget_Credit_AmountSpecified");
}
}
[XmlElement(Order = 8)]
public string Memo
{
get
{
return this.memoField;
}
set
{
this.memoField = value;
this.RaisePropertyChanged("Memo");
}
}
[XmlElement("Accounting_Worktag_Reference", Order = 9)]
public Accounting_Worktag_and_Aggregation_DimensionObjectType[] Accounting_Worktag_Reference
{
get
{
return this.accounting_Worktag_ReferenceField;
}
set
{
this.accounting_Worktag_ReferenceField = value;
this.RaisePropertyChanged("Accounting_Worktag_Reference");
}
}
protected void RaisePropertyChanged(string propertyName)
{
PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if (propertyChanged != null)
{
propertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
}
| 20.932203 | 136 | 0.736032 | [
"MIT"
] | matteofabbri/Workday.WebServices | Workday.FinancialManagement/Budget_Lines_High_Volume_DataType.cs | 4,940 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006-2020, All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 13 Swallows Close,
// Mornington, Vic 3931, Australia and are supplied subject to license terms.
//
// Modifications by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV) 2017 - 2020. All rights reserved. (https://github.com/Wagnerp/Krypton-NET-5.490)
// Version 5.490.0.0 www.ComponentFactory.com
// *****************************************************************************
using System.ComponentModel.Design;
namespace ComponentFactory.Krypton.Toolkit
{
internal class KryptonNumericUpDownActionList : DesignerActionList
{
#region Instance Fields
private readonly KryptonNumericUpDown _numericUpDown;
private readonly IComponentChangeService _service;
#endregion
#region Identity
/// <summary>
/// Initialize a new instance of the KryptonNumericUpDownActionList class.
/// </summary>
/// <param name="owner">Designer that owns this action list instance.</param>
public KryptonNumericUpDownActionList(KryptonNumericUpDownDesigner owner)
: base(owner.Component)
{
// Remember the text box instance
_numericUpDown = owner.Component as KryptonNumericUpDown;
// Cache service used to notify when a property has changed
_service = (IComponentChangeService)GetService(typeof(IComponentChangeService));
}
#endregion
#region Public
/// <summary>
/// Gets and sets the palette mode.
/// </summary>
public PaletteMode PaletteMode
{
get => _numericUpDown.PaletteMode;
set
{
if (_numericUpDown.PaletteMode != value)
{
_service.OnComponentChanged(_numericUpDown, null, _numericUpDown.PaletteMode, value);
_numericUpDown.PaletteMode = value;
}
}
}
/// <summary>
/// Gets and sets the input control style.
/// </summary>
public InputControlStyle InputControlStyle
{
get => _numericUpDown.InputControlStyle;
set
{
if (_numericUpDown.InputControlStyle != value)
{
_service.OnComponentChanged(_numericUpDown, null, _numericUpDown.InputControlStyle, value);
_numericUpDown.InputControlStyle = value;
}
}
}
/// <summary>
/// Gets and sets the increment value of the control.
/// </summary>
public decimal Increment
{
get => _numericUpDown.Increment;
set
{
if (_numericUpDown.Increment != value)
{
_service.OnComponentChanged(_numericUpDown, null, _numericUpDown.Increment, value);
_numericUpDown.Increment = value;
}
}
}
/// <summary>
/// Gets and sets the increment value of the control.
/// </summary>
public decimal Maximum
{
get => _numericUpDown.Maximum;
set
{
if (_numericUpDown.Maximum != value)
{
_service.OnComponentChanged(_numericUpDown, null, _numericUpDown.Maximum, value);
_numericUpDown.Maximum = value;
}
}
}
/// <summary>
/// Gets and sets the increment value of the control.
/// </summary>
public decimal Minimum
{
get => _numericUpDown.Minimum;
set
{
if (_numericUpDown.Minimum != value)
{
_service.OnComponentChanged(_numericUpDown, null, _numericUpDown.Minimum, value);
_numericUpDown.Minimum = value;
}
}
}
#endregion
#region Public Override
/// <summary>
/// Returns the collection of DesignerActionItem objects contained in the list.
/// </summary>
/// <returns>A DesignerActionItem array that contains the items in this list.</returns>
public override DesignerActionItemCollection GetSortedActionItems()
{
// Create a new collection for holding the single item we want to create
DesignerActionItemCollection actions = new DesignerActionItemCollection();
// This can be null when deleting a control instance at design time
if (_numericUpDown != null)
{
// Add the list of label specific actions
actions.Add(new DesignerActionHeaderItem("Appearance"));
actions.Add(new DesignerActionPropertyItem("InputControlStyle", "Style", "Appearance", "NumericUpDown display style."));
actions.Add(new DesignerActionHeaderItem("Data"));
actions.Add(new DesignerActionPropertyItem("Increment", "Increment", "Data", "NumericUpDown increment value."));
actions.Add(new DesignerActionPropertyItem("Maximum", "Maximum", "Data", "NumericUpDown maximum value."));
actions.Add(new DesignerActionPropertyItem("Minimum", "Minimum", "Data", "NumericUpDown minimum value."));
actions.Add(new DesignerActionHeaderItem("Visuals"));
actions.Add(new DesignerActionPropertyItem("PaletteMode", "Palette", "Visuals", "Palette applied to drawing"));
}
return actions;
}
#endregion
}
}
| 38.645161 | 157 | 0.568614 | [
"BSD-3-Clause"
] | Carko/Krypton-Toolkit-Suite-NET-Core | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Toolkit/KryptonNumericUpDownActionList.cs | 5,993 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using Microsoft.CodeAnalysis.Emit;
using Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeAnalysis.Text;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp
{
public class CSharpCommandLineParser : CommandLineParser
{
public static CSharpCommandLineParser Default { get; } = new CSharpCommandLineParser();
public static CSharpCommandLineParser Script { get; } = new CSharpCommandLineParser(isScriptCommandLineParser: true);
private readonly static char[] s_quoteOrEquals = new[] { '"', '=' };
internal CSharpCommandLineParser(bool isScriptCommandLineParser = false)
: base(CSharp.MessageProvider.Instance, isScriptCommandLineParser)
{
}
protected override string RegularFileExtension { get { return ".cs"; } }
protected override string ScriptFileExtension { get { return ".csx"; } }
internal sealed override CommandLineArguments CommonParse(IEnumerable<string> args, string baseDirectory, string sdkDirectoryOpt, string additionalReferenceDirectories)
{
return Parse(args, baseDirectory, sdkDirectoryOpt, additionalReferenceDirectories);
}
/// <summary>
/// Parses a command line.
/// </summary>
/// <param name="args">A collection of strings representing the command line arguments.</param>
/// <param name="baseDirectory">The base directory used for qualifying file locations.</param>
/// <param name="sdkDirectory">The directory to search for mscorlib, or null if not available.</param>
/// <param name="additionalReferenceDirectories">A string representing additional reference paths.</param>
/// <returns>a commandlinearguments object representing the parsed command line.</returns>
public new CSharpCommandLineArguments Parse(IEnumerable<string> args, string baseDirectory, string sdkDirectory, string additionalReferenceDirectories = null)
{
Debug.Assert(baseDirectory == null || PathUtilities.IsAbsolute(baseDirectory));
List<Diagnostic> diagnostics = new List<Diagnostic>();
List<string> flattenedArgs = new List<string>();
List<string> scriptArgs = IsScriptCommandLineParser ? new List<string>() : null;
List<string> responsePaths = IsScriptCommandLineParser ? new List<string>() : null;
FlattenArgs(args, diagnostics, flattenedArgs, scriptArgs, baseDirectory, responsePaths);
string appConfigPath = null;
bool displayLogo = true;
bool displayHelp = false;
bool displayVersion = false;
bool displayLangVersions = false;
bool optimize = false;
bool checkOverflow = false;
NullableContextOptions nullableContextOptions = NullableContextOptions.Disable;
bool allowUnsafe = false;
bool concurrentBuild = true;
bool deterministic = false; // TODO(5431): Enable deterministic mode by default
bool emitPdb = false;
DebugInformationFormat debugInformationFormat = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb;
bool debugPlus = false;
string pdbPath = null;
bool noStdLib = IsScriptCommandLineParser; // don't add mscorlib from sdk dir when running scripts
string outputDirectory = baseDirectory;
ImmutableArray<KeyValuePair<string, string>> pathMap = ImmutableArray<KeyValuePair<string, string>>.Empty;
string outputFileName = null;
string outputRefFilePath = null;
bool refOnly = false;
string documentationPath = null;
ErrorLogOptions errorLogOptions = null;
bool parseDocumentationComments = false; //Don't just null check documentationFileName because we want to do this even if the file name is invalid.
bool utf8output = false;
OutputKind outputKind = OutputKind.ConsoleApplication;
SubsystemVersion subsystemVersion = SubsystemVersion.None;
LanguageVersion languageVersion = LanguageVersion.Default;
string mainTypeName = null;
string win32ManifestFile = null;
string win32ResourceFile = null;
string win32IconFile = null;
bool noWin32Manifest = false;
Platform platform = Platform.AnyCpu;
ulong baseAddress = 0;
int fileAlignment = 0;
bool? delaySignSetting = null;
string keyFileSetting = null;
string keyContainerSetting = null;
List<ResourceDescription> managedResources = new List<ResourceDescription>();
List<CommandLineSourceFile> sourceFiles = new List<CommandLineSourceFile>();
List<CommandLineSourceFile> additionalFiles = new List<CommandLineSourceFile>();
var analyzerConfigPaths = ArrayBuilder<string>.GetInstance();
List<CommandLineSourceFile> embeddedFiles = new List<CommandLineSourceFile>();
bool sourceFilesSpecified = false;
bool embedAllSourceFiles = false;
bool resourcesOrModulesSpecified = false;
Encoding codepage = null;
var checksumAlgorithm = SourceHashAlgorithmUtils.DefaultContentHashAlgorithm;
var defines = ArrayBuilder<string>.GetInstance();
List<CommandLineReference> metadataReferences = new List<CommandLineReference>();
List<CommandLineAnalyzerReference> analyzers = new List<CommandLineAnalyzerReference>();
List<string> libPaths = new List<string>();
List<string> sourcePaths = new List<string>();
List<string> keyFileSearchPaths = new List<string>();
List<string> usings = new List<string>();
var generalDiagnosticOption = ReportDiagnostic.Default;
var diagnosticOptions = new Dictionary<string, ReportDiagnostic>();
var noWarns = new Dictionary<string, ReportDiagnostic>();
var warnAsErrors = new Dictionary<string, ReportDiagnostic>();
int warningLevel = 4;
bool highEntropyVA = false;
bool printFullPaths = false;
string moduleAssemblyName = null;
string moduleName = null;
List<string> features = new List<string>();
string runtimeMetadataVersion = null;
bool errorEndLocation = false;
bool reportAnalyzer = false;
ArrayBuilder<InstrumentationKind> instrumentationKinds = ArrayBuilder<InstrumentationKind>.GetInstance();
CultureInfo preferredUILang = null;
string touchedFilesPath = null;
bool optionsEnded = false;
bool interactiveMode = false;
bool publicSign = false;
string sourceLink = null;
string ruleSetPath = null;
// Process ruleset files first so that diagnostic severity settings specified on the command line via
// /nowarn and /warnaserror can override diagnostic severity settings specified in the ruleset file.
if (!IsScriptCommandLineParser)
{
foreach (string arg in flattenedArgs)
{
string name, value;
if (TryParseOption(arg, out name, out value) && (name == "ruleset"))
{
var unquoted = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(unquoted))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", name);
}
else
{
ruleSetPath = ParseGenericPathToFile(unquoted, diagnostics, baseDirectory);
generalDiagnosticOption = GetDiagnosticOptionsFromRulesetFile(ruleSetPath, out diagnosticOptions, diagnostics);
}
}
}
}
foreach (string arg in flattenedArgs)
{
Debug.Assert(optionsEnded || !arg.StartsWith("@", StringComparison.Ordinal));
string name, value;
if (optionsEnded || !TryParseOption(arg, out name, out value))
{
foreach (var path in ParseFileArgument(arg, baseDirectory, diagnostics))
{
sourceFiles.Add(ToCommandLineSourceFile(path));
}
if (sourceFiles.Count > 0)
{
sourceFilesSpecified = true;
}
continue;
}
switch (name)
{
case "?":
case "help":
displayHelp = true;
continue;
case "version":
displayVersion = true;
continue;
case "r":
case "reference":
metadataReferences.AddRange(ParseAssemblyReferences(arg, value, diagnostics, embedInteropTypes: false));
continue;
case "features":
if (value == null)
{
features.Clear();
}
else
{
features.Add(value);
}
continue;
case "lib":
case "libpath":
case "libpaths":
ParseAndResolveReferencePaths(name, value, baseDirectory, libPaths, MessageID.IDS_LIB_OPTION, diagnostics);
continue;
#if DEBUG
case "attachdebugger":
Debugger.Launch();
continue;
#endif
}
if (IsScriptCommandLineParser)
{
switch (name)
{
case "-": // csi -- script.csx
if (value != null) break;
if (arg == "-")
{
if (Console.IsInputRedirected)
{
sourceFiles.Add(new CommandLineSourceFile("-", isScript: true, isInputRedirected: true));
sourceFilesSpecified = true;
}
else
{
AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected);
}
continue;
}
// Indicates that the remaining arguments should not be treated as options.
optionsEnded = true;
continue;
case "i":
case "i+":
if (value != null) break;
interactiveMode = true;
continue;
case "i-":
if (value != null) break;
interactiveMode = false;
continue;
case "loadpath":
case "loadpaths":
ParseAndResolveReferencePaths(name, value, baseDirectory, sourcePaths, MessageID.IDS_REFERENCEPATH_OPTION, diagnostics);
continue;
case "u":
case "using":
case "usings":
case "import":
case "imports":
usings.AddRange(ParseUsings(arg, value, diagnostics));
continue;
}
}
else
{
switch (name)
{
case "a":
case "analyzer":
analyzers.AddRange(ParseAnalyzers(arg, value, diagnostics));
continue;
case "d":
case "define":
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", arg);
continue;
}
IEnumerable<Diagnostic> defineDiagnostics;
defines.AddRange(ParseConditionalCompilationSymbols(RemoveQuotesAndSlashes(value), out defineDiagnostics));
diagnostics.AddRange(defineDiagnostics);
continue;
case "codepage":
value = RemoveQuotesAndSlashes(value);
if (value == null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", name);
continue;
}
var encoding = TryParseEncodingName(value);
if (encoding == null)
{
AddDiagnostic(diagnostics, ErrorCode.FTL_BadCodepage, value);
continue;
}
codepage = encoding;
continue;
case "checksumalgorithm":
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", name);
continue;
}
var newChecksumAlgorithm = TryParseHashAlgorithmName(value);
if (newChecksumAlgorithm == SourceHashAlgorithm.None)
{
AddDiagnostic(diagnostics, ErrorCode.FTL_BadChecksumAlgorithm, value);
continue;
}
checksumAlgorithm = newChecksumAlgorithm;
continue;
case "checked":
case "checked+":
if (value != null)
{
break;
}
checkOverflow = true;
continue;
case "checked-":
if (value != null)
break;
checkOverflow = false;
continue;
case "nullable":
value = RemoveQuotesAndSlashes(value);
if (value != null)
{
if (value.IsEmpty())
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), name);
continue;
}
string loweredValue = value.ToLower();
switch (loweredValue)
{
case "disable":
Debug.Assert(loweredValue == nameof(NullableContextOptions.Disable).ToLower());
nullableContextOptions = NullableContextOptions.Disable;
break;
case "enable":
Debug.Assert(loweredValue == nameof(NullableContextOptions.Enable).ToLower());
nullableContextOptions = NullableContextOptions.Enable;
break;
case "warnings":
Debug.Assert(loweredValue == nameof(NullableContextOptions.Warnings).ToLower());
nullableContextOptions = NullableContextOptions.Warnings;
break;
case "annotations":
Debug.Assert(loweredValue == nameof(NullableContextOptions.Annotations).ToLower());
nullableContextOptions = NullableContextOptions.Annotations;
break;
default:
AddDiagnostic(diagnostics, ErrorCode.ERR_BadNullableContextOption, value);
break;
}
}
else
{
nullableContextOptions = NullableContextOptions.Enable;
}
continue;
case "nullable+":
if (value != null)
{
break;
}
nullableContextOptions = NullableContextOptions.Enable;
continue;
case "nullable-":
if (value != null)
break;
nullableContextOptions = NullableContextOptions.Disable;
continue;
case "instrument":
value = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", name);
}
else
{
foreach (InstrumentationKind instrumentationKind in ParseInstrumentationKinds(value, diagnostics))
{
if (!instrumentationKinds.Contains(instrumentationKind))
{
instrumentationKinds.Add(instrumentationKind);
}
}
}
continue;
case "noconfig":
// It is already handled (see CommonCommandLineCompiler.cs).
continue;
case "sqmsessionguid":
// The use of SQM is deprecated in the compiler but we still support the parsing of the option for
// back compat reasons.
if (value == null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_MissingGuidForOption, "<text>", name);
}
else
{
Guid sqmSessionGuid;
if (!Guid.TryParse(value, out sqmSessionGuid))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_InvalidFormatForGuidForOption, value, name);
}
}
continue;
case "preferreduilang":
value = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", arg);
continue;
}
try
{
preferredUILang = new CultureInfo(value);
if ((preferredUILang.CultureTypes & CultureTypes.UserCustomCulture) != 0)
{
// Do not use user custom cultures.
preferredUILang = null;
}
}
catch (CultureNotFoundException)
{
}
if (preferredUILang == null)
{
AddDiagnostic(diagnostics, ErrorCode.WRN_BadUILang, value);
}
continue;
case "nosdkpath":
sdkDirectory = null;
continue;
case "out":
if (string.IsNullOrWhiteSpace(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
}
else
{
ParseOutputFile(value, diagnostics, baseDirectory, out outputFileName, out outputDirectory);
}
continue;
case "refout":
value = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
}
else
{
outputRefFilePath = ParseGenericPathToFile(value, diagnostics, baseDirectory);
}
continue;
case "refonly":
if (value != null)
break;
refOnly = true;
continue;
case "t":
case "target":
if (value == null)
{
break; // force 'unrecognized option'
}
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget);
}
else
{
outputKind = ParseTarget(value, diagnostics);
}
continue;
case "moduleassemblyname":
value = value != null ? value.Unquote() : null;
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", arg);
}
else if (!MetadataHelpers.IsValidAssemblyOrModuleName(value))
{
// Dev11 C# doesn't check the name (VB does)
AddDiagnostic(diagnostics, ErrorCode.ERR_InvalidAssemblyName, "<text>", arg);
}
else
{
moduleAssemblyName = value;
}
continue;
case "modulename":
var unquotedModuleName = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(unquotedModuleName))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), "modulename");
continue;
}
else
{
moduleName = unquotedModuleName;
}
continue;
case "platform":
value = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<string>", arg);
}
else
{
platform = ParsePlatform(value, diagnostics);
}
continue;
case "recurse":
value = RemoveQuotesAndSlashes(value);
if (value == null)
{
break; // force 'unrecognized option'
}
else if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
}
else
{
int before = sourceFiles.Count;
sourceFiles.AddRange(ParseRecurseArgument(value, baseDirectory, diagnostics));
if (sourceFiles.Count > before)
{
sourceFilesSpecified = true;
}
}
continue;
case "doc":
parseDocumentationComments = true;
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), arg);
continue;
}
string unquoted = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(unquoted))
{
// CONSIDER: This diagnostic exactly matches dev11, but it would be simpler (and more consistent with /out)
// if we just let the next case handle /doc:"".
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), "/doc:"); // Different argument.
}
else
{
documentationPath = ParseGenericPathToFile(unquoted, diagnostics, baseDirectory);
}
continue;
case "addmodule":
if (value == null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), "/addmodule:");
}
else if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
}
else
{
// NOTE(tomat): Dev10 used to report CS1541: ERR_CantIncludeDirectory if the path was a directory.
// Since we now support /referencePaths option we would need to search them to see if the resolved path is a directory.
// An error will be reported by the assembly manager anyways.
metadataReferences.AddRange(ParseSeparatedPaths(value).Select(path => new CommandLineReference(path, MetadataReferenceProperties.Module)));
resourcesOrModulesSpecified = true;
}
continue;
case "l":
case "link":
metadataReferences.AddRange(ParseAssemblyReferences(arg, value, diagnostics, embedInteropTypes: true));
continue;
case "win32res":
win32ResourceFile = GetWin32Setting(arg, value, diagnostics);
continue;
case "win32icon":
win32IconFile = GetWin32Setting(arg, value, diagnostics);
continue;
case "win32manifest":
win32ManifestFile = GetWin32Setting(arg, value, diagnostics);
noWin32Manifest = false;
continue;
case "nowin32manifest":
noWin32Manifest = true;
win32ManifestFile = null;
continue;
case "res":
case "resource":
if (value == null)
{
break; // Dev11 reports unrecognized option
}
var embeddedResource = ParseResourceDescription(arg, value, baseDirectory, diagnostics, embedded: true);
if (embeddedResource != null)
{
managedResources.Add(embeddedResource);
resourcesOrModulesSpecified = true;
}
continue;
case "linkres":
case "linkresource":
if (value == null)
{
break; // Dev11 reports unrecognized option
}
var linkedResource = ParseResourceDescription(arg, value, baseDirectory, diagnostics, embedded: false);
if (linkedResource != null)
{
managedResources.Add(linkedResource);
resourcesOrModulesSpecified = true;
}
continue;
case "sourcelink":
value = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
}
else
{
sourceLink = ParseGenericPathToFile(value, diagnostics, baseDirectory);
}
continue;
case "debug":
emitPdb = true;
// unused, parsed for backward compat only
value = RemoveQuotesAndSlashes(value);
if (value != null)
{
if (value.IsEmpty())
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), name);
continue;
}
switch (value.ToLower())
{
case "full":
case "pdbonly":
debugInformationFormat = PathUtilities.IsUnixLikePlatform ? DebugInformationFormat.PortablePdb : DebugInformationFormat.Pdb;
break;
case "portable":
debugInformationFormat = DebugInformationFormat.PortablePdb;
break;
case "embedded":
debugInformationFormat = DebugInformationFormat.Embedded;
break;
default:
AddDiagnostic(diagnostics, ErrorCode.ERR_BadDebugType, value);
break;
}
}
continue;
case "debug+":
//guard against "debug+:xx"
if (value != null)
break;
emitPdb = true;
debugPlus = true;
continue;
case "debug-":
if (value != null)
break;
emitPdb = false;
debugPlus = false;
continue;
case "o":
case "optimize":
case "o+":
case "optimize+":
if (value != null)
break;
optimize = true;
continue;
case "o-":
case "optimize-":
if (value != null)
break;
optimize = false;
continue;
case "deterministic":
case "deterministic+":
if (value != null)
break;
deterministic = true;
continue;
case "deterministic-":
if (value != null)
break;
deterministic = false;
continue;
case "p":
case "parallel":
case "p+":
case "parallel+":
if (value != null)
break;
concurrentBuild = true;
continue;
case "p-":
case "parallel-":
if (value != null)
break;
concurrentBuild = false;
continue;
case "warnaserror":
case "warnaserror+":
if (value == null)
{
generalDiagnosticOption = ReportDiagnostic.Error;
// Reset specific warnaserror options (since last /warnaserror flag on the command line always wins),
// and bump warnings to errors.
warnAsErrors.Clear();
foreach (var key in diagnosticOptions.Keys)
{
if (diagnosticOptions[key] == ReportDiagnostic.Warn)
{
warnAsErrors[key] = ReportDiagnostic.Error;
}
}
continue;
}
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsNumber, name);
}
else
{
AddWarnings(warnAsErrors, ReportDiagnostic.Error, ParseWarnings(value));
}
continue;
case "warnaserror-":
if (value == null)
{
generalDiagnosticOption = ReportDiagnostic.Default;
// Clear specific warnaserror options (since last /warnaserror flag on the command line always wins).
warnAsErrors.Clear();
continue;
}
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsNumber, name);
}
else
{
foreach (var id in ParseWarnings(value))
{
ReportDiagnostic ruleSetValue;
if (diagnosticOptions.TryGetValue(id, out ruleSetValue))
{
warnAsErrors[id] = ruleSetValue;
}
else
{
warnAsErrors[id] = ReportDiagnostic.Default;
}
}
}
continue;
case "w":
case "warn":
value = RemoveQuotesAndSlashes(value);
if (value == null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsNumber, name);
continue;
}
int newWarningLevel;
if (string.IsNullOrEmpty(value) ||
!int.TryParse(value, NumberStyles.Integer, CultureInfo.InvariantCulture, out newWarningLevel))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsNumber, name);
}
else if (newWarningLevel < 0 || newWarningLevel > 4)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_BadWarningLevel, name);
}
else
{
warningLevel = newWarningLevel;
}
continue;
case "nowarn":
if (value == null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsNumber, name);
continue;
}
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsNumber, name);
}
else
{
AddWarnings(noWarns, ReportDiagnostic.Suppress, ParseWarnings(value));
}
continue;
case "unsafe":
case "unsafe+":
if (value != null)
break;
allowUnsafe = true;
continue;
case "unsafe-":
if (value != null)
break;
allowUnsafe = false;
continue;
case "langversion":
value = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), "/langversion:");
}
else if (value.StartsWith("0", StringComparison.Ordinal))
{
// This error was added in 7.1 to stop parsing versions as ints (behaviour in previous Roslyn compilers), and explicitly
// treat them as identifiers (behaviour in native compiler). This error helps users identify that breaking change.
AddDiagnostic(diagnostics, ErrorCode.ERR_LanguageVersionCannotHaveLeadingZeroes, value);
}
else if (value == "?")
{
displayLangVersions = true;
}
else if (!LanguageVersionFacts.TryParse(value, out languageVersion))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_BadCompatMode, value);
}
continue;
case "delaysign":
case "delaysign+":
if (value != null)
{
break;
}
delaySignSetting = true;
continue;
case "delaysign-":
if (value != null)
{
break;
}
delaySignSetting = false;
continue;
case "publicsign":
case "publicsign+":
if (value != null)
{
break;
}
publicSign = true;
continue;
case "publicsign-":
if (value != null)
{
break;
}
publicSign = false;
continue;
case "keyfile":
value = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, "keyfile");
}
else
{
keyFileSetting = value;
}
// NOTE: Dev11/VB also clears "keycontainer", see also:
//
// MSDN: In case both /keyfile and /keycontainer are specified (either by command line option or by
// MSDN: custom attribute) in the same compilation, the compiler will first try the key container.
// MSDN: If that succeeds, then the assembly is signed with the information in the key container.
// MSDN: If the compiler does not find the key container, it will try the file specified with /keyfile.
// MSDN: If that succeeds, the assembly is signed with the information in the key file and the key
// MSDN: information will be installed in the key container (similar to sn -i) so that on the next
// MSDN: compilation, the key container will be valid.
continue;
case "keycontainer":
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), "keycontainer");
}
else
{
keyContainerSetting = value;
}
// NOTE: Dev11/VB also clears "keyfile", see also:
//
// MSDN: In case both /keyfile and /keycontainer are specified (either by command line option or by
// MSDN: custom attribute) in the same compilation, the compiler will first try the key container.
// MSDN: If that succeeds, then the assembly is signed with the information in the key container.
// MSDN: If the compiler does not find the key container, it will try the file specified with /keyfile.
// MSDN: If that succeeds, the assembly is signed with the information in the key file and the key
// MSDN: information will be installed in the key container (similar to sn -i) so that on the next
// MSDN: compilation, the key container will be valid.
continue;
case "highentropyva":
case "highentropyva+":
if (value != null)
break;
highEntropyVA = true;
continue;
case "highentropyva-":
if (value != null)
break;
highEntropyVA = false;
continue;
case "nologo":
displayLogo = false;
continue;
case "baseaddress":
value = RemoveQuotesAndSlashes(value);
ulong newBaseAddress;
if (string.IsNullOrEmpty(value) || !TryParseUInt64(value, out newBaseAddress))
{
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsNumber, name);
}
else
{
AddDiagnostic(diagnostics, ErrorCode.ERR_BadBaseNumber, value);
}
}
else
{
baseAddress = newBaseAddress;
}
continue;
case "subsystemversion":
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), "subsystemversion");
continue;
}
// It seems VS 2012 just silently corrects invalid values and suppresses the error message
SubsystemVersion version = SubsystemVersion.None;
if (SubsystemVersion.TryParse(value, out version))
{
subsystemVersion = version;
}
else
{
AddDiagnostic(diagnostics, ErrorCode.ERR_InvalidSubsystemVersion, value);
}
continue;
case "touchedfiles":
unquoted = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(unquoted))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), "touchedfiles");
continue;
}
else
{
touchedFilesPath = unquoted;
}
continue;
case "bugreport":
UnimplementedSwitch(diagnostics, name);
continue;
case "utf8output":
if (value != null)
break;
utf8output = true;
continue;
case "m":
case "main":
// Remove any quotes for consistent behavior as MSBuild can return quoted or
// unquoted main.
unquoted = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(unquoted))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", name);
continue;
}
mainTypeName = unquoted;
continue;
case "fullpaths":
if (value != null)
break;
printFullPaths = true;
continue;
case "pathmap":
// "/pathmap:K1=V1,K2=V2..."
{
unquoted = RemoveQuotesAndSlashes(value);
if (unquoted == null)
{
break;
}
pathMap = pathMap.Concat(ParsePathMap(unquoted, diagnostics));
}
continue;
case "filealign":
value = RemoveQuotesAndSlashes(value);
ushort newAlignment;
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsNumber, name);
}
else if (!TryParseUInt16(value, out newAlignment))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_InvalidFileAlignment, value);
}
else if (!CompilationOptions.IsValidFileAlignment(newAlignment))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_InvalidFileAlignment, value);
}
else
{
fileAlignment = newAlignment;
}
continue;
case "pdb":
value = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
}
else
{
pdbPath = ParsePdbPath(value, diagnostics, baseDirectory);
}
continue;
case "errorendlocation":
errorEndLocation = true;
continue;
case "reportanalyzer":
reportAnalyzer = true;
continue;
case "nostdlib":
case "nostdlib+":
if (value != null)
break;
noStdLib = true;
continue;
case "nostdlib-":
if (value != null)
break;
noStdLib = false;
continue;
case "errorreport":
continue;
case "errorlog":
unquoted = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(unquoted))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, ErrorLogOptionFormat, RemoveQuotesAndSlashes(arg));
}
else
{
errorLogOptions = ParseErrorLogOptions(unquoted, diagnostics, baseDirectory, out bool diagnosticAlreadyReported);
if (errorLogOptions == null && !diagnosticAlreadyReported)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_BadSwitchValue, unquoted, "/errorlog:", ErrorLogOptionFormat);
}
}
continue;
case "appconfig":
unquoted = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(unquoted))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, ":<text>", RemoveQuotesAndSlashes(arg));
}
else
{
appConfigPath = ParseGenericPathToFile(unquoted, diagnostics, baseDirectory);
}
continue;
case "runtimemetadataversion":
unquoted = RemoveQuotesAndSlashes(value);
if (string.IsNullOrEmpty(unquoted))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<text>", name);
continue;
}
runtimeMetadataVersion = unquoted;
continue;
case "ruleset":
// The ruleset arg has already been processed in a separate pass above.
continue;
case "additionalfile":
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<file list>", name);
continue;
}
foreach (var path in ParseSeparatedFileArgument(value, baseDirectory, diagnostics))
{
additionalFiles.Add(ToCommandLineSourceFile(path));
}
continue;
case "analyzerconfig":
if (string.IsNullOrEmpty(value))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, "<file list>", name);
continue;
}
analyzerConfigPaths.AddRange(ParseSeparatedFileArgument(value, baseDirectory, diagnostics));
continue;
case "embed":
if (string.IsNullOrEmpty(value))
{
embedAllSourceFiles = true;
continue;
}
foreach (var path in ParseSeparatedFileArgument(value, baseDirectory, diagnostics))
{
embeddedFiles.Add(ToCommandLineSourceFile(path));
}
continue;
case "-":
if (Console.IsInputRedirected)
{
sourceFiles.Add(new CommandLineSourceFile("-", isScript: false, isInputRedirected: true));
sourceFilesSpecified = true;
}
else
{
AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected);
}
continue;
}
}
AddDiagnostic(diagnostics, ErrorCode.ERR_BadSwitch, arg);
}
foreach (var o in warnAsErrors)
{
diagnosticOptions[o.Key] = o.Value;
}
// Specific nowarn options always override specific warnaserror options.
foreach (var o in noWarns)
{
diagnosticOptions[o.Key] = o.Value;
}
if (refOnly && outputRefFilePath != null)
{
AddDiagnostic(diagnostics, diagnosticOptions, ErrorCode.ERR_NoRefOutWhenRefOnly);
}
if (outputKind == OutputKind.NetModule && (refOnly || outputRefFilePath != null))
{
AddDiagnostic(diagnostics, diagnosticOptions, ErrorCode.ERR_NoNetModuleOutputWhenRefOutOrRefOnly);
}
if (!IsScriptCommandLineParser && !sourceFilesSpecified && (outputKind.IsNetModule() || !resourcesOrModulesSpecified))
{
AddDiagnostic(diagnostics, diagnosticOptions, ErrorCode.WRN_NoSources);
}
if (!noStdLib && sdkDirectory != null)
{
metadataReferences.Insert(0, new CommandLineReference(Path.Combine(sdkDirectory, "mscorlib.dll"), MetadataReferenceProperties.Assembly));
}
if (!platform.Requires64Bit())
{
if (baseAddress > uint.MaxValue - 0x8000)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_BadBaseNumber, string.Format("0x{0:X}", baseAddress));
baseAddress = 0;
}
}
// add additional reference paths if specified
if (!string.IsNullOrEmpty(additionalReferenceDirectories))
{
ParseAndResolveReferencePaths(null, additionalReferenceDirectories, baseDirectory, libPaths, MessageID.IDS_LIB_ENV, diagnostics);
}
ImmutableArray<string> referencePaths = BuildSearchPaths(sdkDirectory, libPaths, responsePaths);
ValidateWin32Settings(win32ResourceFile, win32IconFile, win32ManifestFile, outputKind, diagnostics);
// Dev11 searches for the key file in the current directory and assembly output directory.
// We always look to base directory and then examine the search paths.
if (!string.IsNullOrEmpty(baseDirectory))
{
keyFileSearchPaths.Add(baseDirectory);
}
if (!string.IsNullOrEmpty(outputDirectory) && baseDirectory != outputDirectory)
{
keyFileSearchPaths.Add(outputDirectory);
}
// Public sign doesn't use the legacy search path settings
if (publicSign && !string.IsNullOrEmpty(keyFileSetting))
{
keyFileSetting = ParseGenericPathToFile(keyFileSetting, diagnostics, baseDirectory);
}
if (sourceLink != null && !emitPdb)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SourceLinkRequiresPdb);
}
if (embedAllSourceFiles)
{
embeddedFiles.AddRange(sourceFiles);
}
if (embeddedFiles.Count > 0 && !emitPdb)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_CannotEmbedWithoutPdb);
}
var parsedFeatures = ParseFeatures(features);
string compilationName;
GetCompilationAndModuleNames(diagnostics, outputKind, sourceFiles, sourceFilesSpecified, moduleAssemblyName, ref outputFileName, ref moduleName, out compilationName);
var parseOptions = new CSharpParseOptions
(
languageVersion: languageVersion,
preprocessorSymbols: defines.ToImmutableAndFree(),
documentationMode: parseDocumentationComments ? DocumentationMode.Diagnose : DocumentationMode.None,
kind: IsScriptCommandLineParser ? SourceCodeKind.Script : SourceCodeKind.Regular,
features: parsedFeatures
);
// We want to report diagnostics with source suppression in the error log file.
// However, these diagnostics won't be reported on the command line.
var reportSuppressedDiagnostics = errorLogOptions is object;
var options = new CSharpCompilationOptions
(
outputKind: outputKind,
moduleName: moduleName,
mainTypeName: mainTypeName,
scriptClassName: WellKnownMemberNames.DefaultScriptClassName,
usings: usings,
optimizationLevel: optimize ? OptimizationLevel.Release : OptimizationLevel.Debug,
checkOverflow: checkOverflow,
nullableContextOptions: nullableContextOptions,
allowUnsafe: allowUnsafe,
deterministic: deterministic,
concurrentBuild: concurrentBuild,
cryptoKeyContainer: keyContainerSetting,
cryptoKeyFile: keyFileSetting,
delaySign: delaySignSetting,
platform: platform,
generalDiagnosticOption: generalDiagnosticOption,
warningLevel: warningLevel,
specificDiagnosticOptions: diagnosticOptions,
reportSuppressedDiagnostics: reportSuppressedDiagnostics,
publicSign: publicSign
);
if (debugPlus)
{
options = options.WithDebugPlusMode(debugPlus);
}
var emitOptions = new EmitOptions
(
metadataOnly: refOnly,
includePrivateMembers: !refOnly && outputRefFilePath == null,
debugInformationFormat: debugInformationFormat,
pdbFilePath: null, // to be determined later
outputNameOverride: null, // to be determined later
baseAddress: baseAddress,
highEntropyVirtualAddressSpace: highEntropyVA,
fileAlignment: fileAlignment,
subsystemVersion: subsystemVersion,
runtimeMetadataVersion: runtimeMetadataVersion,
instrumentationKinds: instrumentationKinds.ToImmutableAndFree(),
// TODO: set from /checksumalgorithm (see https://github.com/dotnet/roslyn/issues/24735)
pdbChecksumAlgorithm: HashAlgorithmName.SHA256
);
// add option incompatibility errors if any
diagnostics.AddRange(options.Errors);
diagnostics.AddRange(parseOptions.Errors);
if (nullableContextOptions != NullableContextOptions.Disable && parseOptions.LanguageVersion < MessageID.IDS_FeatureNullableReferenceTypes.RequiredVersion())
{
diagnostics.Add(new CSDiagnostic(new CSDiagnosticInfo(ErrorCode.ERR_NullableOptionNotAvailable,
"nullable", nullableContextOptions, parseOptions.LanguageVersion.ToDisplayString(),
new CSharpRequiredLanguageVersion(MessageID.IDS_FeatureNullableReferenceTypes.RequiredVersion())), Location.None));
}
return new CSharpCommandLineArguments
{
IsScriptRunner = IsScriptCommandLineParser,
InteractiveMode = interactiveMode || IsScriptCommandLineParser && sourceFiles.Count == 0,
BaseDirectory = baseDirectory,
PathMap = pathMap,
Errors = diagnostics.AsImmutable(),
Utf8Output = utf8output,
CompilationName = compilationName,
OutputFileName = outputFileName,
OutputRefFilePath = outputRefFilePath,
PdbPath = pdbPath,
EmitPdb = emitPdb && !refOnly, // silently ignore emitPdb when refOnly is set
SourceLink = sourceLink,
RuleSetPath = ruleSetPath,
OutputDirectory = outputDirectory,
DocumentationPath = documentationPath,
ErrorLogOptions = errorLogOptions,
AppConfigPath = appConfigPath,
SourceFiles = sourceFiles.AsImmutable(),
Encoding = codepage,
ChecksumAlgorithm = checksumAlgorithm,
MetadataReferences = metadataReferences.AsImmutable(),
AnalyzerReferences = analyzers.AsImmutable(),
AnalyzerConfigPaths = analyzerConfigPaths.ToImmutableAndFree(),
AdditionalFiles = additionalFiles.AsImmutable(),
ReferencePaths = referencePaths,
SourcePaths = sourcePaths.AsImmutable(),
KeyFileSearchPaths = keyFileSearchPaths.AsImmutable(),
Win32ResourceFile = win32ResourceFile,
Win32Icon = win32IconFile,
Win32Manifest = win32ManifestFile,
NoWin32Manifest = noWin32Manifest,
DisplayLogo = displayLogo,
DisplayHelp = displayHelp,
DisplayVersion = displayVersion,
DisplayLangVersions = displayLangVersions,
ManifestResources = managedResources.AsImmutable(),
CompilationOptions = options,
ParseOptions = parseOptions,
EmitOptions = emitOptions,
ScriptArguments = scriptArgs.AsImmutableOrEmpty(),
TouchedFilesPath = touchedFilesPath,
PrintFullPaths = printFullPaths,
ShouldIncludeErrorEndLocation = errorEndLocation,
PreferredUILang = preferredUILang,
ReportAnalyzer = reportAnalyzer,
EmbeddedFiles = embeddedFiles.AsImmutable()
};
}
private static void ParseAndResolveReferencePaths(string switchName, string switchValue, string baseDirectory, List<string> builder, MessageID origin, List<Diagnostic> diagnostics)
{
if (string.IsNullOrEmpty(switchValue))
{
Debug.Assert(!string.IsNullOrEmpty(switchName));
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_PathList.Localize(), switchName);
return;
}
foreach (string path in ParseSeparatedPaths(switchValue))
{
string resolvedPath = FileUtilities.ResolveRelativePath(path, baseDirectory);
if (resolvedPath == null)
{
AddDiagnostic(diagnostics, ErrorCode.WRN_InvalidSearchPathDir, path, origin.Localize(), MessageID.IDS_DirectoryHasInvalidPath.Localize());
}
else if (!Directory.Exists(resolvedPath))
{
AddDiagnostic(diagnostics, ErrorCode.WRN_InvalidSearchPathDir, path, origin.Localize(), MessageID.IDS_DirectoryDoesNotExist.Localize());
}
else
{
builder.Add(resolvedPath);
}
}
}
private static string GetWin32Setting(string arg, string value, List<Diagnostic> diagnostics)
{
if (value == null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
}
else
{
string noQuotes = RemoveQuotesAndSlashes(value);
if (string.IsNullOrWhiteSpace(noQuotes))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
}
else
{
return noQuotes;
}
}
return null;
}
private void GetCompilationAndModuleNames(
List<Diagnostic> diagnostics,
OutputKind outputKind,
List<CommandLineSourceFile> sourceFiles,
bool sourceFilesSpecified,
string moduleAssemblyName,
ref string outputFileName,
ref string moduleName,
out string compilationName)
{
string simpleName;
if (outputFileName == null)
{
// In C#, if the output file name isn't specified explicitly, then executables take their
// names from the files containing their entrypoints and libraries derive their names from
// their first input files.
if (!IsScriptCommandLineParser && !sourceFilesSpecified)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_OutputNeedsName);
simpleName = null;
}
else if (outputKind.IsApplication())
{
simpleName = null;
}
else
{
simpleName = PathUtilities.RemoveExtension(PathUtilities.GetFileName(sourceFiles.FirstOrDefault().Path));
outputFileName = simpleName + outputKind.GetDefaultExtension();
if (simpleName.Length == 0 && !outputKind.IsNetModule())
{
AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidInputFileName, outputFileName);
outputFileName = simpleName = null;
}
}
}
else
{
simpleName = PathUtilities.RemoveExtension(outputFileName);
if (simpleName.Length == 0)
{
AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidInputFileName, outputFileName);
outputFileName = simpleName = null;
}
}
if (outputKind.IsNetModule())
{
Debug.Assert(!IsScriptCommandLineParser);
compilationName = moduleAssemblyName;
}
else
{
if (moduleAssemblyName != null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_AssemblyNameOnNonModule);
}
compilationName = simpleName;
}
if (moduleName == null)
{
moduleName = outputFileName;
}
}
private ImmutableArray<string> BuildSearchPaths(string sdkDirectoryOpt, List<string> libPaths, List<string> responsePathsOpt)
{
var builder = ArrayBuilder<string>.GetInstance();
// Match how Dev11 builds the list of search paths
// see PCWSTR LangCompiler::GetSearchPath()
// current folder first -- base directory is searched by default
// Add SDK directory if it is available
if (sdkDirectoryOpt != null)
{
builder.Add(sdkDirectoryOpt);
}
// libpath
builder.AddRange(libPaths);
// csi adds paths of the response file(s) to the search paths, so that we can initialize the script environment
// with references relative to csi.exe (e.g. System.ValueTuple.dll).
if (responsePathsOpt != null)
{
Debug.Assert(IsScriptCommandLineParser);
builder.AddRange(responsePathsOpt);
}
return builder.ToImmutableAndFree();
}
public static IEnumerable<string> ParseConditionalCompilationSymbols(string value, out IEnumerable<Diagnostic> diagnostics)
{
DiagnosticBag outputDiagnostics = DiagnosticBag.GetInstance();
value = value.TrimEnd(null);
// Allow a trailing semicolon or comma in the options
if (!value.IsEmpty() &&
(value.Last() == ';' || value.Last() == ','))
{
value = value.Substring(0, value.Length - 1);
}
string[] values = value.Split(new char[] { ';', ',' } /*, StringSplitOptions.RemoveEmptyEntries*/);
var defines = new ArrayBuilder<string>(values.Length);
foreach (string id in values)
{
string trimmedId = id.Trim();
if (SyntaxFacts.IsValidIdentifier(trimmedId))
{
defines.Add(trimmedId);
}
else
{
outputDiagnostics.Add(Diagnostic.Create(CSharp.MessageProvider.Instance, (int)ErrorCode.WRN_DefineIdentifierRequired, trimmedId));
}
}
diagnostics = outputDiagnostics.ToReadOnlyAndFree();
return defines.AsEnumerable();
}
private static Platform ParsePlatform(string value, IList<Diagnostic> diagnostics)
{
switch (value.ToLowerInvariant())
{
case "x86":
return Platform.X86;
case "x64":
return Platform.X64;
case "itanium":
return Platform.Itanium;
case "anycpu":
return Platform.AnyCpu;
case "anycpu32bitpreferred":
return Platform.AnyCpu32BitPreferred;
case "arm":
return Platform.Arm;
case "arm64":
return Platform.Arm64;
default:
AddDiagnostic(diagnostics, ErrorCode.ERR_BadPlatformType, value);
return Platform.AnyCpu;
}
}
private static OutputKind ParseTarget(string value, IList<Diagnostic> diagnostics)
{
switch (value.ToLowerInvariant())
{
case "exe":
return OutputKind.ConsoleApplication;
case "winexe":
return OutputKind.WindowsApplication;
case "library":
return OutputKind.DynamicallyLinkedLibrary;
case "module":
return OutputKind.NetModule;
case "appcontainerexe":
return OutputKind.WindowsRuntimeApplication;
case "winmdobj":
return OutputKind.WindowsRuntimeMetadata;
default:
AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget);
return OutputKind.ConsoleApplication;
}
}
private static IEnumerable<string> ParseUsings(string arg, string value, IList<Diagnostic> diagnostics)
{
if (value.Length == 0)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Namespace1.Localize(), arg);
yield break;
}
foreach (var u in value.Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries))
{
yield return u;
}
}
private static IEnumerable<CommandLineAnalyzerReference> ParseAnalyzers(string arg, string value, List<Diagnostic> diagnostics)
{
if (value == null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), arg);
yield break;
}
else if (value.Length == 0)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
yield break;
}
List<string> paths = ParseSeparatedPaths(value).Where((path) => !string.IsNullOrWhiteSpace(path)).ToList();
foreach (string path in paths)
{
yield return new CommandLineAnalyzerReference(path);
}
}
private static IEnumerable<CommandLineReference> ParseAssemblyReferences(string arg, string value, IList<Diagnostic> diagnostics, bool embedInteropTypes)
{
if (value == null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_SwitchNeedsString, MessageID.IDS_Text.Localize(), arg);
yield break;
}
else if (value.Length == 0)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
yield break;
}
// /r:"reference"
// /r:alias=reference
// /r:alias="reference"
// /r:reference;reference
// /r:"path;containing;semicolons"
// /r:"unterminated_quotes
// /r:"quotes"in"the"middle
// /r:alias=reference;reference ... error 2034
// /r:nonidf=reference ... error 1679
int eqlOrQuote = value.IndexOfAny(s_quoteOrEquals);
string alias;
if (eqlOrQuote >= 0 && value[eqlOrQuote] == '=')
{
alias = value.Substring(0, eqlOrQuote);
value = value.Substring(eqlOrQuote + 1);
if (!SyntaxFacts.IsValidIdentifier(alias))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_BadExternIdentifier, alias);
yield break;
}
}
else
{
alias = null;
}
List<string> paths = ParseSeparatedPaths(value).Where((path) => !string.IsNullOrWhiteSpace(path)).ToList();
if (alias != null)
{
if (paths.Count > 1)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_OneAliasPerReference, value);
yield break;
}
if (paths.Count == 0)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_AliasMissingFile, alias);
yield break;
}
}
foreach (string path in paths)
{
// NOTE(tomat): Dev10 used to report CS1541: ERR_CantIncludeDirectory if the path was a directory.
// Since we now support /referencePaths option we would need to search them to see if the resolved path is a directory.
var aliases = (alias != null) ? ImmutableArray.Create(alias) : ImmutableArray<string>.Empty;
var properties = new MetadataReferenceProperties(MetadataImageKind.Assembly, aliases, embedInteropTypes);
yield return new CommandLineReference(path, properties);
}
}
private static void ValidateWin32Settings(string win32ResourceFile, string win32IconResourceFile, string win32ManifestFile, OutputKind outputKind, IList<Diagnostic> diagnostics)
{
if (win32ResourceFile != null)
{
if (win32IconResourceFile != null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndIcon);
}
if (win32ManifestFile != null)
{
AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndManifest);
}
}
if (outputKind.IsNetModule() && win32ManifestFile != null)
{
AddDiagnostic(diagnostics, ErrorCode.WRN_CantHaveManifestForModule);
}
}
private static IEnumerable<InstrumentationKind> ParseInstrumentationKinds(string value, IList<Diagnostic> diagnostics)
{
string[] kinds = value.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
foreach (var kind in kinds)
{
switch (kind.ToLower())
{
case "testcoverage":
yield return InstrumentationKind.TestCoverage;
break;
default:
AddDiagnostic(diagnostics, ErrorCode.ERR_InvalidInstrumentationKind, kind);
break;
}
}
}
internal static ResourceDescription ParseResourceDescription(
string arg,
string resourceDescriptor,
string baseDirectory,
IList<Diagnostic> diagnostics,
bool embedded)
{
string filePath;
string fullPath;
string fileName;
string resourceName;
string accessibility;
ParseResourceDescription(
resourceDescriptor,
baseDirectory,
false,
out filePath,
out fullPath,
out fileName,
out resourceName,
out accessibility);
bool isPublic;
if (accessibility == null)
{
// If no accessibility is given, we default to "public".
// NOTE: Dev10 distinguishes between null and empty/whitespace-only.
isPublic = true;
}
else if (string.Equals(accessibility, "public", StringComparison.OrdinalIgnoreCase))
{
isPublic = true;
}
else if (string.Equals(accessibility, "private", StringComparison.OrdinalIgnoreCase))
{
isPublic = false;
}
else
{
AddDiagnostic(diagnostics, ErrorCode.ERR_BadResourceVis, accessibility);
return null;
}
if (string.IsNullOrEmpty(filePath))
{
AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg);
return null;
}
if (!PathUtilities.IsValidFilePath(fullPath))
{
AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidInputFileName, filePath);
return null;
}
Func<Stream> dataProvider = () =>
{
// Use FileShare.ReadWrite because the file could be opened by the current process.
// For example, it is an XML doc file produced by the build.
return new FileStream(fullPath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
};
return new ResourceDescription(resourceName, fileName, dataProvider, isPublic, embedded, checkArgs: false);
}
private static IEnumerable<string> ParseWarnings(string value)
{
value = value.Unquote();
string[] values = value.Split(new char[] { ',', ';', ' ' }, StringSplitOptions.RemoveEmptyEntries);
foreach (string id in values)
{
if (string.Equals(id, "nullable", StringComparison.OrdinalIgnoreCase))
{
foreach (var errorCode in ErrorFacts.NullableWarnings)
{
yield return errorCode;
}
}
else if (ushort.TryParse(id, NumberStyles.Integer, CultureInfo.InvariantCulture, out ushort number) &&
ErrorFacts.IsWarning((ErrorCode)number))
{
// The id refers to a compiler warning.
yield return CSharp.MessageProvider.Instance.GetIdForErrorCode(number);
}
else
{
// Previous versions of the compiler used to report a warning (CS1691)
// whenever an unrecognized warning code was supplied in /nowarn or
// /warnaserror. We no longer generate a warning in such cases.
// Instead we assume that the unrecognized id refers to a custom diagnostic.
yield return id;
}
}
}
private static void AddWarnings(Dictionary<string, ReportDiagnostic> d, ReportDiagnostic kind, IEnumerable<string> items)
{
foreach (var id in items)
{
ReportDiagnostic existing;
if (d.TryGetValue(id, out existing))
{
// Rewrite the existing value with the latest one unless it is for /nowarn.
if (existing != ReportDiagnostic.Suppress)
d[id] = kind;
}
else
{
d.Add(id, kind);
}
}
}
private static void UnimplementedSwitch(IList<Diagnostic> diagnostics, string switchName)
{
AddDiagnostic(diagnostics, ErrorCode.WRN_UnimplementedCommandLineSwitch, "/" + switchName);
}
internal override void GenerateErrorForNoFilesFoundInRecurse(string path, IList<Diagnostic> diagnostics)
{
// no error in csc.exe
}
private static void AddDiagnostic(IList<Diagnostic> diagnostics, ErrorCode errorCode)
{
diagnostics.Add(Diagnostic.Create(CSharp.MessageProvider.Instance, (int)errorCode));
}
private static void AddDiagnostic(IList<Diagnostic> diagnostics, ErrorCode errorCode, params object[] arguments)
{
diagnostics.Add(Diagnostic.Create(CSharp.MessageProvider.Instance, (int)errorCode, arguments));
}
/// <summary>
/// Diagnostic for the errorCode added if the warningOptions does not mention suppressed for the errorCode.
/// </summary>
private static void AddDiagnostic(IList<Diagnostic> diagnostics, Dictionary<string, ReportDiagnostic> warningOptions, ErrorCode errorCode, params object[] arguments)
{
int code = (int)errorCode;
ReportDiagnostic value;
warningOptions.TryGetValue(CSharp.MessageProvider.Instance.GetIdForErrorCode(code), out value);
if (value != ReportDiagnostic.Suppress)
{
AddDiagnostic(diagnostics, errorCode, arguments);
}
}
}
}
| 44.14497 | 188 | 0.449311 | [
"MIT"
] | ThadHouse/roslyn | src/Compilers/CSharp/Portable/CommandLine/CSharpCommandLineParser.cs | 89,528 | C# |
namespace VaporStore.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class Tag
{
[Key]
public int Id { get; set; }
[Required]
public string Name { get; set; }
public ICollection<GameTag> GameTags { get; set; }
public Tag()
{
this.GameTags = new HashSet<GameTag>();
}
}
}
| 19.272727 | 58 | 0.561321 | [
"MIT"
] | VeselinBPavlov/database-advanced-entity-framework-core | 24. Exam Preparations/01. Exam - 01 Sep 2018/VaporStore/Data/Models/Tag.cs | 426 | C# |
/*++
Copyright (c) 2015 Microsoft Corporation
--*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SolverFoundation.Common;
using Microsoft.SolverFoundation.Solvers;
using Microsoft.SolverFoundation.Services;
using Microsoft.SolverFoundation.Plugin.Z3;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.SolverFoundation.Plugin.Z3.Tests
{
[TestClass]
public class SolverTests
{
[TestMethod]
public void TestMILPSolver1()
{
var solver = new Z3MILPSolver();
int goal;
solver.AddRow("goal", out goal);
int x1, x2, z;
// 0 <= x1 <= 2
solver.AddVariable("x1", out x1);
solver.SetBounds(x1, 0, 2);
// 0 <= x2 <= 2
solver.AddVariable("x2", out x2);
solver.SetBounds(x2, 0, 2);
// z is an integer in [0,1]
solver.AddVariable("z", out z);
solver.SetIntegrality(z, true);
solver.SetBounds(z, 0, 1);
//max x1 + x2
solver.SetCoefficient(goal, x1, 1);
solver.SetCoefficient(goal, x2, 1);
solver.AddGoal(goal, 1, false);
// 0 <= x1 -z <= 1
int row1;
solver.AddRow("rowI1", out row1);
solver.SetBounds(row1, 0, 1);
solver.SetCoefficient(row1, x1, 1);
solver.SetCoefficient(row1, z, -1);
// 0 <= x2 + z <= 2
int row2;
solver.AddRow("rowI2", out row2);
solver.SetBounds(row2, 0, 2);
solver.SetCoefficient(row2, x2, 1);
solver.SetCoefficient(row2, z, 1);
var p = new Z3MILPParams();
solver.Solve(p);
Assert.IsTrue(solver.Result == LinearResult.Optimal);
Assert.AreEqual(solver.GetValue(x1), 2 * Rational.One);
Assert.AreEqual(solver.GetValue(x2), Rational.One);
Assert.AreEqual(solver.GetValue(z), Rational.One);
Assert.AreEqual(solver.GetValue(goal), 3 * Rational.One);
}
[TestMethod]
public void TestMILPSolver2()
{
var solver = new Z3MILPSolver();
int goal, extraGoal;
Rational M = 100;
solver.AddRow("goal", out goal);
int x1, x2, z;
// 0 <= x1 <= 100
solver.AddVariable("x1", out x1);
solver.SetBounds(x1, 0, M);
// 0 <= x2 <= 100
solver.AddVariable("x2", out x2);
solver.SetBounds(x2, 0, M);
// z is an integer in [0,1]
solver.AddVariable("z", out z);
solver.SetIntegrality(z, true);
solver.SetBounds(z, 0, 1);
solver.SetCoefficient(goal, x1, 1);
solver.SetCoefficient(goal, x2, 2);
solver.AddGoal(goal, 1, false);
solver.AddRow("extraGoal", out extraGoal);
solver.SetCoefficient(extraGoal, x1, 2);
solver.SetCoefficient(extraGoal, x2, 1);
solver.AddGoal(extraGoal, 2, false);
// x1 + x2 >= 1
int row;
solver.AddRow("row", out row);
solver.SetBounds(row, 1, Rational.PositiveInfinity);
solver.SetCoefficient(row, x1, 1);
solver.SetCoefficient(row, x2, 1);
// x1 - M*z <= 0
int row1;
solver.AddRow("rowI1", out row1);
solver.SetBounds(row1, Rational.NegativeInfinity, 0);
solver.SetCoefficient(row1, x1, 1);
solver.SetCoefficient(row1, z, -M);
// x2 - M* (1-z) <= 0
int row2;
solver.AddRow("rowI2", out row2);
solver.SetBounds(row2, Rational.NegativeInfinity, M);
solver.SetCoefficient(row2, x2, 1);
solver.SetCoefficient(row2, z, M);
var p = new Z3MILPParams();
p.OptKind = OptimizationKind.BoundingBox;
solver.Solve(p);
Assert.IsTrue(solver.Result == LinearResult.Optimal);
Assert.AreEqual(solver.GetValue(goal), 200 * Rational.One);
Assert.AreEqual(solver.GetValue(extraGoal), 200 * Rational.One);
}
}
}
| 30.76259 | 76 | 0.536249 | [
"MIT"
] | 0152la/z3 | examples/msf/SolverFoundation.Plugin.Z3.Tests/SolverTests.cs | 4,278 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Northwind.Persistence")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Northwind.Persistence")]
[assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("32c541a9-0913-4831-a2b6-a31d18b124ba")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| 39.216216 | 85 | 0.728463 | [
"MIT"
] | EasyLOB/EasyLOB-Northwind-1 | Northwind.Persistence/Properties/AssemblyInfo.cs | 1,454 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Hosting.Server.Features;
namespace Microsoft.AspNetCore.Server.IIS.Core;
internal sealed class ServerAddressesFeature : IServerAddressesFeature
{
public ICollection<string> Addresses { get; set; } = Array.Empty<string>();
public bool PreferHostingUrls { get; set; }
}
| 34.076923 | 79 | 0.772009 | [
"MIT"
] | Akarachudra/kontur-aspnetcore-fork | src/Servers/IIS/IIS/src/Core/ServerAddressesFeature.cs | 443 | C# |
using Celeste.Mod.Entities;
using Microsoft.Xna.Framework;
using System.Collections.Generic;
namespace Celeste.Mod.SpringCollab2020.Triggers {
[CustomEntity("SpringCollab2020/SpeedBasedMusicParamTrigger")]
class SpeedBasedMusicParamTrigger : Trigger {
public static void Load() {
On.Celeste.Player.Update += onPlayerUpdate;
}
public static void Unload() {
On.Celeste.Player.Update -= onPlayerUpdate;
}
private static void onPlayerUpdate(On.Celeste.Player.orig_Update orig, Player self) {
orig(self);
if (SpringCollab2020Module.Instance.Session.ActiveSpeedBasedMusicParams.Count > 0) {
AudioState audio = self.SceneAs<Level>().Session.Audio;
float playerSpeed = self.Speed.Length();
// set all the speed-based music params to their corresponding values.
foreach (KeyValuePair<string, SpringCollab2020Session.SpeedBasedMusicParamInfo> musicParam
in SpringCollab2020Module.Instance.Session.ActiveSpeedBasedMusicParams) {
audio.Music.Param(musicParam.Key, MathHelper.Clamp(playerSpeed, musicParam.Value.MinimumSpeed, musicParam.Value.MaximumSpeed));
}
audio.Apply();
}
}
private string paramName;
private float minSpeed;
private float maxSpeed;
private bool activate;
public SpeedBasedMusicParamTrigger(EntityData data, Vector2 offset) : base(data, offset) {
paramName = data.Attr("paramName");
minSpeed = data.Float("minSpeed");
maxSpeed = data.Float("maxSpeed");
activate = data.Bool("activate");
}
public override void OnEnter(Player player) {
base.OnEnter(player);
if (activate) {
// register the speed-based music param as active to keep it updated.
SpringCollab2020Module.Instance.Session.ActiveSpeedBasedMusicParams[paramName] = new SpringCollab2020Session.SpeedBasedMusicParamInfo() {
MinimumSpeed = minSpeed,
MaximumSpeed = maxSpeed
};
} else {
// unregister the param, and set the music param to the minimum value.
SpringCollab2020Module.Instance.Session.ActiveSpeedBasedMusicParams.Remove(paramName);
AudioState audio = SceneAs<Level>().Session.Audio;
audio.Music.Param(paramName, minSpeed);
audio.Apply();
}
}
}
}
| 40.666667 | 154 | 0.606557 | [
"MIT"
] | mwhatters/SpringCollab2020 | Triggers/SpeedBasedMusicParamTrigger.cs | 2,686 | C# |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Web;
using System.Web.Caching;
using System.Xml;
using Havit.Business;
using Havit.Business.Query;
using Havit.Collections;
using Havit.Data;
using Havit.Data.SqlServer;
using Havit.Data.SqlTypes;
namespace Havit.BusinessLayerTest.Resources
{
/// <summary>
/// Kolekce business objektů typu Havit.BusinessLayerTest.Resources.ResourceItem.
/// </summary>
[System.CodeDom.Compiler.GeneratedCode("Havit.BusinessLayerGenerator", "1.0")]
public partial class ResourceItemCollectionBase : BusinessObjectCollection<ResourceItem, ResourceItemCollection>
{
#region Constructors
/// <summary>
/// Vytvoří novou instanci kolekce.
/// </summary>
public ResourceItemCollectionBase() : base()
{
}
/// <summary>
/// Vytvoří novou instanci kolekce a zkopíruje do ní prvky z předané kolekce.
/// </summary>
public ResourceItemCollectionBase(IEnumerable<ResourceItem> collection) : base(collection)
{
}
#endregion
#region Find & FindAll
/// <summary>
/// Prohledá kolekci a vrátí první nalezený prvek odpovídající kritériu match.
/// </summary>
public override ResourceItem Find(Predicate<ResourceItem> match)
{
LoadAll();
return base.Find(match);
}
/// <summary>
/// Prohledá kolekci a vrátí všechny prvky odpovídající kritériu match.
/// </summary>
public override ResourceItemCollection FindAll(Predicate<ResourceItem> match)
{
LoadAll();
return base.FindAll(match);
}
#endregion
#region Sort
/// <summary>
/// Seřadí prvky kolekce dle požadované property, která implementuje IComparable.
/// </summary>
/// <remarks>
/// Používá Havit.Collections.GenericPropertyComparer{T}. K porovnávání podle property
/// tedy dochází pomocí reflexe - relativně pomalu. Pokud je potřeba vyšší výkon, je potřeba použít
/// overload Sort(Generic Comparsion) s přímým přístupem k property.
/// </remarks>
/// <param name="propertyName">property, podle které se má řadit</param>
/// <param name="ascending">true, pokud se má řadit vzestupně, false, pokud sestupně</param>
[Obsolete]
public override void Sort(string propertyName, bool ascending)
{
LoadAll();
base.Sort(propertyName, ascending);
}
/// <summary>
/// Seřadí prvky kolekce dle požadované property, která implementuje IComparable.
/// Před řazením načtě všechny prvky metodou LoadAll.
/// </summary>
/// <remarks>
/// Používá Havit.Collections.GenericPropertyComparer{T}. K porovnávání podle property
/// tedy dochází pomocí reflexe - relativně pomalu. Pokud je potřeba vyšší výkon, je potřeba použít
/// overload Sort(Generic Comparsion) s přímým přístupem k property.
/// </remarks>
/// <param name="propertyInfo">Property, podle které se má řadit.</param>
/// <param name="sortDirection">Směr řazení.</param>
public override void Sort(PropertyInfo propertyInfo, SortDirection sortDirection)
{
LoadAll();
base.Sort(propertyInfo, sortDirection);
}
/// <summary>
/// Seřadí prvky kolekce dle zadaného srovnání. Publikuje metodu Sort(Generic Comparsion) inner-Listu.
/// Před řazením načtě všechny prvky metodou LoadAll.
/// </summary>
/// <param name="comparsion">srovnání, podle kterého mají být prvky seřazeny</param>
public override void Sort(Comparison<ResourceItem> comparsion)
{
LoadAll();
base.Sort(comparsion);
}
#endregion
#region LoadAll
/// <summary>
/// Načte všechny prvky kolekce a jejich lokalizace.
/// </summary>
public void LoadAll()
{
LoadAll(null);
}
/// <summary>
/// Načte všechny prvky kolekce a jejich lokalizace.
/// </summary>
public void LoadAll(DbTransaction transaction)
{
if ((!LoadAllRequired) || (this.Count == 0))
{
return;
}
Dictionary<int, ResourceItem> ghosts = new Dictionary<int, ResourceItem>();
for (int i = 0; i < this.Count; i++)
{
ResourceItem currentObject = this[i];
if ((currentObject != null) && (!currentObject.IsLoaded))
{
DataRecord cachedDataRecord = ResourceItem.GetDataRecordFromCache(currentObject.ID);
if (cachedDataRecord != null)
{
currentObject.Load(cachedDataRecord);
continue;
}
if (!ghosts.ContainsKey(currentObject.ID))
{
ghosts.Add(currentObject.ID, currentObject);
}
}
}
if (ghosts.Count > 0)
{
DbCommand dbCommand = DbConnector.Default.ProviderFactory.CreateCommand();
dbCommand.Transaction = transaction;
QueryParams queryParams = new QueryParams();
queryParams.ObjectInfo = ResourceItem.ObjectInfo;
queryParams.Conditions.Add(ReferenceCondition.CreateIn(ResourceItem.Properties.ID, ghosts.Keys.ToArray()));
queryParams.IncludeDeleted = true;
queryParams.PrepareCommand(dbCommand, SqlServerPlatform.SqlServer2008, CommandBuilderOptions.None);
using (DbDataReader reader = DbConnector.Default.ExecuteReader(dbCommand))
{
while (reader.Read())
{
DataRecord dataRecord = new DataRecord(reader, queryParams.GetDataLoadPower());
int id = dataRecord.Get<int>(ResourceItem.Properties.ID.FieldName);
ResourceItem ghost = ghosts[id];
if (!ghost.IsLoaded)
{
ghost.Load(dataRecord);
ghost.AddDataRecordToCache(dataRecord);
}
}
}
}
ResourceItemLocalizationCollection localizations = new ResourceItemLocalizationCollection();
foreach (ResourceItem resourceItem in this)
{
if (resourceItem != null)
{
localizations.AddRange(resourceItem.Localizations);
}
}
localizations.LoadAll(transaction);
LoadAllRequired = false;
}
#endregion
}
}
| 30.578431 | 113 | 0.686278 | [
"MIT"
] | havit/HavitFramework | BusinessLayerTest/Resources/_generated/ResourceItemCollectionBase.cs | 6,362 | C# |
using System.Linq;
using GTNTracker.EventArguments;
using GTNTracker.ViewModels;
using Rg.Plugins.Popup.Extensions;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace GTNTracker.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class CaptureManager : BasePage
{
public CaptureManager ()
{
InitializeComponent ();
BindingContext = ViewModelLocator.Instance.CaptureManagerVM;
}
protected override void OnAppearing()
{
var vm = BindingContext as CaptureManagerVM;
if (vm != null)
{
vm.UpdateVM();
}
base.OnAppearing();
}
private void HandleEditDialogClosed(object sender, DialogEventArgs args)
{
var vm = args.ViewModel as EditCaptureVM;
if (vm.IsCancelled)
{
return;
}
if (!vm.IsCancelled && !vm.IsSend)
{
// just update current waypoint then.
UpdateWaypointData(vm);
return;
}
EmailWaypointWithUpdate(vm);
}
private void UpdateWaypointData(EditCaptureVM capture)
{
var vm = BindingContext as CaptureManagerVM;
var item = vm.Waypoints.FirstOrDefault(w => w.Id == capture.Id);
if (item != null)
{
item.Description = capture.Description;
item.TrailName = capture.TrailName;
item.WaypointName = capture.WaypointName;
}
}
private async void EmailWaypointWithUpdate(EditCaptureVM capture)
{
UpdateWaypointData(capture);
var vm = BindingContext as CaptureManagerVM;
var success = vm.EMailWaypoint(capture.Id);
if (success == false)
{
await DisplayAlert("Error!", "Unable to email waypoint", "OK");
}
}
private async void WaypointList_ItemTapped(object sender, ItemTappedEventArgs e)
{
var selectedWaypoint = e.Item as WaypointCaptureDataVM;
//if (selectedWaypoint.IsEmailed)
//{
// return; // already done!
//}
var newVM = new EditCaptureVM(selectedWaypoint);
var dialog = new EditCapture();
dialog.BindingContext = newVM;
dialog.DialogClosed += HandleEditDialogClosed;
await Navigation.PushPopupAsync(dialog);
}
}
} | 29.181818 | 88 | 0.559579 | [
"MIT"
] | grotontrailtracker/GTNTracker | GTNTracker/GTNTracker/Views/CaptureManager.xaml.cs | 2,570 | C# |
//
// System.Configuration.CommaDelimitedStringCollection.cs
//
// Authors:
// Chris Toshok (toshok@ximian.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
using System;
using System.Collections.Specialized;
namespace System.Configuration {
/* i really hate all these "new"s... maybe
* StringCollection marks these methods as virtual in
* 2.0? */
public sealed class CommaDelimitedStringCollection : StringCollection {
bool modified;
bool readOnly;
int originalStringHash = 0;
public bool IsModified {
get {
if (modified)
return true;
string str = ToString ();
if (str == null)
return false;
return str.GetHashCode () != originalStringHash;
}
}
public new bool IsReadOnly {
get { return readOnly; }
}
public new string this [int index] {
get { return base [index]; }
set {
if (readOnly) throw new ConfigurationErrorsException ("The configuration is read only");
base [index] = value;
modified = true;
}
}
public new void Add (string value)
{
if (readOnly) throw new ConfigurationErrorsException ("The configuration is read only");
base.Add (value);
modified = true;
}
public new void AddRange (string[] range)
{
if (readOnly) throw new ConfigurationErrorsException ("The configuration is read only");
base.AddRange (range);
modified = true;
}
public new void Clear ()
{
if (readOnly) throw new ConfigurationErrorsException ("The configuration is read only");
base.Clear ();
modified = true;
}
public CommaDelimitedStringCollection Clone ()
{
CommaDelimitedStringCollection col = new CommaDelimitedStringCollection();
string[] contents = new string[this.Count];
CopyTo (contents, 0);
col.AddRange (contents);
col.originalStringHash = originalStringHash;
return col;
}
public new void Insert (int index, string value)
{
if (readOnly) throw new ConfigurationErrorsException ("The configuration is read only");
base.Insert (index, value);
modified = true;
}
public new void Remove (string value)
{
if (readOnly) throw new ConfigurationErrorsException ("The configuration is read only");
base.Remove (value);
modified = true;
}
public void SetReadOnly ()
{
readOnly = true;
}
public override string ToString ()
{
if (this.Count == 0)
return null;
string[] contents = new string[this.Count];
CopyTo (contents, 0);
return String.Join (",", contents);
}
internal void UpdateStringHash ()
{
string str = ToString ();
if (str == null)
originalStringHash = 0;
else
originalStringHash = str.GetHashCode ();
}
}
}
| 25.126667 | 92 | 0.697798 | [
"Apache-2.0"
] | 121468615/mono | mcs/class/System.Configuration/System.Configuration/CommaDelimitedStringCollection.cs | 3,769 | C# |
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace IMMATERIA {
public class HairAverage : Cycle {
public Life set;
public Life collision;
public Life constraint;
public Life resolve;
public Form Base;
public Hair Hair;
public float[] transformArray;
public override void Create(){
transformArray = new float[16];
/*
All of this info should be visualizable!
*/
SafePrepend( set );
SafePrepend( collision );
SafePrepend( constraint );
SafePrepend( resolve );
SafePrepend( Hair );
//Cycles.Insert( 4 , Base );
}
public override void Bind(){
set.BindPrimaryForm("_VertBuffer", Hair);
set.BindForm("_BaseBuffer", Base );
collision.BindPrimaryForm("_VertBuffer", Hair);
collision.BindForm("_BaseBuffer", Base );
constraint.BindInt("_Pass" , 0 );
constraint.BindPrimaryForm("_VertBuffer", Hair);
constraint.BindInt( "_NumVertsPerHair" , () => Hair.numVertsPerHair );
resolve.BindPrimaryForm("_VertBuffer", Hair);
resolve.BindInt( "_NumVertsPerHair" , () => Hair.numVertsPerHair );
set.BindFloat( "_HairLength" , () => Hair.length);
set.BindFloat( "_HairVariance" , () => Hair.variance);
set.BindInt( "_NumVertsPerHair" , () => Hair.numVertsPerHair );
// Don't need to bind for all of them ( constraints ) because same shader
collision.BindFloat( "_HairLength" , () => Hair.length );
collision.BindFloat( "_HairVariance" , () => Hair.variance );
collision.BindInt( "_NumVertsPerHair" , () => Hair.numVertsPerHair );
collision.BindFloats( "_Transform" , () => this.transformArray );
data.BindCameraData(collision);
}
public override void OnBirth(){
set.active = true;
}
public override void Activate(){
set.active = true;
}
public override void WhileLiving(float v){
//set.active = false;
transformArray = HELP.GetMatrixFloats( transform.localToWorldMatrix );
}
public void Set(){
set.YOLO();
}
}
} | 22.758242 | 77 | 0.664413 | [
"Unlicense"
] | cabbibo/cafp4k | Assets/IMMATERIA/LifeForms/Verlet/HairAverage.cs | 2,073 | C# |
namespace FacadeDemo
{
using System;
public class SubSystemFour
{
public void MethodFour()
{
Console.WriteLine(" SubSystemFour Method");
}
}
}
| 14.428571 | 55 | 0.539604 | [
"MIT"
] | jsdelivrbot/Telerik-Academy-Homeworks | Module 2/01_High Quality Code/17. Design Patterns/Structural/FacadeDemo/SubSystemFour.cs | 204 | C# |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.OWC10Api
{
#region Delegates
#pragma warning disable
public delegate void PivotTable_SelectionChangeEventHandler();
public delegate void PivotTable_ViewChangeEventHandler(NetOffice.OWC10Api.Enums.PivotViewReasonEnum reason);
public delegate void PivotTable_DataChangeEventHandler(NetOffice.OWC10Api.Enums.PivotDataReasonEnum reason);
public delegate void PivotTable_PivotTableChangeEventHandler(NetOffice.OWC10Api.Enums.PivotTableReasonEnum reason);
public delegate void PivotTable_BeforeQueryEventHandler();
public delegate void PivotTable_QueryEventHandler();
public delegate void PivotTable_OnConnectEventHandler();
public delegate void PivotTable_OnDisconnectEventHandler();
public delegate void PivotTable_MouseDownEventHandler(Int32 button, Int32 shift, Int32 x, Int32 y);
public delegate void PivotTable_MouseMoveEventHandler(Int32 button, Int32 shift, Int32 x, Int32 y);
public delegate void PivotTable_MouseUpEventHandler(Int32 button, Int32 shift, Int32 x, Int32 y);
public delegate void PivotTable_MouseWheelEventHandler(bool page, Int32 count);
public delegate void PivotTable_ClickEventHandler();
public delegate void PivotTable_DblClickEventHandler();
public delegate void PivotTable_CommandEnabledEventHandler(object command, NetOffice.OWC10Api.ByRef enabled);
public delegate void PivotTable_CommandCheckedEventHandler(object command, NetOffice.OWC10Api.ByRef Checked);
public delegate void PivotTable_CommandTipTextEventHandler(object command, NetOffice.OWC10Api.ByRef caption);
public delegate void PivotTable_CommandBeforeExecuteEventHandler(object command, NetOffice.OWC10Api.ByRef Cancel);
public delegate void PivotTable_CommandExecuteEventHandler(object command, bool succeeded);
public delegate void PivotTable_KeyDownEventHandler(Int32 keyCode, Int32 shift);
public delegate void PivotTable_KeyUpEventHandler(Int32 keyCode, Int32 shift);
public delegate void PivotTable_KeyPressEventHandler(Int32 keyAscii);
public delegate void PivotTable_BeforeKeyDownEventHandler(Int32 keyCode, Int32 shift, NetOffice.OWC10Api.ByRef cancel);
public delegate void PivotTable_BeforeKeyUpEventHandler(Int32 keyCode, Int32 shift, NetOffice.OWC10Api.ByRef cancel);
public delegate void PivotTable_BeforeKeyPressEventHandler(Int32 keyAscii, NetOffice.OWC10Api.ByRef cancel);
public delegate void PivotTable_BeforeContextMenuEventHandler(Int32 x, Int32 y, NetOffice.OWC10Api.ByRef Menu, NetOffice.OWC10Api.ByRef cancel);
public delegate void PivotTable_StartEditEventHandler(ICOMObject selection, ICOMObject activeObject, NetOffice.OWC10Api.ByRef initialValue, NetOffice.OWC10Api.ByRef arrowMode, NetOffice.OWC10Api.ByRef caretPosition, NetOffice.OWC10Api.ByRef cancel, NetOffice.OWC10Api.ByRef errorDescription);
public delegate void PivotTable_EndEditEventHandler(bool accept, NetOffice.OWC10Api.ByRef finalValue, NetOffice.OWC10Api.ByRef cancel, NetOffice.OWC10Api.ByRef errorDescription);
public delegate void PivotTable_BeforeScreenTipEventHandler(NetOffice.OWC10Api.ByRef screenTipText, ICOMObject sourceObject);
#pragma warning restore
#endregion
/// <summary>
/// CoClass PivotTable
/// SupportByVersion OWC10, 1
/// </summary>
[SupportByVersion("OWC10", 1)]
[EntityType(EntityType.IsCoClass)]
[EventSink(typeof(Events.IPivotControlEvents_SinkHelper))]
[ComEventInterface(typeof(Events.IPivotControlEvents))]
public class PivotTable : IPivotControl, IEventBinding
{
#pragma warning disable
#region Fields
private NetRuntimeSystem.Runtime.InteropServices.ComTypes.IConnectionPoint _connectPoint;
private string _activeSinkId;
private static Type _type;
private Events.IPivotControlEvents_SinkHelper _iPivotControlEvents_SinkHelper;
#endregion
#region Type Information
/// <summary>
/// Instance Type
/// </summary>
[EditorBrowsable(EditorBrowsableState.Advanced), Browsable(false), Category("NetOffice"), CoreOverridden]
public override Type InstanceType
{
get
{
return LateBindingApiWrapperType;
}
}
/// <summary>
/// Type Cache
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public static Type LateBindingApiWrapperType
{
get
{
if (null == _type)
_type = typeof(PivotTable);
return _type;
}
}
#endregion
#region Construction
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public PivotTable(Core factory, ICOMObject parentObject, object comProxy) : base(factory, parentObject, comProxy)
{
}
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
public PivotTable(ICOMObject parentObject, object comProxy) : base(parentObject, comProxy)
{
}
///<param name="factory">current used factory core</param>
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
///<param name="comProxyType">Type of inner wrapped COM proxy"</param>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public PivotTable(Core factory, ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(factory, parentObject, comProxy, comProxyType)
{
}
///<param name="parentObject">object there has created the proxy</param>
///<param name="comProxy">inner wrapped COM proxy</param>
///<param name="comProxyType">Type of inner wrapped COM proxy"</param>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public PivotTable(ICOMObject parentObject, object comProxy, NetRuntimeSystem.Type comProxyType) : base(parentObject, comProxy, comProxyType)
{
}
///<param name="replacedObject">object to replaced. replacedObject are not usable after this action</param>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public PivotTable(ICOMObject replacedObject) : base(replacedObject)
{
}
/// <summary>
/// Creates a new instance of PivotTable
/// </summary>
public PivotTable():base("OWC10.PivotTable")
{
}
/// <summary>
/// Creates a new instance of PivotTable
/// </summary>
///<param name="progId">registered ProgID</param>
public PivotTable(string progId):base(progId)
{
}
#endregion
#region Static CoClass Methods
#endregion
#region Events
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_SelectionChangeEventHandler _SelectionChangeEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_SelectionChangeEventHandler SelectionChangeEvent
{
add
{
CreateEventBridge();
_SelectionChangeEvent += value;
}
remove
{
_SelectionChangeEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_ViewChangeEventHandler _ViewChangeEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_ViewChangeEventHandler ViewChangeEvent
{
add
{
CreateEventBridge();
_ViewChangeEvent += value;
}
remove
{
_ViewChangeEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_DataChangeEventHandler _DataChangeEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_DataChangeEventHandler DataChangeEvent
{
add
{
CreateEventBridge();
_DataChangeEvent += value;
}
remove
{
_DataChangeEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_PivotTableChangeEventHandler _PivotTableChangeEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_PivotTableChangeEventHandler PivotTableChangeEvent
{
add
{
CreateEventBridge();
_PivotTableChangeEvent += value;
}
remove
{
_PivotTableChangeEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_BeforeQueryEventHandler _BeforeQueryEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_BeforeQueryEventHandler BeforeQueryEvent
{
add
{
CreateEventBridge();
_BeforeQueryEvent += value;
}
remove
{
_BeforeQueryEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_QueryEventHandler _QueryEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_QueryEventHandler QueryEvent
{
add
{
CreateEventBridge();
_QueryEvent += value;
}
remove
{
_QueryEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_OnConnectEventHandler _OnConnectEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_OnConnectEventHandler OnConnectEvent
{
add
{
CreateEventBridge();
_OnConnectEvent += value;
}
remove
{
_OnConnectEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_OnDisconnectEventHandler _OnDisconnectEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_OnDisconnectEventHandler OnDisconnectEvent
{
add
{
CreateEventBridge();
_OnDisconnectEvent += value;
}
remove
{
_OnDisconnectEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_MouseDownEventHandler _MouseDownEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_MouseDownEventHandler MouseDownEvent
{
add
{
CreateEventBridge();
_MouseDownEvent += value;
}
remove
{
_MouseDownEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_MouseMoveEventHandler _MouseMoveEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_MouseMoveEventHandler MouseMoveEvent
{
add
{
CreateEventBridge();
_MouseMoveEvent += value;
}
remove
{
_MouseMoveEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_MouseUpEventHandler _MouseUpEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_MouseUpEventHandler MouseUpEvent
{
add
{
CreateEventBridge();
_MouseUpEvent += value;
}
remove
{
_MouseUpEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_MouseWheelEventHandler _MouseWheelEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_MouseWheelEventHandler MouseWheelEvent
{
add
{
CreateEventBridge();
_MouseWheelEvent += value;
}
remove
{
_MouseWheelEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_ClickEventHandler _ClickEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_ClickEventHandler ClickEvent
{
add
{
CreateEventBridge();
_ClickEvent += value;
}
remove
{
_ClickEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_DblClickEventHandler _DblClickEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_DblClickEventHandler DblClickEvent
{
add
{
CreateEventBridge();
_DblClickEvent += value;
}
remove
{
_DblClickEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_CommandEnabledEventHandler _CommandEnabledEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_CommandEnabledEventHandler CommandEnabledEvent
{
add
{
CreateEventBridge();
_CommandEnabledEvent += value;
}
remove
{
_CommandEnabledEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_CommandCheckedEventHandler _CommandCheckedEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_CommandCheckedEventHandler CommandCheckedEvent
{
add
{
CreateEventBridge();
_CommandCheckedEvent += value;
}
remove
{
_CommandCheckedEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_CommandTipTextEventHandler _CommandTipTextEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_CommandTipTextEventHandler CommandTipTextEvent
{
add
{
CreateEventBridge();
_CommandTipTextEvent += value;
}
remove
{
_CommandTipTextEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_CommandBeforeExecuteEventHandler _CommandBeforeExecuteEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_CommandBeforeExecuteEventHandler CommandBeforeExecuteEvent
{
add
{
CreateEventBridge();
_CommandBeforeExecuteEvent += value;
}
remove
{
_CommandBeforeExecuteEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_CommandExecuteEventHandler _CommandExecuteEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_CommandExecuteEventHandler CommandExecuteEvent
{
add
{
CreateEventBridge();
_CommandExecuteEvent += value;
}
remove
{
_CommandExecuteEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_KeyDownEventHandler _KeyDownEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_KeyDownEventHandler KeyDownEvent
{
add
{
CreateEventBridge();
_KeyDownEvent += value;
}
remove
{
_KeyDownEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_KeyUpEventHandler _KeyUpEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_KeyUpEventHandler KeyUpEvent
{
add
{
CreateEventBridge();
_KeyUpEvent += value;
}
remove
{
_KeyUpEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_KeyPressEventHandler _KeyPressEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_KeyPressEventHandler KeyPressEvent
{
add
{
CreateEventBridge();
_KeyPressEvent += value;
}
remove
{
_KeyPressEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_BeforeKeyDownEventHandler _BeforeKeyDownEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_BeforeKeyDownEventHandler BeforeKeyDownEvent
{
add
{
CreateEventBridge();
_BeforeKeyDownEvent += value;
}
remove
{
_BeforeKeyDownEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_BeforeKeyUpEventHandler _BeforeKeyUpEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_BeforeKeyUpEventHandler BeforeKeyUpEvent
{
add
{
CreateEventBridge();
_BeforeKeyUpEvent += value;
}
remove
{
_BeforeKeyUpEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_BeforeKeyPressEventHandler _BeforeKeyPressEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_BeforeKeyPressEventHandler BeforeKeyPressEvent
{
add
{
CreateEventBridge();
_BeforeKeyPressEvent += value;
}
remove
{
_BeforeKeyPressEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_BeforeContextMenuEventHandler _BeforeContextMenuEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_BeforeContextMenuEventHandler BeforeContextMenuEvent
{
add
{
CreateEventBridge();
_BeforeContextMenuEvent += value;
}
remove
{
_BeforeContextMenuEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_StartEditEventHandler _StartEditEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_StartEditEventHandler StartEditEvent
{
add
{
CreateEventBridge();
_StartEditEvent += value;
}
remove
{
_StartEditEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_EndEditEventHandler _EndEditEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_EndEditEventHandler EndEditEvent
{
add
{
CreateEventBridge();
_EndEditEvent += value;
}
remove
{
_EndEditEvent -= value;
}
}
/// <summary>
/// SupportByVersion OWC10, 1
/// </summary>
private event PivotTable_BeforeScreenTipEventHandler _BeforeScreenTipEvent;
/// <summary>
/// SupportByVersion OWC10 1
/// </summary>
[SupportByVersion("OWC10", 1)]
public event PivotTable_BeforeScreenTipEventHandler BeforeScreenTipEvent
{
add
{
CreateEventBridge();
_BeforeScreenTipEvent += value;
}
remove
{
_BeforeScreenTipEvent -= value;
}
}
#endregion
#region IEventBinding
/// <summary>
/// Creates active sink helper
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public void CreateEventBridge()
{
if(false == Factory.Settings.EnableEvents)
return;
if (null != _connectPoint)
return;
if (null == _activeSinkId)
_activeSinkId = SinkHelper.GetConnectionPoint(this, ref _connectPoint, Events.IPivotControlEvents_SinkHelper.Id);
if(Events.IPivotControlEvents_SinkHelper.Id.Equals(_activeSinkId, StringComparison.InvariantCultureIgnoreCase))
{
_iPivotControlEvents_SinkHelper = new Events.IPivotControlEvents_SinkHelper(this, _connectPoint);
return;
}
}
/// <summary>
/// The instance use currently an event listener
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public bool EventBridgeInitialized
{
get
{
return (null != _connectPoint);
}
}
/// <summary>
/// Instance has one or more event recipients
/// </summary>
/// <returns>true if one or more event is active, otherwise false</returns>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public bool HasEventRecipients()
{
return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType);
}
/// <summary>
/// Instance has one or more event recipients
/// </summary>
/// <param name="eventName">name of the event</param>
/// <returns></returns>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public bool HasEventRecipients(string eventName)
{
return NetOffice.Events.CoClassEventReflector.HasEventRecipients(this, LateBindingApiWrapperType, eventName);
}
/// <summary>
/// Target methods from its actual event recipients
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public Delegate[] GetEventRecipients(string eventName)
{
return NetOffice.Events.CoClassEventReflector.GetEventRecipients(this, LateBindingApiWrapperType, eventName);
}
/// <summary>
/// Returns the current count of event recipients
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public int GetCountOfEventRecipients(string eventName)
{
return NetOffice.Events.CoClassEventReflector.GetCountOfEventRecipients(this, LateBindingApiWrapperType, eventName);
}
/// <summary>
/// Raise an instance event
/// </summary>
/// <param name="eventName">name of the event without 'Event' at the end</param>
/// <param name="paramsArray">custom arguments for the event</param>
/// <returns>count of called event recipients</returns>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public int RaiseCustomEvent(string eventName, ref object[] paramsArray)
{
return NetOffice.Events.CoClassEventReflector.RaiseCustomEvent(this, LateBindingApiWrapperType, eventName, ref paramsArray);
}
/// <summary>
/// Stop listening events for the instance
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never), Browsable(false)]
public void DisposeEventBridge()
{
if( null != _iPivotControlEvents_SinkHelper)
{
_iPivotControlEvents_SinkHelper.Dispose();
_iPivotControlEvents_SinkHelper = null;
}
_connectPoint = null;
}
#endregion
#pragma warning restore
}
}
| 25.710671 | 293 | 0.686107 | [
"MIT"
] | DominikPalo/NetOffice | Source/OWC10/Classes/PivotTable.cs | 23,373 | C# |
using System;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace X.Entity
{
[DataContract]
[Table("Log")]
public class Log : BaseEntity
{
[DataMember]
[Required]
[StringLength(50)]
public string Tenant { get; set; }
/// <summary>
///
/// </summary>
[DataMember]
[Required]
[StringLength(50)]
public string Remark { get; set; }
}
}
| 19.285714 | 51 | 0.581481 | [
"MIT"
] | wilsonfanfan/EF-CodeFirst | Entity/Base/Log.cs | 542 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
using System;
using System.Linq;
using DotNetNuke.UI.WebControls;
namespace DotNetNuke.Services.Authentication.OAuth
{
public class OAuthSettingsBase : AuthenticationSettingsBase
{
protected PropertyEditorControl SettingsEditor;
protected virtual string AuthSystemApplicationName { get { return String.Empty; } }
public override void UpdateSettings()
{
if (SettingsEditor.IsValid && SettingsEditor.IsDirty)
{
var config = (OAuthConfigBase)SettingsEditor.DataSource;
OAuthConfigBase.UpdateConfig(config);
}
}
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
OAuthConfigBase config = OAuthConfigBase.GetConfig(AuthSystemApplicationName, PortalId);
SettingsEditor.DataSource = config;
SettingsEditor.DataBind();
}
}
}
| 31.472222 | 100 | 0.667255 | [
"MIT"
] | Tychodewaard/Dnn.Platform | DNN Platform/Library/Services/Authentication/OAuth/OAuthSettingsBase.cs | 1,135 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics;
#if NETFRAMEWORK
#nullable disable
namespace Microsoft.VisualStudio.TestPlatform.ObjectModel;
public partial interface IPlatformEqtTrace
{
/// <summary>
/// Setup remote trace listener in the child domain.
/// If calling domain, doesn't have tracing enabled nothing is done.
/// </summary>
/// <param name="childDomain">Child <c>AppDomain</c>.</param>
void SetupRemoteEqtTraceListeners(AppDomain childDomain);
/// <summary>
/// Setup a custom trace listener instead of default trace listener created by test platform.
/// This is needed by DTA Agent where it needs to listen test platform traces but doesn't use test platform listener.
/// </summary>
/// <param name="listener">
/// The listener.
/// </param>
void SetupListener(TraceListener listener);
}
#endif
| 31.212121 | 121 | 0.716505 | [
"MIT"
] | Wivra/vstest | src/Microsoft.TestPlatform.PlatformAbstractions/net451/Interfaces/Tracing/IPlatformEqtTrace.cs | 1,032 | C# |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration.Provider;
using System.Configuration;
using System.Text;
using Microsoft.WindowsAzure;
namespace Saguaro
{
public static class ProjectSettings
{
public static class Emails
{
public const string NewUser_EmailSubjectLine = "Welcome to Saguaro!";
public const string NewUser_EmailFrom = "no-reply@email.com";
public const string NewUser_EmailFromName = "fromName";
}
}
} | 24.130435 | 81 | 0.700901 | [
"MIT"
] | INNVTV/Saguaro | Saguaro/ProjectSettings.cs | 557 | C# |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
using System;
using System.Linq;
using QuantConnect.Data;
using QuantConnect.Data.Market;
using QuantConnect.Orders;
using QuantConnect.Securities.Option;
namespace QuantConnect.Algorithm.CSharp
{
/// <summary>
/// This algorithm demonstrate how to use Option Strategies (e.g. OptionStrategies.Straddle) helper classes to batch send orders for common strategies.
/// It also shows how you can prefilter contracts easily based on strikes and expirations, and how you can inspect the
/// option chain to pick a specific option contract to trade.
/// </summary>
/// <meta name="tag" content="using data" />
/// <meta name="tag" content="options" />
/// <meta name="tag" content="option strategies" />
/// <meta name="tag" content="filter selection" />
public class BasicTemplateOptionStrategyAlgorithm : QCAlgorithm
{
private Symbol _optionSymbol;
public override void Initialize()
{
SetStartDate(2015, 12, 24);
SetEndDate(2015, 12, 24);
SetCash(1000000);
var option = AddOption("GOOG");
_optionSymbol = option.Symbol;
// set our strike/expiry filter for this option chain
option.SetFilter(-2, +2, TimeSpan.Zero, TimeSpan.FromDays(180));
// use the underlying equity as the benchmark
SetBenchmark("GOOG");
}
public override void OnData(Slice slice)
{
if (!Portfolio.Invested)
{
OptionChain chain;
if (slice.OptionChains.TryGetValue(_optionSymbol, out chain))
{
var atmStraddle = chain
.OrderBy(x => Math.Abs(chain.Underlying.Price - x.Strike))
.ThenByDescending(x => x.Expiry)
.FirstOrDefault();
if (atmStraddle != null)
{
Sell(OptionStrategies.Straddle(_optionSymbol, atmStraddle.Strike, atmStraddle.Expiry), 2);
}
}
}
else
{
Liquidate();
}
foreach(var kpv in slice.Bars)
{
Log($"---> OnData: {Time}, {kpv.Key.Value}, {kpv.Value.Close:0.00}");
}
}
/// <summary>
/// Order fill event handler. On an order fill update the resulting information is passed to this method.
/// </summary>
/// <param name="orderEvent">Order event details containing details of the evemts</param>
/// <remarks>This method can be called asynchronously and so should only be used by seasoned C# experts. Ensure you use proper locks on thread-unsafe objects</remarks>
public override void OnOrderEvent(OrderEvent orderEvent)
{
Log(orderEvent.ToString());
}
}
}
| 38.094737 | 175 | 0.611495 | [
"Apache-2.0"
] | Bimble/Lean | Algorithm.CSharp/BasicTemplateOptionStrategyAlgorithm.cs | 3,621 | C# |
using AutoMapper;
using EllAid.Adapters.DataObjects;
using EllAid.Entities.Data;
using EllAid.Details.Main.DataAccess;
namespace EllAid.Details.Main.Mapper.Profiles
{
public class CourseProfile : Profile
{
public CourseProfile() =>
CreateMap<Course, CourseDto>()
.ForMember(dto=>dto.Version, c=>c.MapFrom(src => DataAccessConstants.noSqlCourseVersion))
.ForMember(dto=>dto.Type, c=>c.MapFrom(src=> DataAccessConstants.noSqlCourseType));
}
} | 33.733333 | 105 | 0.6917 | [
"MIT"
] | steveage/EllAid | source/Details/Main/Map/Profiles/CourseProfile.cs | 506 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 13 Swallows Close,
// Mornington, Vic 3931, Australia and are supplied subject to license terms.
//
// Modifications by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV) 2017 - 2020. All rights reserved. (https://github.com/Wagnerp/Krypton-Toolkit-Suite-NET-Core)
// Version 5.500.0.0 www.ComponentFactory.com
// *****************************************************************************
namespace ComponentFactory.Krypton.Toolkit
{
/// <summary>
/// Custom type converter so that GridStyle values appear as neat text at design time.
/// </summary>
internal class GridStyleConverter : StringLookupConverter
{
#region Static Fields
#endregion
#region Identity
/// <summary>
/// Initialize a new instance of the GridStyleConverter clas.
/// </summary>
public GridStyleConverter()
: base(typeof(GridStyle))
{
}
#endregion
#region Protected
/// <summary>
/// Gets an array of lookup pairs.
/// </summary>
protected override Pair[] Pairs { get; } =
{ new Pair(GridStyle.List, "List"),
new Pair(GridStyle.Sheet, "Sheet"),
new Pair(GridStyle.Custom1, "Custom1"),
new Pair(GridStyle.Custom2, "Custom2"),
new Pair(GridStyle.Custom3, "Custom3")
};
#endregion
}
}
| 37.3125 | 170 | 0.572306 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy-Archive/Krypton-Toolkit-Suite-NET-Core | Source/Krypton Components/ComponentFactory.Krypton.Toolkit/Converters/GridStyleConverter.cs | 1,794 | C# |
using System;
namespace FullCalenderIOMVCCore.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} | 19.909091 | 70 | 0.684932 | [
"MIT"
] | findasifrahman/fullCalenderIOCore | FullCalenderIOMVCCore/Models/ErrorViewModel.cs | 219 | C# |
using System;
using BackendTest.Domain.ValueObjects;
namespace BackendTest.Domain.Entities
{
public class Genre : Entity<int>
{
public Name Name { get; private set; }
private Genre()
{
}
public Genre(Name name) : base(Guid.NewGuid().GetHashCode())
{
Name = name;
}
}
}
| 16.857143 | 68 | 0.553672 | [
"MIT"
] | thevikingsoftwarecrafter/BackendTest | src/BackendTest.Domain/Entities/Genre.cs | 356 | C# |
//------------------------------------------------------------------------------
// <copyright file="IResourceService.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel.Design {
using System.Globalization;
using System.Resources;
/// <devdoc>
/// <para>
/// Provides designers a way to
/// access a resource for the current design-time
/// object.</para>
/// </devdoc>
public interface IResourceService {
/// <devdoc>
/// <para>
/// Locates the resource reader for the specified culture and
/// returns it.</para>
/// </devdoc>
IResourceReader GetResourceReader(CultureInfo info);
/// <devdoc>
/// <para>Locates the resource writer for the specified culture
/// and returns it. This will create a new resource for
/// the specified culture and destroy any existing resource,
/// should it exist.</para>
/// </devdoc>
IResourceWriter GetResourceWriter(CultureInfo info);
}
}
| 34.128205 | 80 | 0.480841 | [
"Apache-2.0"
] | 295007712/295007712.github.io | sourceCode/dotNet4.6/ndp/fx/src/compmod/system/componentmodel/design/IResourceService.cs | 1,331 | C# |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
namespace AGenericController.Models.Contexts
{
public class GenericLayer<T> : IDisposable where T: class
{
private TestDBEntities context;
public GenericLayer()
{
context = new TestDBEntities();
}
public List<T> GetAll()
{
return context.Set<T>().ToList();
}
public T GetById(object id)
{
return context.Set<T>().Find(id);
}
public bool Create(T element)
{
context.Set<T>().Add(element);
context.Entry(element).State = EntityState.Added;
context.SaveChanges();
return true;
}
public bool Update(T element)
{
context.Set<T>().Attach(element);
context.Entry(element).State = EntityState.Modified;
context.SaveChanges();
return true;
}
public bool Delete(T element)
{
context.Set<T>().Attach(element);
context.Entry(element).State = EntityState.Deleted;
context.SaveChanges();
return true;
}
public void Dispose()
{
context?.Dispose();
}
}
} | 23.589286 | 64 | 0.529145 | [
"MIT"
] | MagicMango/GenericController | AGenericController/Models/Contexts/GenericLayer.cs | 1,323 | C# |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.SecurityHub.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.SecurityHub.Model.Internal.MarshallTransformations
{
/// <summary>
/// AwsCodeBuildProjectEnvironment Marshaller
/// </summary>
public class AwsCodeBuildProjectEnvironmentMarshaller : IRequestMarshaller<AwsCodeBuildProjectEnvironment, JsonMarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="requestObject"></param>
/// <param name="context"></param>
/// <returns></returns>
public void Marshall(AwsCodeBuildProjectEnvironment requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetCertificate())
{
context.Writer.WritePropertyName("Certificate");
context.Writer.Write(requestObject.Certificate);
}
if(requestObject.IsSetImagePullCredentialsType())
{
context.Writer.WritePropertyName("ImagePullCredentialsType");
context.Writer.Write(requestObject.ImagePullCredentialsType);
}
if(requestObject.IsSetRegistryCredential())
{
context.Writer.WritePropertyName("RegistryCredential");
context.Writer.WriteObjectStart();
var marshaller = AwsCodeBuildProjectEnvironmentRegistryCredentialMarshaller.Instance;
marshaller.Marshall(requestObject.RegistryCredential, context);
context.Writer.WriteObjectEnd();
}
if(requestObject.IsSetType())
{
context.Writer.WritePropertyName("Type");
context.Writer.Write(requestObject.Type);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static AwsCodeBuildProjectEnvironmentMarshaller Instance = new AwsCodeBuildProjectEnvironmentMarshaller();
}
} | 35.635294 | 134 | 0.671179 | [
"Apache-2.0"
] | DetlefGolze/aws-sdk-net | sdk/src/Services/SecurityHub/Generated/Model/Internal/MarshallTransformations/AwsCodeBuildProjectEnvironmentMarshaller.cs | 3,029 | C# |
using System.Collections.Generic;
using System.Threading;
namespace WinAppDriver.Server.CommandHandlers
{
internal class UnknownCommandHandler : CommandHandler
{
public override Response Execute(CommandEnvironment environment, Dictionary<string, object> parameters, CancellationToken cancellationToken)
{
var method = parameters["method"];
var uri = parameters["uri"];
return Response.CreateErrorResponse(WebDriverStatusCode.UnknownCommand, $"{method} request to '{uri}' cannot be handled (not supported).");
}
}
}
| 36.8125 | 151 | 0.709677 | [
"MIT"
] | ejhollas/WinAppDriver | WinAppDriver/CommandHandlers/UnknownCommandHandler.cs | 591 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using Microsoft.Bot.Schema;
namespace Microsoft.Bot.Builder.Core.Extensions
{
public class RegExpRecognizerSettings
{
/// <summary>
/// Minimum score, on a scale from 0.0 to 1.0, that should be returned for a matched
/// expression.This defaults to a value of 0.0.
/// </summary>
public double MinScore { get; set; } = 0.0;
}
public class RegExLocaleMap
{
private Dictionary<string, List<Regex>> _map = new Dictionary<string, List<Regex>>();
private const string Default_Key = "*";
public RegExLocaleMap()
{
}
public RegExLocaleMap(List<Regex> items)
{
_map[Default_Key] = items;
}
public List<Regex> GetLocale(string locale)
{
if (_map.ContainsKey(locale))
return _map[locale];
else if (_map.ContainsKey(Default_Key))
return _map[Default_Key];
else
return new List<Regex>();
}
public Dictionary<string, List<Regex>> Map
{
get { return _map; }
}
}
public class RegExpRecognizerMiddleware : IntentRecognizerMiddleware
{
private RegExpRecognizerSettings _settings;
private Dictionary<string, RegExLocaleMap> _intents = new Dictionary<string, RegExLocaleMap>();
public const string DefaultEntityType = "string";
public RegExpRecognizerMiddleware() : this(new RegExpRecognizerSettings() { MinScore = 0.0 })
{
}
public RegExpRecognizerMiddleware(RegExpRecognizerSettings settings)
{
_settings = settings ?? throw new ArgumentNullException("settings");
if (_settings.MinScore < 0 || _settings.MinScore > 1.0)
{
throw new ArgumentException($"RegExpRecognizerMiddleware: a minScore of {_settings.MinScore} is out of range.");
}
this.OnRecognize(async (context) =>
{
IList<Intent> intents = new List<Intent>();
string utterance = CleanString(context.Activity.Text);
double minScore = _settings.MinScore;
foreach (var name in _intents.Keys)
{
var map = _intents[name];
List<Regex> expressions = GetExpressions(context, map);
Intent top = null;
foreach (Regex exp in expressions)
{
List<string> entityTypes = new List<string>();
Intent intent = Recognize(utterance, exp, entityTypes, minScore);
if (intent != null)
{
if (top == null)
{
top = intent;
}
else if (intent.Score > top.Score)
{
top = intent;
}
}
if (top != null)
{
top.Name = name;
intents.Add(top);
}
}
}
return intents;
});
}
public RegExpRecognizerMiddleware AddIntent(string intentName, Regex regex)
{
if (regex == null)
throw new ArgumentNullException("regex");
return AddIntent(intentName, new List<Regex> { regex });
}
public RegExpRecognizerMiddleware AddIntent(string intentName, List<Regex> regexList)
{
if (regexList == null)
throw new ArgumentNullException("regexList");
return AddIntent(intentName, new RegExLocaleMap(regexList));
}
public RegExpRecognizerMiddleware AddIntent(string intentName, RegExLocaleMap map)
{
if (string.IsNullOrWhiteSpace(intentName))
throw new ArgumentNullException("intentName");
if (_intents.ContainsKey(intentName))
throw new ArgumentException($"RegExpRecognizer: an intent name '{intentName}' already exists.");
_intents[intentName] = map;
return this;
}
private List<Regex> GetExpressions(ITurnContext context, RegExLocaleMap map)
{
var locale = string.IsNullOrWhiteSpace(context.Activity.Locale) ? "*" : context.Activity.Locale;
var entry = map.GetLocale(locale);
return entry;
}
public static Intent Recognize(string text, Regex expression, double minScore)
{
return Recognize(text, expression, new List<string>(), minScore);
}
public static Intent Recognize(string text, Regex expression, List<string> entityTypes, double minScore)
{
// Note: Not throwing here, as users enter whitespace all the time.
if (string.IsNullOrWhiteSpace(text))
return null;
if (expression == null)
throw new ArgumentNullException("expression");
if (entityTypes == null)
throw new ArgumentNullException("entity Types");
if (minScore < 0 || minScore > 1.0)
throw new ArgumentOutOfRangeException($"RegExpRecognizer: a minScore of '{minScore}' is out of range for expression '{expression.ToString()}'");
var match = expression.Match(text);
//var matches = expression.Matches(text);
if (match.Success)
{
double coverage = (double)match.Length / (double)text.Length;
double score = minScore + ((1.0 - minScore) * coverage);
Intent intent = new Intent()
{
Name = expression.ToString(),
Score = score
};
for (int i = 0; i < match.Groups.Count; i++)
{
if (i == 0)
continue; // First one is always the entire capture, so just skip
string groupName = DefaultEntityType;
if (entityTypes.Count > 0)
{
// If the dev passed in group names, use them.
groupName = (i - 1) < entityTypes.Count ? entityTypes[i - 1] : DefaultEntityType;
}
else
{
groupName = expression.GroupNameFromNumber(i);
if (string.IsNullOrEmpty(groupName))
{
groupName = DefaultEntityType;
}
}
Group g = match.Groups[i];
if (g.Success)
{
Entity newEntity = new Entity()
{
GroupName = groupName,
Score = 1.0,
["Value"] = match.Groups[i].Value
};
intent.Entities.Add(newEntity);
}
}
return intent;
}
return null;
}
}
}
| 35.397196 | 160 | 0.500198 | [
"MIT"
] | DeeJayTC/botbuilder-dotnet | libraries/Microsoft.Bot.Builder.Core.Extensions/RegExpRecognizerMiddleware.cs | 7,577 | C# |
namespace PluginWebRequestAffinityPreprod.DataContracts
{
public class OAuthConfig
{
public string RedirectUri { get; set; }
}
} | 21.142857 | 55 | 0.702703 | [
"MIT"
] | naveego/plugin-web-request-affinitypreprod | PluginWebRequestAffinityPreprod/DataContracts/OAuthConfig.cs | 148 | C# |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 13 Swallows Close,
// Mornington, Vic 3931, Australia and are supplied subject to license terms.
//
// Modifications by Peter Wagner(aka Wagnerp) & Simon Coghlan(aka Smurf-IV) 2017 - 2020. All rights reserved. (https://github.com/Wagnerp/Krypton-NET-5.471)
// Version 5.471.0.0 www.ComponentFactory.com
// *****************************************************************************
using System;
using System.Drawing;
using System.Windows.Forms;
using System.Diagnostics;
using ComponentFactory.Krypton.Toolkit;
namespace ComponentFactory.Krypton.Ribbon
{
internal class ViewRibbonManager : ViewManager
{
#region Instance Fields
private readonly KryptonRibbon _ribbon;
private readonly ViewDrawRibbonGroupsBorderSynch _viewGroups;
private ViewDrawRibbonGroup _activeGroup;
private readonly NeedPaintHandler _needPaintDelegate;
private readonly bool _minimizedMode;
private bool _active;
private bool _layingOut;
#endregion
#region Identity
/// <summary>
/// Initialize a new instance of the ViewRibbonManager class.
/// </summary>
/// <param name="control">Owning control.</param>
/// <param name="viewGroups">Group view elements.</param>
/// <param name="root">Root of the view hierarchy.</param>
/// <param name="minimizedMode">Is this manager for handling the minimized mode popup.</param>
/// <param name="needPaintDelegate">Delegate for requesting paint changes.</param>
public ViewRibbonManager(KryptonRibbon control,
ViewDrawRibbonGroupsBorderSynch viewGroups,
ViewBase root,
bool minimizedMode,
NeedPaintHandler needPaintDelegate)
: base(control, root)
{
Debug.Assert(viewGroups != null);
Debug.Assert(root != null);
Debug.Assert(needPaintDelegate != null);
_ribbon = control;
_viewGroups = viewGroups;
_needPaintDelegate = needPaintDelegate;
_active = true;
_minimizedMode = minimizedMode;
}
#endregion
#region Active
/// <summary>
/// Application we are inside has become active.
/// </summary>
public void Active()
{
_active = true;
}
#endregion
#region Inactive
/// <summary>
/// Application we are inside has become inactive.
/// </summary>
public void Inactive()
{
if (_active)
{
// Simulate the mouse leaving the application
MouseLeave(EventArgs.Empty);
// No longer active
_active = false;
}
}
#endregion
#region GetPreferredSize
/// <summary>
/// Discover the preferred size of the view.
/// </summary>
/// <param name="renderer">Renderer provider.</param>
/// <param name="proposedSize">The custom-sized area for a control.</param>
public override Size GetPreferredSize(IRenderer renderer,
Size proposedSize)
{
// Update the calculate values used during layout calls
_ribbon.CalculatedValues.Recalculate();
// Let base class perform standard preferred sizing actions
return base.GetPreferredSize(renderer, proposedSize);
}
#endregion
#region Layout
/// <summary>
/// Perform a layout of the view.
/// </summary>
/// <param name="context">View context for layout operation.</param>
public override void Layout(ViewLayoutContext context)
{
// Prevent reentrancy
if (!_layingOut)
{
Form ownerForm = _ribbon.FindForm();
// We do not need to layout if inside a control that is minimized or if we are not inside a form at all
if ((ownerForm == null) || (ownerForm.WindowState == FormWindowState.Minimized))
{
return;
}
_layingOut = true;
// Update the calculate values used during layout calls
_ribbon.CalculatedValues.Recalculate();
// Let base class perform standard layout actions
base.Layout(context);
_layingOut = false;
}
}
#endregion
#region Mouse
/// <summary>
/// Perform mouse movement handling.
/// </summary>
/// <param name="e">A MouseEventArgs that contains the event data.</param>
/// <param name="rawPt">The actual point provided from the windows message.</param>
public override void MouseMove(MouseEventArgs e, Point rawPt)
{
Debug.Assert(e != null);
// Validate incoming reference
if (e == null)
{
throw new ArgumentNullException(nameof(e));
}
if (!_ribbon.InDesignMode)
{
// Only interested if the application window we are inside is active or a docking floating window is active
if (_active || (CommonHelper.ActiveFloatingWindow != null))
{
// Only hot track groups if in the correct mode
if (_minimizedMode == _ribbon.RealMinimizedMode)
{
// Get the view group instance that matches this point
ViewDrawRibbonGroup viewGroup = _viewGroups.ViewGroupFromPoint(new Point(e.X, e.Y));
// Is there a change in active group?
if (viewGroup != _activeGroup)
{
if (_activeGroup != null)
{
_activeGroup.Tracking = false;
_activeGroup.PerformNeedPaint(false, _activeGroup.ClientRectangle);
}
_activeGroup = viewGroup;
if (_activeGroup != null)
{
_activeGroup.Tracking = true;
_activeGroup.PerformNeedPaint(false, _activeGroup.ClientRectangle);
}
}
}
}
}
// Remember to call base class for standard mouse processing
base.MouseMove(e, rawPt);
}
/// <summary>
/// Perform mouse leave processing.
/// </summary>
/// <param name="e">An EventArgs that contains the event data.</param>
public override void MouseLeave(EventArgs e)
{
Debug.Assert(e != null);
// Validate incoming reference
if (e == null)
{
throw new ArgumentNullException(nameof(e));
}
if (!_ribbon.InDesignMode)
{
// Only interested if the application window we are inside is active or a docking floating window is active
if (_active || (CommonHelper.ActiveFloatingWindow != null))
{
// If there is an active element
if (_activeGroup != null)
{
_activeGroup.PerformNeedPaint(false, _activeGroup.ClientRectangle);
_activeGroup.Tracking = false;
_activeGroup = null;
}
}
}
// Remember to call base class for standard mouse processing
base.MouseLeave(e);
}
#endregion
#region Protected
/// <summary>
/// Update the active view based on the mouse position.
/// </summary>
/// <param name="control">Source control.</param>
/// <param name="pt">Point within the source control.</param>
protected override void UpdateViewFromPoint(Control control, Point pt)
{
// If our application is inactive
if (!_active && (CommonHelper.ActiveFloatingWindow == null))
{
// And the mouse is not captured
if (!MouseCaptured)
{
// Then get the view under the mouse
ViewBase mouseView = Root.ViewFromPoint(pt);
// We only allow application button views to be interacted with
ActiveView = mouseView is ViewDrawRibbonAppButton ? mouseView : null;
}
}
else
{
base.UpdateViewFromPoint(control, pt);
}
}
#endregion
#region Implementation
private void PerformNeedPaint(bool needLayout)
{
PerformNeedPaint(needLayout, Rectangle.Empty);
}
private void PerformNeedPaint(bool needLayout, Rectangle invalidRect)
{
_needPaintDelegate?.Invoke(this, new NeedLayoutEventArgs(needLayout, invalidRect));
}
#endregion
}
}
| 37.30916 | 157 | 0.529309 | [
"BSD-3-Clause"
] | Krypton-Suite-Legacy/Krypton-NET-5.471 | Source/Krypton Components/ComponentFactory.Krypton.Ribbon/View Base/ViewRibbonManager.cs | 9,778 | C# |
namespace Security.HMAC
{
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security;
using System.Threading;
using System.Threading.Tasks;
public class HmacServerHandler : DelegatingHandler
{
private readonly TimeSpan tolerance;
private readonly IAppSecretRepository appSecretRepository;
private readonly ISigningAlgorithm signingAlgorithm;
private readonly bool mixedAuthMode;
private readonly ITime time;
public HmacServerHandler(
IAppSecretRepository appSecretRepository,
ISigningAlgorithm signingAlgorithm,
bool mixedAuthMode = false,
TimeSpan? tolerance = null,
ITime time = null)
{
this.appSecretRepository = appSecretRepository;
this.signingAlgorithm = signingAlgorithm;
this.mixedAuthMode = mixedAuthMode;
this.tolerance = tolerance ?? Constants.DefaultTolerance;
this.time = time ?? SystemTime.Instance;
}
public HmacServerHandler(
HttpMessageHandler innerHandler,
IAppSecretRepository appSecretRepository,
ISigningAlgorithm signingAlgorithm,
bool mixedAuthMode = false,
TimeSpan? tolerance = null,
ITime time = null)
: base(innerHandler)
{
this.appSecretRepository = appSecretRepository;
this.signingAlgorithm = signingAlgorithm;
this.mixedAuthMode = mixedAuthMode;
this.tolerance = tolerance ?? Constants.DefaultTolerance;
this.time = time ?? SystemTime.Instance;
}
protected override async Task<HttpResponseMessage> SendAsync(
HttpRequestMessage request,
CancellationToken cancellationToken)
{
var req = request;
var h = req.Headers;
if (mixedAuthMode && h.Authorization?.Scheme != Schemas.HMAC)
{
return await base.SendAsync(request, cancellationToken);
}
var appId = h.Contains(Headers.XAppId)
? h.GetValues(Headers.XAppId).FirstOrDefault()
: null;
var authValue = h.Authorization?.Parameter;
var date = h.Date ?? DateTimeOffset.MinValue;
if (appId != null
&& authValue != null
&& time.UtcNow - date <= tolerance)
{
var builder = new CannonicalRepresentationBuilder();
var content = builder.BuildRepresentation(
h.GetValues(Headers.XNonce).FirstOrDefault(),
appId,
req.Method.Method,
req.Content.Headers.ContentType?.ToString(),
string.Join(", ", req.Headers.Accept),
req.Content.Headers.ContentMD5,
date,
req.RequestUri);
SecureString secret;
if (content != null && (secret = appSecretRepository.GetSecret(appId)) != null)
{
var signature = signingAlgorithm.Sign(secret, content);
if (authValue == signature)
{
return await base.SendAsync(request, cancellationToken);
}
}
}
return new HttpResponseMessage(HttpStatusCode.Unauthorized)
{
Headers =
{
{ Headers.WWWAuthenticate, Schemas.HMAC }
}
};
}
}
} | 36.058824 | 95 | 0.554921 | [
"MIT"
] | ifbaltics/hmac-security | src/WebAPI/HMACServerHandler.cs | 3,678 | C# |
using Fhwk.Core.Tests.Common.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Dialect;
using NHibernate.Driver;
using NHibernate.Tool.hbm2ddl;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Fhwk.Core.Tests.Common.Tests
{
/// <summary>
/// A base class for tests that run against a SQL Server database
/// </summary>
public class BaseSqlServerTest
{
#region Members
private ISessionFactory sessionFactory;
#endregion
#region Protected Properties
/// <summary>
/// Gets the current NHibernate configuration
/// </summary>
protected Configuration NHConfig { get; private set; }
/// <summary>
/// Gets the current session factory
/// </summary>
public ISessionFactory SessionFactory
{
get { return sessionFactory ?? (sessionFactory = NHConfig.BuildSessionFactory()); }
}
#endregion
#region Public Methods
/// <summary>
/// Initialize the tests context
/// </summary>
[TestInitialize]
public void InitializeTestContext()
{
NHConfig = new Configuration()
.DataBaseIntegration(db =>
{
db.Dialect<MsSql2012Dialect>();
db.Driver<SqlClientDriver>();
db.KeywordsAutoImport = Hbm2DDLKeyWords.AutoQuote;
db.IsolationLevel = IsolationLevel.ReadCommitted;
db.SchemaAction = SchemaAutoAction.Create;
db.ConnectionStringName = ConnectionStringNames.SQLServerDB;
});
}
#endregion
#region Protected Methods
/// <summary>
/// Gets the list of database tables
/// </summary>
/// <returns>The list of table descriptions</returns>
protected IList<Table> GetTables()
{
IList<Table> result = new List<Table>();
var connString = System.Configuration.ConfigurationManager.ConnectionStrings[ConnectionStringNames.SQLServerDB].ConnectionString;
using (var connection = new SqlConnection(connString))
{
connection.Open();
var command = connection.CreateCommand();
command.CommandText = "SELECT t.Table_Schema, t.Table_Name, (SELECT STUFF((SELECT ',' + COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = t.TABLE_NAME FOR XML PATH('')) ,1,1,'')) as Column_Names, (SELECT STUFF((SELECT ',' + [name] FROM sysobjects WHERE [xtype] = 'PK'AND [parent_obj] = OBJECT_ID(t.Table_Schema + '.' + t.Table_Name) FOR XML PATH('')) ,1,1,'')) as Primary_Keys, (SELECT STUFF((SELECT ',' + [name] FROM sysobjects WHERE [xtype] = 'F'AND [parent_obj] = OBJECT_ID(t.Table_Schema + '.' + t.Table_Name) FOR XML PATH('')) ,1,1,'')) as Foreign_Keys FROM information_schema.tables t WHERE table_type = 'BASE TABLE' ORDER BY t.Table_Name";
var reader = command.ExecuteReader();
while (reader.Read())
{
Table table = new Table()
{
Schema = (string)reader["Table_Schema"],
Name = (string)reader["Table_Name"],
Columns = (reader["Column_Names"] != System.DBNull.Value) ? ((string)reader["Column_Names"]).Split(',').ToList() : new List<string>(),
PrimaryKey = (reader["Primary_Keys"] != System.DBNull.Value) ? ((string)reader["Primary_Keys"]).Split(',').FirstOrDefault() : default(string),
ForeignKeys = (reader["Foreign_Keys"] != System.DBNull.Value) ? ((string)reader["Foreign_Keys"]).Split(',').ToList() : new List<string>(),
};
result.Add(table);
}
}
return result;
}
/// <summary>
/// Exports the schema and returns the SchemaExport instance
/// </summary>
/// <param name="config">The current nh config</param>
/// <returns>The SchemaExport instance</returns>
protected SchemaExport ExportSchema(Configuration config)
{
var schemaExport = new SchemaExport(config);
// Create
schemaExport.Execute(false, true, false);
return schemaExport;
}
/// <summary>
/// Drops the given schema
/// </summary>
/// <param name="schemaExport">The schema to drop</param>
protected void DropSchema(SchemaExport schemaExport)
{
// Drop
schemaExport.Execute(false, true, true);
}
/// <summary>
/// Exports the schema, gets the list of exported tables and drops the generated schema
/// </summary>
/// <param name="config">The current nh config</param>
/// <returns>The list of generated tables</returns>
protected IList<Table> ExportSchemaAndDrop(Configuration config)
{
IList<Table> result = null;
var schemaExport = new SchemaExport(config);
// Create
schemaExport.Execute(false, true, false);
// Get schema
result = GetTables();
// Drop
schemaExport.Execute(false, true, true);
return result;
}
#endregion
}
}
| 35.675159 | 675 | 0.577933 | [
"Apache-2.0"
] | HomeroThompson/firehawk | Source/Firehawk/Firehawk.Core.Tests/Common/Tests/BaseSqlServerTest.cs | 5,603 | C# |
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Collections;
using Sfs2X;
using Sfs2X.Logging;
using Sfs2X.Util;
using Sfs2X.Core;
using Sfs2X.Entities;
public class Connector : MonoBehaviour {
//----------------------------------------------------------
// UI elements
//----------------------------------------------------------
public InputField hostInput;
public InputField portInput;
public Toggle debugToggle;
public Button button;
public Text buttonLabel;
public ScrollRect debugScrollRect;
public Text debugText;
//----------------------------------------------------------
// Private properties
//----------------------------------------------------------
private string defaultHost = "127.0.0.1"; // Default host
private int defaultTcpPort = 9933; // Default TCP port
private int defaultWsPort = 8888; // Default WebSocket port
private SmartFox sfs;
//----------------------------------------------------------
// Unity calback methods
//----------------------------------------------------------
void Start() {
// Initialize UI
hostInput.text = defaultHost;
#if !UNITY_WEBGL
portInput.text = defaultTcpPort.ToString();
#else
portInput.text = defaultWsPort.ToString();
#endif
debugText.text = "";
}
void Update() {
// As Unity is not thread safe, we process the queued up callbacks on every frame
if (sfs != null)
sfs.ProcessEvents();
}
//----------------------------------------------------------
// Public interface methods for UI
//----------------------------------------------------------
public void OnButtonClick() {
if (sfs == null || !sfs.IsConnected) {
// CONNECT
#if UNITY_WEBPLAYER
// Socket policy prefetch can be done if the client-server communication is not encrypted only (read link provided in the note above)
if (!Security.PrefetchSocketPolicy(hostInput.text, Convert.ToInt32(portInput.text), 500)) {
Debug.LogError("Security Exception. Policy file loading failed!");
}
#endif
// Enable interface
enableInterface(false);
// Clear console
debugText.text = "";
debugScrollRect.verticalNormalizedPosition = 1;
trace("Now connecting...");
// Initialize SFS2X client and add listeners
// WebGL build uses a different constructor
#if !UNITY_WEBGL
sfs = new SmartFox();
#else
sfs = new SmartFox(UseWebSocket.WS);
#endif
// Set ThreadSafeMode explicitly, or Windows Store builds will get a wrong default value (false)
sfs.ThreadSafeMode = true;
sfs.AddEventListener(SFSEvent.CONNECTION, OnConnection);
sfs.AddEventListener(SFSEvent.CONNECTION_LOST, OnConnectionLost);
sfs.AddLogListener(LogLevel.INFO, OnInfoMessage);
sfs.AddLogListener(LogLevel.WARN, OnWarnMessage);
sfs.AddLogListener(LogLevel.ERROR, OnErrorMessage);
// Set connection parameters
ConfigData cfg = new ConfigData();
cfg.Host = hostInput.text;
cfg.Port = Convert.ToInt32(portInput.text);
cfg.Zone = "BasicExamples";
cfg.Debug = debugToggle.isOn;
// Connect to SFS2X
sfs.Connect(cfg);
} else {
// DISCONNECT
// Disable button
button.interactable = false;
// Disconnect from SFS2X
sfs.Disconnect();
}
}
//----------------------------------------------------------
// Private helper methods
//----------------------------------------------------------
private void enableInterface(bool enable) {
hostInput.interactable = enable;
portInput.interactable = enable;
debugToggle.interactable = enable;
button.interactable = enable;
buttonLabel.text = "CONNECT";
}
private void trace(string msg) {
debugText.text += (debugText.text != "" ? "\n" : "") + msg;
debugScrollRect.verticalNormalizedPosition = 0;
}
private void reset() {
// Remove SFS2X listeners
sfs.RemoveEventListener(SFSEvent.CONNECTION, OnConnection);
sfs.RemoveEventListener(SFSEvent.CONNECTION_LOST, OnConnectionLost);
sfs.RemoveLogListener(LogLevel.INFO, OnInfoMessage);
sfs.RemoveLogListener(LogLevel.WARN, OnWarnMessage);
sfs.RemoveLogListener(LogLevel.ERROR, OnErrorMessage);
sfs = null;
// Enable interface
enableInterface(true);
}
//----------------------------------------------------------
// SmartFoxServer event listeners
//----------------------------------------------------------
private void OnConnection(BaseEvent evt) {
if ((bool)evt.Params["success"]) {
trace("Connection established successfully");
trace("SFS2X API version: " + sfs.Version);
trace("Connection mode is: " + sfs.ConnectionMode);
// Enable disconnect button
button.interactable = true;
buttonLabel.text = "DISCONNECT";
} else {
trace("Connection failed; is the server running at all?");
// Remove SFS2X listeners and re-enable interface
reset();
}
}
private void OnConnectionLost(BaseEvent evt) {
trace("Connection was lost; reason is: " + (string)evt.Params["reason"]);
// Remove SFS2X listeners and re-enable interface
reset();
}
//----------------------------------------------------------
// SmartFoxServer log event listeners
//----------------------------------------------------------
public void OnInfoMessage(BaseEvent evt) {
string message = (string)evt.Params["message"];
ShowLogMessage("INFO", message);
}
public void OnWarnMessage(BaseEvent evt) {
string message = (string)evt.Params["message"];
ShowLogMessage("WARN", message);
}
public void OnErrorMessage(BaseEvent evt) {
string message = (string)evt.Params["message"];
ShowLogMessage("ERROR", message);
}
private void ShowLogMessage(string level, string message) {
message = "[SFS > " + level + "] " + message;
trace(message);
Debug.Log(message);
}
}
| 27.461538 | 136 | 0.606968 | [
"Apache-2.0"
] | RutgersUniversityVirtualWorlds/FreshTherapyOffice | Assets/Scripts/Connector.cs | 5,714 | C# |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Net;
using RestQueue.API.Support;
namespace RestQueue.API.Controllers
{
[ApiController]
[Route("")]
public class RequestsController : ControllerBase
{
private readonly IRequestExecutor _requestExecutor;
public RequestsController(IRequestExecutor requestExecutor)
{
_requestExecutor = requestExecutor;
}
[HttpGet("")]
public string Initialize()
{
var newGuid = Guid.NewGuid();
var responseUrl = Url.Link("GetResponse",
new Dictionary<string, object> { { "requestId", newGuid } });
_requestExecutor.RegisterUrlFormat(responseUrl.Replace(newGuid.ToString(), @"{0}"));
// Hack: By having this as the landing page, we make sure that we will do the register
// step in the constructor
return "PoC for asynchronous REST calls." +
" First try GET http://localhost:22021/tests/hello and GET http://localhost:22021/tests/slow." +
" Now call them again, but set the HTTP header \"Prefer: respond-async\". This makes them" +
" run in the background. You should immediately get a URL back where you can access the final response." +
" when it is available.";
}
[HttpGet("requests/{requestId}", Name = "GetResponse")]
public ActionResult GetResponse(Guid requestId)
{
var response = _requestExecutor.GetResponse(requestId);
if (response.StatusCode == HttpStatusCode.Accepted) return new AcceptedResult(_requestExecutor.ResponseUrl(requestId), response);
return Ok(response);
}
}
}
| 39.888889 | 141 | 0.628969 | [
"MIT"
] | vanbrayne/rest-asynchronous-request-response | RestQueue.API/Controllers/RequestsController.cs | 1,797 | C# |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Globalization;
using NuGet.Common;
namespace NuGet.Configuration
{
public class PackageSource : IEquatable<PackageSource>
{
/// <summary>
/// The feed version for NuGet prior to v3.
/// </summary>
public const int DefaultProtocolVersion = 2;
private readonly int _hashCode;
private bool? _isHttp;
private bool? _isLocal;
public string Name { get; private set; }
public string Source { get; set; }
/// <summary>
/// Returns null if Source is an invalid URI
/// </summary>
public Uri TrySourceAsUri
{
get { return UriUtility.TryCreateSourceUri(Source, UriKind.Absolute); }
}
/// <summary>
/// Throws if Source is an invalid URI
/// </summary>
public Uri SourceUri
{
get { return UriUtility.CreateSourceUri(Source, UriKind.Absolute); }
}
/// <summary>
/// This does not represent just the NuGet Official Feed alone
/// It may also represent a Default Package Source set by Configuration Defaults
/// </summary>
public bool IsOfficial { get; set; }
public bool IsMachineWide { get; set; }
public bool IsEnabled { get; set; }
public PackageSourceCredential Credentials { get; set; }
public string Description { get; set; }
public bool IsPersistable { get; private set; }
/// <summary>
/// Gets or sets the protocol version of the source. Defaults to 2.
/// </summary>
public int ProtocolVersion { get; set; } = DefaultProtocolVersion;
public bool IsHttp
{
get
{
if (!_isHttp.HasValue)
{
_isHttp = Source.StartsWith("http://", StringComparison.OrdinalIgnoreCase) ||
Source.StartsWith("https://", StringComparison.OrdinalIgnoreCase);
}
return _isHttp.Value;
}
}
/// <summary>
/// True if the source path is file based. Unc shares are not included.
/// </summary>
public bool IsLocal
{
get
{
if (!_isLocal.HasValue)
{
Uri uri = TrySourceAsUri;
if (uri != null)
{
_isLocal = uri.IsFile;
}
else
{
_isLocal = false;
}
}
return _isLocal.Value;
}
}
/// <summary>
/// Gets the <see cref="ISettings"/> that this source originated from. May be null.
/// </summary>
public ISettings Origin { get; set; }
public PackageSource(string source)
:
this(source, source, isEnabled: true)
{
}
public PackageSource(string source, string name)
:
this(source, name, isEnabled: true)
{
}
public PackageSource(string source, string name, bool isEnabled)
: this(source, name, isEnabled, isOfficial: false)
{
}
public PackageSource(
string source,
string name,
bool isEnabled,
bool isOfficial,
bool isPersistable = true)
{
if (source == null)
{
throw new ArgumentNullException("source");
}
if (name == null)
{
throw new ArgumentNullException("name");
}
Name = name;
Source = source;
IsEnabled = isEnabled;
IsOfficial = isOfficial;
IsPersistable = isPersistable;
_hashCode = Name.ToUpperInvariant().GetHashCode() * 3137 + Source.ToUpperInvariant().GetHashCode();
}
public bool Equals(PackageSource other)
{
if (other == null)
{
return false;
}
return Name.Equals(other.Name, StringComparison.CurrentCultureIgnoreCase) &&
Source.Equals(other.Source, StringComparison.OrdinalIgnoreCase) &&
Equals(Credentials, other.Credentials);
}
public override bool Equals(object obj)
{
var source = obj as PackageSource;
if (source != null)
{
return Equals(source);
}
return base.Equals(obj);
}
public override string ToString()
{
return Name + " [" + Source + "]";
}
public override int GetHashCode()
{
return _hashCode;
}
public PackageSource Clone()
{
return new PackageSource(Source, Name, IsEnabled, IsOfficial, IsPersistable)
{
Description = Description,
Credentials = Credentials,
IsMachineWide = IsMachineWide,
ProtocolVersion = ProtocolVersion
};
}
}
}
| 28.376963 | 111 | 0.505535 | [
"Apache-2.0"
] | OctopusDeploy/NuGet.Client | src/NuGet.Core/NuGet.Configuration/PackageSource/PackageSource.cs | 5,422 | C# |
using System;
using Telerik.UI.Automation.Peers;
using Windows.Foundation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Automation.Peers;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Shapes;
namespace Telerik.UI.Xaml.Controls.DataVisualization
{
/// <summary>
/// This class represents and indicator in the form of an arrow with a circular tail.
/// </summary>
[TemplatePart(Name = "PART_Path", Type = typeof(Path))]
[TemplatePart(Name = "PART_Layout", Type = typeof(Grid))]
[TemplatePart(Name = "PART_ArrowHead", Type = typeof(PathFigure))]
[TemplatePart(Name = "PART_ArrowBottom", Type = typeof(LineSegment))]
[TemplatePart(Name = "PART_ArrowTop", Type = typeof(LineSegment))]
[TemplatePart(Name = "PART_ArrowShaft", Type = typeof(LineGeometry))]
[TemplatePart(Name = "PART_ArrowTail", Type = typeof(EllipseGeometry))]
[TemplatePart(Name = "PART_NeedleRotateTransform", Type = typeof(RotateTransform))]
public partial class ArrowGaugeIndicator : NeedleGaugeIndicator
{
/// <summary>
/// Identifies the ArrowTailRadius dependency property.
/// </summary>
public static readonly DependencyProperty ArrowTailRadiusProperty =
DependencyProperty.Register(nameof(ArrowTailRadius), typeof(double), typeof(ArrowGaugeIndicator), new PropertyMetadata(1.0d, OnArrowTailRadiusPropertyChanged));
private Panel layout;
private Path path;
private PathFigure arrowHead;
private EllipseGeometry arrowTail;
private LineGeometry arrowShaft;
private LineSegment arrowTop;
private LineSegment arrowBottom;
private double initialTailRadius;
/// <summary>
/// Initializes a new instance of the ArrowGaugeIndicator class.
/// </summary>
public ArrowGaugeIndicator()
{
this.DefaultStyleKey = typeof(ArrowGaugeIndicator);
this.initialTailRadius = this.ArrowTailRadius;
}
/// <summary>
/// Gets or sets the radius of the arrow tail.
/// </summary>
public double ArrowTailRadius
{
get
{
return (double)this.GetValue(ArrowGaugeIndicator.ArrowTailRadiusProperty);
}
set
{
this.SetValue(ArrowGaugeIndicator.ArrowTailRadiusProperty, value);
}
}
/// <summary>
/// This is a virtual method that resets the state of the indicator.
/// The parent range is responsible to (indirectly) call this method when
/// a property of importance changes.
/// </summary>
/// <param name="availableSize">A size which can be used by the update logic.</param>
/// <remarks>
/// The linear range for example triggers the UpdateOverride() method
/// of its indicators when its Orientation property changes.
/// </remarks>
internal override void UpdateOverride(Size availableSize)
{
base.UpdateOverride(availableSize);
this.UpdateArrow(availableSize);
}
/// <summary>
/// Initializes the template parts of the control (see the TemplatePart attributes for more information).
/// </summary>
protected override bool ApplyTemplateCore()
{
bool applied = base.ApplyTemplateCore();
this.layout = this.GetTemplatePartField<Panel>("PART_Layout");
applied = applied && this.layout != null;
this.path = this.GetTemplatePartField<Path>("PART_Path");
applied = applied && this.path != null;
// TODO: Think of some dynamic way of updating the path without knowing of its parts
this.arrowHead = this.GetTemplatePartField<PathFigure>("PART_ArrowHead");
applied = applied && this.arrowHead != null;
this.arrowTail = this.GetTemplatePartField<EllipseGeometry>("PART_ArrowTail");
applied = applied && this.arrowTail != null;
this.arrowShaft = this.GetTemplatePartField<LineGeometry>("PART_ArrowShaft");
applied = applied && this.arrowShaft != null;
this.arrowTop = this.GetTemplatePartField<LineSegment>("PART_ArrowTop");
applied = applied && this.arrowTop != null;
this.arrowBottom = this.GetTemplatePartField<LineSegment>("PART_ArrowBottom");
applied = applied && this.arrowBottom != null;
if (applied)
{
this.initialTailRadius = Math.Max(this.arrowTail.RadiusX, this.arrowTail.RadiusY);
}
return applied;
}
/// <summary>
/// Called in the arrange pass of the layout system.
/// </summary>
/// <param name="finalSize">The final size that was given by the layout system.</param>
/// <returns>The final size of the panel.</returns>
protected override Size ArrangeOverride(Size finalSize)
{
this.UpdateArrow(finalSize);
return base.ArrangeOverride(finalSize);
}
/// <inheritdoc/>
protected override AutomationPeer OnCreateAutomationPeer()
{
return new ArrowGaugeIndicatorAutomationPeer(this);
}
private static void OnArrowTailRadiusPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs args)
{
ArrowGaugeIndicator indicator = sender as ArrowGaugeIndicator;
if (!indicator.IsTemplateApplied)
{
return;
}
indicator.InvalidateArrange();
}
private void UpdateArrow(Size size)
{
double halfExtent = System.Math.Min(size.Width, size.Height) / 2;
double halfHeight = size.Height / 2;
double halfWidth = size.Width / 2;
double left = halfWidth - (halfExtent * this.RadiusScale);
double scaledTailRadius = this.initialTailRadius * this.ArrowTailRadius;
this.arrowHead.StartPoint = new Point(left, halfHeight);
this.arrowTail.Center = new Point(halfWidth, halfHeight);
this.arrowTail.RadiusX = scaledTailRadius;
this.arrowTail.RadiusY = scaledTailRadius;
this.arrowTop.Point = new Point(left + 6, halfHeight - 4);
this.arrowBottom.Point = new Point(left + 6, halfHeight + 4);
this.arrowShaft.StartPoint = new Point(left + 5, halfHeight);
this.arrowShaft.EndPoint = this.arrowTail.Center;
}
}
}
| 39.082353 | 172 | 0.628537 | [
"Apache-2.0"
] | HaoLife/Uno.Telerik.UI-For-UWP | Controls/DataVisualization/DataVisualization.UWP/Gauges/Indicators/ArrowGaugeIndicator.cs | 6,646 | C# |
using System;
namespace Kf.CANetCore31.Infrastructure.Persistence.Ef
{
/// <summary>
/// SQL Server Data Types
/// If anything is missing, add from this list https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/sql-server-data-type-mappings
/// </summary>
public static class SqlServerColumnTypes
{
/// <summary>
/// <see cref="Int16"/>.
/// </summary>
public static string Int16_SMALLINT => "SMALLINT";
/// <summary>
/// <see cref="Int32"/>.
/// </summary>
public static string Int32_INT => "INT";
/// <summary>
/// <see cref="Int64"/>.
/// </summary>
public static string Int64_BIGINT => "BIGINT";
/// <summary>
/// <see cref="Boolean"/>.
/// </summary>
public static string Boolean_BIT => "BIT";
/// <summary>
/// <see cref="String"/>.
/// </summary>
public static string String_CHAR => "CHAR";
/// <summary>
/// <see cref="String"/>.
/// </summary>
public static string String_NVARCHAR => "NVARCHAR";
/// <summary>
/// <see cref="TimeSpan"/>.
/// </summary>
public static string TimeSpan_TIME => "TIME";
/// <summary>
/// <see cref="Byte"/>[].
/// </summary>
public static string ArrayOfByte_TIMESTAMP => "TIMESTAMP";
/// <summary>
/// <see cref="DateTime"/>.
/// </summary>
public static string DateTime_DATE => "DATE";
/// <summary>
/// <see cref="DateTime"/>.
/// </summary>
public static string DateTime_DATETIME => "DATETIME";
/// <summary>
/// <see cref="DateTime"/>.
/// </summary>
public static string DateTime_DATETIME2 => "DATETIME2";
/// <summary>
/// <see cref="DateTimeOffset"/>.
/// </summary>
public static string DateTime_DATETIMEOFFSET => "DATETIMEOFFSET";
}
}
| 28 | 142 | 0.519345 | [
"Unlicense"
] | KodeFoxx/CA-Net31 | Source/Infrastructure/Persistence/Kf.CANetCore31.Infrastructure.Persistence.Ef/SqlServerColumnTypes.cs | 2,018 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("06. Valid Usernames")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("06. Valid Usernames")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("27ee1468-7f03-46af-aa21-626f62bd6db3")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| 38.135135 | 84 | 0.743444 | [
"MIT"
] | kostadinlambov/Programming-Fundamentals | 26. Regular-Expressions-Regex-Exercise/06. Valid Usernames/Properties/AssemblyInfo.cs | 1,414 | C# |
using System.Linq;
using System.Threading.Tasks;
namespace model.timing
{
// CR: 10.3
public class Checkpoint
{
private Game game;
public Checkpoint(Game game)
{
this.game = game;
}
// CR: 10.3.1
async internal Task Check()
{
CheckConditionalAbilities();
CheckExpiredAbilities();
CheckPlayerScore();
CheckUniqueCards();
await FixBrokenRestrictions();
TrashScoreAreaLeftovers();
CheckMissingHosts();
PruneEmptyRemotes();
UnconvertDiscardedCards();
ReturnDiscardedCounters();
}
// CR: 10.3.1.a
private void CheckConditionalAbilities()
{
// TODO impl
}
// CR: 10.3.1.b
private void CheckExpiredAbilities()
{
// TODO impl
}
// CR: 10.3.1.c
private void CheckPlayerScore()
{
// TODO impl
}
// CR: 10.3.1.d
private void CheckUniqueCards()
{
// TODO impl
}
// CR: 10.3.1.e
private Task FixBrokenRestrictions()
{
return Task.CompletedTask; // TODO impl
}
// CR: 10.3.1.f
private void TrashScoreAreaLeftovers()
{
// TODO impl
}
// CR: 10.3.1.g
private void CheckMissingHosts()
{
// TODO impl
}
// CR: 10.3.1.h
private void PruneEmptyRemotes()
{
var zones = game.corp.zones;
zones
.remotes
.Where(it => it.IsEmpty())
.ToList()
.ForEach(it => zones.RemoveRemote(it));
}
// CR: 10.3.1.i
private void UnconvertDiscardedCards()
{
// TODO impl
}
// CR: 10.3.1.j
private void ReturnDiscardedCounters()
{
// TODO impl
}
}
} | 21.113402 | 55 | 0.455078 | [
"Unlicense"
] | JeffSkyrunner/data-hunt | Assets/Scripts/Model/Timing/Checkpoint.cs | 2,048 | C# |
using ImageViewer.Models.Import;
using JetBrains.Annotations;
using Serilog;
using System.Diagnostics;
namespace ImageViewer.Utility
{
public static class ApplicationIOHelper
{
public static void EnumerateFiles(ref OutputDirectoryModel sourceFolder, string[] searchPattern, bool recursive = true)
{
try
{
sourceFolder.ImageList = new List<ImageRefModel>();
var dirInfo = new DirectoryInfo(sourceFolder.FullName);
var files = dirInfo
.GetFiles("*.*", SearchOption.TopDirectoryOnly)
.Where(file => searchPattern.Any(file.Extension.ToLower().Equals))
.ToList();
files.Sort((info, fileInfo) => string.Compare(info.Name, fileInfo.Name, StringComparison.Ordinal));
int index = 0;
foreach (var file in files)
{
var imgRef = new ImageRefModel
{
SortOrder = index++,
CompletePath = file.FullName,
FileSize = file.Length,
FileName = file.Name,
Directory = file.DirectoryName,
ImageType = file.Extension,
LastModified = file.LastWriteTime,
CreationTime = file.CreationTime,
ParentFolderId = sourceFolder.Id,
};
sourceFolder.ImageList.Add(imgRef);
}
if (sourceFolder.SubFolders != null && recursive)
{
foreach (var sourceFolderModel in sourceFolder.SubFolders)
{
var outputDirectoryModel = sourceFolderModel;
outputDirectoryModel.ParentDirectory = sourceFolder;
EnumerateFiles(ref outputDirectoryModel, searchPattern);
}
}
}
catch (Exception ex)
{
Log.Error(ex, "EnumerateFiles exception");
}
}
public static bool OpenImageInDefaultAplication([NotNull] string fileName)
{
try
{
if (!File.Exists(fileName))
throw new ArgumentException("File does not exist", nameof(fileName));
ProcessStartInfo psi = new ProcessStartInfo(fileName)
{
UseShellExecute = true
};
Process.Start(psi);
return true;
}
catch (Exception ex)
{
Log.Error(ex, "OpenImageInDefaultAplication: {Message}", ex.Message);
return false;
}
}
}
} | 36.139241 | 127 | 0.491769 | [
"Apache-2.0"
] | CuplexUser/ImageViewer | ImageView/Utility/ApplicationIOHelper.cs | 2,857 | C# |
using System.Collections.Generic;
using Newtonsoft.Json;
using NHSD.BuyingCatalogue.Solutions.Contracts.Hosting;
namespace NHSD.BuyingCatalogue.Solutions.API.ViewModels.Hosting
{
public sealed class GetPublicCloudResult
{
public GetPublicCloudResult(IPublicCloud publicCloud)
{
Summary = publicCloud?.Summary;
Link = publicCloud?.Link;
RequiredHscn = publicCloud?.RequiresHscn is not null
? new HashSet<string> { publicCloud.RequiresHscn }
: new HashSet<string>();
}
[JsonProperty("summary")]
public string Summary { get; }
[JsonProperty("link")]
public string Link { get; }
[JsonProperty("requires-hscn")]
public HashSet<string> RequiredHscn { get; }
}
}
| 29.035714 | 66 | 0.635916 | [
"MIT"
] | nhs-digital-gp-it-futures/BuyingCatalogueService | src/NHSD.BuyingCatalogue.Solutions.API/ViewModels/Hosting/GetPublicCloudResult.cs | 815 | C# |
using ICities;
using CitiesHarmony.API;
using UnityEngine.SceneManagement;
namespace BetterEducationToolbar
{
public class Mod : LoadingExtensionBase, IUserMod
{
string IUserMod.Name => "Better Education Toolbar Mod";
string IUserMod.Description => "Separate the Base Education Toolbar into four categories - Elementary, HighSchool, University and Library";
public void OnEnabled() {
HarmonyHelper.DoOnHarmonyReady(() => Patcher.PatchAll());
}
public void OnDisabled() {
if (HarmonyHelper.IsHarmonyInstalled) Patcher.UnpatchAll();
}
public static bool IsMainMenu()
{
return SceneManager.GetActiveScene().name == "MainMenu";
}
public static bool IsInGame()
{
return SceneManager.GetActiveScene().name == "Game";
}
public static string Identifier = "HC.CT/";
}
}
| 26.371429 | 147 | 0.64247 | [
"MIT"
] | t1a2l/BetterEducationToolbar | BetterEducationToolbar.cs | 925 | C# |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MasterDetailDemo")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("MasterDetailDemo")]
[assembly: AssemblyCopyright("Copyright © 2006")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1bb74c07-a8f4-41d3-8f81-c7ab06d02a19")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
| 37.558824 | 85 | 0.732968 | [
"MIT"
] | jayhopeter/ObjectListView | MasterDetailDemo/Properties/AssemblyInfo.cs | 1,280 | C# |
using System;
namespace EncompassApi.Loans
{
/// <summary>
/// MilestoneHistoryLog
/// </summary>
public sealed partial class MilestoneHistoryLog : DirtyExtensibleObject, IIdentifiable
{
private DirtyValue<string?>? _addedByUserId;
private DirtyValue<string?>? _changeReason;
private DirtyValue<DateTime?>? _dateAddedUtc;
private DirtyValue<string?>? _id;
private DirtyValue<string?>? _milestoneTemplate;
private DirtyValue<string?>? _recordXML;
/// <summary>
/// MilestoneHistoryLog AddedByUserId
/// </summary>
public string? AddedByUserId { get => _addedByUserId; set => SetField(ref _addedByUserId, value); }
/// <summary>
/// MilestoneHistoryLog ChangeReason
/// </summary>
public string? ChangeReason { get => _changeReason; set => SetField(ref _changeReason, value); }
/// <summary>
/// MilestoneHistoryLog DateAddedUtc
/// </summary>
public DateTime? DateAddedUtc { get => _dateAddedUtc; set => SetField(ref _dateAddedUtc, value); }
/// <summary>
/// MilestoneHistoryLog Id
/// </summary>
public string? Id { get => _id; set => SetField(ref _id, value); }
/// <summary>
/// MilestoneHistoryLog MilestoneTemplate
/// </summary>
public string? MilestoneTemplate { get => _milestoneTemplate; set => SetField(ref _milestoneTemplate, value); }
/// <summary>
/// MilestoneHistoryLog RecordXML
/// </summary>
public string? RecordXML { get => _recordXML; set => SetField(ref _recordXML, value); }
}
} | 35.595745 | 119 | 0.618051 | [
"MIT"
] | fairwayindependentmc/EncompassApi | src/EncompassApi/Loans/MilestoneHistoryLog.cs | 1,675 | C# |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
using System.IO;
namespace Microsoft.Xna.Framework.Media
{
public sealed partial class Song : IEquatable<Song>, IDisposable
{
private string _name;
private int _playCount = 0;
private TimeSpan _duration = TimeSpan.Zero;
bool disposed;
/// <summary>
/// Gets the Album on which the Song appears.
/// </summary>
public Album Album
{
get { return PlatformGetAlbum(); }
#if WINDOWS_UAP
internal set { PlatformSetAlbum(value); }
#endif
}
/// <summary>
/// Gets the Artist of the Song.
/// </summary>
public Artist Artist
{
get { return PlatformGetArtist(); }
}
/// <summary>
/// Gets the Genre of the Song.
/// </summary>
public Genre Genre
{
get { return PlatformGetGenre(); }
}
public bool IsDisposed
{
get { return disposed; }
}
#if ANDROID || OPENAL || WEB || IOS
internal delegate void FinishedPlayingHandler(object sender, EventArgs args);
#if !DESKTOPGL
event FinishedPlayingHandler DonePlaying;
#endif
#endif
internal Song(string fileName, int durationMS)
: this(fileName)
{
_duration = TimeSpan.FromMilliseconds(durationMS);
}
internal Song(string fileName)
{
_name = fileName;
PlatformInitialize(fileName);
}
~Song()
{
Dispose(false);
}
internal string FilePath
{
get { return _name; }
}
/// <summary>
/// Returns a song that can be played via <see cref="MediaPlayer"/>.
/// </summary>
/// <param name="name">The name for the song. See <see cref="Song.Name"/>.</param>
/// <param name="uri">The path to the song file.</param>
/// <returns></returns>
public static Song FromUri(string name, Uri uri)
{
var song = new Song(uri.OriginalString);
song._name = name;
return song;
}
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
void Dispose(bool disposing)
{
if (!disposed)
{
if (disposing)
{
PlatformDispose(disposing);
}
disposed = true;
}
}
public override int GetHashCode ()
{
return base.GetHashCode ();
}
public bool Equals(Song song)
{
#if DIRECTX
return song != null && song.FilePath == FilePath;
#else
return ((object)song != null) && (Name == song.Name);
#endif
}
public override bool Equals(Object obj)
{
if(obj == null)
{
return false;
}
return Equals(obj as Song);
}
public static bool operator ==(Song song1, Song song2)
{
if((object)song1 == null)
{
return (object)song2 == null;
}
return song1.Equals(song2);
}
public static bool operator !=(Song song1, Song song2)
{
return ! (song1 == song2);
}
public TimeSpan Duration
{
get { return PlatformGetDuration(); }
}
public bool IsProtected
{
get { return PlatformIsProtected(); }
}
public bool IsRated
{
get { return PlatformIsRated(); }
}
public string Name
{
get { return PlatformGetName(); }
}
public int PlayCount
{
get { return PlatformGetPlayCount(); }
}
public int Rating
{
get { return PlatformGetRating(); }
}
public int TrackNumber
{
get { return PlatformGetTrackNumber(); }
}
}
}
| 21.967742 | 90 | 0.518355 | [
"MIT"
] | Gitspathe/MonoGame | MonoGame.Framework/Media/Song.cs | 4,086 | C# |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
namespace Microsoft.VisualStudio.Text.Editor
{
public readonly struct InfoBarAction
{
public string Title { get; }
public Action Handler { get; }
public bool IsDefault { get; }
public InfoBarAction(string title, Action handler, bool isDefault = false)
{
Title = title;
Handler = handler;
IsDefault = isDefault;
}
public void Invoke()
=> Handler?.Invoke();
}
public sealed class InfoBarViewModel
{
public string PrimaryLabelText { get; }
public string SecondaryLabelText { get; }
public IReadOnlyList<InfoBarAction> Actions { get; }
public Action DismissedHandler { get; }
public InfoBarViewModel(
string primaryLabelText,
string secondaryLabelText,
IReadOnlyList<InfoBarAction> actions,
Action dismissedHandler = null)
{
PrimaryLabelText = primaryLabelText;
SecondaryLabelText = secondaryLabelText;
Actions = actions;
DismissedHandler = dismissedHandler;
}
public void InvokeDismissed()
=> DismissedHandler?.Invoke();
}
} | 26.980392 | 82 | 0.610465 | [
"MIT"
] | AmadeusW/vs-editor-api | src/Editor/Text/Def/Extras/InfoBar/InfoBarViewModel.cs | 1,378 | C# |
using MonophonicSequencer.Resources;
using Sanford.Multimedia.Midi;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace MonophonicSequencer.Controls
{
public class PianoRollGrid : AutoGrid
{
private const int KeyCount = 36;
private const int Division = 16;
#region DependencyProperty MeasureCount 小節数
public int MeasureCount { get => (int)GetValue(MeasureCountProperty); set => SetValue(MeasureCountProperty, value); }
public static readonly DependencyProperty MeasureCountProperty
= DependencyProperty.Register(nameof(MeasureCount), typeof(int), typeof(PianoRollGrid),
new PropertyMetadata(16, OnMeasureCountChanged));
private static void OnMeasureCountChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
if(d is PianoRollGrid g) g.OnMeasureCountChanged();
}
private void OnMeasureCountChanged()
{
var c = MeasureCount * Division;
if(ColumnDefinitions.Count == c) return;
ColumnCount = c + 1;
noteArray = ResizeArray(noteArray, c, RowDefinitions.Count);
Array.Resize(ref measureText, c);
AddMeasureText();
SetColumnSpan(line, MeasureCount * Division);
}
private void AddMeasureText()
{
for(var i = 0; i < measureText.GetLength(0); i += Division)
{
if(measureText[i] != null) continue;
var b = new TextBlock
{
Text = "" + (i / Division + 1),
FontSize = 20,
Margin = new Thickness(5, 0, 0, 0),
};
SetColumn(b, i);
SetColumnSpan(b, 4);
SetRow(b, 0);
Children.Add(b);
measureText[i] = b;
}
}
#endregion
public double Offset
{
get => line.Margin.Left;
set => line.Margin = new Thickness(value, 0, 0, 0);
}
public int Offset2
{
set
{
value -= 2;
if(value < 0) value = 0;
var col = ColumnDefinitions[value / 6];
var delta = (value % 6) * (col.ActualWidth / 6);
Offset = col.Offset + delta;
Debug.WriteLine($"c:{value / 6} n:{col.Offset} Offset:{Offset} value:{value}");
}
}
public bool IsDirty { get; private set; }
public MidiOut MidiOut { get; set; }
private byte note => (byte)(83 - position.Y);
private Border[,] noteArray = new Border[0, 0];
private TextBlock[] measureText = new TextBlock[0];
private (int X, int Y) position;
private Border line;
private Border measurer;
private GridRenderer renderer;
static PianoRollGrid()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(PianoRollGrid), new FrameworkPropertyMetadata(typeof(PianoRollGrid)));
}
public PianoRollGrid()
{
renderer = new GridRenderer(this);
RowDefinitions.Add(new RowDefinition { Height = GridLength.Auto });
RowCount = KeyCount + 1;
AddLine();
measurer = new Border { Visibility = Visibility.Hidden, };
Children.Add(measurer);
OnMeasureCountChanged();
}
public IEnumerable<(int index, int note)> GetTrack()
{
IsDirty = false;
return noteArray.Select((n, x, y) => (n, x, y))
.Where(x => x.n != null)
.Select(x => (x.x, 83 - x.y));
}
private void AddLine()
{
line = new Border
{
Background = Brushes.Red,
HorizontalAlignment = HorizontalAlignment.Left,
Width = 2,
};
SetColumn(line, 0);
SetRow(line, 0);
SetRowSpan(line, 37);
SetZIndex(line, 100);
Children.Add(line);
}
protected override void OnRender(DrawingContext dc)
{
base.OnRender(dc);
renderer.OnRender(dc);
}
private double GetMeasurerX(int col)
{
SetColumn(measurer, col);
UpdateLayout();
var p = measurer.PointToScreen(new Point(0, 0));
return PointFromScreen(p).X - 1;
}
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
{
base.OnPreviewMouseLeftButtonDown(e);
e.Handled = true;
var p = GetCellNumber();
if(p.Y == -1) // 小節ヘッダー
Offset = GetMeasurerX(p.X);
else
PlayNote(p);
}
protected override void OnMouseMove(MouseEventArgs e)
{
base.OnMouseMove(e);
if(e.LeftButton != MouseButtonState.Pressed) return;
var p = GetCellNumber();
if(p.X == position.X && p.Y == position.Y) return;
PlayNote(p);
}
protected override void OnPreviewMouseRightButtonDown(MouseButtonEventArgs e)
{
base.OnPreviewMouseRightButtonDown(e);
RemoveNote(GetCellNumber());
}
private (int X, int Y) GetCellNumber()
{
var p = (X: 0, Y: -1);
var height = 0.0;
var width = 0.0;
var point = Mouse.GetPosition(this);
foreach(var columnDefinition in ColumnDefinitions)
{
width += columnDefinition.ActualWidth;
if(width >= point.X) break;
p.X++;
}
foreach(var rowDefinition in RowDefinitions)
{
height += rowDefinition.ActualHeight;
if(height >= point.Y) break;
p.Y++;
}
Debug.WriteLine(p);
return p;
}
private void PlayNote((int X, int Y) p)
{
if(p.Y == -1) return; // 小節ヘッダー
for(var i = 0; i < noteArray.GetLength(1); i++) // 単音のため同カラムのnoteを削除
RemoveNote(p.X, i);
AddNote(p);
NoteOff();
position = p;
NoteOn();
Debug.WriteLine(note);
}
private void AddNote((int X, int Y) point) => AddNote(point.X, point.Y);
private void AddNote(int column, int row)
{
var border = new Border { Background = Brushes.Blue };
SetColumn(border, column);
SetRow(border, row + 1);
Children.Add(border);
noteArray[column, row] = border;
IsDirty = true;
}
private void RemoveNote((int X, int Y) point) => RemoveNote(point.X, point.Y);
private void RemoveNote(int column, int row)
{
var note = noteArray[column, row];
if(note == null) return;
Children.Remove(note);
noteArray[column, row] = null;
IsDirty = true;
}
private void NoteOn() => MidiOut?.Device?.Send(new ChannelMessage(ChannelCommand.NoteOn, 0, note, 127));
private void NoteOff() => MidiOut?.Device?.Send(new ChannelMessage(ChannelCommand.NoteOff, 0, note, 0));
private static T[,] ResizeArray<T>(T[,] original, int x, int y)
{
var newArray = new T[x, y];
var minX = Math.Min(original.GetLength(0), newArray.GetLength(0));
var minY = Math.Min(original.GetLength(1), newArray.GetLength(1));
for(var i = 0; i < minY; ++i)
Array.Copy(original, i * original.GetLength(0), newArray, i * newArray.GetLength(0), minX);
return newArray;
}
}
}
| 31.885375 | 130 | 0.524606 | [
"CC0-1.0"
] | TN8001/MonophonicSequencer | MonophonicSequencer/Controls/PianoRollGrid.cs | 8,125 | C# |
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
using Math3.exception;
using Math3.exception.util;
using Math3.util;
using System;
using System.Collections.Generic;
namespace Math3.complex
{
/// <summary>
/// Representation of a Complex number, i.e. a number which has both a
/// real and imaginary part.
/// <para/>
/// Implementations of arithmetic operations handle <c>NaN</c> and
/// infinite values according to the rules for <c>System.Double</c>, i.e.
/// equals is an equivalence relation for all instances that have
/// a <c>NaN</c> in either real or imaginary part, e.g. the following are
/// considered equal:
/// <list type="bullet">
/// <item><c>1 + NaNi</c></item>
/// <item><c>NaN + i</c></item>
/// <item><c>NaN + NaNi</c></item>
/// </list>
/// Note that this is in contradiction with the IEEE-754 standard for floating
/// point numbers (according to which the test <c>x == x</c> must fail if
/// <c>x</c> is <c>NaN</c>). The method
/// <see cref="Math3.util.Precision.equals(double,double,int)"/>
/// equals for primitive double in <see cref="Math3.util.Precision"/>
/// conforms with IEEE-754 while this class conforms with the standard behavior
/// for C# object types.
/// </summary>
/// <remarks>I arbitrarily decided to add the operators +, -, *, /
/// which use the corrispondent method. This maybe was wanted
/// by the original developers too, but it's impossible in Java,
/// as far as I know.</remarks>
public class Complex : FieldElement<Complex>
{
/// <summary>
/// The square root of -1. A number representing "0.0 + 1.0i"
/// </summary>
public static readonly Complex I = new Complex(0.0, 1.0);
// CHECKSTYLE: stop ConstantName
/// <summary>
/// A complex number representing "NaN + NaNi"
/// </summary>
public static readonly Complex NaN = new Complex(Double.NaN, Double.NaN);
// CHECKSTYLE: resume ConstantName
/// <summary>
/// A complex number representing "+INF + INFi"
/// </summary>
public static readonly Complex INF = new Complex(Double.PositiveInfinity, Double.PositiveInfinity);
/// <summary>
/// A complex number representing "1.0 + 0.0i"
/// </summary>
public static readonly Complex ONE = new Complex(1.0, 0.0);
/// <summary>
/// A complex number representing "0.0 + 0.0i"
/// </summary>
public static readonly Complex ZERO = new Complex(0.0, 0.0);
/// <summary>
/// The imaginary part.
/// </summary>
private readonly double imaginary;
/// <summary>
/// The real part.
/// </summary>
private readonly double real;
/// <summary>
/// Record whether this complex number is equal to NaN.
/// </summary>
private readonly Boolean isNaN;
/// <summary>
/// Record whether this complex number is infinite.
/// </summary>
private readonly Boolean isInfinite;
/// <summary>
/// Create a complex number given only the real part.
/// </summary>
/// <param name="real">Real part.</param>
public Complex(double real) : this(real, 0.0) { }
/// <summary>
/// Create a complex number given only the real part.
/// </summary>
/// <param name="real">Real part.</param>
/// <param name="imaginary">Imaginary part.</param>
public Complex(double real, double imaginary)
{
this.real = real;
this.imaginary = imaginary;
isNaN = Double.IsNaN(real) || Double.IsNaN(imaginary);
isInfinite = !isNaN &&
(Double.IsInfinity(real) || Double.IsInfinity(imaginary));
}
/// <summary>
/// Return the absolute value of this complex number.
/// Returns <c>NaN</c> if either real or imaginary part is <c>NaN</c>
/// and <c>Double.PositiveInfinity</c> if neither part is <c>NaN</c>,
/// but at least one part is infinite.
/// </summary>
/// <returns>the absolute value.</returns>
public double abs()
{
if (isNaN)
{
return Double.NaN;
}
if (IsInfinity())
{
return Double.PositiveInfinity;
}
if (FastMath.abs(real) < FastMath.abs(imaginary))
{
if (imaginary == 0.0)
{
return FastMath.abs(real);
}
double q = real / imaginary;
return FastMath.abs(imaginary) * FastMath.sqrt(1 + q * q);
}
else
{
if (real == 0.0)
{
return FastMath.abs(imaginary);
}
double q = imaginary / real;
return FastMath.abs(real) * FastMath.sqrt(1 + q * q);
}
}
/// <summary>
/// Returns a <c>Complex</c> whose value is
/// <c>(this + addend)</c>.
/// Uses the definitional formula
/// <code>
/// (a + bi) + (c + di) = (a+c) + (b+d)i
/// </code>
/// <para/>
/// If either <c>this</c> or <c>addend</c> has a <c>NaN</c> value in
/// either part, <see cref="NaN"/> is returned; otherwise <c>Infinite</c>
/// and <c>NaN</c> values are returned in the parts of the result
/// according to the rules for <see cref="System.Double"/> arithmetic.
/// </summary>
/// <param name="addend">Value to be added to this <c>Complex</c>.</param>
/// <returns><c>this + addend</c>.</returns>
/// <exception cref="NullArgumentException">if <c>addend</c> is <c>null</c>.</exception>
public Complex add(Complex addend)
{
MathUtils.checkNotNull(addend);
if (isNaN || addend.isNaN)
{
return NaN;
}
return createComplex(real + addend.getReal(),
imaginary + addend.getImaginary());
}
public static Complex operator +(Complex Complex1, Complex Complex2)
{
return Complex1.add(Complex2);
}
/// <summary>
/// Returns a <c>Complex</c> whose value is <c>(this + addend)</c>,
/// with <c>addend</c> interpreted as a real number.
/// </summary>
/// <param name="addend">Value to be added to this <c>Complex</c>.</param>
/// <returns><c>this + addend</c>.</returns>
/// <remarks>See <see cref="add(Complex)"/></remarks>
public Complex add(double addend)
{
if (isNaN || Double.IsNaN(addend))
{
return NaN;
}
return createComplex(real + addend, imaginary);
}
public static Complex operator +(Complex Complex, Double Double)
{
return Complex.add(Double);
}
public static Complex operator +(Double Double, Complex Complex)
{
return Complex.add(Double);
}
/// <summary>
/// Return the conjugate of this complex number.
/// The conjugate of <c>a + bi</c> is <c>a - bi</c>.
/// <para/>
/// <see cref="NaN"/> is returned if either the real or imaginary
/// part of this Complex number equals <c>Double.NaN</c>.
/// <para/>
/// If the imaginary part is infinite, and the real part is not
/// <c>NaN</c>, the returned value has infinite imaginary part
/// of the opposite sign, e.g. the conjugate of
/// <c>1 + POSITIVE_INFINITY i</c> is <c>1 - NEGATIVE_INFINITY i</c>.
/// </summary>
/// <returns>the conjugate of this Complex object.</returns>
public Complex conjugate()
{
if (isNaN)
{
return NaN;
}
return createComplex(real, -imaginary);
}
/// <summary>
/// Returns a <c>Complex</c> whose value is
/// <c>(this / divisor)</c>.
/// Implements the definitional formula
/// <code>
/// a + bi ac + bd + (bc - ad)i
/// ----------- = -------------------------
/// c + di c^2 + d^2
/// </code>
/// but uses
/// <a href="http://doi.acm.org/10.1145/1039813.1039814">
/// prescaling of operands</a> to limit the effects of overflows and
/// underflows in the computation.
/// <para/>
/// <c>Infinite</c> and <c>NaN</c> values are handled according to the
/// following rules, applied in the order presented:
/// <list type="bullet">
/// <item>If either <c>this</c> or <c>divisor</c> has a <c>NaN</c> value
/// in either part, <see cref="NaN"/> is returned.
/// </item>
/// <item>If <c>divisor</c> equals <see cref="ZERO"/>, <see cref="NaN"/> is returned.
/// </item>
/// <item>If <c>this</c> and <c>divisor</c> are both infinite,
/// <see cref="NaN"/> is returned.
/// </item>
/// <item>If <c>this</c> is finite (i.e., has no <c>Infinite</c> or
/// <c>NaN</c> parts) and <c>divisor</c> is infinite (one or both parts
/// infinite), <see cref="ZERO"/> is returned.
/// </item>
/// <item>If <c>this</c> is infinite and <c>divisor</c> is finite,
/// <c>NaN</c> values are returned in the parts of the result if the
/// <see cref="Sytem.Double"/> rules applied to the definitional formula
/// force <c>NaN</c> results.
/// </item>
/// </list>
/// </summary>
/// <param name="divisor">Value by which this <c>Complex</c> is to be divided.</param>
/// <returns><c>this / divisor</c>.</returns>
/// <exception cref="NullArgumentException">if <c>divisor</c> is <c>null</c>.</exception>
public Complex divide(Complex divisor)
{
MathUtils.checkNotNull(divisor);
if (isNaN || divisor.isNaN)
{
return NaN;
}
double c = divisor.getReal();
double d = divisor.getImaginary();
if (c == 0.0 && d == 0.0)
{
return NaN;
}
if (divisor.IsInfinity() && !IsInfinity())
{
return ZERO;
}
if (FastMath.abs(c) < FastMath.abs(d))
{
double q = c / d;
double denominator = c * q + d;
return createComplex((real * q + imaginary) / denominator,
(imaginary * q - real) / denominator);
}
else
{
double q = d / c;
double denominator = d * q + c;
return createComplex((imaginary * q + real) / denominator,
(imaginary - real * q) / denominator);
}
}
public static Complex operator /(Complex Complex1, Complex Complex2)
{
return Complex1.divide(Complex2);
}
/// <summary>
/// Returns a <c>Complex</c> whose value is <c>(this / divisor)</c>,
/// with <c>divisor</c> interpreted as a real number.
/// </summary>
/// <param name="divisor">Value by which this <c>Complex</c> is to be divided.</param>
/// <returns><c>this / divisor</c>.</returns>
/// <remarks><see cref="divide(Complex)"/></remarks>
public Complex divide(double divisor)
{
if (isNaN || Double.IsNaN(divisor))
{
return NaN;
}
if (divisor == 0d)
{
return NaN;
}
if (Double.IsInfinity(divisor))
{
return !IsInfinity() ? ZERO : NaN;
}
return createComplex(real / divisor,
imaginary / divisor);
}
public static Complex operator /(Complex Complex, Double Double)
{
return Complex.divide(Double);
}
public static Complex operator /(Double Double, Complex Complex)
{
return Complex.divide(Double);
}
/// <inheritdoc/>
public Complex reciprocal()
{
if (isNaN)
{
return NaN;
}
if (real == 0.0 && imaginary == 0.0)
{
return INF;
}
if (isInfinite)
{
return ZERO;
}
if (FastMath.abs(real) < FastMath.abs(imaginary))
{
double q = real / imaginary;
double scale = 1d / (real * q + imaginary);
return createComplex(scale * q, -scale);
}
else
{
double q = imaginary / real;
double scale = 1d / (imaginary * q + real);
return createComplex(scale, -scale * q);
}
}
/// <summary>
/// Test for the floating-point equality between Complex objects.
/// It returns <c>true</c> if both arguments are equal or within the
/// range of allowed error (inclusive).
/// </summary>
/// <param name="x">First value (cannot be <c>null</c>).</param>
/// <param name="y">Second value (cannot be <c>null</c>).</param>
/// <param name="maxUlps">maxUlps <c>(maxUlps - 1)</c> is the number of floating point
/// values between the real (resp. imaginary) parts of <c>x</c> and
/// <c>y</c>.</param>
/// <returns><c>true</c> if there are fewer than <c>maxUlps</c> floating
/// point values between the real (resp. imaginary) parts of <c>x</c>
/// and <c>y</c>.</returns>
/// <remarks><see cref="Math3.util.Precision.equals(double,double,int)"/></remarks>
public static Boolean equals(Complex x, Complex y, int maxUlps)
{
return Precision.equals(x.real, y.real, maxUlps) &&
Precision.equals(x.imaginary, y.imaginary, maxUlps);
}
/// <summary>
/// Returns <c>true</c> iff the values are equal as defined by
/// <see cref="equals(Complex,Complex,int)"/>.
/// </summary>
/// <param name="x">First value (cannot be <c>null</c>).</param>
/// <param name="y">Second value (cannot be <c>null</c>).</param>
/// <returns> <c>true</c> if the values are equal.</returns>
public override Boolean Equals(Object ToBeCompared)
{
if (ToBeCompared is Complex)
{
return Complex.equals(this, (Complex)ToBeCompared, 1);
}
return false;
}
public static Boolean operator ==(Complex Complex1, Complex Complex2)
{
return Complex.equals(Complex1, Complex2, 1);
}
public static Boolean operator !=(Complex Complex1, Complex Complex2)
{
return !Complex.equals(Complex1, Complex2, 1);
}
/// <summary>
/// Returns <c>true</c> if, both for the real part and for the imaginary
/// part, there is no double value strictly between the arguments or the
/// difference between them is within the range of allowed error
/// (inclusive).
/// </summary>
/// <param name="x">First value (cannot be <c>null</c>).</param>
/// <param name="y">Second value (cannot be <c>null</c>).</param>
/// <param name="eps">Amount of allowed absolute error.</param>
/// <returns><c>true</c> if the values are two adjacent floating point
/// numbers or they are within range of each other.</returns>
/// <remarks><see cref="Math3.util.Precision.equals(double,double,double)"/></remarks>
public static Boolean equals(Complex x, Complex y, double eps)
{
return Precision.equals(x.real, y.real, eps) &&
Precision.equals(x.imaginary, y.imaginary, eps);
}
/// <summary>
/// Returns <c>true</c> if, both for the real part and for the imaginary
/// part, there is no double value strictly between the arguments or the
/// relative difference between them is smaller or equal to the given
/// tolerance.
/// </summary>
/// <param name="x">First value (cannot be <c>null</c>).</param>
/// <param name="y">Second value (cannot be <c>null</c>).</param>
/// <param name="eps">Amount of allowed relative error.</param>
/// <returns<c>true</c> if the values are two adjacent floating point
/// numbers or they are within range of each other.></returns>
/// <remarks><see cref="Precision.equalsWithRelativeTolerance(double,double,double)"/></remarks>
public static Boolean equalsWithRelativeTolerance(Complex x, Complex y,
double eps)
{
return Precision.equalsWithRelativeTolerance(x.real, y.real, eps) &&
Precision.equalsWithRelativeTolerance(x.imaginary, y.imaginary, eps);
}
/// <summary>
/// Get a hashCode for the complex number.
/// Any <c>Double.NaN</c> value in real or imaginary part produces
/// the same hash code <c>7</c>.
/// </summary>
/// <returns>a hash code value for this object.</returns>
public override int GetHashCode()
{
if (isNaN)
{
return 7;
}
return 37 * (17 * MathUtils.hash(imaginary) +
MathUtils.hash(real));
}
/// <summary>
/// Access the imaginary part.
/// </summary>
/// <returns>the imaginary part.</returns>
public double getImaginary()
{
return imaginary;
}
/// <summary>
/// Access the real part.
/// </summary>
/// <returns>the real part.</returns>
public double getReal()
{
return real;
}
/// <summary>
/// Checks whether either or both parts of this complex number is
/// <c>NaN</c>.
/// </summary>
/// <returns>true if either or both parts of this complex number is
/// <c>NaN</c>; false otherwise.</returns>
public Boolean IsNaN()
{
return isNaN;
}
/// <summary>
/// Checks whether either the real or imaginary part of this complex number
/// takes an infinite value (either <c>Double.PositiveInfinity</c> or
/// <c>Double.NegativeInfinity</c>) and neither part
/// is <c>NaN</c>.
/// </summary>
/// <returns>true if one or both parts of this complex number are infinite
/// and neither part is <c>NaN</c>.</returns>
public Boolean IsInfinity()
{
return isInfinite;
}
/// <summary>
/// Returns a <c>Complex</c> whose value is <c>this * factor</c>.
/// Implements preliminary checks for <c>NaN</c> and infinity followed by
/// the definitional formula:
/// <code>
/// (a + bi)(c + di) = (ac - bd) + (ad + bc)i
/// </code>
/// Returns <see cref="#NaN"/> if either <c>this</c> or <c>factor</c> has one or
/// more <c>NaN</c> parts.
/// <para/>
/// Returns <see cref="INF"/> if neither <c>this</c> nor <c>factor</c> has one
/// or more <c>NaN</c> parts and if either <c>this</c> or <c>factor</c>
/// has one or more infinite parts (same result is returned regardless of
/// the sign of the components).
/// <para/>
/// Returns finite values in components of the result per the definitional
/// formula in all remaining cases.
/// </summary>
/// <param name="factor">value to be multiplied by this <c>Complex</c>.</param>
/// <returns><c>this * factor</c>.</returns>
/// <exception cref="NullArgumentException">if <c>factor</c> is <c>null</c>.</exception>
public Complex multiply(Complex factor)
{
MathUtils.checkNotNull(factor);
if (isNaN || factor.isNaN)
{
return NaN;
}
if (Double.IsInfinity(real) ||
Double.IsInfinity(imaginary) ||
Double.IsInfinity(factor.real) ||
Double.IsInfinity(factor.imaginary))
{
// we don't use isInfinite() to avoid testing for NaN again
return INF;
}
return createComplex(real * factor.real - imaginary * factor.imaginary,
real * factor.imaginary + imaginary * factor.real);
}
public static Complex operator *(Complex Complex1, Complex Complex2)
{
return Complex1.multiply(Complex2);
}
/// <summary>
/// Returns a <c>Complex</c> whose value is <c>this * factor</c>, with <c>factor</c>
/// interpreted as a integer number.
/// </summary>
/// <param name="factor">value to be multiplied by this <c>Complex</c>.</param>
/// <returns><c>this * factor</c>.</returns>
/// <see cref="multiply(Complex)"/>
public Complex multiply(int factor)
{
if (isNaN)
{
return NaN;
}
if (Double.IsInfinity(real) ||
Double.IsInfinity(imaginary))
{
return INF;
}
return createComplex(real * factor, imaginary * factor);
}
public static Complex operator *(Complex Complex, Int32 Integer)
{
return Complex.multiply(Integer);
}
public static Complex operator *(Int32 Integer, Complex Complex)
{
return Complex.multiply(Integer);
}
/// <summary>
/// Returns a <c>Complex</c> whose value is <c>this * factor</c>, with <c>factor</c>
/// interpreted as a real number.
/// </summary>
/// <param name="factor">value to be multiplied by this <c>Complex</c>.</param>
/// <returns><c>this * factor</c>.</returns>
/// <see cref="multiply(Complex)"/>
public Complex multiply(double factor)
{
if (isNaN || Double.IsNaN(factor))
{
return NaN;
}
if (Double.IsInfinity(real) ||
Double.IsInfinity(imaginary) ||
Double.IsInfinity(factor))
{
// we don't use isInfinite() to avoid testing for NaN again
return INF;
}
return createComplex(real * factor, imaginary * factor);
}
public static Complex operator *(Complex Complex, Double Double)
{
return Complex.multiply(Double);
}
public static Complex operator *(Double Double, Complex Complex)
{
return Complex.multiply(Double);
}
/// <summary>
/// Returns a <c>Complex</c> whose value is <c>(-this)</c>.
/// Returns <c>NaN</c> if either real or imaginary
/// part of this Complex number equals <c>Double.NaN</c>.
/// </summary>
/// <returns><c>-this</c>.</returns>
public Complex negate()
{
if (isNaN)
{
return NaN;
}
return createComplex(-real, -imaginary);
}
/// <summary>
/// Returns a <c>Complex</c> whose value is
/// <c>(this - subtrahend)</c>.
/// Uses the definitional formula
/// <code>
/// (a + bi) - (c + di) = (a-c) + (b-d)i
/// </code>
/// If either <c>this</c> or <c>subtrahend</c> has a <c>NaN]</c> value in either part,
/// <see cref="NaN"/> is returned; otherwise infinite and <c>NaN</c> values are
/// returned in the parts of the result according to the rules for
/// <see cref="System.Double"/> arithmetic.
/// </summary>
/// <param name="subtrahend">value to be subtracted from this <c>Complex</c>.</param>
/// <returns><c>this - subtrahend</c>.</returns>
/// <exception cref="NullArgumentException">if <c>subtrahend</c> is <c>null</c>.</exception>
public Complex subtract(Complex subtrahend)
{
MathUtils.checkNotNull(subtrahend);
if (isNaN || subtrahend.isNaN)
{
return NaN;
}
return createComplex(real - subtrahend.getReal(),
imaginary - subtrahend.getImaginary());
}
public static Complex operator -(Complex Complex1, Complex Complex2)
{
return Complex1.subtract(Complex2);
}
/// <summary>
/// Returns a <c>Complex</c> whose value is
/// <c>(this - subtrahend)</c>.
/// </summary>
/// <param name="subtrahend">value to be subtracted from this <c>Complex</c>.</param>
/// <returns><c>this - subtrahend</c>.</returns>
/// <remarks><see cref="subtract(Complex)"/></remarks>
public Complex subtract(double subtrahend)
{
if (isNaN || Double.IsNaN(subtrahend))
{
return NaN;
}
return createComplex(real - subtrahend, imaginary);
}
public static Complex operator -(Complex Complex, Double Double)
{
return Complex.multiply(Double);
}
public static Complex operator -(Double Double, Complex Complex)
{
return Complex.multiply(Double);
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/InverseCosine.html" TARGET="_top">
/// inverse cosine</a> of this complex number.
/// Implements the formula:
/// <code>
/// acos(z) = -i (log(z + i (sqrt(1 - z^2))))
/// </code>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c> or infinite.
/// </summary>
/// <returns>the inverse cosine of this complex number.</returns>
public Complex acos()
{
if (isNaN)
{
return NaN;
}
return this.add(this.sqrt1z().multiply(I)).log().multiply(I.negate());
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/InverseSine.html" TARGET="_top">
/// inverse sine</a> of this complex number.
/// Implements the formula:
/// <code>
/// asin(z) = -i (log(sqrt(1 - z<sup>2</sup>) + iz))
/// </code>
/// Returns <see cref="Complex#NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c> or infinite.
/// </summary>
/// <returns>the inverse sine of this complex number.</returns>
public Complex asin()
{
if (isNaN)
{
return NaN;
}
return sqrt1z().add(this.multiply(I)).log().multiply(I.negate());
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/InverseTangent.html" TARGET="_top">
/// Implements the formula:
/// <code>
/// atan(z) = (i/2) log((i + z)/(i - z))
/// </code>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c> or infinite.
/// </summary>
/// <returns>the inverse tangent of this complex number</returns>
public Complex atan()
{
if (isNaN)
{
return NaN;
}
return this.add(I).divide(I.subtract(this)).log()
.multiply(I.divide(createComplex(2.0, 0.0)));
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/Cosine.html" TARGET="_top">
/// cosine</a>
/// of this complex number.
/// Implements the formula:
/// <code>
/// cos(a + bi) = cos(a)cosh(b) - sin(a)sinh(b)i
/// </code>
/// where the (real) functions on the right-hand side are
/// <see cref="FastMath.sin"/>, <see cref="FastMath.cos"/>,
/// <see cref="FastMath.cosh"/> and <see cref="FastMath.sinh"/>.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite values in real or imaginary parts of the input may result in
/// infinite or NaN values returned in parts of the result.
/// </summary>
/// <example>
/// <code>
/// cos(1 ± INFINITY i) = 1 ∓ INFINITY i
/// cos(±INFINITY + i) = NaN + NaN i
/// cos(±INFINITY ± INFINITY i) = NaN + NaN i
/// </code>
/// </example>
/// <returns>the cosine of this complex number.</returns>
public Complex cos()
{
if (isNaN)
{
return NaN;
}
return createComplex(FastMath.cos(real) * FastMath.cosh(imaginary),
-FastMath.sin(real) * FastMath.sinh(imaginary));
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/HyperbolicCosine.html" TARGET="_top">
/// hyperbolic cosine</a> of this complex number.
/// Implements the formula:
/// <code>
/// cosh(a + bi) = cosh(a)cos(b) + sinh(a)sin(b)i}
/// </code>
/// where the (real) functions on the right-hand side are
/// <see cref="FastMath.sin"/>, <see cref="FastMath.cos"/>,
/// <see cref="FastMath.cosh"/> and <see cref="FastMath.sinh"/>.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite values in real or imaginary parts of the input may result in
/// infinite or NaN values returned in parts of the result.
/// </summary>
/// <example>
/// <code>
/// cosh(1 ± INFINITY i) = NaN + NaN i
/// cosh(±INFINITY + i) = INFINITY ± INFINITY i
/// cosh(±INFINITY ± INFINITY i) = NaN + NaN i
/// </code>
/// </example>
/// <returns>the hyperbolic cosine of this complex number.</returns>
public Complex cosh()
{
if (isNaN)
{
return NaN;
}
return createComplex(FastMath.cosh(real) * FastMath.cos(imaginary),
FastMath.sinh(real) * FastMath.sin(imaginary));
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/ExponentialFunction.html" TARGET="_top">
/// exponential function</a> of this complex number.
/// Implements the formula:
/// <code>
/// exp(a + bi) = exp(a)cos(b) + exp(a)sin(b)i
/// </code>
/// where the (real) functions on the right-hand side are
/// <see cref="FastMath.exp"/>, <see cref="FastMath.cos"/>, and
/// <see cref="FastMath.sin"/>.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite values in real or imaginary parts of the input may result in
/// infinite or NaN values returned in parts of the result.
/// </summary>
/// <example>
/// <code>
/// exp(1 ± INFINITY i) = NaN + NaN i
/// exp(INFINITY + i) = INFINITY + INFINITY i
/// exp(-INFINITY + i) = 0 + 0i
/// exp(±INFINITY ± INFINITY i) = NaN + NaN i
/// </code>
/// </example>
/// <returns><code><i>e</i><sup>this</sup></code>.</returns>
public Complex exp()
{
if (isNaN)
{
return NaN;
}
double expReal = FastMath.exp(real);
return createComplex(expReal * FastMath.cos(imaginary),
expReal * FastMath.sin(imaginary));
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/NaturalLogarithm.html" TARGET="_top">
/// natural logarithm</a> of this complex number.
/// Implements the formula:
/// <code>
/// log(a + bi) = ln(|a + bi|) + arg(a + bi)i
/// </code>
/// where ln on the right hand side is <see cref="FastMath.log"/>,
/// <c>|a + bi|</c> is the modulus, <see cref="abs"/>, and
/// <c>arg(a + bi) = </c><see cref="FastMath.atan2(double, double)"/>.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite (or critical) values in real or imaginary parts of the input may
/// result in infinite or NaN values returned in parts of the result.
/// <example>
/// <code>
/// log(1 ± INFINITY i) = INFINITY ± (π/2)i
/// log(INFINITY + i) = INFINITY + 0i
/// log(-INFINITY + i) = INFINITY + πi
/// log(INFINITY ± INFINITY i) = INFINITY ± (π/4)i
/// log(-INFINITY ± INFINITY i) = INFINITY ± (3π/4)i
/// log(0 + 0i) = -INFINITY + 0i
/// </code>
/// </example>
/// </summary>
/// <returns>the value <code>ln this</code>, the natural logarithm
/// of <c>this</c>.</returns>
public Complex log()
{
if (isNaN)
{
return NaN;
}
return createComplex(FastMath.log(abs()),
FastMath.atan2(imaginary, real));
}
/// <summary>
/// Returns of value of this complex number raised to the power of <c>x</c>.
/// Implements the formula:
/// <code>
/// y<sup>x</sup> = exp(x·log(y))
/// </code>
/// where <c>exp</c> and <c>log</c> are <see cref="exp"/> and
/// <see cref="log"/>, respectively.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c> or infinite, or if <c>y</c>
/// equals <see cref="ZERO"/>.
/// </summary>
/// <param name="x">exponent to which this <c>Complex</c> is to be raised.</param>
/// <returns><code> <c>this^x</c></code>.</returns>
/// <exception cref="NullArgumentException">if x is <c>null</c>.</exception>
public Complex pow(Complex x)
{
MathUtils.checkNotNull(x);
return this.log().multiply(x).exp();
}
/// <summary>
/// Returns of value of this complex number raised to the power of <c>x</c>.
/// </summary>
/// <param name="x">exponent to which this <c>Complex</c> is to be raised.</param>
/// <returns><code>this^x</code>.</returns>
/// <remarks>
/// See <see cref="pow(Complex)"/>
/// </remarks>
public Complex pow(double x)
{
return this.log().multiply(x).exp();
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/Sine.html" TARGET="_top">
/// sine</a>
/// of this complex number.
/// Implements the formula:
/// <code>
/// sin(a + bi) = sin(a)cosh(b) - cos(a)sinh(b)i
/// </code>
/// where the (real) functions on the right-hand side are
/// <c>FastMath.sin</c>, <c>FastMath.cos</c>,
/// <c>FastMath.cosh</c> and <c>FastMath.sinh</c>.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite values in real or imaginary parts of the input may result in
/// infinite or <c>NaN</c> values returned in parts of the result.
/// </summary>
/// <example>
/// <code>
/// sin(1 ± INFINITY i) = 1 ± INFINITY i
/// sin(±INFINITY + i) = NaN + NaN i
/// sin(±INFINITY ± INFINITY i) = NaN + NaN i
/// </code>
/// </example>
/// <returns>the sine of this complex number.</returns>
public Complex sin()
{
if (isNaN)
{
return NaN;
}
return createComplex(FastMath.sin(real) * FastMath.cosh(imaginary),
FastMath.cos(real) * FastMath.sinh(imaginary));
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/HyperbolicSine.html" TARGET="_top">
/// Implements the formula:
/// <code>
/// sinh(a + bi) = sinh(a)cos(b)) + cosh(a)sin(b)i
/// </code>
/// where the (real) functions on the right-hand side are
/// <see cref="FastMath.sin"/>, <see cref="FastMath.cos"/>,
/// <see cref="FastMath.cosh"/> and <see cref="FastMath.sinh"/>.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite values in real or imaginary parts of the input may result in
/// infinite or NaN values returned in parts of the result.
/// <example>
/// <code>
/// sinh(1 ± INFINITY i) = NaN + NaN i
/// sinh(±INFINITY + i) = ± INFINITY + INFINITY i
/// sinh(±INFINITY ± INFINITY i) = NaN + NaN i
/// </code>
/// </example>
/// </summary>
/// <returns>the hyperbolic sine of <c>this</c>.</returns>
public Complex sinh()
{
if (isNaN)
{
return NaN;
}
return createComplex(FastMath.sinh(real) * FastMath.cos(imaginary),
FastMath.cosh(real) * FastMath.sin(imaginary));
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/SquareRoot.html" TARGET="_top">
/// square root</a> of this complex number.
/// Implements the following algorithm to compute <c>sqrt(a + bi)</c>:
/// <list type="number">
/// <item>Let <c>t = sqrt((|a| + |a + bi|) / 2)</c></item>
/// <item>
/// <pre>if <c> a ≥ 0</c> return <c>t + (b/2t)i</c>
/// else return <c>|b|/2t + sign(b)t i </c></pre>
/// </item>
/// </list>
/// where <list type="bullet">
/// <item><c>|a| = </c><see cref="FastMath.abs(double)"/></item>
/// <item><c>|a + bi| = </c><see cref="abs"/>(a + bi)</item>
/// <item><c>sign(b) = </c><see cref="FastMath.copySign(double,double)"/>
/// </list>
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite values in real or imaginary parts of the input may result in
/// infinite or NaN values returned in parts of the result.
/// <example>
/// <code>
/// sqrt(1 ± INFINITY i) = INFINITY + NaN i
/// sqrt(INFINITY + i) = INFINITY + 0i
/// sqrt(-INFINITY + i) = 0 + INFINITY i
/// sqrt(INFINITY ± INFINITY i) = INFINITY + NaN i
/// sqrt(-INFINITY ± INFINITY i) = NaN ± INFINITY i
/// </code>
/// </example>
/// </summary>
/// <returns>the square root of <c>this</c>.</returns>
public Complex sqrt()
{
if (isNaN)
{
return NaN;
}
if (real == 0.0 && imaginary == 0.0)
{
return createComplex(0.0, 0.0);
}
double t = FastMath.sqrt((FastMath.abs(real) + abs()) / 2.0);
if (real >= 0.0)
{
return createComplex(t, imaginary / (2.0 * t));
}
else
{
return createComplex(FastMath.abs(imaginary) / (2.0 * t),
FastMath.copySign(1d, imaginary) * t);
}
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/SquareRoot.html" TARGET="_top">
/// square root</a> of <c>1 - this^2</c> for this complex
/// number.
/// Computes the result directly as
/// <c>sqrt(ONE.subtract(z.multiply(z)))</c>.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite values in real or imaginary parts of the input may result in
/// infinite or NaN values returned in parts of the result.
/// </summary>
/// <returns>the square root of <c>1 - this^2</c>.</returns>
public Complex sqrt1z()
{
return createComplex(1.0, 0.0).subtract(this.multiply(this)).sqrt();
}
/// <summary>
/// Compute the
/// a href="http://mathworld.wolfram.com/Tangent.html" TARGET="_top">
/// tangent</a> of this complex number.
/// Implements the formula:
/// <code>
/// tan(a + bi) = sin(2a)/(cos(2a)+cosh(2b)) + [sinh(2b)/(cos(2a)+cosh(2b))]i
/// </code>
/// where the (real) functions on the right-hand side are
/// <see cref="FastMath.sin"/>, <see cref="FastMath.cos"/>,
/// <see cref="FastMathcosh"/> and <see cref="FastMath.sinh"/>.
/// <para/>
/// Returns <see cref="Complex#NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite (or critical) values in real or imaginary parts of the input may
/// result in infinite or NaN values returned in parts of the result.
/// </summary>
/// <example>
/// <code>
/// tan(a ± INFINITY i) = 0 ± i
/// tan(±INFINITY + bi) = NaN + NaN i
/// tan(±INFINITY ± INFINITY i) = NaN + NaN i
/// tan(±π/2 + 0 i) = ±INFINITY + NaN i
/// </code>
/// </example>
/// <returns>the tangent of <c>this</c>.</returns>
public Complex tan()
{
if (isNaN || Double.IsInfinity(real))
{
return NaN;
}
if (imaginary > 20.0)
{
return createComplex(0.0, 1.0);
}
if (imaginary < -20.0)
{
return createComplex(0.0, -1.0);
}
double real2 = 2.0 * real;
double imaginary2 = 2.0 * imaginary;
double d = FastMath.cos(real2) + FastMath.cosh(imaginary2);
return createComplex(FastMath.sin(real2) / d,
FastMath.sinh(imaginary2) / d);
}
/// <summary>
/// Compute the
/// <a href="http://mathworld.wolfram.com/HyperbolicTangent.html" TARGET="_top">
/// hyperbolic tangent</a> of this complex number.
/// Implements the formula:
/// <code>
/// tan(a + bi) = sinh(2a)/(cosh(2a)+cos(2b)) + [sin(2b)/(cosh(2a)+cos(2b))]i
/// </code>
/// where the (real) functions on the right-hand side are
/// <see cref="FastMath.sin"/>, <see cref="FastMath.cos"/>, <see cref="FastMath.cosh"/>
/// and <see cref="FastMath.sinh"/>.
/// <para/>
/// Returns <see cref="NaN"/> if either real or imaginary part of the
/// input argument is <c>NaN</c>.
/// <para/>
/// Infinite values in real or imaginary parts of the input may result in
/// infinite or NaN values returned in parts of the result.
/// <example>
/// <code>
/// tanh(a ± INFINITY i) = NaN + NaN i
/// tanh(±INFINITY + bi) = ±1 + 0 i
/// tanh(±INFINITY ± INFINITY i) = NaN + NaN i
/// tanh(0 + (π/2)i) = NaN + INFINITY i
/// </code>
/// </example>
/// </summary>
/// <returns>the hyperbolic tangent of <c>this</c>.</returns>
public Complex tanh()
{
if (isNaN || Double.IsInfinity(imaginary))
{
return NaN;
}
if (real > 20.0)
{
return createComplex(1.0, 0.0);
}
if (real < -20.0)
{
return createComplex(-1.0, 0.0);
}
double real2 = 2.0 * real;
double imaginary2 = 2.0 * imaginary;
double d = FastMath.cosh(real2) + FastMath.cos(imaginary2);
return createComplex(FastMath.sinh(real2) / d,
FastMath.sin(imaginary2) / d);
}
/// <summary>
/// Compute the argument of this complex number.
/// The argument is the angle phi between the positive real axis and
/// the point representing this number in the complex plane.
/// The value returned is between -PI (not inclusive)
/// and PI (inclusive), with negative values returned for numbers with
/// negative imaginary parts.
/// <para/>
/// If either real or imaginary part (or both) is NaN, NaN is returned.
/// Infinite parts are handled as <c>Math.atan2</c> handles them,
/// essentially treating finite parts as zero in the presence of an
/// infinite coordinate and returning a multiple of pi/4 depending on
/// the signs of the infinite parts.
/// See <see cref="System.Math.atan2"/> for full details.
/// </summary>
/// <returns>the argument of <c>this</c>.</returns>
public double getArgument()
{
return FastMath.atan2(getImaginary(), getReal());
}
/// <summary>
/// Computes the n-th roots of this complex number.
/// The nth roots are defined by the formula:
/// <code>
/// z<sub>k</sub> = abs<sup>1/n</sup> (cos(phi + 2πk/n) + i (sin(phi + 2πk/n))
/// </code>
/// for <i><c>k=0, 1, ..., n-1</c></i>, where <c>abs</c> and <c>phi</c>
/// are respectively the <see cref="abs()"/> and
/// <see cref="getArgument()"/> of this complex number.
/// <para/>
/// If one or both parts of this complex number is NaN, a list with just
/// one element, <see cref="NaN"/> is returned.
/// if neither part is NaN, but at least one part is infinite, the result
/// is a one-element list containing <see cref="INF"/>.
/// </summary>
/// <param name="n">Degree of root.</param>
/// <returns>a List<Complex> of all <c>n</c>-th roots of <c>this</c>.</returns>
/// <exception cref="NotPositiveException">if <c>n <= 0</c>.</exception>
public List<Complex> nthRoot(int n)
{
if (n <= 0)
{
throw new NotPositiveException<Int32>(new LocalizedFormats("CANNOT_COMPUTE_NTH_ROOT_FOR_NEGATIVE_N"),
n);
}
List<Complex> result = new List<Complex>();
if (isNaN)
{
result.Add(NaN);
return result;
}
if (IsInfinity())
{
result.Add(INF);
return result;
}
// nth root of abs -- faster / more accurate to use a solver here?
double nthRootOfAbs = FastMath.pow(abs(), 1.0 / n);
// Compute nth roots of complex number with k = 0, 1, ... n-1
double nthPhi = getArgument() / n;
double slice = 2 * FastMath.PI / n;
double innerPart = nthPhi;
for (int k = 0; k < n; k++)
{
// inner part
double realPart = nthRootOfAbs * FastMath.cos(innerPart);
double imaginaryPart = nthRootOfAbs * FastMath.sin(innerPart);
result.Add(createComplex(realPart, imaginaryPart));
innerPart += slice;
}
return result;
}
/// <summary>
/// Create a complex number given the real and imaginary parts.
/// </summary>
/// <param name="realPart">Real part.</param>
/// <param name="imaginaryPart">Imaginary part.</param>
/// <returns>a new complex number instance.</returns>
/// <remarks>See <see cref="valueOf(double, double)"/></remarks>
protected Complex createComplex(double realPart,
double imaginaryPart)
{
return new Complex(realPart, imaginaryPart);
}
/// <summary>
/// Create a complex number given the real and imaginary parts.
/// </summary>
/// <param name="realPart">Real part.</param>
/// <param name="imaginaryPart">Imaginary part.</param>
/// <returns>a Complex instance.</returns>
public static Complex valueOf(double realPart,
double imaginaryPart)
{
if (Double.IsNaN(realPart) ||
Double.IsNaN(imaginaryPart))
{
return NaN;
}
return new Complex(realPart, imaginaryPart);
}
/// <summary>
/// Create a complex number given only the real part.
/// </summary>
/// <param name="realPart">Real part.</param>
/// <returns>a Complex instance.</returns>
public static Complex valueOf(double realPart)
{
if (Double.IsNaN(realPart))
{
return NaN;
}
return new Complex(realPart);
}
/// <summary>
/// Resolve the transient fields in a deserialized Complex Object.
/// Subclasses will need to override <see cref="createComplex"/> to
/// deserialize properly.
/// </summary>
/// <returns>A Complex instance with all fields resolved.</returns>
protected Object readResolve()
{
return createComplex(real, imaginary);
}
/// <inheritdoc/>
Field<Complex> FieldElement<Complex>.getField()
{
return ComplexField.getInstance();
}
/// <inheritdoc/>
public ComplexField getField()
{
return ComplexField.getInstance();
}
/// <inheritdoc/>
public override String ToString()
{
return (String.Format("({0},{1})", this.real, this.imaginary));
}
}
}
| 38.268559 | 117 | 0.509937 | [
"Apache-2.0"
] | Fylax/Apache-Commons-Math3-C- | complex/Complex.cs | 52,583 | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Silk.NET.Maths
{
/// <summary>
/// Helper methods to work with <see cref="Rectangle{T}"/>
/// </summary>
public static class Rectangle
{
/// <summary>
/// Constructs a rectangle from the given edge positions.
/// </summary>
/// <param name="left">The left edge.</param>
/// <param name="top">The top edge.</param>
/// <param name="right">The right edge.</param>
/// <param name="bottom">The bottom edge.</param>
/// <typeparam name="T">The type.</typeparam>
/// <returns>The constructed rectangle.</returns>
public static Rectangle<T> FromLTRB<T>(T left, T top, T right, T bottom)
where T : unmanaged, IFormattable, IEquatable<T>, IComparable<T>
{
Vector2D<T> o = new(left, top);
return new Rectangle<T>(o, new Vector2D<T>(right, bottom) - o);
}
}
}
| 35.666667 | 80 | 0.588785 | [
"MIT"
] | Ar37-rs/Silk.NET | src/Maths/Silk.NET.Maths/Rectangle.Ops.cs | 1,072 | C# |
using Shiny.Attributes;
[assembly: AutoStartupWithDelegate("Shiny.BluetoothLE.IBleDelegate", "UseBleClient", false)]
[assembly: StaticGeneration("Shiny.BluetoothLE.IBleManager", "ShinyBle")]
| 27.857143 | 92 | 0.794872 | [
"MIT"
] | Codelisk/shiny | src/Shiny.BluetoothLE/AssemblyInfo.cs | 197 | C# |
using System;
using System.Windows;
using Scada.AddIn.Contracts;
using SimpleWpfEditorWizard.ViewModels;
namespace SimpleWpfEditorWizard
{
[AddInExtension("DataTypes TPL", "Loads data type statistics using Task Parallel Library", "Samples")]
public class TplWizardExtension : IEditorWizardExtension
{
#region IEditorWizardExtension implementation
public void Run(IEditorApplication context, IBehavior behavior)
{
if (context.Workspace.ActiveProject == null)
{
MessageBox.Show("No project is available. Please active a project.");
return;
}
try
{
var application = new Application();
var vm = new TplMainViewModel(context.Workspace.ActiveProject);
var mainWindow = new Views.MainWindow
{
DataContext = vm
};
application.MainWindow = mainWindow;
mainWindow.Show();
application.Run();
}
catch (Exception ex)
{
MessageBox.Show($"An exception has been thrown: {ex.Message}");
}
}
#endregion
}
} | 29.880952 | 106 | 0.558566 | [
"MIT"
] | CFeitler/AddInHowTo | ThreadingWizardSample/ThreadingWizardSample/TplWizardExtension.cs | 1,257 | C# |
using System;
using System.Collections.Generic;
using System.Text;
namespace Nysa.Logics
{
public abstract class Suspect<T>
{
}
}
| 11.538462 | 36 | 0.673333 | [
"MIT"
] | slowsigma/FoundErrors | BadCastAccessViolation/Suspect.cs | 152 | C# |
// ---------------------------------------------------------------------------------------
// <copyright file="Wave.cs" company="Corale">
// Copyright © 2015-2016 by Adam Hellberg and Brandon Scott.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
// of the Software, and to permit persons to whom the Software is furnished to do
// so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// "Razer" is a trademark of Razer USA Ltd.
// </copyright>
// ---------------------------------------------------------------------------------------
namespace Corale.Colore.Razer.Mouse.Effects
{
using Corale.Colore.Annotations;
/// <summary>
/// Wave effect.
/// </summary>
public struct Wave
{
/// <summary>
/// The direction of the wave effect.
/// </summary>
[UsedImplicitly]
public readonly Direction Direction;
/// <summary>
/// Initializes a new instance of the <see cref="Wave" /> struct.
/// </summary>
/// <param name="direction">The direction of the effect.</param>
public Wave(Direction direction)
{
Direction = direction;
}
}
}
| 41.568627 | 91 | 0.607075 | [
"MIT"
] | WolfspiritM/Colore | Corale.Colore/Razer/Mouse/Effects/Wave.cs | 2,123 | C# |
using Memories.Business.IO;
using Memories.Business.Models;
using Memories.Services.Interfaces;
namespace Memories.Services
{
public class BookService : IBookService
{
public Book GetEmptyBook()
{
return new Book();
}
public Book LoadBook(string path)
{
return FileSystem.LoadFromJson<Book>(path);
}
public void SaveBook(Book book, string path)
{
FileSystem.SaveToJson(book, path);
}
public void AddPage(Book book, BookPage page)
{
throw new System.NotImplementedException();
}
}
}
| 21.433333 | 55 | 0.586314 | [
"MIT"
] | GiGong/Memories | Memories/Memories.Services/BookService.cs | 645 | C# |
using System.Collections.Generic;
using PeopleManagement.Constants;
namespace PeopleManagement.Models
{
public class Person : BaseModel
{
public string FirstName { get; }
public string MiddleName { get; }
public string LastName { get; }
public Gender Gender { get; }
public List<ImportantDate> ImportantDates { get; }
public List<Relationship> Relationships { get; }
public Person(string firstName, string middleName, string lastName, Gender gender, List<ImportantDate> importantDates, List<Relationship> relationships)
{
FirstName = firstName;
MiddleName = middleName;
LastName = lastName;
Gender = gender;
ImportantDates = importantDates;
Relationships = relationships;
}
}
} | 33.44 | 160 | 0.641148 | [
"MIT"
] | afmorris/PeopleManagement | PeopleManagement.Models/Person.cs | 838 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.