Skip to content

Fix System.NullReferenceException in LocalRewriter.MakeTupleFieldAccess#41208

Merged
AlekseyTs merged 1 commit intodotnet:masterfrom
AlekseyTs:WorkItem1056281
Jan 25, 2020
Merged

Fix System.NullReferenceException in LocalRewriter.MakeTupleFieldAccess#41208
AlekseyTs merged 1 commit intodotnet:masterfrom
AlekseyTs:WorkItem1056281

Conversation

@AlekseyTs
Copy link
Copy Markdown
Contributor

Fixes #41207.

var comp1Ref = new[] { comp1.ToMetadataReference() };
var comp1ImageRef = new[] { comp1.EmitToImageReference() };

var comp4 = CreateCompilation(source0 + source2, targetFramework: TargetFramework.Mscorlib46, options: TestOptions.DebugExe);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are comp2 and comp3?

@AlekseyTs
Copy link
Copy Markdown
Contributor Author

@dotnet/roslyn-compiler Please review, need a second sign-off

@AlekseyTs AlekseyTs merged commit 7235663 into dotnet:master Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

System.NullReferenceException is thrown when a static field from a ValueTuple type is referenced.

3 participants