This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
[feature/dataflow] Add support for reading dataflow annotation from JSON - #1060
Merged
Merged
Conversation
vitek-karas
approved these changes
Apr 3, 2020
|
|
||
| var type = assembly.MainModule.GetType (namespaceName, typeName); | ||
| if (type == null) { | ||
| context.LogMessage ($"Type {namespaceName}.{typeName} couldn't be resolved"); |
Member
There was a problem hiding this comment.
We should start using the new LogMessage(MessageContainer.CreateWarningMessage()) - eventually all of linker should switch to that.
Member
Author
There was a problem hiding this comment.
We'll need to find some centralized place to keep track of the error codes. I don't think this branch is a good place to introduce such place. It should really be done in master.
Contributor
There was a problem hiding this comment.
FYI: I'm currently using #986 as an effort to get a starting set of error/warnings so that we can move forward to start using the MessageContainer.
tkapin
pushed a commit
to tkapin/runtime
that referenced
this pull request
Jan 31, 2023
…SON (dotnet/linker#1060) Commit migrated from dotnet/linker@63b50f2
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is mostly for testing purposes - allows supplementing the attribute-based annotations with annotations read out of a JSON file.