10 writes to MyIntProperty
Microsoft.Gen.Logging.Generated.Tests (10)
LogPropertiesTests.cs (1)
360
var classToLog = new ClassToLog {
MyIntProperty
= 0 };
TagProviderTests.cs (9)
52
var classToLog = new ClassToLog {
MyIntProperty
= 0 };
77
var classToLog = new ClassToLog {
MyIntProperty
= ushort.MaxValue };
100
var classToLog = new ClassToLog {
MyIntProperty
= ushort.MaxValue };
242
var classToLog = new ClassToLog {
MyIntProperty
= 0 };
326
var classToLog = new ClassToLog {
MyIntProperty
= 0 };
352
var classToLog1 = new ClassToLog {
MyIntProperty
= 1 };
353
var classToLog2 = new ClassToLog {
MyIntProperty
= -1 };
374
classToLog1.
MyIntProperty
= int.MaxValue;
375
classToLog2.
MyIntProperty
= int.MinValue;
17 references to MyIntProperty
Microsoft.Gen.Logging.Generated.Tests (17)
LogPropertiesTests.cs (1)
371
["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(),
379
expectedState["param.MyIntProperty"] = classToLog1.
MyIntProperty
.ToInvariantString();
380
expectedState["param2.MyIntProperty_test"] = classToLog2.
MyIntProperty
.ToInvariantString();
test\Generators\Microsoft.Gen.Logging\TestClasses\TagProviderExtensions.cs (6)
71
list.Add(nameof(ClassToLog.
MyIntProperty
), param.
MyIntProperty
);
91
list.Add(nameof(ClassToLog.
MyIntProperty
) + "_test", param?.
MyIntProperty
);
96
list.Add(nameof(ClassToLog.
MyIntProperty
), param.MyIntProperty);
102
list.Add(nameof(ClassToLog.
MyIntProperty
), param.MyIntProperty);