This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <#@ template debug="false" hostspecific="true" language="C#" #> | |
| <#@ assembly name="System.Core" #> | |
| <#@ assembly name="EnvDTE" #> | |
| <#@ import namespace="System.Linq" #> | |
| <#@ output extension=".txt" #> | |
| <# | |
| var dte = ((IServiceProvider)this.Host).GetService(typeof(EnvDTE.DTE)) as EnvDTE.DTE; | |
| var runContextTest = dte.Commands.Item("{1E198C22-5980-4E7E-92F3-F73168D1FB63}", 885); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name tugino renkyu for Opera10.10 | |
| // @include http://misc.tokyoenvious.net/holidays/holidays.html | |
| // ==/UserScript== | |
| (function() { | |
| if (parseFloat(opera.version()) >= 12) return; | |
| if (!window.console) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| namespace UnitTestProject1 | |
| { | |
| [TestClass] | |
| public class UnitTest1 | |
| { | |
| [TestMethod] | |
| public void TestMethod1() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ExportCodeFixProvider(LanguageNames.CSharp, Name = nameof(ValueChangedGaneratorCodeFixProvider)), Shared] | |
| public class ValueChangedGaneratorCodeFixProvider : CodeFixProvider | |
| { | |
| // snip. | |
| public sealed override async Task RegisterCodeFixesAsync(CodeFixContext context) | |
| { | |
| var root = await context.Document.GetSyntaxRootAsync(context.CancellationToken).ConfigureAwait(false); | |
| var diagnostic = context.Diagnostics.First(); |
OlderNewer