MCPcopy Create free account
hub / github.com/apache/fory / From

Method From

csharp/src/Fory/ForyFlags.cs:37–45  ·  view source on GitHub ↗
(bool nullable, bool trackRef)

Source from the content-addressed store, hash-verified

35internal static class RefModeExtensions
36{
37 public static RefMode From(bool nullable, bool trackRef)
38 {
39 if (trackRef)
40 {
41 return RefMode.Tracking;
42 }
43
44 return nullable ? RefMode.NullOnly : RefMode.None;
45 }
46}
47
48internal static class ForyHeaderFlag

Callers 2

SkipFieldValueMethod · 0.80
EmitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected