Skip to content

Instantly share code, notes, and snippets.

@dlprows
Created June 10, 2016 20:58
Show Gist options
  • Save dlprows/40e9dcc925a9d21fd2498aafc284b24f to your computer and use it in GitHub Desktop.
Save dlprows/40e9dcc925a9d21fd2498aafc284b24f to your computer and use it in GitHub Desktop.
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) object.__icall_wrapper_mono_object_isinst (object,intptr) <IL 0x00008, 0x0005f>
at (wrapper stelemref) object.virt_stelemref_class (intptr,object) <IL 0x00023, 0x00062>
at System.Collections.Immutable.ImmutableArray`1/Builder<T_REF>.ToArray () <IL 0x00020, 0x0008b>
at System.Collections.Immutable.ImmutableArray`1/Builder<T_REF>.ToImmutable () <IL 0x0000f, 0x0007f>
at Microsoft.CodeAnalysis.ArrayBuilder`1<T_REF>.ToImmutable () <IL 0x00006, 0x00022>
at Microsoft.CodeAnalysis.ArrayBuilder`1<T_REF>.ToImmutableAndFree () <IL 0x00001, 0x00015>
at Microsoft.CodeAnalysis.CommonReferenceManager`2<TCompilation_REF, TAssemblySymbol_REF>.ResolveMetadataReferences (TCompilation_REF,System.Collections.Generic.Dictionary`2<string, System.Collections.Generic.List`1<Microsoft.CodeAnalysis.CommonReferenceManager`2/ReferencedAssemblyIdentity<TCompilation_REF, TAssemblySymbol_REF>>>,System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.MetadataReference>&,System.Collections.Generic.IDictionary`2<Roslyn.Utilities.ValueTuple`2<string, string>, Microsoft.CodeAnalysis.MetadataReference>&,System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.MetadataReference>&,System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.CommonReferenceManager`2/AssemblyData<TCompilation_REF, TAssemblySymbol_REF>>&,System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.PEModule>&,Microsoft.CodeAnalysis.DiagnosticBag) <IL 0x00424, 0x0164f>
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation/ReferenceManager.CreateAndSetSourceAssemblyFullBind (Microsoft.CodeAnalysis.CSharp.CSharpCompilation) <IL 0x00021, 0x001dd>
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation/ReferenceManager.CreateSourceAssemblyForCompilation (Microsoft.CodeAnalysis.CSharp.CSharpCompilation) <IL 0x0000a, 0x0003a>
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetBoundReferenceManager () <IL 0x0000f, 0x00033>
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.get_SourceAssembly () <IL 0x00001, 0x00017>
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.get_Assembly () <IL 0x00000, 0x00014>
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.GetAllUnaliasedModules (Microsoft.CodeAnalysis.ArrayBuilder`1<Microsoft.CodeAnalysis.CSharp.Symbols.ModuleSymbol>) <0x00030>
at Microsoft.CodeAnalysis.CSharp.CSharpCompilation.get_GlobalNamespace () <IL 0x00010, 0x0005b>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitCompilationUnit (Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax,bool,bool) <IL 0x0014c, 0x00738>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitCompilationUnit (Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax) <IL 0x0000f, 0x00054>
at Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax.Accept<TResult_REF> (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1<TResult_REF>) <IL 0x00002, 0x00025>
at Microsoft.CodeAnalysis.CSharp.BinderFactory.GetBinder (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode,int) <IL 0x00015, 0x0005a>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitNamespaceDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax,int,bool,bool) <IL 0x00064, 0x00239>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitNamespaceDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax) <IL 0x00045, 0x0013c>
at Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax.Accept<TResult_REF> (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1<TResult_REF>) <IL 0x00002, 0x00025>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitCore (Microsoft.CodeAnalysis.SyntaxNode) <IL 0x00007, 0x0005a>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitTypeDeclarationCore (Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax,Microsoft.CodeAnalysis.CSharp.BinderFactory/NodeUsage) <IL 0x00018, 0x000fd>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitTypeDeclarationCore (Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax) <IL 0x0007d, 0x0021a>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitClassDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax) <IL 0x00002, 0x00019>
at Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax.Accept<TResult_REF> (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1<TResult_REF>) <IL 0x00002, 0x00025>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitCore (Microsoft.CodeAnalysis.SyntaxNode) <IL 0x00007, 0x0005a>
at Microsoft.CodeAnalysis.CSharp.BinderFactory/BinderFactoryVisitor.VisitConstructorDeclaration (Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax) <IL 0x00048, 0x0019f>
at Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax.Accept<TResult_REF> (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxVisitor`1<TResult_REF>) <IL 0x00002, 0x00025>
at Microsoft.CodeAnalysis.CSharp.BinderFactory.GetBinder (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode,int) <IL 0x00015, 0x0005a>
at Microsoft.CodeAnalysis.CSharp.BinderFactory.GetBinder (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) <IL 0x0002d, 0x000d5>
at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.CreateMemberModel (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) <IL 0x00007, 0x00058>
at System.Collections.Immutable.ImmutableInterlocked.GetOrAdd<TKey_REF, TValue_REF> (System.Collections.Immutable.ImmutableDictionary`2<TKey_REF, TValue_REF>&,TKey_REF,System.Func`2<TKey_REF, TValue_REF>) <IL 0x0002a, 0x0011e>
at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetOrAddModel (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) <IL 0x00028, 0x0012f>
at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetOrAddModelIfContains (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode,Microsoft.CodeAnalysis.Text.TextSpan) <IL 0x00016, 0x00071>
at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetMemberModel (Microsoft.CodeAnalysis.CSharp.CSharpSyntaxNode) <IL 0x00133, 0x003c9>
at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetMemberModel (int) <IL 0x000fc, 0x00362>
at Microsoft.CodeAnalysis.CSharp.SyntaxTreeSemanticModel.GetEnclosingBinderInternal (int) <IL 0x0003a, 0x000f8>
at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetEnclosingBinder (int) <IL 0x00002, 0x00018>
at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetEnclosingSymbol (int,System.Threading.CancellationToken) <0x00035>
at Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.GetEnclosingSymbolCore (int,System.Threading.CancellationToken) <IL 0x00003, 0x00023>
at Microsoft.CodeAnalysis.SemanticModel.GetEnclosingSymbol (int,System.Threading.CancellationToken) <IL 0x00003, 0x00022>
at Microsoft.CodeAnalysis.Shared.Extensions.SemanticModelExtensions.GetEnclosingSymbol<TSymbol_REF> (Microsoft.CodeAnalysis.SemanticModel,int,System.Threading.CancellationToken) <IL 0x00003, 0x0002f>
at Microsoft.CodeAnalysis.Shared.Extensions.SemanticModelExtensions.GetEnclosingNamedType (Microsoft.CodeAnalysis.SemanticModel,int,System.Threading.CancellationToken) <IL 0x00003, 0x00036>
at Microsoft.CodeAnalysis.FindSymbols.Finders.ConstructorInitializerSymbolReferenceFinder/<>c__DisplayClass2_0.<FindReferencesInDocumentAsync>b__0 (Microsoft.CodeAnalysis.SyntaxToken) <IL 0x00016, 0x000aa>
at Microsoft.CodeAnalysis.FindSymbols.Finders.AbstractReferenceFinder`1/<FindReferencesInTokensAsync>d__27<TSymbol_REF>.MoveNext () <IL 0x00158, 0x006f0>
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Collections.Generic.IEnumerable`1<Microsoft.CodeAnalysis.FindSymbols.ReferenceLocation>>.Start<Microsoft.CodeAnalysis.FindSymbols.Finders.AbstractReferenceFinder`1/<FindReferencesInTokensAsync>d__27<Microsoft.CodeAnalysis.IMethodSymbol>> (Microsoft.CodeAnalysis.FindSymbols.Finders.AbstractReferenceFinder`1/<FindReferencesInTokensAsync>d__27<Microsoft.CodeAnalysis.IMethodSymbol>&) [0x00031] in /private/tmp/source-mono-4.4.0-c7-baseline/bockbuild-mono-4.4.0-c7-baseline/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:471
at Microsoft.CodeAnalysis.FindSymbols.Finders.AbstractReferenceFinder`1<TSymbol_REF>.FindReferencesInTokensAsync (Microsoft.CodeAnalysis.Document,System.Collections.Generic.IEnumerable`1<Microsoft.CodeAnalysis.SyntaxToken>,System.Func`2<Microsoft.CodeAnalysis.SyntaxToken, bool>,System.Func`3<Microsoft.CodeAnalysis.SyntaxToken, Microsoft.CodeAnalysis.SemanticModel, Roslyn.Utilities.ValueTuple`2<bool, Microsoft.CodeAnalysis.CandidateReason>>,System.Threading.CancellationToken) <IL 0x00048, 0x0034e>
at Microsoft.CodeAnalysis.FindSymbols.Finders.AbstractReferenceFinder`1<TSymbol_REF>.FindReferencesInTokensAsync (TSymbol_REF,Microsoft.CodeAnalysis.Document,System.Collections.Generic.IEnumerable`1<Microsoft.CodeAnalysis.SyntaxToken>,System.Func`2<Microsoft.CodeAnalysis.SyntaxToken, bool>,System.Threading.CancellationToken,System.Func`2<Microsoft.CodeAnalysis.SyntaxToken, Microsoft.CodeAnalysis.SyntaxNode>) <IL 0x00022, 0x000bd>
at Microsoft.CodeAnalysis.FindSymbols.Finders.ConstructorInitializerSymbolReferenceFinder/<FindReferencesInDocumentAsync>d__2.MoveNext () <IL 0x0029a, 0x00ae9>
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Collections.Generic.IEnumerable`1<Microsoft.CodeAnalysis.FindSymbols.ReferenceLocation>>.Start<Microsoft.CodeAnalysis.FindSymbols.Finders.ConstructorInitializerSymbolReferenceFinder/<FindReferencesInDocumentAsync>d__2> (Microsoft.CodeAnalysis.FindSymbols.Finders.ConstructorInitializerSymbolReferenceFinder/<FindReferencesInDocumentAsync>d__2&) [0x00031] in /private/tmp/source-mono-4.4.0-c7-baseline/bockbuild-mono-4.4.0-c7-baseline/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:471
at Microsoft.CodeAnalysis.FindSymbols.Finders.ConstructorInitializerSymbolReferenceFinder.FindReferencesInDocumentAsync (Microsoft.CodeAnalysis.IMethodSymbol,Microsoft.CodeAnalysis.Document,System.Threading.CancellationToken) <IL 0x0003f, 0x0029c>
at Microsoft.CodeAnalysis.FindSymbols.Finders.AbstractReferenceFinder`1<TSymbol_REF>.FindReferencesInDocumentAsync (Microsoft.CodeAnalysis.ISymbol,Microsoft.CodeAnalysis.Document,System.Threading.CancellationToken) <IL 0x00025, 0x000fe>
at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/<ProcessDocumentAsync>d__21.MoveNext () <IL 0x00057, 0x00192>
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/<ProcessDocumentAsync>d__21> (Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/<ProcessDocumentAsync>d__21&) [0x00031] in /private/tmp/source-mono-4.4.0-c7-baseline/bockbuild-mono-4.4.0-c7-baseline/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:316
at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.ProcessDocumentAsync (Microsoft.CodeAnalysis.Document,Microsoft.CodeAnalysis.ISymbol,Microsoft.CodeAnalysis.FindSymbols.Finders.IReferenceFinder,Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/ProgressWrapper) <IL 0x00048, 0x002ca>
at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/<ProcessDocumentQueueAsync>d__19.MoveNext () <IL 0x00110, 0x004ea>
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/<ProcessDocumentQueueAsync>d__19> (Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/<ProcessDocumentQueueAsync>d__19&) [0x00031] in /private/tmp/source-mono-4.4.0-c7-baseline/bockbuild-mono-4.4.0-c7-baseline/profiles/mono-mac-xamarin/build-root/mono-x86/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:316
at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.ProcessDocumentQueueAsync (Microsoft.CodeAnalysis.Document,System.Collections.Generic.List`1<Roslyn.Utilities.ValueTuple`2<Microsoft.CodeAnalysis.ISymbol, Microsoft.CodeAnalysis.FindSymbols.Finders.IReferenceFinder>>,Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/ProgressWrapper) <IL 0x0003f, 0x00286>
at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/<>c__DisplayClass32_0/<<ProcessProjectAsync>b__0>d.MoveNext () <IL 0x00040, 0x00098>
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start<Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine/<>c__DisplayClass32_0/<<ProcessProjectAsync>b__0>d> (Microsoft.CodeAnalysis.Find
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment