10 writes to MyIntProperty
Microsoft.Gen.Logging.Generated.Tests (10)
LogPropertiesTests.cs (1)
321var classToLog = new ClassToLog { MyIntProperty = 0 };
TagProviderTests.cs (9)
52var classToLog = new ClassToLog { MyIntProperty = 0 }; 77var classToLog = new ClassToLog { MyIntProperty = ushort.MaxValue }; 100var classToLog = new ClassToLog { MyIntProperty = ushort.MaxValue }; 242var classToLog = new ClassToLog { MyIntProperty = 0 }; 326var classToLog = new ClassToLog { MyIntProperty = 0 }; 352var classToLog1 = new ClassToLog { MyIntProperty = 1 }; 353var classToLog2 = new ClassToLog { MyIntProperty = -1 }; 374classToLog1.MyIntProperty = int.MaxValue; 375classToLog2.MyIntProperty = int.MinValue;
17 references to MyIntProperty
Microsoft.Gen.Logging.Generated.Tests (17)
LogPropertiesTests.cs (1)
332["p1.MyIntProperty"] = classToLog.MyIntProperty.ToInvariantString(),
TagProviderTests.cs (10)
64["p1.MyIntProperty"] = classToLog.MyIntProperty.ToInvariantString(), 90["p1.MyIntProperty"] = classToLog.MyIntProperty.ToInvariantString(), 112["param.MyIntProperty"] = classToLog.MyIntProperty.ToInvariantString(), 253["param.MyIntProperty"] = classToLog.MyIntProperty.ToInvariantString(), 336["param1.MyIntProperty"] = classToLog.MyIntProperty.ToInvariantString(), 339["param2.MyIntProperty"] = classToLog.MyIntProperty.ToInvariantString(), 364["param.MyIntProperty"] = classToLog1.MyIntProperty.ToInvariantString(), 367["param2.MyIntProperty_test"] = classToLog2.MyIntProperty.ToInvariantString(), 379expectedState["param.MyIntProperty"] = classToLog1.MyIntProperty.ToInvariantString(); 380expectedState["param2.MyIntProperty_test"] = classToLog2.MyIntProperty.ToInvariantString();
test\Generators\Microsoft.Gen.Logging\TestClasses\TagProviderExtensions.cs (6)
71list.Add(nameof(ClassToLog.MyIntProperty), param.MyIntProperty); 91list.Add(nameof(ClassToLog.MyIntProperty) + "_test", param?.MyIntProperty); 96list.Add(nameof(ClassToLog.MyIntProperty), param.MyIntProperty); 102list.Add(nameof(ClassToLog.MyIntProperty), param.MyIntProperty);