Skip to content

Instantly share code, notes, and snippets.

View RyotaMurohoshi's full-sized avatar
🏠
Working from home

RyotaMurohoshi RyotaMurohoshi

🏠
Working from home
View GitHub Profile
@RyotaMurohoshi
RyotaMurohoshi / Demo.cs
Last active September 3, 2019 16:31
Code Inspection and Quick Fix demo code for Rider & Unity
/*
* This is Demo for `Code Inspection` and `Quick Fix` in Rider & Unity.
* Please put this file in Unity project as `Demo.cs` and open with Rider.
* In this code, there are some problem to fix.
* `Code Inspection` tells you them and you can fix it with `Quick Fix` so easily.
*
* これは、Unity & Riderの`Code Inspection`と`Quick Fix`でも用コードです。
* このファイルを`Demo.cs`という名前で、Unityプロジェクトに起き、Riderで開いてください。
* このコードにはいくつか修正しないといけない点があります。
* `Code Inspection`はその点を教えてくれ、そして`Quick Fix`を使えばとても簡単にそれを修正できます。
using UnityEngine;
using NUnit.Framework;
// Tested with 5.4.0b16
namespace MrStarBase
{
public class UnexpectedJsonTest
{
[Test]
public void UnexpectedToJsonTest()
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
namespace EnumeratorExample
{
[TestFixture ()]
public class CurrentWhenMoveNextFalseTest
{