This file contains 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
src\xunit\Sdk\Executor.cs | |
15: /// ExecutorWrapper instead. | |
src\xunit.runner.msbuild\Utility\XmlTestRunner.cs | |
8: public XmlTestRunner(IExecutorWrapper executorWrapper, IRunnerLogger logger) | |
10: testRunner = new TestRunner(executorWrapper, logger); | |
src\xunit.runner.msbuild\xunit.cs | |
98: using (ExecutorWrapper wrapper = new ExecutorWrapper(assemblyFilename, configFilename, ShadowCopy)) | |
src\xunit.runner.msbuild\xunitproject.cs | |
48: using (ExecutorWrapper wrapper = new ExecutorWrapper(assembly.AssemblyFilename, assembly.ConfigFilename, assembly.ShadowCopy)) | |
src\xunit.runner.tdnet\TdNetRunner.cs |
This file contains 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
[Fact] | |
public void Monkey() | |
{ | |
string schema = | |
@"{ | |
""id"": ""System.Version"", | |
""type"": ""object"", | |
""additionalProperties"": false, | |
""properties"": { | |
""Major"": { |
This file contains 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.Runtime.CompilerServices; | |
using Microsoft.FxCop.Sdk; | |
namespace Tier3.FxCop.TaskRules | |
{ | |
public class NameTaskReturningMethodAppropriately : BaseIntrospectionRule | |
{ | |
public NameTaskReturningMethodAppropriately() : | |
base("NameTaskReturningMethodAppropriately", | |
"Tier3.FxCop.Rules", |
This file contains 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 System.Collections.Generic; | |
using System.Linq; | |
public interface IIndexedEnumerable<TKey, TValue> | |
{ | |
TValue this[TKey key] { get; } | |
int Count { get; } |
This file contains 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 System.Collections.Generic; | |
using System.Net.Http; | |
using System.Web.Http; | |
using System.Web.Http.Controllers; | |
using System.Web.Http.Hosting; | |
using System.Web.Http.Routing; | |
using Newtonsoft.Json.Converters; | |
using Newtonsoft.Json.Serialization; | |
using NSubstitute; |
This file contains 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
Unhandled Exception: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. | |
at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) | |
at System.Collections.Generic.List`1.Enumerator.MoveNextRare() | |
at System.Collections.Generic.List`1.Enumerator.MoveNext() | |
at Ninject.Infrastructure.Language.ExtensionsForIEnumerableOfT.Map[T](IEnumerable`1 series, Action`1 action) in c:\Projects\Ninject\Maintenance2.2\ninject\src\Ninject\Infrastructure\Language\ExtensionsForIEnumerableOfT.cs:line 22 | |
at Ninject.Activation.Caching.GarbageCollectionCachePruner.PruneCacheIfGarbageCollectorHasRun(Object state) in c:\Projects\Ninject\Maintenance2.2\ninject\src\Ninject\Activation\Caching\GarbageCollectionCachePruner.cs:line 83 | |
at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state) | |
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) | |
at |
This file contains 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 System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using Ninject.Activation.Caching; | |
using Ninject.Components; | |
using Ninject.Modules; | |
namespace Ninject | |
{ |
This file contains 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
Test 'YourTestNameHere' failed: | |
System.ObjectDisposedException : Safe handle has been closed | |
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) | |
at System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle pHandle, Boolean& success) | |
at System.Security.Cryptography.Utils.HashData(SafeHashHandle hHash, Byte[] data, Int32 cbData, Int32 ibStart, Int32 cbSize) | |
at System.Security.Cryptography.MD5CryptoServiceProvider.HashCore(Byte[] rgb, Int32 ibStart, Int32 cbSize) | |
at System.Security.Cryptography.HashAlgorithm.ComputeHash(Byte[] buffer) |
This file contains 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 System.Collections.Generic; | |
using System.Linq; | |
using System.Web.Http; | |
public static class ModelStateDictionaryExtensions | |
{ | |
public static IEnumerable<string> ToErrors(this ModelStateDictionary dict) | |
{ | |
return dict.OrderBy(kvp => kvp.Key) |