jamescourtney / FlatSharp

Fast, idiomatic C# implementation of Flatbuffers
Apache License 2.0
497 stars 50 forks source link

File Scoped Namespaces and Better Polyfills #252

Closed jamescourtney closed 2 years ago

jamescourtney commented 2 years ago

Use global usings to make polyfills behave better.

codecov[bot] commented 2 years ago

Codecov Report

Merging #252 (1018c54) into master (3e1cf9f) will increase coverage by 0.00%. The diff coverage is 94.81%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #252   +/-   ##
=======================================
  Coverage   95.19%   95.20%           
=======================================
  Files         109      109           
  Lines        7103     7110    +7     
  Branches      671      672    +1     
=======================================
+ Hits         6762     6769    +7     
  Misses        237      237           
  Partials      104      104           
Impacted Files Coverage Δ
src/FlatSharp.Runtime/ISerializerExtensions.cs 82.35% <81.25%> (ø)
...rc/FlatSharp.Runtime/GeneratedSerializerWrapper.cs 82.83% <82.92%> (ø)
src/FlatSharp.Runtime/IO/SpanWriter.cs 85.45% <84.61%> (ø)
...time/Vectors/FlatBufferProgressiveIndexedVector.cs 91.11% <89.47%> (ø)
...atSharp.Runtime/Vectors/FlatBufferIndexedVector.cs 91.66% <90.00%> (ø)
src/FlatSharp.Runtime/SortedVectorHelpers.cs 93.15% <92.30%> (+0.18%) :arrow_up:
src/FlatSharp.Runtime/SerializationContext.cs 92.77% <93.15%> (ø)
...arp.Runtime/Vectors/FlatBufferProgressiveVector.cs 93.87% <93.90%> (ø)
src/FlatSharp.Runtime/IO/SharedStringWriter.cs 93.75% <94.33%> (ø)
...atSharp.Runtime/Vectors/FlatBufferVectorOfUnion.cs 91.30% <94.44%> (ø)
... and 53 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3e1cf9f...1018c54. Read the comment docs.