Skip to content

Update metadata to v8.1.0 - #19

Merged
landrix merged 2 commits into
twcclegg:masterfrom
FignumOld:master
Feb 10, 2017
Merged

Update metadata to v8.1.0#19
landrix merged 2 commits into
twcclegg:masterfrom
FignumOld:master

Conversation

@caesay

@caesay caesay commented Jan 25, 2017

Copy link
Copy Markdown
Contributor

I followed the instructions in the read-me, with the exception of the protobuf step.

@landrix
landrix merged commit b872c55 into twcclegg:master Feb 10, 2017
twcclegg added a commit that referenced this pull request Aug 26, 2026
…ingBuilder

- 9 spots created a match-iterator with manual .Dispose() after
  assertions that can throw on failure, leaking the enumerator on the
  failure path. Switched to using/using-var, in some cases splitting
  a method into scoped blocks so each of two sequential enumerators
  is still disposed promptly, matching the original ordering
  (cs/dispose-not-called-on-throw, alerts #361-#369).
- FindMatchesInContexts: two foreach loops that immediately mapped
  context -> text and never used context again, rewritten as
  .Select() (cs/linq/missed-select, alerts #19/#20).
- EnsureTermination: the per-iteration StringBuilder was write-only —
  appended to but never read, returned, or asserted against. The
  method's whole point (per its doc comment) is forcing full
  enumeration to confirm it terminates; the StringBuilder was dead
  weight, not an allocation to hoist out of the loop
  (cs/stringbuilder-creation-in-loop, alert #24).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants