Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type discovery using semantic model instead of string comparisons #33

Merged
merged 4 commits into from
Aug 7, 2020

Conversation

kevinwkt
Copy link

3 things in this PR, addresses #27

  1. Changed type discovery to use semantic checks instead of strcmp.
  2. Added test for aliasing of attributes.
  3. Moved compilation functions from unittests to helper class.

@kevinwkt kevinwkt changed the title Type discovery using semantic Type discovery using semantic model instead of string comparisons Jul 27, 2020
@kevinwkt kevinwkt requested a review from layomia August 4, 2020 22:08
@kevinwkt kevinwkt merged commit 7d31d9c into dotnet:JsonCodeGen Aug 7, 2020
@kevinwkt kevinwkt deleted the TypeDiscoveryUsingSemantic branch August 7, 2020 15:35
scalablecory pushed a commit that referenced this pull request Sep 22, 2020
Syncs the latest internal Windows OS changes.
MichalStrehovsky added a commit to MichalStrehovsky/runtimelab that referenced this pull request Oct 15, 2021
Introduces common helpers to rewrite and analyze signatures.

Local variable signatures are analyzed & rewritten in the first commit.

The second commit shows how are we going to hook up the other kinds of signatures into the common code since all signatures somehow deal with encoding types and we don't want to duplicate that code. I hooked it up into MethodDefinition and MemberReference.

The third commit enables @tlakollo's disabled test since we now support it.

Fixes dotnet#4.
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.

2 participants